Tuesday, 2008-06-03

[2008/06/03 00:03:06] <gepetto> ::puppet:: Code Names edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/CodeNames (by james@lovedthanlost.net)
[2008/06/03 00:08:47] <gepetto> ::puppet:: Getting Help edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/GettingHelp (by james@lovedthanlost.net)
[2008/06/03 00:08:48] <gepetto> ::puppet:: Getting Help edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/GettingHelp (by james@lovedthanlost.net)
[2008/06/03 00:09:57] @ jvanzyl_ joined channel #puppet
[2008/06/03 00:11:02] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/03 00:17:55] <gepetto> ::puppet:: Development Lifecycle edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle (by james@lovedthanlost.net)
[2008/06/03 00:20:31] <gepetto> ::puppet:: Development Lifecycle edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle (by james@lovedthanlost.net)
[2008/06/03 00:22:10] @ jvanzyl joined channel #puppet
[2008/06/03 00:22:11] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer)
[2008/06/03 00:23:48] @ jvanzyl_ joined channel #puppet
[2008/06/03 00:23:49] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/03 00:29:10] <gepetto> ::puppet:: Reports edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/Reports (by james@lovedthanlost.net)
[2008/06/03 00:30:50] @ Quit: andrewcshafer:
[2008/06/03 00:30:51] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer)
[2008/06/03 00:34:46] <gepetto> ::puppet:: Reports edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/Reports (by james@lovedthanlost.net)
[2008/06/03 00:40:43] @ jvanzyl joined channel #puppet
[2008/06/03 00:41:28] @ randybias joined channel #puppet
[2008/06/03 00:41:38] <gepetto> ::puppet:: Reports edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/Reports (by james@lovedthanlost.net)
[2008/06/03 00:41:39] <gepetto> ::puppet:: Wiki Start edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/WikiStart (by james@lovedthanlost.net)
[2008/06/03 00:46:09] @ jvanzyl_ joined channel #puppet
[2008/06/03 00:46:12] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/03 00:46:14] @ Quit: jvanzyl_: Remote closed the connection
[2008/06/03 01:00:13] @ barnum joined channel #puppet
[2008/06/03 01:12:26] @ lak joined channel #puppet
[2008/06/03 01:35:43] @ andrewcshafer joined channel #puppet
[2008/06/03 01:36:25] @ Quit: greenmoss:
[2008/06/03 01:39:41] <madduck> morning!
[2008/06/03 01:39:46] <madduck> my puppet keeps saying
[2008/06/03 01:39:47] <madduck> puppetd[6496]: (//Node[default]/cron/Service[cron]/ensure)
[2008/06/03 01:39:48] <madduck> ensure changed 'stopped' to 'running'
[2008/06/03 01:39:51] <madduck> every few hours
[2008/06/03 01:40:08] <madduck> but it doesn't appear as if cron were stopped ever
[2008/06/03 01:40:47] <madduck> what's going on, any clue?
[2008/06/03 01:41:42] @ shadoi joined channel #puppet
[2008/06/03 01:42:04] <madduck> sorry, that's every 30 minutes - every puppet run
[2008/06/03 01:48:16] @ Quit: lak:
[2008/06/03 01:51:10] <johnf> madduck: what does that service entry look like? can you put it on pastebin
[2008/06/03 01:54:53] @ Mode +o jamesturnbull by ChanServ
[2008/06/03 01:57:31] <jamesturnbull> Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines | See http://snurl.com/1udr3 and http://snurl.com/2901u about two SSL issues
[2008/06/03 01:57:43] @ jamesturnbull set topic "Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines | See http://snurl.com/1udr3 and http://snurl.com/2901u about two SSL issues"
[2008/06/03 01:59:09] @ DavidS joined channel #puppet
[2008/06/03 02:01:29] <DavidS> $daytime_greeting, everyone!
[2008/06/03 02:01:48] <waawaamilk> !$daytime_greeting, DavidS
[2008/06/03 02:01:58] <shadoi> $evening_greeting
[2008/06/03 02:02:07] <f3ew> greeting.timeofday()
[2008/06/03 02:03:13] <nevyn> puppet is too verbose
[2008/06/03 02:03:22] <nevyn> you can't make a oneliner greeting with schedules
[2008/06/03 02:03:38] <f3ew> cron(8)
[2008/06/03 02:03:40] <DavidS> nevyn: linebreaks are not significant
[2008/06/03 02:03:52] <nevyn> DavidS: it's still going to be wordy...
[2008/06/03 02:04:19] <DavidS> greeting { "Hello, World!": schedule => morning, notify => Channel['#puppet'] }
[2008/06/03 02:04:30] <shadoi> lol
[2008/06/03 02:04:31] <DavidS> nevyn: qed
[2008/06/03 02:04:32] <nevyn> ok...
[2008/06/03 02:04:46] <DavidS> but much can be hidden in defines ;)
[2008/06/03 02:04:53] <nevyn> heh
[2008/06/03 02:05:24] <waawaamilk> puppetd[1234]: (//Node[default]/greeting/Greeting[greeting]/ensure) ensure changed from 'stopped' to 'running'
[2008/06/03 02:05:37] <f3ew> lol
[2008/06/03 02:05:43] <DavidS> |o|
[2008/06/03 02:07:34] <madduck> johnf: http://rafb.net/p/x4O0ed65.txt
[2008/06/03 02:12:36] @ sparanjape joined channel #puppet
[2008/06/03 02:12:45] <johnf> madduck: which OS is the puppet client on?
[2008/06/03 02:13:28] <waawaamilk> how could it be anything other than debian
[2008/06/03 02:13:35] <waawaamilk> :)
[2008/06/03 02:23:09] <madduck> johnf: Debian etch, but a 0.24.4 backport of puppetd
[2008/06/03 02:23:13] <madduck> so yeah, debian. :)
[2008/06/03 02:23:44] <madduck> also, i cannot edit trac/redmine tickets and replying to trac mails does not show up as replies... :/
[2008/06/03 02:40:41] <MrProper_> anyone seen this before: Could not retrieve facts: execution expired
[2008/06/03 02:44:20] @ Ol_ joined channel #puppet
[2008/06/03 02:44:44] <DavidS> MrProper_: DNS, custom facts, CPU overload?
[2008/06/03 02:44:50] <DavidS> network delays
[2008/06/03 02:45:04] <DavidS> can you run facter from the cli? including custom facts?
[2008/06/03 02:50:31] <MrProper_> DavidS, looks like its memory related, machine is swapping out, has 80% swap file usage
[2008/06/03 02:50:56] <DavidS> MrProper_: then it's "just" a normal timeout, ruby's quite memory hungry
[2008/06/03 02:51:24] <MrProper_> i have 5 mongrel servers running and the machine has 1.5GB physical
[2008/06/03 02:52:55] <DavidS> facts are gathered on the client machine
[2008/06/03 02:53:29] <DavidS> still, that server shouldn't need swap ..
[2008/06/03 02:53:35] <DavidS> what version are you running
[2008/06/03 02:54:05] <MrProper_> im running 0.24.4 with storeconfigs
[2008/06/03 02:54:20] * DavidS too
[2008/06/03 02:54:21] <MrProper_> using psql as the backend
[2008/06/03 02:54:24] * DavidS too
[2008/06/03 02:55:32] <DavidS> my puppetmasterd has 174M VSZ and 1663M RSS
[2008/06/03 02:55:46] <DavidS> I'm using webrick though
[2008/06/03 02:56:07] <MrProper_> i restart the puppetmaster's and memory is back down to reasonable
[2008/06/03 02:56:17] <jamesturnbull> madduck: Trac isn't an autoresponder - I am going to setup Redmine to do that at some point
[2008/06/03 02:56:29] <jamesturnbull> madduck: what edit woes are you having with Redmine?
[2008/06/03 02:58:11] @ Mode -o jamesturnbull by ChanServ
[2008/06/03 02:58:57] <madduck> jamesturnbull: oh, i suppose i need to create a new account there...
[2008/06/03 02:59:04] <jamesturnbull> madduck: nope
[2008/06/03 02:59:46] @ Quit: shake-n-bake:
[2008/06/03 03:00:23] <jamesturnbull> madduck: you're set up I migrated all the users
[2008/06/03 03:00:50] <DavidS> madduck: but your password is 'trac' now ...
[2008/06/03 03:03:22] @ Djeli joined channel #puppet
[2008/06/03 03:03:39] @ Djeli left channel #puppet ("Ex-Chat")
[2008/06/03 03:07:24] <madduck> i am so glad i joined this project just in time for all the fun. :)
[2008/06/03 03:07:39] <jamesturnbull> madduck: it's always fun
[2008/06/03 03:07:46] <madduck> props up to a trac->redmine conversion :)
[2008/06/03 03:07:52] <madduck> sounds like fun.
[2008/06/03 03:08:32] <jamesturnbull> madduck: got there eventually
[2008/06/03 03:09:07] * madduck is still looking for some project management/hosting software that isn't trac (not enough VCS integration)
[2008/06/03 03:09:20] <madduck> and well, i don't know any ruby, so redmine seems off too...
[2008/06/03 03:09:29] <madduck> ikiwiki is in perl. :/
[2008/06/03 03:09:59] <jamesturnbull> madduck: there are a lot out there - lighthouse?
[2008/06/03 03:10:33] @ waawaamilk is now known as waawaamilkvampyr
[2008/06/03 03:10:39] <bda> jamesturnbull: 1-10 how much more awesome than trac is redmine?
[2008/06/03 03:10:51] <bda> The feature list is pretty impressive, and we've had this hate relationship with trac for the last year.
[2008/06/03 03:11:24] <madduck> bda: john goerzen (complete.org) recently compared the two
[2008/06/03 03:11:26] <madduck> on his blog
[2008/06/03 03:11:42] <bda> madduck: Cheers.
[2008/06/03 03:12:00] <shadoi> redmine is _way_ better than trac IMO
[2008/06/03 03:12:14] <shadoi> but I'm a rails fanatic
[2008/06/03 03:12:21] <shadoi> so I'm obviously biased
[2008/06/03 03:12:56] @ DerekW joined channel #puppet
[2008/06/03 03:13:20] <bda> I couldn't give two hoots what it's written in as long as it gets out of my way and lets me get my work done. :)
[2008/06/03 03:14:03] <shadoi> I care because there's always the need to customize stuff like that, and it being rails, the conventions make it easy to grok and extend.
[2008/06/03 03:14:05] <jamesturnbull> bda: in my opinion Trac is 3 without plugins, a 5-6 with appropriate plugins, and Redmine is about a 7-8 but with a "this project is young" handicap
[2008/06/03 03:15:04] <madduck> the lighthouse webpage is totally useless
[2008/06/03 03:15:08] @ Innocenti joined channel #puppet
[2008/06/03 03:15:36] <bda> jamesturnbull: I pretty much agree with those trac numbers, though there are certain ridiculous bugs that knock it down to a steady 4 imo.
[2008/06/03 03:15:36] <jamesturnbull> madduck: just an idea - it's not very FOSS
[2008/06/03 03:15:45] <madduck> yeah
[2008/06/03 03:15:54] <jamesturnbull> bda: git integration sucks
[2008/06/03 03:16:06] <madduck> that, and the fact that its wiki is not in VCS
[2008/06/03 03:16:20] <madduck> nor its tickets
[2008/06/03 03:16:35] <jamesturnbull> madduck: oh I see what you man by VCS
[2008/06/03 03:16:43] <jamesturnbull> madduck: ah I should have guessed
[2008/06/03 03:16:54] <jamesturnbull> madduck: I thought you meant integration to SOURCE
[2008/06/03 03:16:54] <madduck> ikiwiki is the first step in the right direction
[2008/06/03 03:17:03] <madduck> except it has no tracker
[2008/06/03 03:17:04] <jamesturnbull> madduck: yeah damn ugly though
[2008/06/03 03:17:12] <madduck> yeah well... :)
[2008/06/03 03:17:19] @ roald joined channel #puppet
[2008/06/03 03:17:20] <madduck> trac's browser is awesome
[2008/06/03 03:17:26] <bda> Wiki not backed by vcs is really annoying. Git integration I care little about right now.
[2008/06/03 03:17:31] <DavidS> jamesturnbull: beaty is only skin deep ;)
[2008/06/03 03:17:36] <bda> The trac svn browser is pretty nice, imo.
[2008/06/03 03:17:43] <madduck> ugly goes to the bone, DavidS. that's the problem with iki
[2008/06/03 03:17:51] <DavidS> madduck: touche
[2008/06/03 03:18:04] * madduck turns to the mailing list with the cron restarting problem
[2008/06/03 03:19:04] <jamesturnbull> madduck: version?
[2008/06/03 03:19:11] <jamesturnbull> madduck: and Debian I presume?
[2008/06/03 03:19:12] <madduck> jamesturnbull: 0.24.4
[2008/06/03 03:19:15] <madduck> yes, debian.
[2008/06/03 03:19:25] <madduck> (no, i converted to fedora last night... :))
[2008/06/03 03:19:27] @ Quit: roald: Remote closed the connection
[2008/06/03 03:21:47] <madduck> jamesturnbull: http://scratch.madduck.net/.tmp__mutt-lapse-1000-8443-1
[2008/06/03 03:23:04] <jamesturnbull> madduck: seen this http://reductivelabs.com/redmine/issues/show/1161
[2008/06/03 03:23:38] <DavidS> gepetto: #1161
[2008/06/03 03:24:21] <jamesturnbull> DavidS: yes not working yet
[2008/06/03 03:24:27] <jamesturnbull> DavidS: next project :)
[2008/06/03 03:25:04] <jamesturnbull> although
[2008/06/03 03:25:12] <jamesturnbull> gepetto: wake up
[2008/06/03 03:25:14] <madduck> jamesturnbull: but this is about stopped vs. running, not about enabled...
[2008/06/03 03:26:21] <jamesturnbull> madduck: okay
[2008/06/03 03:26:45] <madduck> i'll send the mail unless you have any other idea...
[2008/06/03 03:27:18] @ Quit: andrewcshafer: Read error: 110 (Connection timed out)
[2008/06/03 03:27:33] <DavidS> madduck: can you take a peek at --debug output from the client first? it might give hints whether the escaping and stuff worked ...
[2008/06/03 03:28:05] <DavidS> is '/' a Word" character?
[2008/06/03 03:30:15] @ Quit: shadoi: "leaving"
[2008/06/03 03:32:13] <DavidS> it seems like \bcron\b _doesn't_ match /usr/sbin/cron
[2008/06/03 03:32:32] <DavidS> madduck: take a look at the examle app on http://www.ruby-doc.org/docs/UsersGuide/rg/regexp.html
[2008/06/03 03:32:39] <DavidS> "Here is a little program to help you experiment with regular expressions."
[2008/06/03 03:32:48] <DavidS> doesn'T match on /cron for me
[2008/06/03 03:33:04] <madduck> DavidS: http://rafb.net/p/DXJiw374.txt
[2008/06/03 03:33:47] <madduck> egrep and perl atch it
[2008/06/03 03:33:54] <madduck> i' say this is a ruby bug then.
[2008/06/03 03:34:51] @ Gwayne joined channel #puppet
[2008/06/03 03:34:55] <madduck> str> /usr/bin/cron
[2008/06/03 03:34:55] <madduck> pat> \bcron\b
[2008/06/03 03:34:55] <madduck> /usr/bin/cron
[2008/06/03 03:35:08] <madduck> ah, not highlit
[2008/06/03 03:35:11] <DavidS> right
[2008/06/03 03:35:24] <madduck> really, that's a ruby bug, I'd say.
[2008/06/03 03:35:30] <DavidS> try only "cron" as pattern or "blah cron muh" as str
[2008/06/03 03:35:39] <madduck> str> /usr/bin/cron
[2008/06/03 03:35:40] <madduck> pat> \b/usr/bin/cron\b
[2008/06/03 03:35:40] <madduck> /usr/bin/cron
[2008/06/03 03:35:41] <madduck> (no match)
[2008/06/03 03:35:52] <DavidS> lol
[2008/06/03 03:35:56] <madduck> no match
[2008/06/03 03:36:14] <madduck> either this regexp tester is broken
[2008/06/03 03:36:16] <madduck> or ruby
[2008/06/03 03:37:55] <DavidS> bah, this sucks ...
[2008/06/03 03:41:53] <DavidS> http://snippets.dzone.com/posts/show/5062
[2008/06/03 03:42:44] <DavidS> irb(main):053:0> "/usr/sbin/cron"[/\bcron\b/]
[2008/06/03 03:42:44] <DavidS> => "cron"
[2008/06/03 03:43:00] <DavidS> irb(main):054:0> "/usr/sbin/crond"[/\bcron\b/]
[2008/06/03 03:43:00] <DavidS> => nil
[2008/06/03 03:44:27] <waawaamilkvampyr> anything unexpected about that?
[2008/06/03 03:50:55] @ Quit: randybias:
[2008/06/03 03:55:41] <madduck> specifying /usr/sbin/cron as pattern works
[2008/06/03 03:55:49] <madduck> but there's still something weird going on...
[2008/06/03 03:56:39] <madduck> except now it says
[2008/06/03 03:56:39] <madduck> debug: Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update-rc.d -n -f cron remove'
[2008/06/03 03:56:46] <madduck> but it's actually not executing that
[2008/06/03 03:57:27] <madduck> ah, -n
[2008/06/03 03:57:44] <madduck> i wonder why it bothers...
[2008/06/03 04:00:36] <madduck> jamesturnbull: but no, I find no way to edit that ticket...
[2008/06/03 04:00:48] <madduck> logged in to redmine, it doesn't have any edit links or the like
[2008/06/03 04:04:30] @ f--z joined channel #puppet
[2008/06/03 04:05:31] <DavidS> madduck: it uses the output of the cmmand to decide whether the service is enabled or not, see #1161 from above
[2008/06/03 04:05:33] <gepetto> DavidS: madduck: #1161 is http://reductivelabs.com/trac/puppet/ticket/1161 "service provider on Debian doesn't realize a service is disabled"
[2008/06/03 04:05:53] <madduck> ok, that makes sense actually
[2008/06/03 04:06:05] <madduck> yeah, i should have put 1 and 1 together myself there... thanks for your patience.
[2008/06/03 04:06:38] <madduck> so #1276 is not okay because the regexp seems broken
[2008/06/03 04:06:40] <gepetto> madduck: #1276 is http://reductivelabs.com/trac/puppet/ticket/1276 "service type pattern match does not include word boundaries"
[2008/06/03 04:06:41] <DavidS> madduck: it's not like I'm waiting on you to "get" it ;) thanks four _your_ patience until i come around to writing an answer ....
[2008/06/03 04:14:08] <jamesturnbull> madduck: so you've signed in a opened the ticket right?
[2008/06/03 04:15:16] <jamesturnbull> madduck: you don't see an update button in the tip right of the ticket?
[2008/06/03 04:15:31] <jamesturnbull> s/tip/top/
[2008/06/03 04:16:16] <madduck> jamesturnbull: nope
[2008/06/03 04:16:23] <madduck> i opened the ticket in trac, not redmine
[2008/06/03 04:16:33] <jamesturnbull> madduck: not more trac edits
[2008/06/03 04:16:38] <jamesturnbull> s/not/no/
[2008/06/03 04:16:43] <jamesturnbull> madduck: only Redmine
[2008/06/03 04:16:50] <madduck> well, that was yesterday
[2008/06/03 04:16:54] <madduck> i am trying in redmine now
[2008/06/03 04:16:56] <madduck> but i am failing
[2008/06/03 04:17:16] <jamesturnbull> madduck: what's failing?
[2008/06/03 04:17:39] <madduck> well, failing as in: there is no update button in redmine
[2008/06/03 04:17:44] <madduck> i am logged in
[2008/06/03 04:18:10] <madduck> i am also not listed as "reporter" on the puppet main page
[2008/06/03 04:18:26] <madduck> okay, the update has *just* appeared
[2008/06/03 04:18:33] <madduck> what did you do? :)
[2008/06/03 04:18:54] <jamesturnbull> madduck: changed the permissions - there is an anonymous role and a non-member role
[2008/06/03 04:19:02] <jamesturnbull> madduck: the non-member role couldn't edit
[2008/06/03 04:19:18] <madduck> aha
[2008/06/03 04:20:37] @ roald joined channel #puppet
[2008/06/03 04:21:40] <madduck> jamesturnbull: i get a 403 on submit (You are not authorized to access this page.)
[2008/06/03 04:22:26] <jamesturnbull> madduck: crap
[2008/06/03 04:22:29] <jamesturnbull> madduck: hang on
[2008/06/03 04:23:54] <jamesturnbull> madduck: should work now - am offline for a bit - email me if it doesn't work
[2008/06/03 04:24:28] @ mfournier joined channel #puppet
[2008/06/03 04:32:27] @ wrobel left channel #puppet ("ERC Version 5.1.4 (IRC client for Emacs)")
[2008/06/03 04:32:32] @ wrobel joined channel #puppet
[2008/06/03 04:46:54] <madduck> works
[2008/06/03 05:03:02] @ Quit: Ol_:
[2008/06/03 05:34:49] @ Quit: Innocenti: Client Quit
[2008/06/03 05:40:30] @ Innocenti joined channel #puppet
[2008/06/03 05:47:55] <msf> can a define take a variable with an array as an argument ?
[2008/06/03 05:48:30] <DavidS> msf sure
[2008/06/03 05:49:48] <msf> can I split the contents of an array back into separate variables inside the define ?
[2008/06/03 05:49:51] <msf> for instance
[2008/06/03 05:50:01] <msf> define cluster {
[2008/06/03 05:50:06] <DavidS> msf: no
[2008/06/03 05:50:10] <msf> gah
[2008/06/03 05:50:29] <DavidS> you can use the array as a whole, in a template or as parameter to functions
[2008/06/03 05:51:01] <msf> bumer
[2008/06/03 05:51:03] <msf> bummer
[2008/06/03 06:00:25] @ keithlard joined channel #puppet
[2008/06/03 06:02:54] @ strerror_work joined channel #puppet
[2008/06/03 06:21:39] @ Quit: Maliuta: Read error: 110 (Connection timed out)
[2008/06/03 06:47:17] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/06/03 06:50:52] <fujin> howdy howdy howdy
[2008/06/03 06:51:08] <fujin> jamesturnbull: nice work!!
[2008/06/03 06:52:47] <DavidS> howdy fujin!
[2008/06/03 06:53:14] <fujin> morning david
[2008/06/03 06:53:18] <fujin> (it is morning there, right?)
[2008/06/03 06:53:52] <DavidS> 12:53pm
[2008/06/03 06:54:47] <fujin> oh
[2008/06/03 06:54:51] <fujin> indeed
[2008/06/03 06:54:54] <fujin> how's it going anyway dude?
[2008/06/03 06:56:36] <DavidS> soso, my company has got her first clients (good!) but my puppet work is stagnating (badd, but unevitable)
[2008/06/03 06:57:21] <DavidS> fun: # puppetd --test --color=no
[2008/06/03 06:57:21] <DavidS> nil
[2008/06/03 06:57:22] <DavidS> nil
[2008/06/03 06:57:24] <DavidS> nil
[2008/06/03 06:57:25] <DavidS> ...
[2008/06/03 07:00:31] <fujin> o_0
[2008/06/03 07:00:34] <fujin> nil nil nil?
[2008/06/03 07:01:14] @ Quit: jsgotangco: "Ciao"
[2008/06/03 07:04:37] @ johnf joined channel #puppet
[2008/06/03 07:05:56] <DavidS> yeah, it should say --color=false actually
[2008/06/03 07:16:19] @ kolla joined channel #puppet
[2008/06/03 07:25:11] <silent> Hi.
[2008/06/03 07:25:13] <silent> I have
[2008/06/03 07:25:14] <silent> /usr/local/test/{1,2,3,4,5..100}
[2008/06/03 07:25:16] <silent> I want to setup chmod 750 to /usr/local/test
[2008/06/03 07:25:17] <silent> and 755 to 1 2 3 4 5 ..100 in /usr/local/test
[2008/06/03 07:25:19] <silent> How can I do this?
[2008/06/03 07:27:38] <Volcane> you can use file{} or execP{
[2008/06/03 07:27:40] <Volcane> exec{}
[2008/06/03 07:27:43] <Volcane> read the documentation
[2008/06/03 07:28:00] <DavidS> wiki:TypeReference
[2008/06/03 07:28:56] <gepetto> DavidS: wiki: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2008/06/03 07:30:02] <silent> Volcane: I have already read it.
[2008/06/03 07:30:04] <silent> But I don't understand how I can do it with file {}.
[2008/06/03 07:42:49] <Volcane> file {"/blah": mode => 750, ensure => directory }
[2008/06/03 07:43:00] <Volcane> makes a directory with mode 750 in /blah
[2008/06/03 07:43:44] <silent> what about files?
[2008/06/03 07:43:46] <silent> I have about 100 files
[2008/06/03 07:43:51] <Volcane> well u can either list them one by one
[2008/06/03 07:44:03] <Volcane> or just use exec to call chmod xxx /blah/*
[2008/06/03 07:45:18] <Volcane> and u need to think how often that will happen, just once? every time puppet runs (in which case a cron would prolly be better) or based on some other event which puppet can help you with
[2008/06/03 07:45:34] <Volcane> check out the require, notify etc options
[2008/06/03 07:45:58] <silent> ok. i think that I can avoid using exec.
[2008/06/03 07:46:51] <Volcane> yeah?
[2008/06/03 07:47:11] <Volcane> theres recursive options to file, but i dont think its working too hot, havnt tried it myself
[2008/06/03 07:54:09] <silent> hm. yes you are right. only exec.
[2008/06/03 07:54:12] <silent> It would be good if it was possible to use such construction:
[2008/06/03 07:54:13] <silent> file {"/usr/local/test/*":
[2008/06/03 07:54:15] <silent> mode => 755;
[2008/06/03 07:54:16] <silent> }
[2008/06/03 07:54:32] <Volcane> no it would break the basic idea of puppet :)
[2008/06/03 07:55:11] <DavidS> I think there is a feature-request open for globbing in various places, and I think it'd be a good idea
[2008/06/03 07:55:57] <Volcane> it would be good, as long as its done in a way thats philosophically compatible (once we've all agreed on that philosophy:P)
[2008/06/03 07:58:20] <DavidS> probably would look like this:
[2008/06/03 07:58:42] <Volcane> but personally i find the idea or resources that work on groups of files as suggested by silent pretty bad, its about on par with puppet managing /etc/puppet on its own without being told too
[2008/06/03 07:59:04] <DavidS> file { "/usr/local/test": mode => 0640, recurse => true } # directories automatically get x for every r
[2008/06/03 07:59:23] <DavidS> File["/usr/local/test/*"] { mode => 0755 }
[2008/06/03 07:59:48] <DavidS> # override mode for contained files
[2008/06/03 07:59:52] <Volcane> DavidS: nods, would be handy
[2008/06/03 08:01:56] <Volcane> though i cant think of a single instanse where I'd have wanted it yet in the year i've been fiddling with puppet, but can see it would be useful to some
[2008/06/03 08:04:59] @ greenmoss joined channel #puppet
[2008/06/03 08:16:50] <f3ew> It might just be easier to use a package manager
[2008/06/03 08:18:42] * Volcane has a few classes that gets tar files from the master which then notifies an exec to untar them
[2008/06/03 08:20:02] @ kambiz joined channel #puppet
[2008/06/03 08:35:40] @ a-priori_ joined channel #puppet
[2008/06/03 08:41:02] @ Quit: Gwayne: Remote closed the connection
[2008/06/03 08:43:49] @ Quit: johnf: Read error: 113 (No route to host)
[2008/06/03 08:54:04] @ kenvandine joined channel #puppet
[2008/06/03 08:59:56] @ mccune joined channel #puppet
[2008/06/03 09:00:16] @ johnf joined channel #puppet
[2008/06/03 09:13:21] @ Quit: kolla: Read error: 104 (Connection reset by peer)
[2008/06/03 09:13:55] <ashp> I still want to, if I ever get time, modify file {} to allow manageparents => true or something that uses generate to make resources for all the parent dirs
[2008/06/03 09:14:08] <ashp> so you can make a/b/c/d/e/f a directory without manually managing a/b/c/d/e and so on
[2008/06/03 09:29:27] @ hiffy joined channel #puppet
[2008/06/03 09:29:35] <hiffy> good morning kind folks
[2008/06/03 09:29:50] <DavidS> hi hiffy!
[2008/06/03 09:30:00] <DavidS> ashp: noone's stopping you ;)
[2008/06/03 09:30:22] <ashp> my boss is!
[2008/06/03 09:30:27] <ashp> He keeps coming up with other things for me to do
[2008/06/03 09:30:36] <hiffy> bosses are tricky like that
[2008/06/03 09:31:07] <DavidS> hiffy: ++
[2008/06/03 09:31:28] @ fbe joined channel #puppet
[2008/06/03 09:37:27] <jamesturnbull> fujin: thanks mate
[2008/06/03 09:40:55] <ashp> morning (or night?) james :)
[2008/06/03 09:44:13] <hiffy> sooooo, is it common for people to install puppet from source? It's behaving very differently from the debian stable 0.20 i setup yesterday.
[2008/06/03 09:44:34] <Volcane> hiffy: use the puppet from debian testing
[2008/06/03 09:45:10] <ashp> I've never installed it from source.
[2008/06/03 09:45:22] <Volcane> cos like with most things debian, stable is a waste of time (and not even stable)
[2008/06/03 09:45:30] <hiffy> ... but I'm going to be installing these eventually on a solaris box, which I assume wil have to be from source
[2008/06/03 09:45:39] <ashp> You can make solaris packages :)
[2008/06/03 09:45:41] <hiffy> :P
[2008/06/03 09:45:48] <ashp> Plus there's like, sunfreeware, maybe they bundled it up
[2008/06/03 09:45:52] <ashp> and probably other package sources now
[2008/06/03 09:46:11] <Volcane> yeah, theres a dude on the list from lastminute.com who publishes sun packages
[2008/06/03 09:46:15] @ lamech joined channel #puppet
[2008/06/03 09:46:17] <Volcane> search for it, he put urls up
[2008/06/03 09:46:56] <hiffy> well, I'll give that a shot first I done gather.
[2008/06/03 09:47:01] <lamech> hiffy!
[2008/06/03 09:47:06] <hiffy> lamech!
[2008/06/03 09:47:08] <lamech> fancy meeting you here.
[2008/06/03 09:47:09] @ Quit: mccune: Read error: 104 (Connection reset by peer)
[2008/06/03 09:47:17] <hiffy> a terrifying coincidence, indeed.
[2008/06/03 09:47:37] <lamech> I suppose asking about running puppet as a non-root user will be redundant.
[2008/06/03 09:47:50] <Volcane> lamech: if you only manage non root files :P
[2008/06/03 09:48:04] <lamech> Volcane: for the application in question, yes
[2008/06/03 09:48:20] <lamech> Volcane: 600 servers on which I don't have root, but on which I'm responsible for deploying all kinds of stuff
[2008/06/03 09:48:24] <lamech> (as non-root)
[2008/06/03 09:48:28] <Volcane> havnt seen anyone mention they've tried that but it might work
[2008/06/03 09:49:58] <lamech> Volcane: I've seen one brief mention of it on the mailing list but it wasn't sufficiently detailed to get me from where I am to where I want to be
[2008/06/03 09:50:08] <ashp> I suspect it'll probably just explode, but you can give it a try? :)
[2008/06/03 09:50:13] @ Quit: kambiz: "This computer has gone to sleep"
[2008/06/03 09:50:36] <Volcane> facter works ok as non root - just doesnt give you all the facts - and puppet doesnt need odd ports etc
[2008/06/03 09:50:40] <lamech> since I can't install it into site_ruby (I don't have root, right?), how do I tell ruby where the libs are?
[2008/06/03 09:50:50] <lamech> (sorry my ruby fu is very primitive)
[2008/06/03 09:50:52] <Volcane> i think if you make it with a prefix set to somewhere out of /etc and /var etc, it might just play along
[2008/06/03 09:51:12] <lamech> make it?
[2008/06/03 09:51:13] <Volcane> theres an environment var
[2008/06/03 09:51:19] <hiffy> lamech: $RUBYLIB i think
[2008/06/03 09:51:25] <lamech> thanks
[2008/06/03 09:51:27] * lamech tries that
[2008/06/03 09:51:52] <Volcane> yeah, we use: % export RUBYLIB=/var/lib/puppet to test custom facts etc
[2008/06/03 09:52:21] <Volcane> lamech: anyway, u could just install a local ruby in the same $prefix :P
[2008/06/03 09:52:29] <Volcane> then the whole thing is self contained
[2008/06/03 09:52:34] <Volcane> cos how will u get ruby on all your sun toys?
[2008/06/03 09:52:53] <lamech> right
[2008/06/03 09:53:02] <lamech> one battle at a time :)
[2008/06/03 09:53:15] <Volcane> hehe
[2008/06/03 09:53:17] <ashp> Hmm, I really have forgotten all my apache knowledge
[2008/06/03 09:53:27] <ashp> I had VirtualHost iclassify.law.harvard.edu:443, and it fails
[2008/06/03 09:53:31] <ashp> replace iclassify with *, and it works again
[2008/06/03 09:53:48] <ashp> this is what I get for only fixing the odd apache problem in the last 5 years
[2008/06/03 09:54:16] <Volcane> ashp: your NameVirtualHost line and what you specify in <virtualhost ...> needs to match
[2008/06/03 09:54:39] <ashp> Yeah, this doesn't have a NameVirtualHost which is probably the problem, I just used the iclassify.conf out of the box
[2008/06/03 09:54:43] <lamech> ok, with RUBYLIB pointing at the facter and puppet lib directories, I can at least launch puppet without any library errors. thanks guys.
[2008/06/03 09:54:44] <ashp> It just has a ServerName
[2008/06/03 09:54:51] <ashp> I last used apache with seriousness back around 1.3
[2008/06/03 09:55:02] <Volcane> ashp: yeah then namevirtualhost just wont really work too hot :P
[2008/06/03 09:55:41] <Volcane> anyway, NameVirtualHost *, and <VirtualHost *> ServerName iclassify.law.harvard.edu </Virtualhost> etc is more or less what you're after
[2008/06/03 09:56:01] <Volcane> you can pop in :80 or :443 etc in both NameVirtualHost and <VirtualHost>
[2008/06/03 09:56:33] <ashp> Does NameVirtualHost supplement or replace ServerName?
[2008/06/03 09:56:43] <ashp> I moved to using lighttpd for my own stuff, so I'm really thrown by going back :)
[2008/06/03 09:56:57] <Volcane> NameVirtualHost tells it to parse http 1.1 headers for Host: bits
[2008/06/03 09:57:24] <Volcane> and then load the appropriate virtualhost based on host header -> ServerName and host header -> ServerAlias lookups
[2008/06/03 09:58:11] <ashp> ahhh ok, shows how often I touch this :)
[2008/06/03 09:58:22] <ashp> I normally just fix configurations that someone broke enough to work again
[2008/06/03 09:58:35] <Volcane> yeah lighttpd does make it easier thats for sure
[2008/06/03 09:58:46] <Volcane> but as you know, i stick to what my distro supplies :P
[2008/06/03 09:58:49] <ashp> i really love lighttpd :)
[2008/06/03 10:00:34] <Volcane> i use it for my static image servers, its nice and quick compared to apaches for that, serving up 2MB/sec in 200x200 jpgs
[2008/06/03 10:02:54] @ brscott joined channel #puppet
[2008/06/03 10:03:00] @ Quit: hiffy: Remote closed the connection
[2008/06/03 10:04:23] @ hiffy joined channel #puppet
[2008/06/03 10:04:45] @ brscott left channel #puppet ()
[2008/06/03 10:06:17] @ Quit: kenvandine: Remote closed the connection
[2008/06/03 10:09:40] @ kenvandine joined channel #puppet
[2008/06/03 10:15:58] @ shenson_not_here is now known as shenson
[2008/06/03 10:25:19] @ jvanzyl joined channel #puppet
[2008/06/03 10:27:07] <ashp> Where's holosync when I need him :)
[2008/06/03 10:38:00] @ pookey joined channel #puppet
[2008/06/03 10:38:51] <pookey> hi all! :) on trying to start puppetmaster, I get "Could not start WEBrick: getnameinfo: ai_family not supported", which I'm pretty sure is because I'm missing some ruby libraries, but .. there's no stacktrace or debug to help me figure out what's going on. Does anyone have any clues?
[2008/06/03 10:39:47] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/06/03 10:40:58] <Volcane> pookey: do you have ipv6 at all - even unconfirgured - on your system?
[2008/06/03 10:41:25] <Volcane> pookey: like ifconfig on your eth, does it show any ipv6 related stuff?
[2008/06/03 10:42:02] <pookey> Volcane: ruby was compiled with '--disable-ipv6', I can't see anything in ifconfig or ip addr refering to IPv6 either
[2008/06/03 10:44:21] <Volcane> google suggests it might be cos its trying to read your ipv6 addies
[2008/06/03 10:44:28] @ Quit: DavidS: "Leaving."
[2008/06/03 10:44:44] <pookey> can I specify a specific bind address for puppetmasterd ?
[2008/06/03 10:45:32] <Volcane> # The address to bind to. Mongrel servers
[2008/06/03 10:45:32] <Volcane> # default to 127.0.0.1 and WEBrick defaults to 0.0.0.0.
[2008/06/03 10:45:33] <Volcane> # The default value is ''.
[2008/06/03 10:45:33] <Volcane> # bindaddress =
[2008/06/03 10:45:45] <Volcane> see puppetmasterd --genconfig
[2008/06/03 10:47:41] <pookey> ahh, defining an IP address seems to have got it running!
[2008/06/03 10:47:48] <Volcane> nice one
[2008/06/03 10:49:15] <pookey> thanks - I wonder if that'sa bug in puppet though?
[2008/06/03 10:49:18] @ babysimon_ joined channel #puppet
[2008/06/03 10:51:22] @ andrewcshafer joined channel #puppet
[2008/06/03 10:51:52] @ niemeyer joined channel #puppet
[2008/06/03 10:52:42] <babysimon_> I've just started using Puppet, and something I find myself wanting is a watchdog script that runs on the master server and alerts me if any clients haven't checked in in the last $period
[2008/06/03 10:53:08] <babysimon_> i.e. if the puppetd has crashed, server is shut down etc
[2008/06/03 10:53:19] <Volcane> pookey: it could well be, worth makiing a ticket with your findings i think
[2008/06/03 10:53:26] <babysimon_> Before I start writing it, does anything like that exist?
[2008/06/03 10:54:01] <Volcane> babysimon_: we generally check /var/lib/puppet/state/state.yaml or /var/lib/puppet/localconfig.yaml on individual clients
[2008/06/03 10:54:04] <DerekW> Did the git repository move? Also, wiki:RunningAgainstGIT certainly moved
[2008/06/03 10:54:35] <Volcane> babysimon_: but somewhere in /var/lib on the master is compiled configs too and u can check baxed on their timestamps
[2008/06/03 10:54:49] <babysimon_> Ah, right. My concern was in case entire machines were down, but I should probably have another mechanism for that...
[2008/06/03 10:54:57] <babysimon_> Oh, cool
[2008/06/03 10:55:01] <ashp> Now to try and find out how to integrate iclassify and puppet.
[2008/06/03 10:55:34] <Volcane> babysimon_: yes, well you'd think your pre-existing monitoring system has facilities to tell you your box is down :P
[2008/06/03 10:55:55] <Volcane> babysimon_: so in my case i use nagios+nrpe to check that file on each client
[2008/06/03 10:56:08] <Volcane> babysimon_: so i dont have a situation where just cos a file is old the master will moan at me
[2008/06/03 10:56:09] @ markl_ joined channel #puppet
[2008/06/03 10:56:52] @ flakrat joined channel #puppet
[2008/06/03 10:58:10] @ Quit: andrewcshafer:
[2008/06/03 11:00:22] @ freiheit joined channel #puppet
[2008/06/03 11:00:27] @ andrewcshafer joined channel #puppet
[2008/06/03 11:00:36] <Volcane> babysimon_: also i think someone mentioned the latest bits int he repository has a tool called puppetwhen or something that might help you
[2008/06/03 11:00:39] @ Quit: andrewcshafer: Client Quit
[2008/06/03 11:03:48] @ Quit: a-priori_:
[2008/06/03 11:04:46] <babysimon_> sadly I have no pre-existing solution
[2008/06/03 11:04:53] <babysimon_> hence my interest
[2008/06/03 11:05:04] <babysimon_> but you've given me a few things to look at, thanks!
[2008/06/03 11:05:08] <DerekW> Ah, looks like http access to git repo has been switched off. Anyone know what the deal is?
[2008/06/03 11:05:34] <Volcane> babysimon_: ah ok, well check out nagios and the bits in the docs about integrating nagios and puppet :)
[2008/06/03 11:05:48] <Volcane> (puppet docs that is)
[2008/06/03 11:12:16] <ashp> Urgh, this is kind of a pain
[2008/06/03 11:12:59] <ashp> I have to bundle up icagent and icpuppet and requirements into a single rpm, put that into kickstart and install that so that hosts can autoconfigure themselves into iclassify
[2008/06/03 11:13:24] <ashp> Maybe I can just make the nodes manually in iclassify, run puppet to get things installed, then have it overwrite its own node with further details
[2008/06/03 11:15:41] @ raasdnil_ joined channel #puppet
[2008/06/03 11:16:34] @ lak joined channel #puppet
[2008/06/03 11:16:53] @ shake-n-bake joined channel #puppet
[2008/06/03 11:17:22] @ Quit: shake-n-bake: Client Quit
[2008/06/03 11:23:27] @ kambiz joined channel #puppet
[2008/06/03 11:28:57] @ Quit: babysimon_: "Ex-Chat"
[2008/06/03 11:32:53] @ Quit: raasdnil: Read error: 110 (Connection timed out)
[2008/06/03 11:33:29] @ Quit: raasdnil_: Read error: 110 (Connection timed out)
[2008/06/03 11:36:08] @ Quit: roald: Remote closed the connection
[2008/06/03 11:36:21] @ Gwayne joined channel #puppet
[2008/06/03 11:41:33] @ andrewcshafer joined channel #puppet
[2008/06/03 11:41:42] @ martha joined channel #puppet
[2008/06/03 11:44:22] @ Quit: Innocenti: Read error: 110 (Connection timed out)
[2008/06/03 11:46:17] @ shake-n-bake joined channel #puppet
[2008/06/03 11:51:52] @ niemeyer left channel #puppet ("Leaving")
[2008/06/03 11:52:29] @ Quit: lak:
[2008/06/03 11:53:18] @ Quit: andrewcshafer:
[2008/06/03 11:55:44] @ andrewcshafer joined channel #puppet
[2008/06/03 11:55:55] @ Quit: andrewcshafer: Client Quit
[2008/06/03 11:56:50] @ shake-n-bake_ joined channel #puppet
[2008/06/03 11:57:14] @ andrewcshafer joined channel #puppet
[2008/06/03 12:06:38] @ Quit: sparanjape: Read error: 104 (Connection reset by peer)
[2008/06/03 12:11:14] @ lak joined channel #puppet
[2008/06/03 12:15:31] @ Quit: strerror_work:
[2008/06/03 12:17:08] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2008/06/03 12:19:38] @ Quit: lak:
[2008/06/03 12:23:06] @ plathrop joined channel #puppet
[2008/06/03 12:23:59] @ Quit: Gwayne: Remote closed the connection
[2008/06/03 12:26:21] <pookey> hi guys - when trying to start up puppetd, I get 'err: Could not retrieve catalog: Certificates were not trusted: hostname was not match with the server certificate' - the .pem file in /etc/puppet/ssl/ is for the wrong hostname - how can i fix that?
[2008/06/03 12:26:46] <hiffy> what are you executing when you try to start it up
[2008/06/03 12:26:48] @ Quit: DerekW: "Leaving"
[2008/06/03 12:27:06] <plathrop> pookey: You might want to check out the URLs in the topic.
[2008/06/03 12:27:22] <pookey> plathrop: oh yes, sorry :)
[2008/06/03 12:27:32] @ Quit: hiffy: Remote closed the connection
[2008/06/03 12:28:01] @ hiffy joined channel #puppet
[2008/06/03 12:28:16] <hiffy> i totally timed out didn't i
[2008/06/03 12:28:40] <plathrop> hiffy: I dunno. freenode seems to be dropping people the last couple days
[2008/06/03 12:29:33] @ brothers joined channel #puppet
[2008/06/03 12:33:50] <pookey> plathrop: thanks, working now
[2008/06/03 12:35:04] @ Quit: fbe: Read error: 110 (Connection timed out)
[2008/06/03 12:35:08] @ Quit: dryrot: "leaving"
[2008/06/03 12:36:25] <sigmonsays> Does anyone nagios report on puppet not being applied to nodes? was wondering how to do it properly, like say "puppet hasn't run in 3600 seconds.. so page"
[2008/06/03 12:38:06] <martha> sigmonsays: I just added that
[2008/06/03 12:38:10] @ dryrot joined channel #puppet
[2008/06/03 12:38:18] @ Quit: dryrot: Remote closed the connection
[2008/06/03 12:38:24] <martha> I added an nrpe check that checks the file age of state.yaml
[2008/06/03 12:38:27] @ dryrot joined channel #puppet
[2008/06/03 12:38:45] <sigmonsays> ahh.. ok
[2008/06/03 12:38:57] <sigmonsays> sounds god
[2008/06/03 12:39:09] <Volcane> sigmonsays: command[check_puppetfreshness]=/usr/lib64/nagios/plugins/check_file_age -f /var/lib/puppet/state/state.yaml -w 3600 -c 4000
[2008/06/03 12:39:24] <Volcane> either state or local config, depending on your needs
[2008/06/03 12:39:26] <sigmonsays> nifty
[2008/06/03 12:39:40] <sigmonsays> that's what I want
[2008/06/03 12:39:45] <sigmonsays> cheers.
[2008/06/03 12:40:28] <bartc> good idea
[2008/06/03 12:40:33] * bartc adds check
[2008/06/03 12:41:09] <Volcane> state.yaml will tell you last time it ran, be it cached config or succesfully compiled config
[2008/06/03 12:41:22] <Volcane> localconfig age will tell you when last the master succesfully compiled the manifest for that node
[2008/06/03 12:41:30] <Volcane> though martha had some cases where thats not true
[2008/06/03 12:41:35] @ Quit: dryrot: Client Quit
[2008/06/03 12:41:39] <hiffy> oh cool
[2008/06/03 12:44:13] @ plathrop_ joined channel #puppet
[2008/06/03 12:45:17] @ dryrot joined channel #puppet
[2008/06/03 12:45:24] @ Quit: dryrot: Client Quit
[2008/06/03 12:45:27] @ dryrot joined channel #puppet
[2008/06/03 12:46:45] @ cabbiepete joined channel #puppet
[2008/06/03 12:47:08] @ Quit: cabbiepete: "Bye for now"
[2008/06/03 12:48:37] @ cabbiepete joined channel #puppet
[2008/06/03 12:52:55] <sigmonsays> Volcane, martha care to enlighten of what state.yaml doesn't properly update?
[2008/06/03 12:53:03] <sigmonsays> s/what/when/*
[2008/06/03 12:53:55] <martha> state.yaml always updates
[2008/06/03 12:54:05] <martha> localconfig.yaml doesn't always
[2008/06/03 12:54:17] <sigmonsays> oh. I follow
[2008/06/03 12:54:21] <sigmonsays> didn't read it correctly :)
[2008/06/03 12:56:29] @ barnum left channel #puppet ()
[2008/06/03 12:58:48] <stick> so has anyone seen this error on a template before?
[2008/06/03 12:58:52] <stick> "wrong number of arguments (1 for 0) at ..."
[2008/06/03 12:59:29] <stick> the line number referenced is the content => template(), line so I'm pretty sure it's something in the template itself
[2008/06/03 12:59:41] <stick> but it all looks right and I'm not sure why (or what) that error means
[2008/06/03 13:01:12] @ roald joined channel #puppet
[2008/06/03 13:01:14] <bartc> sounds like a ruby syntax error
[2008/06/03 13:01:22] <bartc> e.g.
[2008/06/03 13:01:23] <bartc> irb(main):009:0> "asdfa".length(1)
[2008/06/03 13:01:23] <bartc> ArgumentError: wrong number of arguments (1 for 0)
[2008/06/03 13:03:51] @ Quit: Wakko666: "Leaving."
[2008/06/03 13:06:00] @ Wakko666 joined channel #puppet
[2008/06/03 13:06:49] @ Quit: plathrop: Read error: 110 (Connection timed out)
[2008/06/03 13:07:11] <stick> apparently it's a version thing, a particular function is different between two different versions of ruby that we are testing on
[2008/06/03 13:11:47] <Volcane> sigmonsays: yeah put another way, monitoring localconfig will pick up when last puppet ran and if theres perhaps a manifest error preventing new compiles to happen. monitoring state will just tell you when last puppet ran
[2008/06/03 13:12:24] <Volcane> (if a compile fails, puppet runs last-good manifest, so it can run while compiles fail)
[2008/06/03 13:15:00] <sigmonsays> thx Volcane
[2008/06/03 13:17:03] @ Quit: mfournier: "leaving"
[2008/06/03 13:17:11] @ Quit: kenvandine: Remote closed the connection
[2008/06/03 13:19:24] @ kenvandine joined channel #puppet
[2008/06/03 13:20:46] @ Quit: kambiz: "Leaving"
[2008/06/03 13:21:55] @ niemeyer joined channel #puppet
[2008/06/03 13:23:07] <niemeyer> Would anyone know of some documentation regarding the way that information is exchanged between puppetd and the puppet master?
[2008/06/03 13:24:00] <Volcane> its in the actual comms protocol?
[2008/06/03 13:25:01] <Volcane> as in... even
[2008/06/03 13:25:25] <niemeyer> Volcane: Sorry, I can't parse your question/answer
[2008/06/03 13:25:51] <Volcane> sorry, i messed up typing it :P are you trying to find the actual format of the protocol between client and server?
[2008/06/03 13:27:07] <niemeyer> Volcane: Hmm.. kind of.. I'm actually researching about doing something a bit unusual
[2008/06/03 13:27:08] @ Quit: plathrop_: Remote closed the connection
[2008/06/03 13:27:24] <niemeyer> I want to use the puppet client, but replace the server-side with an in-house implementation
[2008/06/03 13:28:25] <Volcane> I'd say thats a tall order.
[2008/06/03 13:28:27] <niemeyer> Maybe my question is more towards how does puppetmasterd compile what should be executed in a given client
[2008/06/03 13:28:43] <Volcane> the puppetmaster/client is undergoing a big refactor atm that is replacing the protocol with a whole new implimentation
[2008/06/03 13:29:16] <niemeyer> Volcane: Oh, that's interesting news
[2008/06/03 13:29:21] <niemeyer> Volcane: Do you have more details on it?
[2008/06/03 13:29:31] <Volcane> niemeyer: you write the manifests in the puppet language on your master, then you include the specific bits from these manifests onto your machines on a node-by-node basis
[2008/06/03 13:29:48] <Volcane> niemeyer: nope, theres a developers list though with archives, thats about the best resource
[2008/06/03 13:29:51] <martha> niemeyer: wiki:PuppetInternals
[2008/06/03 13:29:53] <gepetto> martha: niemeyer: wiki:PuppetInternals is http://reductivelabs.com/trac/puppet/wiki/PuppetInternals
[2008/06/03 13:30:11] <niemeyer> martha: Thanks, will read it right away
[2008/06/03 13:30:21] <Volcane> martha: nice one, I read that yonks ago and forgot about it :)
[2008/06/03 13:30:30] <niemeyer> Volcane: I've checked out the list archives already.. couldn't find much.. maybe I should look better
[2008/06/03 13:30:57] <Volcane> niemeyer: why would you want to write your own implimentation, what features would you change/add?
[2008/06/03 13:31:44] <niemeyer> Volcane: None.. it's not that the current puppet master is bad.. it's just that we already have a server infrastructure which takes care of pretty much what the puppet master would do
[2008/06/03 13:32:03] <niemeyer> Volcane: So I just want to offer equivalent features through other means
[2008/06/03 13:32:16] <Volcane> niemeyer: interesting
[2008/06/03 13:37:42] <niemeyer> Is the "consolidation" of manifests (parsing phase, in the wiki doc) done in the puppet master, or in the client itself after downloading the necessary files from the master?
[2008/06/03 13:38:34] <Volcane> on the master
[2008/06/03 13:39:33] @ Quit: ricky: Read error: 104 (Connection reset by peer)
[2008/06/03 13:39:50] @ AimanA joined channel #puppet
[2008/06/03 13:41:48] <niemeyer> Volcane, martha: Nice.. ok, I have some additional information to play with. Thanks a lot for your time.
[2008/06/03 13:45:09] @ ricky joined channel #puppet
[2008/06/03 13:52:05] @ ezralini joined channel #puppet
[2008/06/03 13:58:59] @ shenson is now known as shenson_not_here
[2008/06/03 13:59:11] @ Quit: ricky: Read error: 104 (Connection reset by peer)
[2008/06/03 13:59:12] @ ricky joined channel #puppet
[2008/06/03 14:01:17] @ Innocenti joined channel #puppet
[2008/06/03 14:01:57] @ Quit: Innocenti: Client Quit
[2008/06/03 14:04:18] @ Quit: greenmoss: Read error: 113 (No route to host)
[2008/06/03 14:04:22] @ greenmoss joined channel #puppet
[2008/06/03 14:04:32] @ plathrop joined channel #puppet
[2008/06/03 14:07:23] @ pleemans joined channel #puppet
[2008/06/03 14:09:21] @ shake-n-bake joined channel #puppet
[2008/06/03 14:14:21] @ pawalls joined channel #puppet
[2008/06/03 14:24:44] @ Dyson joined channel #puppet
[2008/06/03 14:24:53] <Dyson> hi
[2008/06/03 14:25:34] <Dyson> I guess I ran into #774 or a variant of it - though it is fixed and closed
[2008/06/03 14:25:36] <gepetto> Dyson: #774 is http://reductivelabs.com/trac/puppet/ticket/774 "Syntax error on collect/realize scoped types"
[2008/06/03 14:26:58] <Dyson> I tried to realize(scope::Type["title"]) or scope::Type <||> and all it said is " Syntax error at '::Type''; expected ')'"
[2008/06/03 14:27:49] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out)
[2008/06/03 14:33:02] @ Quit: hacim: Read error: 104 (Connection reset by peer)
[2008/06/03 14:37:14] <Dyson> is that intended (i.e. is my syntax really wrong) or is it a bug?
[2008/06/03 14:37:21] <Dyson> i'm running 0.24.4
[2008/06/03 14:41:51] <martha> Dyson, can you past the manifest?
[2008/06/03 14:42:24] <Dyson> martha: wait - i'll roll a small example
[2008/06/03 14:43:35] @ Quit: pleemans: Read error: 104 (Connection reset by peer)
[2008/06/03 14:44:00] @ pleemans joined channel #puppet
[2008/06/03 14:44:38] <Dyson> http://pastie.org/208062
[2008/06/03 14:45:50] <martha> shouldn't it be Scope::def, not scope::Def
[2008/06/03 14:45:53] <martha> ?
[2008/06/03 14:47:05] <Dyson> hmm... wait
[2008/06/03 14:47:36] <Dyson> Nope - doesn't work either
[2008/06/03 14:47:48] <Dyson> however, at least the error-message is different :)
[2008/06/03 14:48:48] <Dyson> ouch!
[2008/06/03 14:48:57] <Dyson> it is Scope::Def
[2008/06/03 14:55:03] @ greenmoss left channel #puppet ()
[2008/06/03 14:57:14] <Volcane> try Scope::Def
[2008/06/03 14:57:18] <Volcane> yes
[2008/06/03 14:57:23] <Volcane> missed your last line :)
[2008/06/03 14:57:32] <Volcane> they're both class names, hence both need caps
[2008/06/03 15:01:45] @ robin_ joined channel #puppet
[2008/06/03 15:02:29] <Dyson> k
[2008/06/03 15:02:51] <Dyson> thanks for the help :)
[2008/06/03 15:03:00] <robin_> hey everyone... I'm wondering if anyone has a nice, easy solution for managing a large nodes.pp file...
[2008/06/03 15:03:05] @ TheBOFH joined channel #puppet
[2008/06/03 15:03:17] <plathrop> robin_: USe external nodes? :-P
[2008/06/03 15:03:32] <robin_> plathrop: how so?
[2008/06/03 15:03:54] @ Quit: AimanA: Read error: 104 (Connection reset by peer)
[2008/06/03 15:04:02] <robin_> I'm looking at the wiki right now; will the be enough of a primer?
[2008/06/03 15:04:17] <bartc> robin_: iclassify is a pretty nice way to use external nodes
[2008/06/03 15:04:20] <Dyson> is there any kind of a time schedule for 0.24.5 (like: "maybe next month" or so)?
[2008/06/03 15:04:24] <plathrop> robin_: One second I'll point you to the wiki
[2008/06/03 15:04:46] <plathrop> robin_: wiki:ExternalNodes
[2008/06/03 15:04:47] <gepetto> plathrop: robin_: wiki:ExternalNodes is http://reductivelabs.com/trac/puppet/wiki/ExternalNodes
[2008/06/03 15:05:11] <plathrop> robin_: I haven't done it yet, myself, but it is definitely the Recommeded Way
[2008/06/03 15:05:19] <robin_> ah... okay
[2008/06/03 15:05:26] <robin_> does it require a complete re-architecting?
[2008/06/03 15:05:36] <robin_> or is it pretty straightforward...
[2008/06/03 15:05:39] <Dyson> robin_: depends
[2008/06/03 15:05:44] <plathrop> robin_: Not "complete", no, but there is a fair amount of work involved
[2008/06/03 15:05:55] <robin_> all right. I'll have a lok
[2008/06/03 15:05:56] <robin_> look
[2008/06/03 15:05:57] <robin_> thanks
[2008/06/03 15:06:10] <Dyson> i wonder if I'll have to roll up 0.24.4-4 or if i can just sit and wait for 0.24.5 to come into life :)
[2008/06/03 15:07:02] @ \ask_ joined channel #puppet
[2008/06/03 15:07:28] <bartc> robin_: make sure to take a look at iclassify as well :) there's a demo instance at http://www.hjksolutions.com:5004/
[2008/06/03 15:09:10] <hiffy> that link seems to be down?
[2008/06/03 15:09:48] <hiffy> what makes iclassify awesome?
[2008/06/03 15:10:05] <bartc> works for me, bit slow though
[2008/06/03 15:10:37] <hiffy> hmm, maybe my work proxy is giving up too early
[2008/06/03 15:10:55] <bartc> https://wiki.hjksolutions.com/display/IC/Home is the project page
[2008/06/03 15:11:12] <plathrop> No offense to holaway, but I haven't found iclassify to be awesome :-)
[2008/06/03 15:11:19] <plathrop> Just to play Devil's Advocate
[2008/06/03 15:11:42] * Volcane joins the underwhelmed group :P
[2008/06/03 15:11:44] <hiffy> plathrop: and why's that?
[2008/06/03 15:12:05] @ docelic joined channel #puppet
[2008/06/03 15:12:06] * hiffy hasn't used any external node thingy yet
[2008/06/03 15:12:08] <plathrop> hiffy: For one, setup is too painful.
[2008/06/03 15:12:27] <plathrop> hiffy: For two, I just didn't have a 'wow' moment with it yet.
[2008/06/03 15:12:39] <hiffy> nothing that beated setting up the nodes yourself
[2008/06/03 15:13:23] <plathrop> hiffy: Nothing that beat my rather simpler node tool, no.
[2008/06/03 15:14:19] <hiffy> coo'
[2008/06/03 15:15:58] * bartc doesn't want to have to roll his own external nodes tool
[2008/06/03 15:16:25] <bartc> goes rather contrary to the spirit of Puppet ;)
[2008/06/03 15:16:42] <bartc> and iClassify suits my needs as an external nodes tool
[2008/06/03 15:16:55] <hiffy> so, someone else wrote it for you :P
[2008/06/03 15:17:02] <hiffy> ;)
[2008/06/03 15:17:21] <bartc> luckily, holoway did, yes :)
[2008/06/03 15:17:48] <Dyson> grr
[2008/06/03 15:18:04] @ Quit: andrewcshafer:
[2008/06/03 15:18:33] <Dyson> now that I managed to make puppet add all our dell server's open-manage-stuff to nagios the configuration retrieval on the nagios host times out
[2008/06/03 15:19:17] <Dyson> and i'm *sure* it will work like tomorrow morning at 03:00 and then I'll get lots of short-messages sent to my mobile
[2008/06/03 15:19:18] <Dyson> :(
[2008/06/03 15:22:45] * Dyson knocks off work
[2008/06/03 15:22:55] @ Quit: Dyson: "Verlassend"
[2008/06/03 15:23:29] * Volcane should have another good look at templates that query iclassify
[2008/06/03 15:23:44] <Volcane> remember them being pretty complex and you end up with 3 "languages" just to abstract your config
[2008/06/03 15:24:05] <Volcane> puppet, iclassify, erb templates and stuid amounts of overhead in running al that reliably
[2008/06/03 15:24:11] <Volcane> and making it all high available etc
[2008/06/03 15:24:32] @ fbe joined channel #puppet
[2008/06/03 15:25:24] <hiffy> hehe
[2008/06/03 15:26:14] <hiffy> define high available
[2008/06/03 15:27:22] <Volcane> if your puppetmaster, iclassify server, ldap server, mongrel, apache, abominal combination dies
[2008/06/03 15:27:28] <Volcane> you cant roll out new kit to deal with demand.
[2008/06/03 15:27:50] <hiffy> abominal? that's a new one to my ears
[2008/06/03 15:28:44] <Volcane> yes, sorry, abominable
[2008/06/03 15:29:25] <hiffy> is that a server, or it's the combination that is abominable?
[2008/06/03 15:30:09] <hiffy> :P sometimes i wish software names weren't just common nouns
[2008/06/03 15:30:13] <Volcane> lol
[2008/06/03 15:30:24] <hiffy> or worse adjectives
[2008/06/03 15:30:32] <Volcane> the combination of so much hung together with rather flimsy that makes up the solution
[2008/06/03 15:30:46] <hiffy> awesome.
[2008/06/03 15:30:55] <hiffy> What's the purpose of the LDAP server in puppet, btw?
[2008/06/03 15:30:59] <Volcane> and well its getting to the point where if any one of the things in the chain breaks it can take a long time to fix
[2008/06/03 15:31:27] <Volcane> and while its broken, you're gonna have a tough time dealing with unexpected demand and such if u need to roll out loads of kit
[2008/06/03 15:31:31] @ Quit: flakrat: "Leaving"
[2008/06/03 15:31:38] @ shenson_not_here is now known as shenson
[2008/06/03 15:31:40] <Volcane> or if your development cycle for instanse require you to regularly refresh bulds etc
[2008/06/03 15:33:03] @ Quit: plathrop: Read error: 110 (Connection timed out)
[2008/06/03 15:36:11] <hiffy> heh
[2008/06/03 15:37:02] <hiffy> do you build via puppet?
[2008/06/03 15:37:06] <hiffy> or deploy for that matter
[2008/06/03 15:37:27] <Volcane> i do a simple kickstart build
[2008/06/03 15:37:32] <Volcane> and then puppet does the rest
[2008/06/03 15:37:38] <hiffy> kickstart?
[2008/06/03 15:37:42] <Volcane> baring some grants in my db servers and such
[2008/06/03 15:37:49] <Volcane> redhat's automated installer solution
[2008/06/03 15:37:59] <hiffy> aah
[2008/06/03 15:38:15] <Volcane> well i am retrofitting puppet to an existing environment
[2008/06/03 15:39:02] <hiffy> well, I'm just interested in how other people are looking at it :)
[2008/06/03 15:39:15] <hiffy> you're obviously not a j2ee shop ;)
[2008/06/03 15:39:36] <Volcane> so one type of server (tomcat machines) I've fully puppet enabled now
[2008/06/03 15:39:49] <Volcane> and they're all rebuilt using it, dev, staging, prod the lot
[2008/06/03 15:40:04] <Volcane> the rest i am gradually puppet enabling bits as i touch components
[2008/06/03 15:40:19] <hiffy> oh i take my comment back
[2008/06/03 15:40:25] <Volcane> and all machines have a simple common deploy done on them so for example all user id's are in sync across everything now etc
[2008/06/03 15:40:35] <hiffy> cool
[2008/06/03 15:40:55] <Volcane> so with just the comon bit there now, i am already seeing a big improvement to life
[2008/06/03 15:41:07] <Volcane> i easily pushed out some code everywhere that monitors yum updates for example
[2008/06/03 15:41:14] <Volcane> while i had the code for months
[2008/06/03 15:41:23] <Volcane> i just never bothered cos i werent going to manually do it everywhere
[2008/06/03 15:41:37] @ Quit: shake-n-bake:
[2008/06/03 15:42:20] <Volcane> hiffy: I'm a consultant helping all sorts of startups
[2008/06/03 15:42:43] <Volcane> hiffy: mostly they're java shops, i get them to build rpms of their webapps and deploy those using the operating systems standard methods via puppet etc
[2008/06/03 15:43:34] <hiffy> huh. I've mostly only seen other people just copy archive files around
[2008/06/03 15:43:58] <hiffy> so you just use yum to manage depencies and versions and so on
[2008/06/03 15:44:13] <Volcane> yeah, now with puppet in place using rpm is less of an requirement
[2008/06/03 15:44:18] <Volcane> cos i map the dependencies in puppet
[2008/06/03 15:44:33] <Volcane> i could easily now support a tarball driven depployment method
[2008/06/03 15:44:43] <Volcane> but since the devs dont have root on the kit for example
[2008/06/03 15:44:48] <Volcane> they put the rpm in the yum repo
[2008/06/03 15:45:08] <Volcane> then other ppl deploy the rpms etc
[2008/06/03 15:47:04] * hiffy nods
[2008/06/03 15:48:24] <Volcane> more often though i get puppet to build everything but the actual webapp rpms
[2008/06/03 15:48:37] <Volcane> cos its not like you come across java apps that upgrades easily
[2008/06/03 15:48:44] <Volcane> its more often a case of, remove from load balancers
[2008/06/03 15:48:55] <Volcane> fiddle db parameters etc, move users off them to other mchines
[2008/06/03 15:49:02] <Volcane> carefully shut down, upgrade, start, monitor
[2008/06/03 15:49:09] <Volcane> put bak into lb's etc, right PITA
[2008/06/03 15:49:25] <Volcane> so i just puppet everything the app needs, the OS, the httpd etcetc
[2008/06/03 15:49:40] <hiffy> heh
[2008/06/03 15:49:43] <Volcane> and let them manage the actual java apps by and
[2008/06/03 15:50:03] <Volcane> ofcourse puppet deploys tomcat and all the bits it needs, just not the actual webapps
[2008/06/03 15:50:27] <hiffy> ooh! and how do you do that, just puppet + mongrel?
[2008/06/03 15:50:44] <hiffy> that'd e killer for me, deploy actual binaries AND manage their configuration
[2008/06/03 15:50:46] <Volcane> hiffy: rpm+yum
[2008/06/03 15:50:53] <hiffy> right, as you were saying
[2008/06/03 15:50:54] <hiffy> but of course
[2008/06/03 15:51:03] @ Quit: nDuff: Read error: 110 (Connection timed out)
[2008/06/03 15:51:17] @ mDuff joined channel #puppet
[2008/06/03 15:51:27] <hiffy> I'm sure I'll find some solaris way.
[2008/06/03 15:51:32] <Volcane> hehe
[2008/06/03 15:51:48] <Volcane> solaris shop i was at, hmm, yeah they nfs mounted a central dir with all the packages
[2008/06/03 15:51:56] <Volcane> and had some custom types to install the packages for them
[2008/06/03 15:52:15] <Volcane> so yourpackage{"apache": }
[2008/06/03 15:52:23] <Volcane> would check if its a redhat box , and use yum
[2008/06/03 15:52:32] <Volcane> if its a solaris box, it would grab the apache package off nfs and install it
[2008/06/03 15:52:35] <Volcane> using exec
[2008/06/03 15:52:36] <Volcane> etc
[2008/06/03 15:52:52] <hiffy> you know I'm almost surprised I hadn't heard of puppet before
[2008/06/03 15:53:31] <Volcane> hiffy: actually the pckage type supports installing sun packages too, so a nfs mount will do well for u
[2008/06/03 15:54:49] <hiffy> yeah but i think we build apache, geronimo, etc by source, and it may just be too much of a pain to package after the fact
[2008/06/03 15:55:03] <Volcane> sun packages arent that hard
[2008/06/03 15:55:56] @ Quit: robin_:
[2008/06/03 15:57:16] <hiffy> yeah but afaik there isn't a default package manager, and setting it all up vs just using tarballs... well
[2008/06/03 15:57:31] <hiffy> that is a good idea tho, something to look into
[2008/06/03 15:57:34] <Volcane> there isnt a default pkg manager?
[2008/06/03 15:57:58] <hiffy> not like apt-get or synaptic, not afaik, just the package installer like rpm or dpkg
[2008/06/03 15:58:08] <Volcane> yes, i see
[2008/06/03 15:58:13] <hiffy> like, it exists, you just have to install it yourself? something like that
[2008/06/03 15:58:13] <Volcane> hence the nfs mount :)
[2008/06/03 15:58:49] <Volcane> so mount all the packages in /dist or whatever, and use the package installer to install from there
[2008/06/03 15:59:16] <hiffy> yeah but that's only marginally better than using tar
[2008/06/03 15:59:29] @ Quit: pleemans: "Ex-Chat"
[2008/06/03 15:59:35] <hiffy> at least in linux you can say, "oh hi, install this package with all these depencies from our internal repo!"
[2008/06/03 15:59:43] <hiffy> and life is peachy keen
[2008/06/03 15:59:55] <Volcane> hiffy: well, they'll be in the sun package db ad all afterward, and u can presumably uninstall them easily etc and do upgrades
[2008/06/03 16:00:44] <hiffy> because these are built by hand, uninstalling is a rm -rf away... you're right tho, that sounds like the Right Way
[2008/06/03 16:02:03] <hiffy> I think right now it's all manual, so anyway you cut it it's a net improvement ;)
[2008/06/03 16:02:17] <Volcane> if you pop in a little manifest style file into your tarballs
[2008/06/03 16:02:40] <Volcane> you can easily use an exec/onlyif style thing to fetch tar files, untar them, check the manifest for a version
[2008/06/03 16:03:03] <Volcane> then its a simple matter of setting your manifest to install a new version of the tar file, which wll then differ from the manifest in the old tar and trigger the deploy
[2008/06/03 16:04:43] @ andrewcshafer joined channel #puppet
[2008/06/03 16:04:59] * hiffy nods
[2008/06/03 16:05:42] <hiffy> yeah that'll do the trick too :).
[2008/06/03 16:05:58] * hiffy enables logging in this channel
[2008/06/03 16:07:14] <Volcane> hehe
[2008/06/03 16:07:25] <Volcane> its great, tons of little ways to solve problems with puppet
[2008/06/03 16:07:47] <hiffy> clearly, the next step is to prove that its DSL is turing complete, assuming it is
[2008/06/03 16:07:53] <Volcane> and the requires/notify/onlyif/notifyonly options really kicks arse for triggering actions
[2008/06/03 16:11:16] <Volcane> hiffy: personally i think the case/if/else logic leave much to be desired and the fact that u can only do simple single element arrays is limiting.
[2008/06/03 16:11:42] <Volcane> err, by single element i mean one dimensional
[2008/06/03 16:11:49] <hiffy> i gotcha :)
[2008/06/03 16:12:12] <hiffy> how is it limiting? (To date, I've got file monitoring and a sever and a client going)
[2008/06/03 16:12:25] <Volcane> hmm, trying to think of a recent example now
[2008/06/03 16:13:10] <Volcane> sometimes it would just be good to say have an array of hosts and values relted to that host
[2008/06/03 16:13:14] <Volcane> and then walk through the lot in a template
[2008/06/03 16:14:09] <Volcane> there have been a few real examples here discussed
[2008/06/03 16:16:21] <Volcane> which is where iclassify come in
[2008/06/03 16:16:34] <Volcane> cos you can query it from templates to pull out lists of hosts matching certain tags and what not
[2008/06/03 16:16:51] <hiffy> using custom types, or?
[2008/06/03 16:17:15] <Volcane> hmm, best to check the samples out there for iclassify
[2008/06/03 16:18:36] <hiffy> fair enough, I'll cross that bridge when the time comes
[2008/06/03 16:20:05] @ niemeyer left channel #puppet ("Leaving")
[2008/06/03 16:25:01] @ f--z joined channel #puppet
[2008/06/03 16:26:39] <ashp> holaway: Hey when you're next around to read this, how do I call defines out of iclassify?
[2008/06/03 16:26:45] <ashp> holaway: also does it just try to run classes for every tag?
[2008/06/03 16:29:08] @ flakrat joined channel #puppet
[2008/06/03 16:32:13] @ Quit: andrewcshafer:
[2008/06/03 16:34:44] @ andrewcshafer joined channel #puppet
[2008/06/03 16:35:09] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/03 16:35:48] @ jvanzyl joined channel #puppet
[2008/06/03 16:36:04] @ plathrop joined channel #puppet
[2008/06/03 16:52:20] @ shake-n-bake_ joined channel #puppet
[2008/06/03 16:54:21] @ Quit: flakrat: "Leaving"
[2008/06/03 16:54:38] @ Quit: cabbiepete: "Bye for now"
[2008/06/03 16:55:13] <holaway> ashp: yep, every tag is like an "inlcude foo" in a node definition
[2008/06/03 16:55:31] <holaway> ashp: I'm not sure what you mean by "how do I call defines out of iclassify"
[2008/06/03 16:55:50] <fujin> sup!
[2008/06/03 16:55:53] <fujin> 'lo holaway
[2008/06/03 16:59:42] <holaway> fujin: hop on IM
[2008/06/03 16:59:46] @ holaway is now known as holoway
[2008/06/03 16:59:47] <fujin> nod
[2008/06/03 16:59:55] <fujin> just got to work, moment
[2008/06/03 17:00:04] @ shake-n-bake__ joined channel #puppet
[2008/06/03 17:00:45] @ shenson is now known as shenson_not_here
[2008/06/03 17:03:05] @ Quit: f--z: Read error: 104 (Connection reset by peer)
[2008/06/03 17:03:35] @ f--z joined channel #puppet
[2008/06/03 17:05:11] @ Quit: docelic: "Leaving"
[2008/06/03 17:05:42] <waawaamilkvampyr> work
[2008/06/03 17:05:45] <waawaamilkvampyr> ah crap
[2008/06/03 17:05:50] * waawaamilkvampyr should get up
[2008/06/03 17:06:13] @ Quit: jvanzyl:
[2008/06/03 17:07:26] @ Quit: kenvandine: "Ex-Chat"
[2008/06/03 17:07:30] <fujin> ;>
[2008/06/03 17:08:20] @ Quit: josb:
[2008/06/03 17:17:49] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out)
[2008/06/03 17:18:39] @ Quit: \ask_:
[2008/06/03 17:22:23] @ jvanzyl joined channel #puppet
[2008/06/03 17:23:11] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/06/03 17:24:05] @ Quit: ezralini:
[2008/06/03 17:26:15] @ Quit: jvanzyl: Client Quit
[2008/06/03 17:30:46] <holoway> any of you RedHat folk have any idea if the RHEL 5.2 ruby is stock 1.8.5, or if it's gotten any of the patchlevel releases applied?
[2008/06/03 17:31:08] @ Quit: ricky: SendQ exceeded
[2008/06/03 17:31:45] <chadh> ruby-1.8.5-5.el5_1.1
[2008/06/03 17:32:04] <chadh> oh, I guess that doesn't answer your question
[2008/06/03 17:32:55] <holoway> what's the easy way to see the changelog?
[2008/06/03 17:33:04] * holoway had better Red Hat skills in the 6.2 era
[2008/06/03 17:37:04] <chadh> I am grabbing the source. patches should be in there, but I don't know if I will be able to make heads or tails. if there is a changelog in there, I'll let you know
[2008/06/03 17:41:06] <chadh> holoway: http://pastie.org/208255
[2008/06/03 17:48:52] <holoway> chadh: thanks!
[2008/06/03 17:49:07] <holoway> that's awesome -- where di the changelog come from? just install the source rpm and snag it from there?
[2008/06/03 17:52:39] @ Ol_ joined channel #puppet
[2008/06/03 17:56:45] <chadh> holoway: nah. I couldn't get the srpm for some reason, so I looked on the satellite server
[2008/06/03 17:57:03] <chadh> I am not sure if it is available anywhere un-password-protected :(
[2008/06/03 17:57:25] @ Quit: hiffy: Remote closed the connection
[2008/06/03 17:57:32] <holoway> ahh
[2008/06/03 18:01:11] @ ricky joined channel #puppet
[2008/06/03 18:04:37] <Disconnect> prolly not, but has anyone seen a good integrated jeos(ubuntu for vmware)+iclassify+nagios+puppet whitepaper?
[2008/06/03 18:04:45] <Disconnect> save me writing one :)
[2008/06/03 18:05:11] <Volcane> chadh: rpm -q --changelog ruby
[2008/06/03 18:07:20] <Disconnect> ..or pick any 2-3 of the above :)
[2008/06/03 18:08:40] <Volcane> chadh: and since its opensource, the source code has to be avail online openly, see http://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/
[2008/06/03 18:08:51] <holoway> Disconnect: no, but I would love to have one
[2008/06/03 18:09:11] <holoway> Disconnect: and provide any hints to doing it that I have
[2008/06/03 18:09:35] <Disconnect> i'll prolly end up writing one. starting with this as a base http://www.slideshare.net/adamhjk/why-startups-need-automated-infrastructures
[2008/06/03 18:09:36] <chadh> Volcane: oh right.
[2008/06/03 18:10:06] <Disconnect> and http://itc.conversationsnetwork.org/shows/detail3656.html#
[2008/06/03 18:10:09] <holoway> Disconnect: that would be awesome -- if you get it written before June 23rd, I'll point people to it at Velocity
[2008/06/03 18:10:15] <Disconnect> cool
[2008/06/03 18:10:24] * holoway <-- wrote the slideshow and spoke in the podcast
[2008/06/03 18:10:28] <Disconnect> lol nice
[2008/06/03 18:10:41] <holoway> glad you liked it. :)
[2008/06/03 18:11:13] @ Quit: pookey: Remote closed the connection
[2008/06/03 18:11:19] <Disconnect> well, not sure i can say where i'm implementing (probably but need to check) but we're migrating from an "agile" (developer-adminned-disaster version of 'agile') over to something i can actually maintain
[2008/06/03 18:11:19] <holoway> I'm hoping to get some cycles to write a bunch of iclassify documentation and make it easier to install
[2008/06/03 18:11:22] <holoway> we'll see if it happens
[2008/06/03 18:11:34] @ pookey joined channel #puppet
[2008/06/03 18:12:13] <Disconnect> fyi my biggest issue so far has been assumptions in puppet - things like path are left out of the quickstart, but nothing works without it. think i finally passed that hurdle, just had a manually-installed box ldapify itself with puppet :)
[2008/06/03 18:12:34] <holoway> Disconnect: did you get iClassify running already?
[2008/06/03 18:12:50] <Disconnect> only in so far as ubuntu installs it automatically
[2008/06/03 18:13:31] <Disconnect> step one was a basic puppet config (need to automate the key handling next, then the installer - ubuntu-vm-builder is prolly gonna save me)
[2008/06/03 18:13:54] <holoway> did you see Ashley's puppet recipe for installing iclassify?
[2008/06/03 18:13:59] <holoway> that might be of some assistance to you
[2008/06/03 18:14:09] <holoway> it's Red Hat, but might be easier to port
[2008/06/03 18:14:13] <holoway> than to start from scratch
[2008/06/03 18:14:16] <sigmonsays> !smack me
[2008/06/03 18:15:10] <Disconnect> i'll check it out. probably just modify it to configure an apt-gotten iclassify
[2008/06/03 18:15:37] <holoway> Disconnect: did you make debs of iclassify?
[2008/06/03 18:15:46] <holoway> because I totally want that. ;)
[2008/06/03 18:16:19] <Disconnect> heh
[2008/06/03 18:16:28] <sigmonsays> omfg. iclassify is my adhoc multi-multi groupings system
[2008/06/03 18:16:36] <sigmonsays> well *my* solution to :)
[2008/06/03 18:18:31] <holoway> sigmonsays: it's handy, having a full text search index of your systems
[2008/06/03 18:18:38] @ f--z joined channel #puppet
[2008/06/03 18:18:56] <holoway> with no real schema requirements
[2008/06/03 18:19:10] <Disconnect> holoway: trying to find the notes i had on that. istr ubuntu-server had something for iclassify but i'm not finding it now.
[2008/06/03 18:19:14] <sigmonsays> I mostly used it to tag machines like it said in the wiki. IE: gimme all machines who are www severs, 4G of ram and in this VIP..
[2008/06/03 18:19:43] <sigmonsays> does iclassify put info into mysql?
[2008/06/03 18:20:43] <holoway> sigmonsays: it uses mysql and solr
[2008/06/03 18:20:52] <sigmonsays> jesus. that's hardcore
[2008/06/03 18:20:53] <sigmonsays> ;)
[2008/06/03 18:20:54] <holoway> although if I was building it again from scratch, it might not use mysql
[2008/06/03 18:21:10] <Disconnect> here it is, facter
[2008/06/03 18:21:12] <holoway> if couchdb was ready, it would be couchdb + solr
[2008/06/03 18:21:25] <holoway> Disconnect: yeah, ubuntu has puppet and facter
[2008/06/03 18:21:30] <holoway> iClassify is a whole nother beast
[2008/06/03 18:21:35] <Disconnect> ya
[2008/06/03 18:21:36] <sigmonsays> facter is the best idea since linux 2.6
[2008/06/03 18:22:22] @ Quit: brothers: "Leaving."
[2008/06/03 18:24:42] <Disconnect> damn. that podcast isn't seekable :(
[2008/06/03 18:25:49] <Disconnect> so where does capistrano fit with puppet?
[2008/06/03 18:25:56] <Disconnect> at first glance they do basically the same sort of thing
[2008/06/03 18:26:03] <Volcane> no
[2008/06/03 18:26:15] <Volcane> capistrino does, for all my servers, restart apache
[2008/06/03 18:26:26] <Volcane> puppet does, for all my servers, deploy apache
[2008/06/03 18:26:29] <holoway> Disconnect: puppet is about how you want the infrastructure to be all the time
[2008/06/03 18:26:36] <Disconnect> ah. tasks via capistrino, changes via puppet.
[2008/06/03 18:26:44] <holoway> capistrano is about doing things right now across the infrastructure
[2008/06/03 18:26:56] * sigmonsays capistrano is dsh :)
[2008/06/03 18:27:10] <Volcane> with wicked scripting abilities :P
[2008/06/03 18:27:27] <sigmonsays> heh
[2008/06/03 18:27:46] <holoway> in terms of that slideshow and podcast
[2008/06/03 18:27:55] <holoway> capistrano is application deployment and ad-hoc changes
[2008/06/03 18:27:59] <holoway> puppet sets the server up to run the app
[2008/06/03 18:28:08] <holoway> capistrano puts the release of the app out there
[2008/06/03 18:28:37] <Disconnect> doesn't that screw you when you light up another server later? it runs, gets puppet, deploys no app (or an old app)..
[2008/06/03 18:28:59] <Disconnect> or can capistrano go "ooh, you're new here. have a change and some actions."
[2008/06/03 18:29:23] <Volcane> yeah i'm with Disconnect puppet should put stuff out there and keep them in sync
[2008/06/03 18:29:32] <Volcane> capistrino must do restarts, bulk maintenance and such
[2008/06/03 18:29:41] <Disconnect> i see big utility in "samba is screwed up, go remount it" from capistrano
[2008/06/03 18:29:56] <Disconnect> but "here's the jar" seems like a bad way
[2008/06/03 18:31:29] <holoway> Disconnect: it depends on your environment
[2008/06/03 18:31:43] <holoway> lots of applications can't handle auto-app deployment
[2008/06/03 18:32:00] <holoway> similarly, puppet doesn't promise that things will happen across the infrastructure at once
[2008/06/03 18:32:05] <holoway> which you might want, depending on your application
[2008/06/03 18:32:15] * sigmonsays has a feeling capistrano is mostly used w/ rails aps
[2008/06/03 18:32:16] <sigmonsays> apps*
[2008/06/03 18:32:16] <holoway> certainly, you *can* use puppet for applicaiton deployment
[2008/06/03 18:32:21] <Volcane> nods, my one puppet site manage the actual app by hand
[2008/06/03 18:32:28] <Volcane> cos it cant be done automated
[2008/06/03 18:32:42] <Disconnect> sigmonsays: fwiw i'm looking at a bunch of tomcat stuff, some frontend apache and an increasing number of 'weird' servers (including rails)
[2008/06/03 18:32:44] <holoway> but capistrano can do a lot of things that puppet can't do that require coordination acrosss systems
[2008/06/03 18:32:58] <holoway> Disconnect: we manage all of that with puppet and capistrano
[2008/06/03 18:33:03] <holoway> we have tomcat and rails clients
[2008/06/03 18:33:06] <Disconnect> cool
[2008/06/03 18:33:29] <sigmonsays> now that server communication part is definitely interesting
[2008/06/03 18:33:45] <holoway> another thing to look at
[2008/06/03 18:33:48] <sigmonsays> ;)
[2008/06/03 18:33:55] <Disconnect> so as an A->B plan, am I gonna go off into the weeds by implementing puppet, then capistrano, ubuntu-vm-builder (to deploy new hosts), then regroup with iclassify? or should I be including iclassify earlier?
[2008/06/03 18:34:34] <holoway> do iclassify earlier
[2008/06/03 18:34:38] <holoway> start with iclassify, then puppet
[2008/06/03 18:34:42] <holoway> then capistrano
[2008/06/03 18:34:55] <holoway> iclassify informs puppet and capistrano
[2008/06/03 18:35:03] <Disconnect> the old way is manual builds, then apps are deployed by a monster scp+ssh script. its a moderate disaster. and we've already been bitten by someone pointing tmpreaper at the main tomcat directory (don't ask) .. many of the vms are old, so I'm just rolling out The New Way once class at a time
[2008/06/03 18:35:09] <holoway> I gotta run to a meeting
[2008/06/03 18:35:26] <Disconnect> have fun
[2008/06/03 18:35:27] <holoway> Disconnect: feel free to send an email to adam@hjksolutions.com
[2008/06/03 18:35:31] <holoway> if you have questions
[2008/06/03 18:35:40] <holoway> are you going to Velocity?
[2008/06/03 18:35:42] * Disconnect should be deploying openldap on a couple of vm's as an AD replication. but thats not as much fun :)
[2008/06/03 18:35:47] <Disconnect> nope
[2008/06/03 18:35:56] <Disconnect> (velocity?)
[2008/06/03 18:36:01] <holoway> too bad! :) lots of this sort of talk will be happening there
[2008/06/03 18:36:13] <holoway> http://en.oreilly.com/velocity2008/public/content/home
[2008/06/03 18:36:22] <holoway> if you're in california, not too late. :)
[2008/06/03 18:36:24] <holoway> bbiab
[2008/06/03 18:36:26] @ holoway is now known as holaway
[2008/06/03 18:36:28] <Disconnect> if it was east coast, maybe.
[2008/06/03 18:38:18] @ MrProper__ joined channel #puppet
[2008/06/03 18:38:23] <MrProper__> morning all
[2008/06/03 18:39:35] <sigmonsays> dear god velocity is expensive
[2008/06/03 18:40:14] <Disconnect> MrProper_: thats a heck of a timezone you have there
[2008/06/03 18:46:13] @ Quit: TheBOFH: Remote closed the connection
[2008/06/03 18:46:20] <fujin> man redmine is secksy
[2008/06/03 18:47:25] <MrProper__> Disconnect, heh thats australia for you
[2008/06/03 18:47:49] <Disconnect> heh
[2008/06/03 18:48:51] <MrProper__> i have a funny one: rfile { "/etc/monit/monitrc": source => "/daemons/monit/monitrc", mode => 600, require => PACKAGE["monit"], notify => SERVICE["monit"] }
[2008/06/03 18:49:12] <MrProper__> rfile is just a file define to cut down my typing for common options
[2008/06/03 18:49:35] <MrProper__> now this tells me that when monitrc changes, you should notify the service monit
[2008/06/03 18:50:11] <MrProper__> the client sees the change but doesnt notify the service: ]/soe/daemon-monit/Rfile[/etc/monit/monitrc]/File[/etc/monit/monitrc]/source: replacing from source puppet://x.x.x.x/rfile//daemons/monit/monitrc with contents {md5}8252c2b5e0e2e0a4a4957c62f7e38e3e
[2008/06/03 18:50:14] @ barnum joined channel #puppet
[2008/06/03 18:52:54] <fujin> why have you written SERVICE["monit"]?
[2008/06/03 18:52:59] <fujin> It's Service["monit"]
[2008/06/03 18:55:25] @ Innocenti joined channel #puppet
[2008/06/03 18:55:54] <Disconnect> holaway: fyi i'm not as much of a fan of ruby as you guys. i learned python to avoid perl (didn't work), and the last thing i need is yet another language to be misused by developers :)
[2008/06/03 18:57:32] <fujin> you're fired
[2008/06/03 18:57:45] <fujin> there's no way to misuse ruby
[2008/06/03 18:57:54] <Disconnect> ..thats what they said about python once
[2008/06/03 18:58:03] <Disconnect> trust me, they'll find a way
[2008/06/03 18:58:08] <Disconnect> and it'll be -really- -really- ugly
[2008/06/03 18:58:12] <fujin&