| [2008/06/26 00:01:03] <fujin> it has no real way of deciding | ||
| [2008/06/26 00:01:14] <fujin> there's no system flag or anything, is there? | ||
| [2008/06/26 00:02:43] @ randybias joined channel #puppet | ||
| [2008/06/26 00:03:39] <mcbride> no. like I said, * or X in the password field, invalid shell, invalid home dir are all good indicators. | ||
| [2008/06/26 00:03:52] <mcbride> so is uid < N | ||
| [2008/06/26 00:04:12] <mcbride> say check all 4, and mark the account as system if any 3 are true? | ||
| [2008/06/26 00:04:22] <mcbride> kinda complicated, I'll admit. | ||
| [2008/06/26 00:04:40] <fujin> well not only complicated, but hackish.. what do you consider an invalid shell? | ||
| [2008/06/26 00:04:45] <fujin> something -x'd? | ||
| [2008/06/26 00:04:53] <fujin> /bin/false? | ||
| [2008/06/26 00:04:54] <mcbride> not in /etc/shells | ||
| [2008/06/26 00:04:59] <halcyonCorsair> how can i tell puppet which release to target when installing a package? ie. apt-get -t etch-backports install git-core | ||
| [2008/06/26 00:05:04] <fujin> hrm | ||
| [2008/06/26 00:05:58] <mcbride> I can try to hack something up. | ||
| [2008/06/26 00:06:10] <fujin> what, for the fact? | ||
| [2008/06/26 00:06:13] <fujin> or for the underlying provider | ||
| [2008/06/26 00:06:14] <mcbride> the problem seems about right for my level of ruby knowledge. | ||
| [2008/06/26 00:06:18] <mcbride> for the provider. | ||
| [2008/06/26 00:06:20] <fujin> cool | ||
| [2008/06/26 00:06:22] <fujin> which one? | ||
| [2008/06/26 00:10:10] <jamesturnbull> mcbride: and /etc/shells type and provider is probably useful too - I did a crude version for the book | ||
| [2008/06/26 00:10:45] <mcbride> fujin: type/user.rb, I guess. | ||
| [2008/06/26 00:11:00] <fujin> well, that's the type bud - the providers actually give the functionality to the type | ||
| [2008/06/26 00:11:12] <fujin> they kinda work together | ||
| [2008/06/26 00:11:17] <fujin> is there a particular platform you're targetting for this? | ||
| [2008/06/26 00:11:22] <fujin> I suppose it would be done in the type, actually | ||
| [2008/06/26 00:11:23] <mcbride> unix | ||
| [2008/06/26 00:11:30] <mcbride> :-) | ||
| [2008/06/26 00:12:19] <mcbride> jamesturnbull: yes, that would indeed be useful | ||
| [2008/06/26 00:12:37] <jamesturnbull> mcbride: if you've got the book it's in Chapter 7 I think | ||
| [2008/06/26 00:12:40] <mcbride> jamesturnbull: one of the thinks that I've had to do annoying file edits for in the past. | ||
| [2008/06/26 00:13:10] @ Quit: Gwayne: Remote closed the connection | ||
| [2008/06/26 00:13:12] <jamesturnbull> mcbride: and the source code is probably available from the Apress site somewhere. It'd be easy to clean up and submit as a new type | ||
| [2008/06/26 00:13:31] <mcbride> who owns the copyright on the book? | ||
| [2008/06/26 00:13:48] <mcbride> maybe it's better if I do it from scratch :-/ | ||
| [2008/06/26 00:14:44] <mcbride> which reminds me, I was going to send an email to the mailing list about copyright issus with the examples on the wiki. | ||
| [2008/06/26 00:14:55] <fujin> o_0? | ||
| [2008/06/26 00:15:03] <fujin> what kind of issues | ||
| [2008/06/26 00:16:18] <fujin> generally submitting something to a wiki quite happily waives all copyright claim, does it not? | ||
| [2008/06/26 00:16:22] <fujin> perhaps we should hide some fineprint somewhere | ||
| [2008/06/26 00:17:42] <mcbride> no. | ||
| [2008/06/26 00:17:50] <mcbride> that's not how copyright works. | ||
| [2008/06/26 00:17:58] <mcbride> unless you explicitly waive your rights. | ||
| [2008/06/26 00:18:14] <jamesturnbull> mcbride: the code in the book is GPL | ||
| [2008/06/26 00:18:18] <mcbride> anyways, I'll write this all up in my email. | ||
| [2008/06/26 00:18:31] <mcbride> jamesturnbull: excellent. that's the answer I'm looking for. | ||
| [2008/06/26 00:18:33] @ Quit: testtry: | ||
| [2008/06/26 00:19:16] <jamesturnbull> mcbride: there should be a license in the code but if not you can have my waiver know | ||
| [2008/06/26 00:19:19] <jamesturnbull> s/know/now/ | ||
| [2008/06/26 00:20:33] <jamesturnbull> mcbride: http://www.apress.com/book/downloadfile/3882 | ||
| [2008/06/26 00:20:41] <jamesturnbull> mcbride: would prefer you bought the book too of course :) | ||
| [2008/06/26 00:21:43] <fujin> ohsnap | ||
| [2008/06/26 00:21:53] <fujin> i gotta get around to buyin' that shit | ||
| [2008/06/26 00:22:00] <fujin> we got some nubs here who could read it | ||
| [2008/06/26 00:22:10] <fujin> instead of phoning my ass up "can you put this into puppet" | ||
| [2008/06/26 00:22:22] @ Quit: MrProper_: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 00:22:36] @ MrProper_ joined channel #puppet | ||
| [2008/06/26 00:26:44] <fujin> over nine thousaaaand | ||
| [2008/06/26 00:31:47] @ Quit: halcyonCorsair: "Konversation terminated!" | ||
| [2008/06/26 00:42:09] @ Quit: jon_: "take care" | ||
| [2008/06/26 00:42:36] @ halcyonCorsair joined channel #puppet | ||
| [2008/06/26 00:53:58] @ Quit: MrProper_: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 00:54:10] @ MrProper_ joined channel #puppet | ||
| [2008/06/26 01:07:59] @ Quit: magnachef__: Read error: 110 (Connection timed out) | ||
| [2008/06/26 01:13:38] @ ski98033 joined channel #puppet | ||
| [2008/06/26 01:15:36] <dysinger> How do I get puppetmaster to not cache configurations while I am working on it ? | ||
| [2008/06/26 01:17:59] <nevyn> restart it after commit. | ||
| [2008/06/26 01:18:31] <dysinger> yeah I am running it with no daemonize | ||
| [2008/06/26 01:18:37] <dysinger> starting it each time | ||
| [2008/06/26 01:18:51] <dysinger> but I see definitions come down to client machines that are old | ||
| [2008/06/26 01:19:30] <nevyn> you're running puppetmasterd with no-daemonize? | ||
| [2008/06/26 01:19:50] <dysinger> yes | ||
| [2008/06/26 01:19:57] <dysinger> one minute I see a goof | ||
| [2008/06/26 01:19:59] <nevyn> mmm ok. | ||
| [2008/06/26 01:21:40] <dysinger> omg I have gotten exactly no where in the last 4 hours. I could kill someone. | ||
| [2008/06/26 01:22:10] <dysinger> let me guess - you can't create a "define" and create virtual resource in there to be realized in the class | ||
| [2008/06/26 01:22:27] <dysinger> scope restricts the virtual resource to inside the method or something. | ||
| [2008/06/26 01:22:55] <dysinger> I was having fun with puppet up until today | ||
| [2008/06/26 01:26:36] <fujin> dysinger: can't say on that, although I do use @@resources inside a define quite a lot. | ||
| [2008/06/26 01:26:54] @ Quit: f3ew: Read error: 110 (Connection timed out) | ||
| [2008/06/26 01:26:59] <dysinger> oh duh | ||
| [2008/06/26 01:27:07] <dysinger> that's like ruby's class attributes ? | ||
| [2008/06/26 01:27:15] @ f3ew joined channel #puppet | ||
| [2008/06/26 01:27:35] <dysinger> omg I need to just walk away from the computer. I tried to tackle this puppet project without reading enough | ||
| [2008/06/26 01:27:39] <dysinger> even the book is not enough | ||
| [2008/06/26 01:29:39] <f3ew> dysinger, yeah | ||
| [2008/06/26 01:30:02] <f3ew> Start small | ||
| [2008/06/26 01:33:44] <dysinger> So if I say define blahblahblah { @@user { $name } } inside a class I should be able to call it and it should define a class-level virtual user inside my class. That way I can extend the class later and realize that virtual user or change the groups or something. | ||
| [2008/06/26 01:33:46] <dysinger> correct ? | ||
| [2008/06/26 01:34:54] @ Quit: randybias: | ||
| [2008/06/26 01:37:26] <dysinger> no it doesn't like that | ||
| [2008/06/26 01:37:46] <dysinger> says Could not retrieve catalog: Could not parse for environment development: You cannot collect without storeconfigs being set; expected '%s' at /etc/puppet/modules/users/manifests/init.pp:13 | ||
| [2008/06/26 01:38:06] <dysinger> which is the last line of the @@user block | ||
| [2008/06/26 01:38:08] <dysinger> I give up | ||
| [2008/06/26 01:39:58] <runlevel> what detirmines when puppetmasterd checks its manifests while running? | ||
| [2008/06/26 01:43:03] <dysinger> I think it's when the client asks for it | ||
| [2008/06/26 01:43:29] <runlevel> oh ok | ||
| [2008/06/26 01:45:07] <f3ew> dysinger you need to enable storeconfigs | ||
| [2008/06/26 01:45:20] <dysinger> ok | ||
| [2008/06/26 01:45:30] <dysinger> I haven't had to do that up until now | ||
| [2008/06/26 01:45:36] <dysinger> let me look at the wiki | ||
| [2008/06/26 01:47:03] <dysinger> now all of a sudden I have to run rails and a database ? | ||
| [2008/06/26 01:47:18] <dysinger> because I added a @@ | ||
| [2008/06/26 01:47:19] <dysinger> ? | ||
| [2008/06/26 01:48:05] <dysinger> "Currently stored configurations are principally used by exported resources." | ||
| [2008/06/26 01:48:06] <dysinger> hmm | ||
| [2008/06/26 01:48:33] <dysinger> all I wanted to do was use a define to create a virtual user. This is silly that it's taking me so long to do that simple task. | ||
| [2008/06/26 01:49:05] <dysinger> if I can't use a define for the virtual user, then I have to cut and paste big blocks of almost identical code for each virtual user | ||
| [2008/06/26 01:49:41] * Volcane just cant win, first a bug in ruby gserver, now one in ruby logger | ||
| [2008/06/26 01:51:40] <dysinger> Cripes - 4 hours later (Note, as of version 0.22.4, virtual define-based resources are not yet supported. Please see ticket 637 for more detail on this issue.) | ||
| [2008/06/26 01:55:04] @ Quit: ski98033: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 01:59:49] <jamesturnbull> dysinger: okay - you sound frustrated - understand - but I have some rcommendations a) go to 0.24.4 and b) start slow - get the basic design and structure down first | ||
| [2008/06/26 02:00:10] <jamesturnbull> dysinger: create the basic layers you need and then buil virtuals and exported on top | ||
| [2008/06/26 02:00:24] @ pleemans joined channel #puppet | ||
| [2008/06/26 02:00:57] <jamesturnbull> dysinger: both exported and virtuals I confess aren't as well documented as I would like and they can be a challenge to implement | ||
| [2008/06/26 02:00:57] <dysinger> I am on 24.4 and I have the basics ssh, mysql, apache, puppet modules, nodes, all that working. | ||
| [2008/06/26 02:01:14] <dysinger> just got frustrated on virtuals and define and such. | ||
| [2008/06/26 02:01:18] <dysinger> in the last 4 hours. | ||
| [2008/06/26 02:02:31] * Volcane had the same experience with defined and virtuals | ||
| [2008/06/26 02:02:44] <jamesturnbull> dysinger: defines are easy and well documented but there are exceptions where virtuals are involved | ||
| [2008/06/26 02:03:00] <jamesturnbull> Volcane: when was that fixed? HEAD or 0.24.4.... hmmm | ||
| [2008/06/26 02:03:17] <jamesturnbull> Volcane: HEAD I think so it'll be in 0.24.5 | ||
| [2008/06/26 02:03:56] @ lak joined channel #puppet | ||
| [2008/06/26 02:04:12] <Volcane> jamesturnbull: yes this was 24.4, i gave up on it | ||
| [2008/06/26 02:05:26] @ andrewcshafer joined channel #puppet | ||
| [2008/06/26 02:05:45] <jamesturnbull> bbiab all | ||
| [2008/06/26 02:07:29] * Volcane curses ruby Logger class | ||
| [2008/06/26 02:13:19] <fujin> dysinger: sorry, left my terminal and went home - no @@ aren't like class vars, they are export/collection markers | ||
| [2008/06/26 02:13:22] <fujin> well, exports | ||
| [2008/06/26 02:13:35] <dysinger> ok | ||
| [2008/06/26 02:13:48] <dysinger> I figured out that I don't know enough about virtuals and exports to mess with them. | ||
| [2008/06/26 02:13:53] <dysinger> thanks | ||
| [2008/06/26 02:14:41] <fujin> heh | ||
| [2008/06/26 02:14:46] <fujin> sounds like someone has given up | ||
| [2008/06/26 02:19:06] @ Ol_ joined channel #puppet | ||
| [2008/06/26 02:20:05] <dysinger> no just put it off until later when I am not already working 60 hours a week :) | ||
| [2008/06/26 02:22:03] <fujin> ;] | ||
| [2008/06/26 02:23:53] @ aymerick joined channel #puppet | ||
| [2008/06/26 02:24:13] @ randybias joined channel #puppet | ||
| [2008/06/26 02:28:48] @ Quit: Binford: Remote closed the connection | ||
| [2008/06/26 02:29:22] @ Quit: fujin: "leaving" | ||
| [2008/06/26 02:29:34] @ fujin joined channel #puppet | ||
| [2008/06/26 02:40:48] @ Quit: randybias: | ||
| [2008/06/26 02:58:48] @ andrewcshafer left channel #puppet () | ||
| [2008/06/26 03:07:37] @ Quit: lak: | ||
| [2008/06/26 03:10:36] @ Binford joined channel #puppet | ||
| [2008/06/26 03:10:40] @ dweazle joined channel #puppet | ||
| [2008/06/26 03:11:14] <jamesturnbull> fujin: might also be worth updating the wiki:AddingFacts page with another section "Using Puppet to build facts" ... or something citing your example - up to you of course - and happy to make pretty and grammar and spelling and anything else :) | ||
| [2008/06/26 03:11:16] <gepetto> jamesturnbull: fujin: wiki:AddingFacts is http://reductivelabs.com/trac/puppet/wiki/AddingFacts | ||
| [2008/06/26 03:11:52] <fujin> yeah I guess - although, is it wise what I have done? | ||
| [2008/06/26 03:11:58] <fujin> exposing puppets internals like that | ||
| [2008/06/26 03:12:27] <jamesturnbull> fujin: wisdom grasshopper is a journey | ||
| [2008/06/26 03:12:41] <Binford> sorry i missed the discussion - what have u done fujin ? | ||
| [2008/06/26 03:12:55] <fujin> wiki:Recipe/UserFacts | ||
| [2008/06/26 03:12:58] <jamesturnbull> Binford: wiki:Recipes/UserFact | ||
| [2008/06/26 03:13:02] <gepetto> jamesturnbull: Binford: wiki:Recipes is http://reductivelabs.com/trac/puppet/wiki/Recipes | ||
| [2008/06/26 03:13:03] <fujin> oya | ||
| [2008/06/26 03:13:08] <fujin> that little puppy there | ||
| [2008/06/26 03:13:14] <jamesturnbull> fujin: hmmm that's broken | ||
| [2008/06/26 03:13:24] <fujin> where's it gone! | ||
| [2008/06/26 03:13:35] @ cote joined channel #puppet | ||
| [2008/06/26 03:13:41] <fujin> http://reductivelabs.com/trac/puppet/wiki/Recipes/UserFact | ||
| [2008/06/26 03:13:42] <jamesturnbull> fujin: gepetto doesn't like / | ||
| [2008/06/26 03:13:47] <fujin> that one, Binford ^ | ||
| [2008/06/26 03:14:45] <jamesturnbull> fujin: also feel free to add a cuople more sentences to that recipe too - I was pretty abrupt | ||
| [2008/06/26 03:15:02] <jamesturnbull> fujin: and it might not be clear what is being exposed :) | ||
| [2008/06/26 03:15:08] <Binford> that works for local users... not LDAP, right? | ||
| [2008/06/26 03:15:24] <fujin> pass | ||
| [2008/06/26 03:15:28] <fujin> haha | ||
| [2008/06/26 03:15:32] <fujin> it just uses puppets internals | ||
| [2008/06/26 03:15:43] <fujin> if you can manage ldap users inside puppet with the user{} type, then yes! | ||
| [2008/06/26 03:17:02] <jamesturnbull> fujin: why do I get the feeling your colleagues go "Documentation? AJ? Ha!" :P | ||
| [2008/06/26 03:17:20] <fujin> nawww I doc at work | ||
| [2008/06/26 03:17:21] <nevyn> there are providers for ldap for the user type but not in the main tree aiui | ||
| [2008/06/26 03:17:40] <fujin> I'm not that bad, I just don't really understan what I did in that code | ||
| [2008/06/26 03:17:47] <jamesturnbull> fujin: okay lol | ||
| [2008/06/26 03:17:52] <jamesturnbull> fujin: I'll update it then | ||
| [2008/06/26 03:17:56] <Binford> awww man... so interface type is broken?! | ||
| [2008/06/26 03:17:58] <fujin> I took parts of lib/type/resources.rb, and then started hacking with .inspect / .methods | ||
| [2008/06/26 03:18:16] <Binford> sheesh I wasted 5-6 hours today on that | ||
| [2008/06/26 03:18:33] <jamesturnbull> fujin: well you're outputting all resources in the current catalogue of type 'user' | ||
| [2008/06/26 03:19:00] <fujin> jamesturnbull: not as I understand it | ||
| [2008/06/26 03:19:06] <fujin> I'm actively searching the entire system for manageable users | ||
| [2008/06/26 03:19:14] <fujin> - nothing to do with any catalogue, unless it temporarily generates one | ||
| [2008/06/26 03:19:40] <fujin> that.s what the Puppet::Type.type("blah").instances method does | ||
| [2008/06/26 03:19:48] <fujin> queries the entire system for all avaialble instances of that type | ||
| [2008/06/26 03:20:00] <jamesturnbull> fujin: oh of course it does | ||
| [2008/06/26 03:20:12] <Binford> do u guys know anyone managing OpenVZ with puppet? I am trying to replace the really crude shellscripts with puppet for the instance setup - I thought it was gonna be real straightforward, but apparently not if interface type is broken | ||
| [2008/06/26 03:20:13] <jamesturnbull> fujin: resources {} doh! /slapspalm | ||
| [2008/06/26 03:20:16] <fujin> or, so I gather, anyway :) | ||
| [2008/06/26 03:20:28] <fujin> yes, it's effectively the resources{} type, with all the cruft cutout | ||
| [2008/06/26 03:20:43] <jamesturnbull> fujin: you mean "Luke's elegant code cut out" | ||
| [2008/06/26 03:20:50] <fujin> well, | ||
| [2008/06/26 03:20:52] <fujin> yes indeed | ||
| [2008/06/26 03:21:21] <fujin> I felt proud, I even blogged about it | ||
| [2008/06/26 03:21:30] <Binford> he posted in group, that interface rarely seems to work | ||
| [2008/06/26 03:21:41] <Binford> http://groups.google.com/group/puppet-users/browse_thread/thread/6955707925a617b9 | ||
| [2008/06/26 03:21:47] <jamesturnbull> Binford: yeah ashp_ played with it a bit as did I | ||
| [2008/06/26 03:21:56] <jamesturnbull> Binford: but it was a bitch to get working | ||
| [2008/06/26 03:22:09] <fujin> I think it works, if you cut al the shit out of the file and let it fully generate them | ||
| [2008/06/26 03:22:15] <fujin> it appears to not understand all the parameters | ||
| [2008/06/26 03:23:19] <Binford> hmmm.. still doable I spose with file, host, etc types... just have to be supercareful to get all places | ||
| [2008/06/26 03:23:33] @ thegcat joined channel #puppet | ||
| [2008/06/26 03:23:34] <fujin> Binford: I use a file w/ a template | ||
| [2008/06/26 03:23:35] <fujin> on (debian) | ||
| [2008/06/26 03:23:39] <fujin> for /etc/network/interfaces | ||
| [2008/06/26 03:23:41] <jamesturnbull> fujin: yeah it needs a full re-write - actually was it you or me who started some Debina interface code? | ||
| [2008/06/26 03:23:51] <fujin> jamesturnbull: not I | ||
| [2008/06/26 03:23:57] <Volcane> interface type prolly works up till around 0.23 | ||
| [2008/06/26 03:24:09] <jamesturnbull> fujin: me i think and I ditched that because it was way too hard | ||
| [2008/06/26 03:24:14] <Volcane> (on redhat anyway) | ||
| [2008/06/26 03:24:17] <fujin> haha, ParsedFile :} | ||
| [2008/06/26 03:24:32] <Binford> maybe an exec calling to ifconfig is easiest ? | ||
| [2008/06/26 03:24:43] <fujin> ew, that's nasty | ||
| [2008/06/26 03:24:45] <fujin> but yes that'd work | ||
| [2008/06/26 03:25:04] @ Guign0l joined channel #puppet | ||
| [2008/06/26 03:25:08] <Binford> otherwise, i have to write /etc/sysconfig, etc/network/* | ||
| [2008/06/26 03:25:09] <Volcane> there was someone here who had pretty decent template based redhat interfaces, not sure who now | ||
| [2008/06/26 03:25:36] <jamesturnbull> Volcane: maybe a recipe I think | ||
| [2008/06/26 03:25:41] <jamesturnbull> Volcane: or one of the modules | ||
| [2008/06/26 03:25:41] <fujin> I prefer to leave network configuration upto pre-puppet bootstrap | ||
| [2008/06/26 03:25:43] <Binford> we're trying to replace OpenVZ's shell scripts with puppet manifests | ||
| [2008/06/26 03:25:52] <Volcane> fujin: ditto | ||
| [2008/06/26 03:25:54] <jamesturnbull> fujin: yeah parsed file does not get order | ||
| [2008/06/26 03:26:13] @ Innocenti joined channel #puppet | ||
| [2008/06/26 03:26:50] * Volcane gives up on ruby std Logger class and goes back to syslog | ||
| [2008/06/26 03:26:50] @ silent-ion joined channel #puppet | ||
| [2008/06/26 03:26:59] <fujin> what's up with Logger? | ||
| [2008/06/26 03:27:13] <Volcane> when it rotates a file, it doesnt (always) set sync on it | ||
| [2008/06/26 03:27:23] <Volcane> so log lines go into the buffer | ||
| [2008/06/26 03:27:38] <Volcane> maybe fixed in later rubys, but rhel 5's ruby isnt exactly cutting edge | ||
| [2008/06/26 03:27:41] <jamesturnbull> bbl all | ||
| [2008/06/26 03:28:00] <fujin> can't say I've seen that behaviour | ||
| [2008/06/26 03:28:09] <fujin> Volcane: what buffer in partiuclar? throws an exception eventually? | ||
| [2008/06/26 03:28:25] <Binford> http://forum.openvz.org/index.php?t=tree&th=6349&mid=31322&&rev=&reveal= | ||
| [2008/06/26 03:28:29] <dweazle> for some reason puppet on RHEL4 doesn't show manufacterer fact, does anyone happen to know why, before i try to debug manufacterer.rb with my pretty much nonexistent ruby skills :) | ||
| [2008/06/26 03:28:30] <Volcane> fujin: nono, its just buffered output, like $|=0 in perl language | ||
| [2008/06/26 03:28:34] <Binford> thats what I wanna repalce w/ puppet | ||
| [2008/06/26 03:28:49] <Volcane> dweazle: facter just checks dmidecode for that | ||
| [2008/06/26 03:28:59] <dweazle> Volcane: i have dmidecode installed | ||
| [2008/06/26 03:29:06] <Volcane> fujin: so they come eventually, just not line by line | ||
| [2008/06/26 03:29:08] <dweazle> Volcane: and dmidecode shows the manufacterer | ||
| [2008/06/26 03:29:13] <Volcane> dweazle: ah :( | ||
| [2008/06/26 03:29:35] <dweazle> Volcane: same manufacterer.rb on debian works fine, although the dmidecode output looks the same | ||
| [2008/06/26 03:29:40] <dweazle> i don't know what is wrong | ||
| [2008/06/26 03:29:45] <Volcane> fujin: which for logging once a hour, means i get log updates once a day :P | ||
| [2008/06/26 03:30:16] <Volcane> dweazle: ah lame | ||
| [2008/06/26 03:30:41] <dweazle> ye.. | ||
| [2008/06/26 03:30:58] <Binford> jamesturnbull, fujin if I can get puppet to replace distro specific shell scripts that OpenVZ uses we would most likely pay for that integration work to be added to puppet itself\ | ||
| [2008/06/26 03:31:29] <jamesturnbull> Binford: talk to lak about that - he's probably best equipped to do paid Puppet work for you | ||
| [2008/06/26 03:31:37] <fujin> Binford: not a conversation you'd be having with me, anything money related should be directed at lak | ||
| [2008/06/26 03:31:50] <fujin> reductivelabs.com should be able to provide more infos | ||
| [2008/06/26 03:31:51] <Binford> we are.. already conracting him for 3 days in July | ||
| [2008/06/26 03:31:55] <fujin> I do it for the love of it | ||
| [2008/06/26 03:32:29] <fujin> Volcane: weird - I can't reproduce that | ||
| [2008/06/26 03:32:46] @ f3ew is now known as server-- | ||
| [2008/06/26 03:32:48] <Binford> I wasnt trying to outsource work... was trying top say, this is big enough to be worthwhile to many folks besides us | ||
| [2008/06/26 03:33:19] <Volcane> fujin: put my daemon in debug now to churn up the log rate to force a rotate soon, will see | ||
| [2008/06/26 03:33:46] <Volcane> fujin: certainly in the logger.rb code it seems solid enough | ||
| [2008/06/26 03:34:05] @ server-- is now known as f3ew | ||
| [2008/06/26 03:34:26] <Binford> so... anyone know anyone using puppet w/ OpenVZ? | ||
| [2008/06/26 03:34:38] <fujin> I did the old log = Logger.new('blah.log', 10, 1024); 1000.times { |i| log.info "log #{i.to_s}" }, and it happily rotated em quite rapidly | ||
| [2008/06/26 03:35:02] <Volcane> Binford: no bells | ||
| [2008/06/26 03:35:07] <Volcane> fujin: what version ruby? | ||
| [2008/06/26 03:35:46] <fujin> moment | ||
| [2008/06/26 03:35:53] <fujin> ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux] | ||
| [2008/06/26 03:36:04] <fujin> (don't hack me!) | ||
| [2008/06/26 03:36:07] <Volcane> 1.8.5 here | ||
| [2008/06/26 03:37:04] @ exodos joined channel #puppet | ||
| [2008/06/26 03:37:14] <Volcane> took me way too long to get this flash serving thing out the door, gserver isnt always handling unstable tcp connections well | ||
| [2008/06/26 03:37:19] <Volcane> so it leaks connections :( | ||
| [2008/06/26 03:39:46] <fujin> I just did a 100000.times loop, at 25000 log entries now, rotatin madly | ||
| [2008/06/26 03:39:50] <fujin> must be an issu ewith older ruby dude | ||
| [2008/06/26 03:39:57] <Volcane> nods, checking svn logs now :) | ||
| [2008/06/26 03:45:14] <Volcane> yeah same happened now, hmm | ||
| [2008/06/26 03:46:06] <Volcane> fujin: well did you also tail the rotated log and see it added each line to the log? | ||
| [2008/06/26 03:46:23] <fujin> gimme a sec | ||
| [2008/06/26 03:46:23] <Volcane> fujin: cos it rotates, it writes to the log, but buffered file io after the first rotate | ||
| [2008/06/26 03:47:09] <fujin> sec, lemme turn up the rotation amount | ||
| [2008/06/26 03:48:45] @ fbe joined channel #puppet | ||
| [2008/06/26 03:49:50] <fujin> need to chuck a sleep in there or something, it's too fast | ||
| [2008/06/26 03:49:56] <Volcane> hehe | ||
| [2008/06/26 03:50:07] @ tim|macbook joined channel #puppet | ||
| [2008/06/26 03:50:28] @ Gwayne joined channel #puppet | ||
| [2008/06/26 03:54:33] <fujin> Volcane: looks pretty accurate, I can see it rotating them with a sleep 1 in the loop | ||
| [2008/06/26 03:54:45] <fujin> have to retail the logfile whenever it rotates it, but i see it, seems accurate | ||
| [2008/06/26 03:55:11] <Volcane> fujin: bummer, thanks for checking though | ||
| [2008/06/26 03:55:19] <fujin> just being nosy i guess | ||
| [2008/06/26 03:56:03] <Volcane> must just be an old ruby bug then | ||
| [2008/06/26 03:56:41] @ tarjei left channel #puppet () | ||
| [2008/06/26 04:02:25] @ Quit: waawaamilk: Remote closed the connection | ||
| [2008/06/26 04:02:30] @ Quit: Binford: Remote closed the connection | ||
| [2008/06/26 04:03:38] @ Binford joined channel #puppet | ||
| [2008/06/26 04:16:59] @ Ol__ joined channel #puppet | ||
| [2008/06/26 04:18:56] <Volcane> oh this is an even older ruby, 1.8.1 | ||
| [2008/06/26 04:19:10] <Volcane> the one running in prod, and theres a race condition fixed since | ||
| [2008/06/26 04:20:58] <Volcane> yes, and it doesnt set .sync when it makes a new file like the newer oens does, bugger | ||
| [2008/06/26 04:25:17] <Volcane> http://pastie.org/222488 | ||
| [2008/06/26 04:49:20] <thegcat> I'm a little at a loss with some hostname settings in RHEL5 here, anyone using RHEL5 and willing/able to help? | ||
| [2008/06/26 04:50:03] <thegcat> I'd expect hostname and $HOSTNAME to contain the short hostname, not the FQDN | ||
| [2008/06/26 04:50:27] <Volcane> redhat generally does FQDN there | ||
| [2008/06/26 04:50:58] <Volcane> you can change that by setting HOSTNAME right in /etc/sysconfig/network | ||
| [2008/06/26 04:51:13] <thegcat> so nearly every other distro does short hostname, but RH decided they'd serve the fqdn? | ||
| [2008/06/26 04:51:46] <thegcat> Volcane: well, if I read the docu correctly, the HOSTNAME in sysconfig/network is supposed to hold the fqdn | ||
| [2008/06/26 04:52:18] <Volcane> nods, i think thats just their way | ||
| [2008/06/26 04:53:29] * Volcane has a redhat 6.0 box here, same behaviour | ||
| [2008/06/26 04:53:59] <thegcat> so I'd have to hack my way through the init scripts to get the behaviour I'd expect, i.e. setting the fqdn in sysconfig/network and still getting the short name out of hostname? | ||
| [2008/06/26 04:54:02] <Volcane> so i think thats just how they do it, I've become so used to it that it was odd when i saw debian boxes has just the hostname, but debian boxes is right in this case | ||
| [2008/06/26 04:54:23] <thegcat> btw, where does hostname get the domain name when run with the --fqdn switch? | ||
| [2008/06/26 04:54:38] <Volcane> /etc/hosts | ||
| [2008/06/26 04:55:02] <Volcane> so you should have 1.2.3.4 host.domain.com host in there | ||
| [2008/06/26 04:55:18] <Volcane> if you want it to work without the fqdn set the way redhat does | ||
| [2008/06/26 04:55:34] @ Quit: Ol__: | ||
| [2008/06/26 04:55:45] <thegcat> Volcane: we used to only have Suse boxen (and OpenSuse and SLES now...), but a new client would only give us RHEL machines | ||
| [2008/06/26 04:56:36] <thegcat> I'm getting tired of all those pesky little differences and dogmatic stuff -_- | ||
| [2008/06/26 04:56:47] * thegcat sighs | ||
| [2008/06/26 04:57:45] <Volcane> but really, setting HOSTNAME in /etc/sysconfig/network to just the hostname will work | ||
| [2008/06/26 04:57:52] <Volcane> as long as you have valid /etc/hosts files | ||
| [2008/06/26 04:58:36] <Volcane> I'll test this later if you want, but if i dont go now I'll be late++ for work :P | ||
| [2008/06/26 05:00:36] @ glaw joined channel #puppet | ||
| [2008/06/26 05:00:38] <thegcat> Volcane: It works, but I don't know what other stuff expects the fqdn rather than the short name in there | ||
| [2008/06/26 05:01:01] <thegcat> and no need to test it for me, I'll just bend RH to my will *evilgrin* | ||
| [2008/06/26 05:01:06] <thegcat> but thnaks anyway :-) | ||
| [2008/06/26 05:09:40] @ cabbiepete joined channel #puppet | ||
| [2008/06/26 05:11:04] @ Quit: Ol_: | ||
| [2008/06/26 05:15:15] * Volcane decides to work from home, 3 mile traffic jam | ||
| [2008/06/26 05:18:51] <thegcat> Volcane: that would mean there would be a jam on 80 or 90% of my way from home to work for me :-P | ||
| [2008/06/26 05:20:55] <Volcane> hehe, i actually enjoy sitting on the train for 40 minutes, only time i get to read things | ||
| [2008/06/26 05:21:07] <Volcane> when i work from home, i fall way behind on reading | ||
| [2008/06/26 05:22:25] <thegcat> well, there are drawbacks to everything | ||
| [2008/06/26 05:22:52] <Volcane> yip, will work from home again when the time changes for winter :P | ||
| [2008/06/26 05:23:04] <thegcat> now that you mention it, I haven't really taken the time to read anything in the last weeks :-( | ||
| [2008/06/26 05:48:00] @ Quit: dysinger: | ||
| [2008/06/26 05:53:55] @ Quit: yure: Remote closed the connection | ||
| [2008/06/26 06:28:52] @ Quit: Innocenti: Read error: 110 (Connection timed out) | ||
| [2008/06/26 07:31:01] @ Quit: Gwayne: Remote closed the connection | ||
| [2008/06/26 07:42:21] @ Quit: kenvandine: Read error: 110 (Connection timed out) | ||
| [2008/06/26 07:57:57] @ strerror_work joined channel #puppet | ||
| [2008/06/26 08:07:14] @ Quit: thegcat: | ||
| [2008/06/26 08:16:43] @ Quit: kambiz: "Leaving" | ||
| [2008/06/26 08:20:47] @ kenvandine joined channel #puppet | ||
| [2008/06/26 08:21:05] @ Quit: mikearr: Read error: 113 (No route to host) | ||
| [2008/06/26 08:24:26] <duritong> /win 19 | ||
| [2008/06/26 08:24:28] <duritong> ups | ||
| [2008/06/26 08:27:50] <tim|macbook> omg!! change your password now!! | ||
| [2008/06/26 08:27:54] <tim|macbook> ;-) | ||
| [2008/06/26 08:33:21] <Volcane> hehe | ||
| [2008/06/26 08:48:38] @ nico joined channel #puppet | ||
| [2008/06/26 08:48:42] <nico> hi | ||
| [2008/06/26 09:00:56] @ Innocenti joined channel #puppet | ||
| [2008/06/26 09:10:52] <Disconnect> is there any way to tell puppet that if a node doesn't exist in the external node app (ie no lines returned at all) it shouldn't create a storedconfig for it? | ||
| [2008/06/26 09:11:05] @ kambiz joined channel #puppet | ||
| [2008/06/26 09:11:44] <Disconnect> i can't figure out where this node.foo.com stuff is coming from (the node hostname is node.bar.foo.com and it works like that for - literally - days before suddenly having nagios freak about node.foo.com being unreachable... the correct hostname still works fine, and is still monitored, etc..) | ||
| [2008/06/26 09:11:55] @ mmcgrath left channel #puppet () | ||
| [2008/06/26 09:13:59] @ brscott joined channel #puppet | ||
| [2008/06/26 09:14:13] @ brscott left channel #puppet () | ||
| [2008/06/26 09:19:19] @ shenson_not_here is now known as shenson | ||
| [2008/06/26 09:22:36] @ Quit: chillitom: Remote closed the connection | ||
| [2008/06/26 09:24:42] <ashp_> fujin: About interface.. | ||
| [2008/06/26 09:24:50] <ashp_> fujin: I did raise a ticket somewhere to try and add in the other parameters | ||
| [2008/06/26 09:25:00] <ashp_> fujin: You might want to have a stab at that, it seemed to help a little from my end | ||
| [2008/06/26 09:25:23] <ashp_> I gave up because I couldn't unroll all the alias stuff it tried to do, it made no sense, but I did get it to see all the parameters | ||
| [2008/06/26 09:26:34] <Volcane> ashp_: blame redhat for that, they gave totally bogus info when the interface type was written about what was supported by the rc scripts, so theres a lot of code there thats got no relevance to reality | ||
| [2008/06/26 09:26:49] <Volcane> ashp_: never blindly trust idiots at redhat support | ||
| [2008/06/26 09:27:01] <ashp_> Volcane: that at least makes sense :) | ||
| [2008/06/26 09:27:28] <Disconnect> it doesn't even get an environment. first appearance is "puppetmasterd[31675]: (Scope(Class[main])) Configuring node.foo.com using environment" (generally its 'configuring node.bar.foo.com using environment development') .. so there's some sanity checking missing somewhere | ||
| [2008/06/26 09:27:28] <ashp_> Volcane: I wanted to take on rewriting it to just allow straight forward eth0, eth0:0 names, and associated data, and leave the hard stuff to be done with custom defines | ||
| [2008/06/26 09:27:42] <ashp_> but I had trouble with the calls into other bits of puppet, I couldn't figure out what a lot of it did | ||
| [2008/06/26 09:27:51] <Volcane> nods, see it has to support vlans and all that shit too which becomes very complex | ||
| [2008/06/26 09:28:03] @ ski98033 joined channel #puppet | ||
| [2008/06/26 09:28:30] <ashp_> yeah, that's the bit that started confusing me, maybe because we don't do any vlanning stuff under linux | ||
| [2008/06/26 09:28:39] <ashp_> I mean, all vlan stuff is normally done at the switch, right? | ||
| [2008/06/26 09:29:06] <Volcane> no, redhat interfaces can belong to many vlans with tagging and stuff, and you do it by making sub interfaces to eth0 | ||
| [2008/06/26 09:29:08] <Disconnect> ashp_: you can do tagging with linux | ||
| [2008/06/26 09:29:13] <Disconnect> (its not just redhat) | ||
| [2008/06/26 09:29:25] <Volcane> so you need for example bind different ips to different vlans, you make eth0.1 etc i think | ||
| [2008/06/26 09:29:42] <tim|macbook> we do tagging on debian... very easy on debian | ||
| [2008/06/26 09:29:46] <Volcane> and that relates to /etc/sysconfig/network-scripts/ifcfg-eth0.1 etc | ||
| [2008/06/26 09:29:55] <ashp_> Ahhh, I've never needed to do anything like that | ||
| [2008/06/26 09:30:00] <Disconnect> its really useful actually, i'm going to set that up soon so that untagged stuff goes to dhcp (and nowhere else) and tagged stuff goes where it belongs. so a new node gets all configured, then address/vlan changes, then off it goes. | ||
| [2008/06/26 09:30:03] <Volcane> oh yeah sure i know its a linux general thing, but just discussing whats complex about the redhat interface type | ||
| [2008/06/26 09:32:39] <Disconnect> not sure how redhat configs it but basically simple - you just map a vlan number to an interface | ||
| [2008/06/26 09:34:43] <ashp_> We just had seperate nics per vlan, rather than anything like tagging | ||
| [2008/06/26 09:34:53] <ashp_> maybe we were wasting money, but it was sure easier | ||
| [2008/06/26 09:35:11] <ashp_> then again our web based inventory control/management system could swap vlans via the web interface, so it was easy to mess with them | ||
| [2008/06/26 09:35:44] <Volcane> some people go vlan mad | ||
| [2008/06/26 09:35:53] <Volcane> and you have like oracle servers on 7 or 8 vlans | ||
| [2008/06/26 09:36:01] <ashp_> that sounds like a terrible network :) | ||
| [2008/06/26 09:38:04] <Volcane> oh ffs, stuck a copyrighted cd into my mac by accident | ||
| [2008/06/26 09:38:18] <Volcane> now to try and get into openfirmware, if that doesnt eject the thing its off to apple :( | ||
| [2008/06/26 09:38:26] <Volcane> macs *dont* like these horrible music cds | ||
| [2008/06/26 09:42:06] <Disconnect> thought there was a magic "eject no matter what" key | ||
| [2008/06/26 09:42:21] <ashp_> you can just hold the mouse button down | ||
| [2008/06/26 09:42:22] <ashp_> while it boots | ||
| [2008/06/26 09:42:28] <ashp_> that makes it eject, I think it might be the right button | ||
| [2008/06/26 09:42:30] <dweazle> ye, that's probably an apple option for which you have to pay $20 extra ;) | ||
| [2008/06/26 09:42:49] <ashp_> oh it's just the regular mouse button | ||
| [2008/06/26 09:42:59] <ashp_> so yeah, during boot just hold the mouse down and it'll spit it out eventually | ||
| [2008/06/26 09:43:06] <Volcane> ashp_: works sometimes | ||
| [2008/06/26 09:43:18] <ashp_> i had a few stubborn ones I could only get out that way | ||
| [2008/06/26 09:43:22] <Volcane> some apple docs suggest the machine wont even boot with it in | ||
| [2008/06/26 09:44:02] @ muerr joined channel #puppet | ||
| [2008/06/26 09:45:23] <Volcane> so will try after work is done, else I'll be twiddling my thumbs rest of the day hehe | ||
| [2008/06/26 09:51:27] @ Quit: ski98033: "Leaving." | ||
| [2008/06/26 09:58:07] <muerr> Volcane: I know what you mean - I transitioned all my projects too efficiently. I don't even have team members asking me questions. | ||
| [2008/06/26 09:58:12] <muerr> hehe. | ||
| [2008/06/26 09:58:54] @ oxtail joined channel #puppet | ||
| [2008/06/26 10:01:28] @ randybias joined channel #puppet | ||
| [2008/06/26 10:02:08] @ Quit: dweazle: "leaving" | ||
| [2008/06/26 10:02:47] <Shamgar> When using variables in strings in puppet - like say: content => template("path/to/$var1_$var2.erb"), how does puppet determine the variable name? | ||
| [2008/06/26 10:02:56] <Shamgar> I've seen it work fine with /$var/ | ||
| [2008/06/26 10:03:06] <Shamgar> and I think I've seen it with $var-sometext | ||
| [2008/06/26 10:03:17] <muerr> okay am I retarded? can't I do file { "/home/user/dir/subdir": recurse => true, ensure => directory } and puppet will create both dir and subdir? | ||
| [2008/06/26 10:03:36] <Shamgar> does it just look for valid vars, or does it see certain characters as 'separators' like - _ / etc | ||
| [2008/06/26 10:03:58] <Shamgar> and is there a way to force that? Like ${varname} or ruby's #{var}? | ||
| [2008/06/26 10:04:57] <muerr> you can set the variables elsewhere in your manifests based on the node, class context, external tool, etc, or get the values from custom facts in facter. | ||
| [2008/06/26 10:05:17] @ Quit: randybias: Client Quit | ||
| [2008/06/26 10:05:45] <muerr> for multi-word names of variables, the puppet convention is to use underscores to separate, like ruby. so $some_var. To use variables in a string context it is a good practice to use ${some_var} in the curly braces to separate it from other elements in the string. | ||
| [2008/06/26 10:07:40] @ Quit: pleemans: Remote closed the connection | ||
| [2008/06/26 10:07:44] <muerr> the contents of the variable doesn't have to be 'valid' for the context in which you're using it, puppet doesn't do any special kind of checking on the type or the value. | ||
| [2008/06/26 10:08:03] <muerr> so if you have invalid contents in your variable, you might get, er, unexpected results from your manifest. | ||
| [2008/06/26 10:10:51] <Shamgar> Right, I was just checking to see how you use them in a string context really. | ||
| [2008/06/26 10:10:55] <Shamgar> just didn't ask it very well apparently. | ||
| [2008/06/26 10:10:56] <Shamgar> :-) | ||
| [2008/06/26 10:10:58] <Shamgar> thanks | ||
| [2008/06/26 10:13:40] <oxtail> am i being stupid (probably) or does the "interface" type not have somewhere to put the ip address? | ||
| [2008/06/26 10:13:48] @ magnachef_ joined channel #puppet | ||
| [2008/06/26 10:18:33] <Aji-Dahaka> is there any way to get puppet to do ~ expansion on the guest? | ||
| [2008/06/26 10:21:02] @ Quit: magnachef_: "going, going....gone!" | ||
| [2008/06/26 10:21:42] <Volcane> not afaik | ||
| [2008/06/26 10:23:22] <Aji-Dahaka> that's really too bad. It would be _so_ useful | ||
| [2008/06/26 10:23:34] <Aji-Dahaka> otherwise I have to write something to try and figure out where home directories are | ||
| [2008/06/26 10:23:42] <Aji-Dahaka> or rather to try and declare where they are | ||
| [2008/06/26 10:23:49] @ ski98033 joined channel #puppet | ||
| [2008/06/26 10:25:31] <zipkid> can anyone tell me how to address a template fiel in modules/<modulename>/templates/ ? | ||
| [2008/06/26 10:25:49] <zipkid> s/fiel/file/ | ||
| [2008/06/26 10:28:00] <thom> template("modulename/template.erb") | ||
| [2008/06/26 10:29:42] <Volcane> Aji-Dahaka: the magic thing is, the configuraiton that gets run on the clients gets built on the master | ||
| [2008/06/26 10:29:47] <Volcane> Aji-Dahaka: ie. it just has no clue | ||
| [2008/06/26 10:30:37] <Volcane> Aji-Dahaka: you could no doubt write a fact to make a ton of facts like $john_home and $sally_home but i think its prolly more hassle than its worth, in that case u could do what u need i guess | ||
| [2008/06/26 10:31:32] <Aji-Dahaka> Volcane: and puppetd on the client only uses absolute addressing, then? | ||
| [2008/06/26 10:31:43] <Volcane> facts are the only dynamic info about the client that the master has access too, if its not a fact, the master (that builds the config) only knows whats on the master | ||
| [2008/06/26 10:32:05] <Disconnect> so you could set a homepath fact and use $homepath in place of ~ | ||
| [2008/06/26 10:32:10] <Volcane> so unless u make facts, or tell the master speficially, i doubt it will be possible | ||
| [2008/06/26 10:32:17] <Disconnect> if you absolutely have to | ||
| [2008/06/26 10:32:43] <Aji-Dahaka> right, but the master could be (not sure how it's done) written to ship out the ~ path, leaving its expansion to the child if it wanted... | ||
| [2008/06/26 10:32:45] <Volcane> Disconnect: user sybase lives in /opt/sybase user john lives in /home/john etc | ||
| [2008/06/26 10:32:48] <zipkid> thom: thx | ||
| [2008/06/26 10:32:48] <Volcane> Disconnect: PITA | ||
| [2008/06/26 10:32:58] <Disconnect> ya :( | ||
| [2008/06/26 10:33:04] <Disconnect> ldap users ftw :) | ||
| [2008/06/26 10:33:26] <Aji-Dahaka> it's mostly a problem because we have some machines where some users are jailed and some aren't, the jailed users have one home directory scheme, the non-jailed have another | ||
| [2008/06/26 10:33:33] <Volcane> Aji-Dahaka: precision is the game really, so weird expansions that can change doesnt gel well | ||
| [2008/06/26 10:33:52] <Volcane> Aji-Dahaka: facts it is then | ||
| [2008/06/26 10:34:23] <Aji-Dahaka> yeah, I'll probably just skip those machines for now and see if they are a worthwhile puppet machine when we have more of puppet implemented | ||
| [2008/06/26 10:34:30] <Aji-Dahaka> thanks for your help, Volcane and Disconnect | ||
| [2008/06/26 10:34:53] <Disconnect> np | ||
| [2008/06/26 10:35:53] <Volcane> it should be easy to write the facts | ||
| [2008/06/26 10:36:03] <Volcane> but i dont know, someone else might have a better idea | ||
| [2008/06/26 10:36:11] <Volcane> its a bit chicken and egg | ||
| [2008/06/26 10:36:21] <Volcane> if you rely on facts, the users need to exist on the box first before you can handle them | ||
| [2008/06/26 10:36:21] <Aji-Dahaka> well...I'm not sure how easy it would be to describe what's currently on there. | ||
| [2008/06/26 10:36:25] <Volcane> so puppet cant make the users | ||
| [2008/06/26 10:36:29] <Volcane> yeah, so scrap that idea | ||
| [2008/06/26 10:36:48] <Aji-Dahaka> I'll hold off on it and think about it in the back of my mind for a couple months, I think. | ||
| [2008/06/26 10:36:51] <Volcane> Aji-Dahaka: do they all at least live in the same prefix? | ||
| [2008/06/26 10:37:06] <Aji-Dahaka> Volcane: "prefix" as in /home/? then no | ||
| [2008/06/26 10:37:18] <Volcane> on some machines all in /home on other all in /jail or whatever ? | ||
| [2008/06/26 10:37:20] <Aji-Dahaka> they live on different partitions, some with _really_ weird directory structures | ||
| [2008/06/26 10:37:34] <Volcane> right, you're down a path of hellish specifics then yes | ||
| [2008/06/26 10:37:58] <Volcane> puppets great if its all the same, if its all unique or once off's it makes more work | ||
| [2008/06/26 10:38:25] <Aji-Dahaka> our current ssh key distribution script is little more than 1) generate an authorized keys file that represents the users authorized keys 2) scp $tmpfile ~$username/.ssh/ | ||
| [2008/06/26 10:38:43] <Aji-Dahaka> so it is all the same if ~-expansion is allowed | ||
| [2008/06/26 10:38:44] @ Quit: cote: | ||
| [2008/06/26 10:38:45] <Volcane> nods :) so do this. | ||
| [2008/06/26 10:39:00] <Volcane> fetch the keys all into /some/where/save/$user.key | ||
| [2008/06/26 10:39:00] <Aji-Dahaka> it would have been nice to have that covered by puppet as well, though, that's all | ||
| [2008/06/26 10:39:10] <Volcane> then use a simple exec to do the copy? | ||
| [2008/06/26 10:39:21] <Volcane> cos exec will expand ~ (its the shell then) | ||
| [2008/06/26 10:39:22] <Aji-Dahaka> ooh, there's an exec functionality? | ||
| [2008/06/26 10:39:41] <Volcane> yes | ||
| [2008/06/26 10:39:43] <Volcane> and its clever | ||
| [2008/06/26 10:39:59] <Volcane> check out the docs | ||
| [2008/06/26 10:40:13] <Aji-Dahaka> thanks, great tip :) | ||
| [2008/06/26 10:40:21] <Volcane> you're still going to need some trickery to prevent it from copying each time | ||
| [2008/06/26 10:40:25] <Volcane> but thats not impossible | ||
| [2008/06/26 10:41:17] <Disconnect> alternately, capistrano | ||
| [2008/06/26 10:41:26] <Disconnect> puppet assembles them all, capistrano distributes | ||
| [2008/06/26 10:41:26] <Volcane> nono, no need for that :) | ||
| [2008/06/26 10:41:28] <Aji-Dahaka> honestly, I wouldn't mind it copying each time...gigabit networks, authorized_key files are tiny... | ||
| [2008/06/26 10:41:32] <fdz_> Aji-Dahaka: the ssh_authorized_key native type allows you to install ssh keys, it will hopefully be available in next release | ||
| [2008/06/26 10:41:35] @ robin_ joined channel #puppet | ||
| [2008/06/26 10:41:45] <Volcane> file to put it somewhere safe, file notifies exec only when its changed, exec copies to ~ | ||
| [2008/06/26 10:41:48] <Volcane> done deal | ||
| [2008/06/26 10:41:54] <Aji-Dahaka> fdz_: ooh, documentation on that? | ||
| [2008/06/26 10:42:12] <Aji-Dahaka> http://reductivelabs.com/trac/puppet/wiki/Recipes/Authorized_keys <-- this is what I was looking at | ||
| [2008/06/26 10:42:19] <Aji-Dahaka> but it doesn't really do the job I need | ||
| [2008/06/26 10:43:48] <fdz_> Aji-Dahaka: at the moment not much, but it's in the code | ||
| [2008/06/26 10:43:50] <fdz_> http://github.com/lak/puppet/tree/0.24.x/lib/puppet/type/ssh_authorized_key.rb | ||
| [2008/06/26 10:44:17] <fdz_> after release it will hopefully be available in the Type Reference | ||
| [2008/06/26 10:45:13] <Aji-Dahaka> I see newproperty(:target) ... not that comfortable with ruby, but that is just making a target variable to assign to | ||
| [2008/06/26 10:45:55] <Aji-Dahaka> and there still won't be ~-expansion, correct? puppet will still require "normal" paths? | ||
| [2008/06/26 10:46:04] <fdz_> you can set the user attribute if you want your key in ~user/.ssh/authorized_keys | ||
| [2008/06/26 10:46:32] <fdz_> target is only for special cases, such as keys in /etc/ssh/authorized_keys/%u | ||
| [2008/06/26 10:47:00] <Aji-Dahaka> (we have some of those, too, but ... ignoring those) | ||
| [2008/06/26 10:47:27] <Aji-Dahaka> fdz_: that's neat, so it's the puppet client that knows what an ssh_authorized_key object is, and that allows it to expand properly, then? | ||
| [2008/06/26 10:47:35] @ robin_ left channel #puppet () | ||
| [2008/06/26 10:47:38] @ robin_ joined channel #puppet | ||
| [2008/06/26 10:47:52] <fdz_> Aji-Dahaka: yes | ||
| [2008/06/26 10:48:23] <muerr> Aji-Dahaka: are you managing your users with puppet? | ||
| [2008/06/26 10:48:43] <muerr> Like say john is the sybase dba, and you also have a sybase userid, are both under puppet? | ||
| [2008/06/26 10:48:48] <Aji-Dahaka> muerr: not yet | ||
| [2008/06/26 10:48:51] <muerr> If so, use a define that sets up user accounts. | ||
| [2008/06/26 10:48:59] <muerr> I have a great example of that in the config I wrote here. | ||
| [2008/06/26 10:49:21] <Aji-Dahaka> it will take a long time before we are able to manage the accounts in puppet | ||
| [2008/06/26 10:49:24] <muerr> http://github.com/sansnoc/puppet/tree/master/users | ||
| [2008/06/26 10:49:33] <Aji-Dahaka> (there are, say, 30k accounts or so in different formats) | ||
| [2008/06/26 10:49:36] <muerr> I mean, ideally you use LDAP for user management :-) | ||
| [2008/06/26 10:49:39] <muerr> YIKES | ||
| [2008/06/26 10:50:13] <Aji-Dahaka> the setup I stepped into here uses ldap as a data source, but generates local accounts based on that since the ldap doesn't have posix info entered for the users... | ||
| [2008/06/26 10:50:17] <muerr> thats worse than what we dealt with at IBM ebusiness with 300 customer accounts, 6 platforms and 3000 servers :-x | ||
| [2008/06/26 10:50:19] <Aji-Dahaka> I'm working on that as well | ||
| [2008/06/26 10:50:26] <muerr> (with no config management, heh) | ||
| [2008/06/26 10:50:35] <Aji-Dahaka> muerr: more users, less servers, no config management yet | ||
| [2008/06/26 10:50:55] @ thegcat joined channel #puppet | ||
| [2008/06/26 10:51:05] <Aji-Dahaka> but I'll definitely hold off on ssh keys for regular users until after that puppet change | ||
| [2008/06/26 10:51:39] <muerr> Aji-Dahaka: I'm doing ssh key propagation with that user module, so you might take a look, though I'd suggest with that many userids (30k?!) LDAP will be far more suitable. | ||
| [2008/06/26 10:52:32] <Aji-Dahaka> muerr: just over 32k, in total, actually...so I'm hoping to get ldap and netgroups set up and not have to deal with local accounts at all soon | ||
| [2008/06/26 10:52:41] <muerr> good. | ||
| [2008/06/26 10:53:00] <muerr> i haven't done ldap user management yet, but i hear its the bees knees. | ||
| [2008/06/26 10:54:24] <Aji-Dahaka> we are feeding a bunch of resources (including our ldap) with sun's IDM product now | ||
| [2008/06/26 10:54:34] <muerr> IBM couldn't do it across ebusiness because of disparate customer accounts, no mingling. userid management was a *nightmare* there, for over 5 years. We don't use it here because there's only 10 people total that need userids on systems. 5 of them on only the four web/db servers and the other 5 on all. | ||
| [2008/06/26 10:54:41] <Aji-Dahaka> so once the posix info is also populated, we'll be set for replacing local accounts with ldap entries | ||
| [2008/06/26 10:56:00] <Aji-Dahaka> hmm...figured out templates and file and service, roughly...next must be to figure out more about nodes | ||
| [2008/06/26 10:56:07] <Aji-Dahaka> not every thing should be node default, methinks :) | ||
| [2008/06/26 10:58:13] <Aji-Dahaka> and to think out how to integrate puppet and nagios | ||
| [2008/06/26 10:59:01] <Aji-Dahaka> ideally, I'd like to write one definition file that both 1) configures the node and 2) tells nagios the general things that need to be monitored | ||
| [2008/06/26 10:59:12] <Disconnect> the nagios module kinda does that | ||
| [2008/06/26 10:59:28] <Aji-Dahaka> I looked at the nagios-nrpe thing | ||
| [2008/06/26 10:59:43] <Disconnect> takes some tweaking (and its got some bugs) but it works well enough. ssh and apache modules are integrated (ssh copies hostkeys into /etc/sshd/known_hosts, too, which is nice) | ||
| [2008/06/26 11:00:01] <Aji-Dahaka> but I wonder how I sould say... "include nrpe-server class in nagios for anything that includes nrpe in puppet" | ||
| [2008/06/26 11:00:32] <Aji-Dahaka> ooh, unified known_hosts file...I should keep that in mind. | ||
| [2008/06/26 11:01:00] <Aji-Dahaka> but that's a way-back-burner thing | ||
| [2008/06/26 11:01:38] <Volcane> bloody hell, 30k users | ||
| [2008/06/26 11:01:48] * Volcane doesnt want to imagine how long puppet will take just to build configs :) | ||
| [2008/06/26 11:02:20] <Aji-Dahaka> it's a university, so...lots of users with fairly simple needs considering | ||
| [2008/06/26 11:03:09] <Volcane> nods, puppet though need to build relationships and dependencies in to map | ||
| [2008/06/26 11:03:23] <Volcane> thats a lot of work with 30k users, their dirs, gecos info, ssh keys etc | ||
| [2008/06/26 11:09:04] <Disconnect> whats the recommended way to say "make sure this mountpoint exists, then mount to it"..? i'm still having remount failures as it tries to go from present to mounted (while its already mounted and fine) I guess I can just purposely confuse it with different names, but.. | ||
| [2008/06/26 11:09:08] @ jvanzyl joined channel #puppet | ||
| [2008/06/26 11:09:42] <zipkid> exec with require file | ||
| [2008/06/26 11:10:17] <Disconnect> exec? yuck. the mount type can't handle it? | ||
| [2008/06/26 11:12:07] <zipkid> ow, sorry | ||
| [2008/06/26 11:12:25] <zipkid> the mount type with required file ensured as directory | ||
| [2008/06/26 11:13:52] <Disconnect> right, thats what i had. lemme pastebin. | ||
| [2008/06/26 11:16:43] <Disconnect> http://pastie.org/222664 | ||
| [2008/06/26 11:17:30] <Disconnect> reasonably sure thats what it was before I screwed with it today. but i haven't found any variant on that that doesn't try to remount /mnt/foo/ on each run (and then fail, because of a missing -o remount) | ||
| [2008/06/26 11:18:22] @ jvanzyl_ joined channel #puppet | ||
| [2008/06/26 11:18:25] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 11:20:21] @ jvanzyl joined channel #puppet | ||
| [2008/06/26 11:20:23] @ Quit: jvanzyl_: Read error: 54 (Connection reset by peer) | ||
| [2008/06/26 11:20:37] <Disconnect> Mount[foomount]/ensure) change from present to mounted failed: Execution of '/bin/mount -o ro,defaults /mnt/foo/' returned 8192: mount.nfs: /mnt/foo is busy or already mounted | ||
| [2008/06/26 11:20:45] <Disconnect> (already mounted in this case) | ||
| [2008/06/26 11:21:35] @ cervicek joined channel #puppet | ||
| [2008/06/26 11:22:05] <muerr> that should be a warn not an err right? | ||
| [2008/06/26 11:22:59] <choffee> Hi folks | ||
| [2008/06/26 11:23:42] <cervicek> how can i easy evaluate, which client has a certain package installed? | ||
| [2008/06/26 11:24:01] <choffee> If I define a class with apache::site setup then want to override that in a new class that inherits it | ||
| [2008/06/26 11:24:04] @ martha joined channel #puppet | ||
| [2008/06/26 11:24:16] <choffee> do I use Apache::site or Apache::Site? | ||
| [2008/06/26 11:24:21] <muerr> cervicek: with puppet? Puppet only checks if a package is installed on a client if you've got a package resource set up that is applicable to that client. | ||
| [2008/06/26 11:24:52] <muerr> you could write a custom fact to check systems for certain packages, i suppose.. but what are you trying to accomplish? | ||
| [2008/06/26 11:25:05] <muerr> choffee: Apache::Site. | ||
| [2008/06/26 11:25:16] <cervicek> muerr: yes. i have the yaml files, but how can I easy check this logs? | ||
| [2008/06/26 11:25:18] <cervicek> http://pastebin.org/46332 | ||
| [2008/06/26 11:25:27] @ andrewcshafer joined channel #puppet | ||
| [2008/06/26 11:25:30] <muerr> choffee: er, actually... | ||
| [2008/06/26 11:26:13] <muerr> choffee: you would say class apache::override inherits apache::site { } and override the resource(s) in the override class. | ||
| [2008/06/26 11:26:52] <muerr> like if you had file { "/etc/httpd/httpd.conf": } in apache::site, and wanted to override it, you'd say File["/etc/httpd/httpd.conf"] { }. | ||
| [2008/06/26 11:27:21] <cervicek> I found these site: http://reductivelabs.com/trac/puppet/wiki/PuppetReporting | ||
| [2008/06/26 11:27:22] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 11:27:24] <muerr> If you have a define like apache::configfile { "/etc/httpd/httpd.conf": } then you'd need to capitalize both parts of the name, Apache::Configfile to override it. | ||
| [2008/06/26 11:27:34] <cervicek> but it says, that the logging features are poor | ||
| [2008/06/26 11:27:58] @ jvanzyl joined channel #puppet | ||
| [2008/06/26 11:28:10] <muerr> cervicek: sorry i'm not up to snuff on yaml parsing to check particular nodes for package installs. | ||
| [2008/06/26 11:29:12] <choffee> muerr: yes it the second type that I wanted, as my class has a few apache::... in it and I only want to override one setting in one of those in the new class | ||
| [2008/06/26 11:30:07] <choffee> muerr: I will give it a go with both capitals, thanks for your help. | ||
| [2008/06/26 11:30:32] <muerr> choffee: http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#resource-collections, http://reductivelabs.com/trac/puppet/wiki/CommonMisconceptions | ||
| [2008/06/26 11:30:42] <Volcane> Disconnect: hmm, we had some issues where puppet wouldnt realise things are mounted in the past too, was a nkown issue then but i dont recall details | ||
| [2008/06/26 11:32:14] @ jvanzyl_ joined channel #puppet | ||
| [2008/06/26 11:33:36] <muerr> Disconnect: is your mount resource in /etc/fstab? | ||
| [2008/06/26 11:33:40] <muerr> (it should be...) | ||
| [2008/06/26 11:33:55] <Disconnect> yah puppet set it there | ||
| [2008/06/26 11:33:59] <muerr> good | ||
| [2008/06/26 11:34:13] <cervicek> muerr: I am just looking for tools, which could accomplish this. should I have a look to PuppetShow? | ||
| [2008/06/26 11:34:46] <cervicek> just to see the state on the clients | ||
| [2008/06/26 11:34:47] @ cote joined channel #puppet | ||
| [2008/06/26 11:35:02] <muerr> cervicek: I haven't worked with Puppetshow. You might have a look at reporting. | ||
| [2008/06/26 11:35:50] @ chillitom joined channel #puppet | ||
| [2008/06/26 11:37:12] <cervicek> muerr: I have only this site http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting | ||
| [2008/06/26 11:37:32] <muerr> yup thats the documentation for reporting. | ||
| [2008/06/26 11:37:47] <cervicek> if you have a tip for a "loganalyser" this would be cool | ||
| [2008/06/26 11:37:57] <jamesturnbull> cervicek: look at PuppetView | ||
| [2008/06/26 11:38:07] @ Quit: tim|macbook: "This computer has gone to sleep" | ||
| [2008/06/26 11:38:50] <jamesturnbull> cervicek: wiki:DocumentationStart#RelatedApplications | ||
| [2008/06/26 11:38:53] <gepetto> jamesturnbull: cervicek: wiki:DocumentationStart#RelatedApplications is http://reductivelabs.com/trac/puppet/wiki/DocumentationStart#RelatedApplications | ||
| [2008/06/26 11:39:12] <muerr> Disconnect: here's the logic in the mount type that should be called for your mount. http://pastie.org/222677 | ||
| [2008/06/26 11:39:53] <muerr> i don't know why it would try mounting, due to this line "provider.mount unless provider.mounted?" - maybe there's some logic broken in the mounted? method. | ||
| [2008/06/26 11:40:08] <Disconnect> ok so it creates it automatically.. if i take that bit out of my code, lets see what it does | ||
| [2008/06/26 11:40:28] <muerr> have a peek at the mount.rb in the type directory under puppet. | ||
| [2008/06/26 11:40:31] <muerr> in your site ruby. | ||
| [2008/06/26 11:42:17] <cervicek> jamesturnbull: yes, it looks interessting. I'll check it out. thx | ||
| [2008/06/26 11:42:52] <jamesturnbull> cervicek: also don't underestimate what you can do with traditional log parsing tools like SEC/Swatch | ||
| [2008/06/26 11:43:55] <jamesturnbull> cervicek: it's certainly possible to trigger puppet runs with log results with a tool like SEC | ||
| [2008/06/26 11:44:50] @ Quit: jvanzyl: Read error: 110 (Connection timed out) | ||
| [2008/06/26 11:45:22] <Disconnect> http://pastie.org/222682 same problem, not sure whats up.. (log entry at the bottom) | ||
| [2008/06/26 11:48:11] <choffee> muerr: Thanks for the links I think I understand it now. I had read the first but not seen the second. | ||
| [2008/06/26 11:48:21] <muerr> choffee: glad i could help | ||
| [2008/06/26 11:49:08] <muerr> Disconnect: don't see the log, or the file { "mount point" } | ||
| [2008/06/26 11:50:17] <Aji-Dahaka> what the heck, I add more node definitions and no matter how simple and how valid they look, it errors out saying that what I have is a syntax error | ||
| [2008/06/26 11:50:33] <Disconnect> i pulled file { "/mnt/nfs-svr/": out - according to the snippet you posted, it'll create the mountpoint automatically so I don't need to have puppet create it.. | ||
| [2008/06/26 11:50:38] <fujin> you've got a syntax error! | ||
| [2008/06/26 11:51:03] <Aji-Dahaka> I agree, seems likely | ||
| [2008/06/26 11:51:21] <Aji-Dahaka> http://pastebin.com/m4a9d5e4f | ||
| [2008/06/26 11:51:29] <Aji-Dahaka> do you see anything wrong there? | ||
| [2008/06/26 11:51:40] <Aji-Dahaka> if I clip the last node out of the config file, it's fine | ||
| [2008/06/26 11:52:06] <Volcane> show the error :) | ||
| [2008/06/26 11:52:12] <fujin> no, looks ok, maybe the space between default and { | ||
| [2008/06/26 11:52:17] <fujin> but yeh show the error, what line? | ||
| [2008/06/26 11:52:34] <Aji-Dahaka> line 13 | ||
| [2008/06/26 11:52:41] <Aji-Dahaka> the line with emerald1.odin.nodak.edu | ||
| [2008/06/26 11:52:48] <Volcane> show the error | ||
| [2008/06/26 11:53:04] <Aji-Dahaka> Starting puppetmaster: Syntax error at 'emerald1.odin.nodak.edu' at /etc/puppet/manifests/site.pp:13 | ||
| [2008/06/26 11:53:11] <Aji-Dahaka> syntax error at line 13 | ||
| [2008/06/26 11:53:57] <Volcane> yip, thats pretty weird | ||
| [2008/06/26 11:54:44] <fujin> version? | ||
| [2008/06/26 11:54:52] <fujin> what happens if you take the default node out | ||
| [2008/06/26 11:55:53] <Aji-Dahaka> same if I take teh default node out | ||
| [2008/06/26 11:56:02] <Aji-Dahaka> apparently single quotes make it work? | ||
| [2008/06/26 11:56:21] <Aji-Dahaka> puppet-server-0.22.4-1.el5.rf | ||
| [2008/06/26 11:56:24] * Volcane 's nodes have ""s | ||
| [2008/06/26 11:56:34] <Volcane> dude, ditch that and get 24.4 | ||
| [2008/06/26 11:56:51] <Volcane> yum.reductivelabs.com is your friend | ||
| [2008/06/26 11:57:07] <Aji-Dahaka> Volcane: and is it in my package manager? :p | ||
| [2008/06/26 11:57:49] <Aji-Dahaka> yup, it is...it'll be installed in a couple minutes | ||
| [2008/06/26 11:59:54] @ jon_ joined channel #puppet | ||
| [2008/06/26 12:00:39] <Aji-Dahaka> so, let's say I have a generic config file *ponder* let's say apache's...and I want a given machine to just add stuff to the bottom of that, what's the usual way to do that? | ||
| [2008/06/26 12:00:59] <Volcane> theres some recipes for that kind of thing on the wiki | ||
| [2008/06/26 12:01:07] <Volcane> but its really manky and you should feed dirty for doing it | ||
| [2008/06/26 12:01:09] @ Quit: cote: | ||
| [2008/06/26 12:01:20] <cervicek> jamesturnbull: What is sec, swatch? Google finds too much ;-) | ||
| [2008/06/26 12:01:28] <cervicek> do you have a link? | ||
| [2008/06/26 12:02:07] <Volcane> fujin: dont know if you care, but i found the logger problem, ruby 1.8.1 is broken, fixed in 1.8.5 | ||
| [2008/06/26 12:02:10] <Aji-Dahaka> Volcane: so what's the usual way to manage apache on systems? just manage the whole apache config on a machine-by-machine basis? | ||
| [2008/06/26 12:02:17] <Aji-Dahaka> guess that's still a lot better than what we are doing | ||
| [2008/06/26 12:02:20] @ Quit: strerror_work: | ||
| [2008/06/26 12:02:31] <Volcane> Aji-Dahaka: yes more or less that | ||
| [2008/06/26 12:02:40] <Volcane> Aji-Dahaka: make full use of the conf.d directory | ||
| [2008/06/26 12:02:47] <Volcane> and ship snippets of things in there | ||
| [2008/06/26 12:03:09] <Aji-Dahaka> Volcane: just upgraded, double-quotes work fine now | ||
| [2008/06/26 12:03:18] <Aji-Dahaka> must have been a bug | ||
| [2008/06/26 12:04:24] <Volcane> Aji-Dahaka: kewl, the file resource can do like source => [ "puppet://puppet/apache/something.$fqdn", "puppet://puppet/apache/something"] | ||
| [2008/06/26 12:04:42] <Volcane> Aji-Dahaka: so if you need to do something special on a host, create something.host.com else they get whats in something | ||
| [2008/06/26 12:04:46] <fujin> Volcane: cool dude | ||
| [2008/06/26 12:04:52] <fujin> good to hear you got it sussed | ||
| [2008/06/26 12:04:54] <fujin> Fri Jun 27 04:04:54 NZST 2008 | ||
| [2008/06/26 12:04:57] <fujin> time to sleep, toodles | ||
| [2008/06/26 12:05:20] <Aji-Dahaka> Volcane: neat, thanks. I'll probably use dynamic directories instead of . extensions, but same idea, thanks. | ||
| [2008/06/26 12:06:51] @ Quit: andrewcshafer: | ||
| [2008/06/26 12:07:43] @ Quit: cabbiepete: | ||
| [2008/06/26 12:14:54] @ Quit: thegcat: | ||
| [2008/06/26 12:16:19] <jamesturnbull> cervicek: http://www.estpak.ee/~risto/sec/ | ||
| [2008/06/26 12:16:48] <jamesturnbull> cervicek: http://swatch.sourceforge.net/ | ||
| [2008/06/26 12:17:37] <jamesturnbull> night all | ||
| [2008/06/26 12:17:45] <Disconnect> sf site is busted | ||
| [2008/06/26 12:18:38] @ Ol_ joined channel #puppet | ||
| [2008/06/26 12:20:33] <jamesturnbull> Disconnect: http://sourceforge.net/projects/swatch/ | ||
| [2008/06/26 12:21:16] <Aji-Dahaka> Volcane: I like how that moves the management to a file-level management for those resources. that's actually really convenient. | ||
| [2008/06/26 12:21:22] <jamesturnbull> Disconnect: Google is your friendc | ||
| [2008/06/26 12:21:49] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2008/06/26 12:21:55] <Disconnect> i didn't need google (or the main project page) but thanks anyway. i was just letting him know its a bad url because of an outage. | ||
| [2008/06/26 12:22:51] @ Quit: runlevel: "Leaving" | ||
| [2008/06/26 12:23:06] <jamesturnbull> Disconnect: fair enough | ||
| [2008/06/26 12:29:30] @ Quit: exodos: "leaving" | ||
| [2008/06/26 12:30:55] @ Quit: \ask: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 12:31:29] @ \ask joined channel #puppet | ||
| [2008/06/26 12:32:15] @ Quit: Innocenti: Read error: 110 (Connection timed out) | ||
| [2008/06/26 12:34:01] @ dysinger joined channel #puppet | ||
| [2008/06/26 12:45:52] @ Quit: gileswork: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 12:46:18] @ gileswork joined channel #puppet | ||
| [2008/06/26 12:53:25] @ Quit: glaw: "http://xkcd.com/137/" | ||
| [2008/06/26 12:56:27] @ shake-n-bake joined channel #puppet | ||
| [2008/06/26 12:58:58] @ Quit: oxtail: "Ex-Chat" | ||
| [2008/06/26 13:01:35] <raphink> hi guys:) | ||
| [2008/06/26 13:01:43] <raphink> a colleague of mine just showed me augeas | ||
| [2008/06/26 13:02:06] <raphink> which is a configuration API | ||
| [2008/06/26 13:02:22] <raphink> it seems like it could be very interesting to solve editfiles issues | ||
| [2008/06/26 13:02:28] <raphink> in a clean way | ||
| [2008/06/26 13:07:17] @ Quit: robin_: | ||
| [2008/06/26 13:11:33] @ andrewcshafer joined channel #puppet | ||
| [2008/06/26 13:16:24] <Disconnect> nice | ||
| [2008/06/26 13:17:07] <duritong> raphink: the author is dlutter | ||
| [2008/06/26 13:17:09] <benp-> its been discussed a bit on the lists.. if im not mistaken it's lutter's project | ||
| [2008/06/26 13:18:44] @ brothers joined channel #puppet | ||
| [2008/06/26 13:21:50] <benp-> and the website seems to be down :( | ||
| [2008/06/26 13:22:50] <duritong> download.fedora.redhat.com seems to be down :-/ | ||
| [2008/06/26 13:28:17] <muerr> there's a very length post (and thread iirc) on the google group about augeas. | ||
| [2008/06/26 13:32:19] @ flakrat joined channel #puppet | ||
| [2008/06/26 13:33:01] <lutter> yeah, it seems that the server hosting augeas.net is not reachable form the outside right now | ||
| [2008/06/26 13:34:04] <flakrat> On a RHEL4 box, when a user is realized / created, the users home directory isn't getting created, is this normal? | ||
| [2008/06/26 13:34:41] <ashp_> you have managehome => true or whatever it's called, right? | ||
| [2008/06/26 13:34:57] <flakrat> ashp_, no, let me try that | ||
| [2008/06/26 13:35:00] <flakrat> thanks | ||
| [2008/06/26 13:35:01] <ashp_> "_ | ||
| [2008/06/26 13:35:03] <ashp_> :) even | ||
| [2008/06/26 13:38:24] @ pasha joined channel #puppet | ||
| [2008/06/26 13:38:27] <flakrat> that worked. what are the ramifications of using this setting if a users home directory is nfs mounted? | ||
| [2008/06/26 13:38:52] <pasha> can i create a directory using the "file" resource"? | ||
| [2008/06/26 13:39:11] <ashp_> yes, use ensure => directory, | ||
| [2008/06/26 13:39:26] <ashp_> flakrat: If the user's directory exists it'll ignore it | ||
| [2008/06/26 13:39:33] <ashp_> i use managehome with nfs mounted home dirs | ||
| [2008/06/26 13:39:37] <ashp_> and it just leaves them alone | ||
| [2008/06/26 13:39:49] <Volcane> if it doesnt exist does it pull in dot files and all? | ||
| [2008/06/26 13:40:00] <flakrat> cool, I have a mix of systems, some mount home others use local and the users accounts exist on both systems | ||
| [2008/06/26 13:40:14] <flakrat> Volcane, from /etc/skel, yes | ||
| [2008/06/26 13:40:17] <ashp_> it uses the adduser -m flag, so yep | ||
| [2008/06/26 13:40:18] <Volcane> flakrat: neat | ||
| [2008/06/26 13:40:40] <Volcane> and delete it on ensure=>absent? :) | ||
| [2008/06/26 13:40:51] <flakrat> haha was going to ask the same thing | ||
| [2008/06/26 13:41:26] <flakrat> I'd prefer that I manually delete user home dirs, or use a script, rather than puppet handling it | ||
| [2008/06/26 13:41:32] <Volcane> yeah, ditto | ||
| [2008/06/26 13:42:02] <flakrat> mainly because it's easy to recreate an accidetly deleted account, but much more of a pain to restore their data :-) | ||
| [2008/06/26 13:42:07] <muerr> ashp_: how's the baby :) | ||
| [2008/06/26 13:42:22] <ashp_> Good! she's busy feeding/sleeping | ||
| [2008/06/26 13:42:26] <ashp_> feeding makes her fall asleep :) | ||
| [2008/06/26 13:42:38] <ashp_> we're doing a lot of doctors appointments as she has jaundice, but it's fixing up slowly | ||
| [2008/06/26 13:46:39] <bma> cool | ||
| [2008/06/26 13:46:47] <bma> we had jaundice on both of ours; they had to stay in the nicu for a day ro two | ||
| [2008/06/26 13:47:02] <ashp_> it seems pretty common, they said the levels are dropping so i'm not worried | ||
| [2008/06/26 13:47:05] <bma> yep | ||
| [2008/06/26 13:47:18] <ashp_> i would like to do that thing i used to do... | ||
| [2008/06/26 13:47:20] <ashp_> sleep, that's the one | ||
| [2008/06/26 13:47:25] <ashp_> i sort of remember that from the distant past now | ||
| [2008/06/26 13:47:35] <muerr> ha! | ||
| [2008/06/26 13:47:39] <muerr> sleep. | ||
| [2008/06/26 13:47:44] <muerr> you'll get some in about a year | ||
| [2008/06/26 13:48:16] <flakrat> Volcane, I just tested using managehome with a test user. First I set the user to "ensure => present," and puppet created the user along with the home dir and files, then I changed the user to "ensure => absent," and the user was deleted but the home directory is left intact | ||
| [2008/06/26 13:48:25] @ Quit: Ol_: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 13:48:26] <flakrat> just what I'm looking for | ||
| [2008/06/26 13:48:28] <flakrat> :-) | ||
| [2008/06/26 13:48:30] <muerr> i got 2 weeks paternal leave and used a week of vacation when my son was born, and didn't get sleep until i went back to work because my wife respected the need for me to be able to brain. | ||
| [2008/06/26 13:49:38] @ Quit: Wicky656: | ||
| [2008/06/26 13:50:04] @ Wicky656 joined channel #puppet | ||
| [2008/06/26 13:57:14] @ plathrop joined channel #puppet | ||
| [2008/06/26 13:57:44] <pasha> i am getting this error why try to set the password using "user" resource | ||
| [2008/06/26 13:57:45] <pasha> Provider useradd does not support features manages_passwords; not managing attribute passwo | ||
| [2008/06/26 13:58:04] <ashp_> do you have ruby-shadow installed? | ||
| [2008/06/26 13:59:08] <pasha> on the pupet master? | ||
| [2008/06/26 13:59:26] <pasha> or the clients? | ||
| [2008/06/26 14:04:05] <Volcane> clients | ||
| [2008/06/26 14:04:22] <pasha> thansk | ||
| [2008/06/26 14:05:21] <pasha> whats the best way to install it? | ||
| [2008/06/26 14:05:24] @ ken_ joined channel #puppet | ||
| [2008/06/26 14:06:10] <martha> with puppet, of course :-) | ||
| [2008/06/26 14:06:18] @ Quit: barnum: "bork" | ||
| [2008/06/26 14:06:56] <Volcane> pasha: what os? | ||
| [2008/06/26 14:07:01] <flakrat> pasha, if your clients are RHEL4 I think you have to create your own RPM | ||
| [2008/06/26 14:11:42] <Shamgar> or you could just use ensure_key_value to do it. | ||
| [2008/06/26 14:11:49] <ConSeannery> ruby shadow is in dag repo, http://dag.wieers.com/rpm/packages/ruby-shadow/ | ||
| [2008/06/26 14:12:35] <benp-> also in epel | ||
| [2008/06/26 14:18:50] @ Quit: kenvandine: Read error: 110 (Connection timed out) | ||
| [2008/06/26 14:19:08] @ lak joined channel #puppet | ||
| [2008/06/26 14:22:14] @ ken_ is now known as kenvandine | ||
| [2008/06/26 14:23:05] @ shadoi joined channel #puppet | ||
| [2008/06/26 14:23:16] @ Quit: shadoi: Client Quit | ||
| [2008/06/26 14:23:31] @ shadoi joined channel #puppet | ||
| [2008/06/26 14:25:45] @ Quit: lak: | ||
| [2008/06/26 14:28:32] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/06/26 14:28:40] @ lak joined channel #puppet | ||
| [2008/06/26 14:32:30] @ shake-n-bake joined channel #puppet | ||
| [2008/06/26 14:39:33] <dysinger> my puppet mojo powers are increasing, feeling the surge, muscle mass growing.... | ||
| [2008/06/26 14:43:23] <pasha> thanks | ||
| [2008/06/26 14:44:15] <erikh> dysinger: just don't fly off the handle and make 2 horrible sequels that generate more advertising than money | ||
| [2008/06/26 14:44:28] <dysinger> SMASH! | ||
| [2008/06/26 14:45:02] <pasha> i am trying to install the ruby shodow package via "package" resource | ||
| [2008/06/26 14:45:12] <dysinger> Yeah I lost respect for Edward Norton this summer - what a sell out | ||
| [2008/06/26 14:45:30] <erikh> eh, what was he in? | ||
| [2008/06/26 14:45:34] <pasha> err: //147020.websealapps4.com/ruby-shadow/Package[ruby-shadow-1.4.1-1.el4.rf.i386.rpm]/ensure: change from absent to present failed: Execution of '/bin/rpm -i --oldpackage puppet://app8/files/rubyshadow.rpm' returned #<Process::Status: pid=2236,exited(1)>: error: open of puppet://app8/files/rubyshadow.rpm failed: No such file or directory | ||
| [2008/06/26 14:45:36] * erikh was talking about the matrix trilogy | ||
| [2008/06/26 14:45:43] @ Quit: lak: | ||
| [2008/06/26 14:45:47] @ graynor joined channel #puppet | ||
| [2008/06/26 14:45:52] <pasha> i sure that the file is there | ||
| [2008/06/26 14:46:00] <dysinger> erikh - hulk | ||
| [2008/06/26 14:46:16] <Volcane> pasha: you cant do that, need to use file to put it on the box somehow then rpm install with package, or use something clever like yum etc | ||
| [2008/06/26 14:46:23] <erikh> dysinger: ah | ||
| [2008/06/26 14:46:37] <dysinger> same thing - 2 horrible sequels | ||
| [2008/06/26 14:46:39] <Volcane> pasha: what u specify in the rpm name has to be something rpm would understand on the command line | ||
| [2008/06/26 14:47:42] <pasha> class ruby-shadow { | ||
| [2008/06/26 14:47:43] <pasha> package { "ruby-shadow-1.4.1-1.el4.rf.i386.rpm": | ||
| [2008/06/26 14:47:43] <pasha> provider => rpm, | ||
| [2008/06/26 14:47:43] <pasha> ensure => present, | ||
| [2008/06/26 14:47:43] <pasha> source => "puppet://app8/files/rubyshadow.rpm" | ||
| [2008/06/26 14:47:47] <pasha> this is what i have | ||
| [2008/06/26 14:47:55] <pasha> is the provider line ok | ||
| [2008/06/26 14:47:59] <Volcane> dont paste into the channel, use pastie.org | ||
| [2008/06/26 14:48:03] <pasha> sorry | ||
| [2008/06/26 14:48:05] <Volcane> pasha: the problem is the source line | ||
| [2008/06/26 14:48:29] <pasha> whats wrong with it | ||
| [2008/06/26 14:48:37] <Volcane> pasha: rpm doesnt understand puppet://.. | ||
| [2008/06/26 14:48:56] <Volcane> pasha: you can put there whatever "rpm" on the command line would understand | ||
| [2008/06/26 14:48:58] <pasha> only http? | ||
| [2008/06/26 14:49:09] @ Quit: andrewcshafer: | ||
| [2008/06/26 14:50:42] <pasha> wierd in the docs its says "This must be a local file (or on a network file system) or a URL that your specific packaging type understands" | ||
| [2008/06/26 14:50:56] <Volcane> thats what i said | ||
| [2008/06/26 14:51:03] <pasha> so how do i specify local file system? | ||
| [2008/06/26 14:51:06] <Volcane> if "rpm" on the command line can use it, then you can put it there | ||
| [2008/06/26 14:51:20] <Volcane> source => "/tmp/blah.rpm" probably | ||
| [2008/06/26 14:52:29] <Volcane> (you do need to ofcourse get hte file there onto the drive first somehow) | ||
| [2008/06/26 14:53:04] <pasha> its too bad i can use the "puppet" file transfer | ||
| [2008/06/26 14:53:07] <pasha> cant | ||
| [2008/06/26 14:53:20] @ lak joined channel #puppet | ||
| [2008/06/26 14:53:59] <Volcane> file{"/tmp/blah.rpm": source => "puppet://.....", notify => Package["/tmp/blah.rpm"] } package{"/tmp/blah.rpm": notifyonly => true, ensure => present } | ||
| [2008/06/26 14:54:03] <Volcane> something like that | ||
| [2008/06/26 14:54:14] <Volcane> i didnt test it, but that should be enoufh for you to figure out along with the docs :) | ||
| [2008/06/26 14:54:38] @ aymerick_ joined channel #puppet | ||
| [2008/06/26 14:56:18] @ mikearr joined channel #puppet | ||
| [2008/06/26 15:02:19] @ Quit: aymerick_: | ||
| [2008/06/26 15:04:58] <pasha> thanks alot guys | ||
| [2008/06/26 15:06:16] <pasha> maybee i can use "mount" resource to mount a share on call the client with the rpm and then install from local | ||
| [2008/06/26 15:07:43] <Volcane> yip | ||
| [2008/06/26 15:07:44] <Volcane> can do | ||
| [2008/06/26 15:08:14] @ Quit: lak: | ||
| [2008/06/26 15:10:28] @ Quit: aymerick: Read error: 110 (Connection timed out) | ||
| [2008/06/26 15:12:21] @ andrewcshafer joined channel #puppet | ||
| [2008/06/26 15:18:09] <Disconnect> ugh. everything worked fine till it stopped. and now its all a mess :( | ||
| [2008/06/26 15:18:31] <Disconnect> munin won't update most of the hosts, puppet keeps inventing nonexistant nodes, etc.. | ||
| [2008/06/26 15:20:30] <fastjay> howdee | ||
| [2008/06/26 15:20:41] <fastjay> who all is coming to the SF meetup tonight? | ||
| [2008/06/26 15:21:03] @ Quit: kambiz: "Leaving" | ||
| [2008/06/26 15:22:02] <e^ipi> can a puppet node ( or the puppet master for that matter ) automagically register nodes in iclassify? | ||
| [2008/06/26 15:23:55] <e^ipi> i know zilch about iclassify but boss-man says i have to learn, fast | ||
| [2008/06/26 15:24:20] <Disconnect> e^ipi: other way around - nodes register with iclassify, then puppet retrieves info | ||
| [2008/06/26 15:26:26] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/06/26 15:26:28] <dysinger> can I notify => Service["x"] to restart it if a file changes ? or do I need an exec to restart the daemon that subscribes to the file ? | ||
| [2008/06/26 15:27:00] <Volcane> notify works | ||
| [2008/06/26 15:27:10] <muerr> pasha: rpm understands http:, i use it in kickstart %post to install puppet. | ||
| [2008/06/26 15:28:29] @ shadowvice joined channel #puppet | ||
| [2008/06/26 15:28:43] <e^ipi> Disconnect: i see | ||
| [2008/06/26 15:28:52] <e^ipi> can i build a config file based on other things in iclassify? | ||
| [2008/06/26 15:29:20] <Disconnect> iclassify runs as an external node list, and offers up all the factor facts as variables, so you can do anything with them you could do with a static config | ||
| [2008/06/26 15:29:24] <e^ipi> that is, can i have a mysqlproxy script built to point at a mysql server that I know nothing else about other than what I put in iclassify? | ||
| [2008/06/26 15:29:37] <Disconnect> in fact, basically the only thing that changes is the nodes.pp goes away | ||
| [2008/06/26 15:29:39] <e^ipi> one machine... knows about another machine because of iclassify | ||
| [2008/06/26 15:29:49] <Disconnect> sure, same as you would now - with templates. | ||
| [2008/06/26 15:30:06] <e^ipi> but i can't now, because nodes only know about themselves | ||
| [2008/06/26 15:30:37] @ RainDoctor is now known as _NJGuy | ||
| [2008/06/26 15:30:42] <Disconnect> you could set a tag (or a fact) that says "mysqlhost=foo" or you could enable storedconfigs and use that to get info about other nodes | ||
| [2008/06/26 15:31:12] <Disconnect> (don't ask me for details on that, i just know that munin and nagios and even ntp modules do it with varying degrees of success) | ||
| [2008/06/26 15:31:36] <e^ipi> i don't know what mysqlhost is though | ||
| [2008/06/26 15:31:47] <Disconnect> its not gonna make shit up for you :) | ||
| [2008/06/26 15:32:09] <e^ipi> no, but i want to be able to plug in a mysqlhost | ||
| [2008/06/26 15:32:17] <e^ipi> and then next time a mongrel host connects, it should know about it | ||
| [2008/06/26 15:32:28] <e^ipi> without having to munge with the mongrel hosts's config stuff | ||
| [2008/06/26 15:33:51] <shadoi> you should use an external node tool that provides variables like dbhosts based on info in a DB | ||
| [2008/06/26 15:34:24] <shadoi> in fact, iclassify should let you do this if you're already using it | ||
| [2008/06/26 15:34:54] <e^ipi> i'm not already using it | ||
| [2008/06/26 15:35:03] <e^ipi> but if that's what iclassify lets me do, then i will use it | ||
| [2008/06/26 15:35:46] <e^ipi> i'm trying to build up an environment based on transient nodes ( in amazon's cloud computing thing actually ) | ||
| [2008/06/26 15:35:55] <e^ipi> with as little manual intervention as possible | ||
| [2008/06/26 15:36:06] <e^ipi> preferably 0 manual intervention, it should just run | ||
| [2008/06/26 15:36:21] <Disconnect> you see the podcast and slideshow about that? | ||
| [2008/06/26 15:36:25] <e^ipi> no | ||
| [2008/06/26 15:36:44] <Disconnect> http://itc.conversationsnetwork.org/shows/detail3656.html and http://www.slideshare.net/adamhjk/why-startups-need-automated-infrastructures | ||
| [2008/06/26 15:37:09] @ aymerick joined channel #puppet | ||
| [2008/06/26 15:37:24] <Disconnect> its nowhere near as point-and-shoot as they say (mainly because the backend scripts and configs need to be done by hand..) but its overall pretty accurate. you can reasonably get to the point they describe. | ||
| [2008/06/26 15:37:58] * Disconnect is dying of anticipation btw, the ebook reader is here but he's got work to do instead :( | ||
| [2008/06/26 15:38:29] @ Quit: kenvandine: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 15:39:41] @ kenvandine joined channel #puppet | ||
| [2008/06/26 15:40:18] <e^ipi> oh, i mean even more automated than that | ||
| [2008/06/26 15:40:48] <e^ipi> when the load spikes, there should be some magic that happens to launch more nodes, set up everything, and deal with it | ||
| [2008/06/26 15:41:05] <Disconnect> ...cuz accidentally launching $50,000 worth of resources into the cloud is FUN | ||
| [2008/06/26 15:41:09] <e^ipi> i shouldn't know about load spikes until i check the logs at the end of the day | ||
| [2008/06/26 15:41:15] <Disconnect> ...or get the bill | ||
| [2008/06/26 15:41:33] <e^ipi> that's why you do it correctly, and there's not a problem | ||
| [2008/06/26 15:41:35] <Disconnect> "oops, db went slow, and slowed down the app servers, so the system spawned more and more appservers until the db came back. Sorry about that." | ||
| [2008/06/26 15:42:16] <Disconnect> stuff is gonna happen. corner cases are a big deal when it involves a nice self-DOS | ||
| [2008/06/26 15:44:15] <Disconnect> for a template.. if I have $foo = ["one","two"] and my template says "allow = <%= foo %> " .. how do I get 2 allow = lines? (allow = one / allow = two) | ||
| [2008/06/26 15:45:12] <Volcane> http://pastie.org/222857 | ||
| [2008/06/26 15:45:52] <Disconnect> awesomeness :) | ||
| [2008/06/26 15:47:18] <Disconnect> (random side note, the munin module could really use that 'out of the box') | ||
| [2008/06/26 15:48:08] <dysinger> shouldn't I be able to do exec { [ "cat /etc/profile", "ls /etc" ] } (example) ? it says duplicate definition Exec[ls /etc] | ||
| [2008/06/26 15:48:19] @ Quit: aymerick: "kit mais sage" | ||
| [2008/06/26 15:48:41] <dysinger> typo forgot ":" after [] in that line | ||
| [2008/06/26 15:48:58] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer) | ||
| [2008/06/26 15:49:07] @ andrewcshafer joined channel #puppet | ||
| [2008/06/26 15:49:42] @ Quit: andrewcshafer: Client Quit | ||
| [2008/06/26 15:49:58] @ aymerick joined channel #puppet | ||
| [2008/06/26 16:13:32] @ svend joined channel #puppet | ||
| [2008/06/26 16:14:41] <svend> I have a package which requires a file which notifies an exec. The order they get completed in is: file, package, exec. I want the exec to complete before the package. | ||
| [2008/06/26 16:14:53] <svend> The exec is refreshonly. | ||
| [2008/06/26 16:16:12] <muerr> svend: metaparameter! before => Package["foo"] | ||
| [2008/06/26 16:16:31] @ plathrop joined channel #puppet | ||
| [2008/06/26 16:16:33] @ randybias joined channel #puppet | ||
| [2008/06/26 16:16:39] <svend> OK, I'll give that a try. | ||
| [2008/06/26 16:16:52] <muerr> or you can have the package use require => Exec["your exec"] | ||
| [2008/06/26 16:18:00] <svend> muerr: Thanks, the require => Exec worked. I didn't think you could "require" a refreshonly exec. | ||
| [2008/06/26 16:21:07] @ Quit: plathrop: Client Quit | ||
| [2008/06/26 16:25:12] @ Ol_ joined channel #puppet | ||
| [2008/06/26 16:28:54] @ cote joined channel #puppet | ||
| [2008/06/26 16:29:45] <muerr> :) | ||
| [2008/06/26 16:29:52] <muerr> you can 'require' anything, its a metaparameter. | ||
| [2008/06/26 16:30:06] @ martha left channel #puppet () | ||
| [2008/06/26 16:30:26] <muerr> well, anything that you've defined *somewhere* in your configuration. | ||
| [2008/06/26 16:31:23] <dysinger> How do you guys handle big binary packages that aren't in a repo ? (like crossover office for linux ?) | ||
| [2008/06/26 16:31:36] <dysinger> the 32 bit and 64 bit together are 60 MB | ||
| [2008/06/26 16:31:43] <dysinger> I don't want to check that into git | ||
| [2008/06/26 16:32:30] <muerr> i drop em on our puppetmaster and wget with an http:// | ||
| [2008/06/26 16:32:46] * Disconnect built a local repo for stuff like that (and open-vm-tools) | ||
| [2008/06/26 16:32:50] <muerr> our puppetmaster is an http server. | ||
| [2008/06/26 16:33:41] <muerr> since its also a yum repo mirror, yum repo for our custom packages, but some things we don't want to spend^Wwaste the time to make into rpms. | ||
| [2008/06/26 16:38:05] @ Quit: cote: | ||
| [2008/06/26 16:38:36] <flakrat> anyone know of a good guide to creating RPM's other than the few docs on rpm.org? I've never created my own (just rebuilt a few) and am considering doing so (currently I'm using a shell script to distribute precompiled software which is cumbersome) | ||
| [2008/06/26 16:39:14] <jon_> flakrat: Have you read Maximum RPM yet? It's outdated but still quite useful. | ||
| [2008/06/26 16:39:24] <jon_> I've found reading other packages' specfiles to be very informative too. | ||
| [2008/06/26 16:39:39] <flakrat> jon_, no, I'll take a look at it, thanks | ||
| [2008/06/26 16:40:22] <jon_> you bet | ||
| [2008/06/26 16:40:41] <jon_> definitely a lot of trial and error to get some of the finer details of RPM-building down, though -- everyone would love to have an updated Maximum RPM book :) | ||
| [2008/06/26 16:41:52] <flakrat> sounds like an opportunity for an over zealous author :) | ||
| [2008/06/26 16:43:36] <Disconnect> ..or a conversion to a modern packaging system :P | ||
| [2008/06/26 16:45:30] @ LBo joined channel #puppet | ||
| [2008/06/26 16:45:46] * Disconnect is kidding.. there are more docs for deb but thats only cuz the deb maintainers have nothing else to do in the 8 years between releases... | ||
| [2008/06/26 16:46:34] <e^ipi> Disconnect: some of us still don't trust network package repos /at all/ | ||
| [2008/06/26 16:46:35] <jon_> :) | ||
| [2008/06/26 16:46:58] <flakrat> can you create an RPM out of a precompiled binary? I know that the philosophy is that rpm compiles before it packages | ||
| [2008/06/26 16:47:05] <e^ipi> i've had debian explode way too many times for me to think that it's a good idea | ||
| [2008/06/26 16:47:20] <Disconnect> e^ipi: ..and yet you are more than willing to let it launch hundreds or even thousands of servers into the cloud with no interaction... i'm baffled, honestly | ||
| [2008/06/26 16:47:57] * Disconnect is - for the record - going to turn his local-packages repo into a full mirror, an |