Tuesday, 2010-02-09

[2010/02/09 00:00:13] @ Log started by gepetto
[2010/02/09 00:00:13] @ alban2 joined channel #puppet
[2010/02/09 00:15:03] @ Quit: pheezy: Remote host closed the connection
[2010/02/09 00:25:16] @ Quit: mikerowehl: Quit: mikerowehl
[2010/02/09 00:25:32] @ themurph joined channel #puppet
[2010/02/09 00:37:57] @ Quit: bug: Quit: bug
[2010/02/09 00:39:16] @ Quit: OpenMedia: Quit: Leaving.
[2010/02/09 00:41:38] @ bug joined channel #puppet
[2010/02/09 00:41:45] @ tjoe joined channel #puppet
[2010/02/09 00:42:20] <tjoe> hi, I wrote a class and I want to apply it to all the servers that have lsbdistmajrelease equal to 5
[2010/02/09 00:43:04] <bodepd> tjoe: use a case statement.
[2010/02/09 00:43:36] <tjoe> I put a case $lsbdistmajrelase block within the class and put all the class definition in that block is that way to do it or is there a more elegant way ?
[2010/02/09 00:43:45] <tjoe> bodepd: thanks
[2010/02/09 00:44:18] <bodepd> it depends on the use case.
[2010/02/09 00:44:24] <tjoe> that measn the case will just be empty if sometry to apply the class to a RHEL 4.5 server
[2010/02/09 00:44:45] <bodepd> yeah: default:{}
[2010/02/09 00:46:26] <bodepd> if the class should only be applied to RH5, then I would put the case statement outside of the class, then just include the class for RH5 nodes.
[2010/02/09 00:47:09] <tjoe> ok, understood, I guess I can replace the case statement with a if/then
[2010/02/09 00:47:32] <tjoe> if $lsbdistrelease == "5" { class mystuff { ... } }
[2010/02/09 00:53:44] @ Quit: themurph: Quit: themurph
[2010/02/09 00:57:15] @ jes5 joined channel #puppet
[2010/02/09 00:57:24] @ Quit: jes5: Client Quit
[2010/02/09 00:58:30] @ jason^ joined channel #puppet
[2010/02/09 00:58:41] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/09 00:58:48] @ justdave joined channel #puppet
[2010/02/09 01:03:13] @ m1nish joined channel #puppet
[2010/02/09 01:09:36] @ Quit: m1nish: Read error: Operation timed out
[2010/02/09 01:10:03] @ Quit: pinoyskull: Quit: Leaving
[2010/02/09 01:10:15] @ m1nish joined channel #puppet
[2010/02/09 01:24:00] @ Quit: bug: Quit: bug
[2010/02/09 01:24:21] @ Quit: bobbyz: Ping timeout: 260 seconds
[2010/02/09 01:26:07] @ Quit: jamesturnbull: Quit: leaving
[2010/02/09 01:29:12] @ Quit: jfreeman: Remote host closed the connection
[2010/02/09 01:29:34] @ noyb joined channel #puppet
[2010/02/09 01:31:05] @ jamesturnbull joined channel #puppet
[2010/02/09 01:38:49] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.")
[2010/02/09 01:41:42] @ Quit: bodepd: Quit: bodepd
[2010/02/09 01:45:05] @ Quit: jcape: Quit: jcape
[2010/02/09 01:45:32] @ jcape joined channel #puppet
[2010/02/09 01:49:04] @ suchu joined channel #puppet
[2010/02/09 01:50:46] @ Quit: jcape: Quit: jcape
[2010/02/09 01:53:15] @ Quit: kolla: Remote host closed the connection
[2010/02/09 01:53:21] @ jcape joined channel #puppet
[2010/02/09 01:56:33] @ tim|imac joined channel #puppet
[2010/02/09 01:56:40] @ Quit: jcape: Client Quit
[2010/02/09 01:57:49] @ jcape joined channel #puppet
[2010/02/09 01:59:18] @ Quit: jcape: Client Quit
[2010/02/09 01:59:57] @ jcape joined channel #puppet
[2010/02/09 02:02:14] @ Quit: alban2: Ping timeout: 246 seconds
[2010/02/09 02:09:27] @ Quit: jcape: Ping timeout: 256 seconds
[2010/02/09 02:10:48] @ Quit: tim|imac: Quit: tim|imac
[2010/02/09 02:10:56] @ bodepd joined channel #puppet
[2010/02/09 02:13:47] @ Quit: justdave: Ping timeout: 246 seconds
[2010/02/09 02:16:27] @ LapTop006 joined channel #puppet
[2010/02/09 02:19:02] @ Quit: Bass10: Ping timeout: 272 seconds
[2010/02/09 02:21:50] @ justdave joined channel #puppet
[2010/02/09 02:22:31] @ Quit: bodepd: Quit: bodepd
[2010/02/09 02:27:24] @ LinuxCode joined channel #puppet
[2010/02/09 02:28:04] @ hy is now known as _hy
[2010/02/09 02:28:18] @ _hy is now known as hy
[2010/02/09 02:31:00] <LinuxCode> is there any way to get an array in non-conflated form ?
[2010/02/09 02:31:15] <LinuxCode> I need to non-conflated to do a regexpr check on it
[2010/02/09 02:31:27] <LinuxCode> to have it*
[2010/02/09 02:31:39] @ kolla joined channel #puppet
[2010/02/09 02:31:49] * LinuxCode is starting to wonder, if his keyboard drops words
[2010/02/09 02:32:10] <ohadlevy> LinuxCode: what do you mean? can you give an exmaple?
[2010/02/09 02:32:20] @ Quit: LapTop006: Ping timeout: 246 seconds
[2010/02/09 02:32:21] <LinuxCode> I have an array with two ips in
[2010/02/09 02:32:34] <LinuxCode> if I do notice on the array var
[2010/02/09 02:32:38] <LinuxCode> it gets conflated
[2010/02/09 02:32:54] <LinuxCode> I have two ips in there and want to be sure that both are valid
[2010/02/09 02:33:08] @ LapTop006 joined channel #puppet
[2010/02/09 02:33:08] <LinuxCode> but I always end up with
[2010/02/09 02:33:09] <LinuxCode> sec
[2010/02/09 02:33:25] <LinuxCode> notice: Scope(Xen::Instance::Conf[TESTBRAVO]): vifip is: 222.222.222.222127.127.0.1
[2010/02/09 02:33:32] <LinuxCode> gets conflated
[2010/02/09 02:33:43] <ohadlevy> LinuxCode: thats because notice converts the array to a string
[2010/02/09 02:34:03] <LinuxCode> so you reckon, if I do an if with a regexpr it will be fine ?
[2010/02/09 02:34:28] <ohadlevy> LinuxCode: if you do it on each element at a time
[2010/02/09 02:34:40] <LinuxCode> but how do I do that in puppet ?!?!
[2010/02/09 02:34:46] <LinuxCode> there is no way to loop
[2010/02/09 02:34:48] <ohadlevy> what exactly are you trying to do
[2010/02/09 02:35:07] <LinuxCode> I want to be sure the ips are valid as stated
[2010/02/09 02:35:11] <LinuxCode> within the class
[2010/02/09 02:35:15] <LinuxCode> well, define
[2010/02/09 02:35:17] @ tuf joined channel #puppet
[2010/02/09 02:35:32] <ohadlevy> LinuxCode: than in the define you should already have it a simple var, not as an array right?
[2010/02/09 02:35:32] <LinuxCode> if ! ($vifmac =~ /^([a-z0-9]{2}):([a-z0-9]{2}):([a-z0-9]{2}):([a-z0-9]{2}):([a-z0-9]{2}):([a-z0-9]{2})$/) {
[2010/02/09 02:35:36] <LinuxCode> thats my mac checker
[2010/02/09 02:35:45] <LinuxCode> now I want the same for one or more ips from an array
[2010/02/09 02:36:11] <ohadlevy> while it might be possible, I think it would be easier to use a simple function
[2010/02/09 02:36:13] <LinuxCode> hmmm I pass an array along
[2010/02/09 02:36:42] <odyi> Puppet users in the Portland, OR area. http://calagator.org/events/1250458300
[2010/02/09 02:37:08] <LinuxCode> ohadlevy, http://fpaste.org/qeJn/
[2010/02/09 02:37:12] <LinuxCode> called define like that
[2010/02/09 02:37:29] <LinuxCode> sure I could make it a weird string
[2010/02/09 02:37:38] <LinuxCode> and then fail it when it doesnt get a string
[2010/02/09 02:37:56] <LinuxCode> but be nicer to keep it in the puppet syntax format
[2010/02/09 02:38:01] @ giskard joined channel #puppet
[2010/02/09 02:38:52] <ohadlevy> cant you break the array into two?
[2010/02/09 02:40:12] <LinuxCode> ohadlevy, from within puppet ?
[2010/02/09 02:40:20] <LinuxCode> dont think so
[2010/02/09 02:40:32] <LinuxCode> and if I break it in two
[2010/02/09 02:40:38] <LinuxCode> what about 3 ips ?
[2010/02/09 02:40:44] <LinuxCode> or 20
[2010/02/09 02:40:46] <LinuxCode> hehe
[2010/02/09 02:40:51] <ohadlevy> LinuxCode: so just create a simple function
[2010/02/09 02:41:07] <ohadlevy> or even a generate command
[2010/02/09 02:41:09] <LinuxCode> as in proper ruby function ?
[2010/02/09 02:41:12] <LinuxCode> meh
[2010/02/09 02:41:13] <ohadlevy> inline template might work too
[2010/02/09 02:41:52] @ Quit: giskard: Remote host closed the connection
[2010/02/09 02:41:53] <LinuxCode> if I must, I will just make it request ip:ip:ip
[2010/02/09 02:42:22] <ohadlevy> something like inline_template("<%= "valid" if ip =~ /([a-z0-9][2]).../ %>)
[2010/02/09 02:42:39] <LinuxCode> let me look into that
[2010/02/09 02:42:48] <LinuxCode> ta for now
[2010/02/09 02:42:50] <LinuxCode> ;-}
[2010/02/09 02:42:53] <ohadlevy> or for ips.each for |ip| ...
[2010/02/09 02:43:02] <LinuxCode> well thats in the template itself
[2010/02/09 02:43:11] <LinuxCode> or does inline evaluate ?
[2010/02/09 02:43:11] <ohadlevy> template==function
[2010/02/09 02:43:17] <ohadlevy> all the same
[2010/02/09 02:43:24] <ohadlevy> they run some ruby code and return some output
[2010/02/09 02:43:36] <LinuxCode> I know
[2010/02/09 02:43:44] <LinuxCode> I just dont like ruby
[2010/02/09 02:43:54] <LinuxCode> I get by with the templates
[2010/02/09 02:44:06] <LinuxCode> but writing anything more is a pain for me
[2010/02/09 02:44:33] <LinuxCode> took me a good few hours just to cook up a simple facter thing for xen
[2010/02/09 02:45:16] @ Quit: spawnyd: Read error: Connection reset by peer
[2010/02/09 02:45:25] @ Quit: n0ts: Ping timeout: 264 seconds
[2010/02/09 02:45:49] @ pacalm joined channel #puppet
[2010/02/09 02:46:11] <ohadlevy> LinuxCode: hold on, I'll pastie something for you
[2010/02/09 02:46:19] <LinuxCode> ohadlevy, kk
[2010/02/09 02:46:44] <ohadlevy> http://pastie.org/815898
[2010/02/09 02:47:10] <ohadlevy> might work, might not :)
[2010/02/09 02:47:21] <LinuxCode> ehhh
[2010/02/09 02:47:29] <LinuxCode> but that is in a template again
[2010/02/09 02:47:35] <ohadlevy> so what?
[2010/02/09 02:47:42] <ohadlevy> you want it in a function?
[2010/02/09 02:48:19] <LinuxCode> I need it outside the template hehe
[2010/02/09 02:48:26] <LinuxCode> before it even sends it to the template
[2010/02/09 02:48:52] <LinuxCode> it takes input from the definition and verifies that the syntax is correct and the input is valid
[2010/02/09 02:48:58] <ohadlevy> http://pastie.org/815902
[2010/02/09 02:49:14] <ohadlevy> ah, I used the wrong regexp
[2010/02/09 02:49:17] <ohadlevy> you can fix it :)
[2010/02/09 02:49:42] <LinuxCode> ohh I see where you are going with this
[2010/02/09 02:49:56] <LinuxCode> where does one stick custom functions ?
[2010/02/09 02:50:04] <LinuxCode> ohadlevy, sorry
[2010/02/09 02:50:04] @ n0ts joined channel #puppet
[2010/02/09 02:50:05] <LinuxCode> lol
[2010/02/09 02:50:18] <LinuxCode> I thought ya meant write everything as a function
[2010/02/09 02:50:23] <LinuxCode> ;-p
[2010/02/09 02:50:35] <jamesturnbull> LinuxCode: wiki:PluginsInModules
[2010/02/09 02:50:35] <gepetto> jamesturnbull: LinuxCode: wiki:PluginsInModules is http://reductivelabs.com/trac/puppet/wiki/PluginsInModules
[2010/02/09 02:50:44] <LinuxCode> ta james
[2010/02/09 02:50:48] <ohadlevy> if you leave it in as a template, you are saved from plugins hell
[2010/02/09 02:50:56] <ohadlevy> which as a template, you can do
[2010/02/09 02:51:06] <ohadlevy> $myip=template(ips)
[2010/02/09 02:51:16] <ohadlevy> and then if $myip=="valid"...
[2010/02/09 02:52:41] <LinuxCode> <module>/plugins/puppet/parser/functions <--- I take it
[2010/02/09 02:52:45] * LinuxCode mkdirs
[2010/02/09 02:54:16] <LinuxCode> .rb extension ?
[2010/02/09 02:54:23] <ohadlevy> yeha
[2010/02/09 02:54:31] <ohadlevy> filename == functioname + .rb
[2010/02/09 02:54:38] <LinuxCode> cool
[2010/02/09 02:54:42] * LinuxCode fixes regexpr
[2010/02/09 02:56:02] <ohadlevy> I actually fixed it already, refresh ;)
[2010/02/09 03:00:27] @ giskard joined channel #puppet
[2010/02/09 03:02:02] <jamesturnbull> gepetto: seen lak
[2010/02/09 03:02:02] <gepetto> jamesturnbull: lak was last seen 7 hours, 20 minutes and 56 seconds ago, quitting IRC (Quit: lak)
[2010/02/09 03:04:40] @ twisla_ is now known as twisla
[2010/02/09 03:05:12] <LinuxCode> hmmm
[2010/02/09 03:05:14] @ Quit: justdave: Ping timeout: 246 seconds
[2010/02/09 03:05:17] <LinuxCode> where does this function go ?
[2010/02/09 03:05:46] * LinuxCode checks his dirs again
[2010/02/09 03:05:46] @ skiold joined channel #puppet
[2010/02/09 03:07:42] <LinuxCode> I must be pissing a config arg
[2010/02/09 03:07:46] <LinuxCode> ehh missing
[2010/02/09 03:08:21] @ Quit: giskard: Remote host closed the connection
[2010/02/09 03:13:53] <LinuxCode> which libdir do I dump this into
[2010/02/09 03:13:59] * LinuxCode is affaraid to break something
[2010/02/09 03:14:03] <LinuxCode> afraid
[2010/02/09 03:14:50] <jamesturnbull> gepetto: seen lutter
[2010/02/09 03:14:50] <gepetto> jamesturnbull: lutter was last seen 7 hours, 25 minutes and 49 seconds ago, quitting IRC (Ping timeout: 264 seconds)
[2010/02/09 03:15:25] <nico> gepetto: make me a sandwich
[2010/02/09 03:16:15] <LinuxCode> hmm
[2010/02/09 03:20:11] <LinuxCode> still nothing
[2010/02/09 03:21:37] <LinuxCode> cant find the function
[2010/02/09 03:21:40] <LinuxCode> meh
[2010/02/09 03:23:00] @ Quit: poison: Remote host closed the connection
[2010/02/09 03:23:24] @ poison joined channel #puppet
[2010/02/09 03:23:38] @ Djelibeybi joined channel #puppet
[2010/02/09 03:25:54] <LinuxCode> ;-[
[2010/02/09 03:27:52] @ Quit: poison: Ping timeout: 252 seconds
[2010/02/09 03:29:34] <ohadlevy> LinuxCode: did it sync it?
[2010/02/09 03:29:43] <LinuxCode> no
[2010/02/09 03:29:53] <LinuxCode> I copied it into the puppet function dir now
[2010/02/09 03:30:03] <LinuxCode> but it still wont load
[2010/02/09 03:30:10] <LinuxCode> cant find blah
[2010/02/09 03:30:26] <ohadlevy> you might need to restart your master if you copy the files manually
[2010/02/09 03:30:34] <LinuxCode> I did 10 times
[2010/02/09 03:30:36] <LinuxCode> hehe
[2010/02/09 03:31:12] <LinuxCode> ohhhh for crying out loud
[2010/02/09 03:31:18] <LinuxCode> one sec
[2010/02/09 03:31:22] <ohadlevy> thats why i said some lines ago "if you leave it in as a template, you are saved from plugins hell"
[2010/02/09 03:31:25] <ohadlevy> ;)
[2010/02/09 03:32:04] @ PsychoSid joined channel #puppet
[2010/02/09 03:32:57] @ Quit: Whoop: Quit: leaving
[2010/02/09 03:33:07] @ Whoop joined channel #puppet
[2010/02/09 03:33:33] <LinuxCode> fixed selinux, still nothing
[2010/02/09 03:34:08] <LinuxCode> ok debug, syntax error
[2010/02/09 03:36:25] <LinuxCode> aha!
[2010/02/09 03:37:08] <|shad0w|> wassup LinuxCode
[2010/02/09 03:39:15] <LinuxCode> BINGO!
[2010/02/09 03:39:22] <LinuxCode> ohadlevy, cheers mate
[2010/02/09 03:39:28] <|shad0w|> stalking me again :P
[2010/02/09 03:39:30] <LinuxCode> sorry also, been up all night
[2010/02/09 03:39:38] <LinuxCode> |shad0w|, I never stalk
[2010/02/09 03:39:58] * LinuxCode lives on freenode
[2010/02/09 03:40:03] <|shad0w|> I'm picking, haven't seen you over on efnet in a while
[2010/02/09 03:40:12] <LinuxCode> Im there
[2010/02/09 03:40:38] @ giskard joined channel #puppet
[2010/02/09 03:40:57] <LinuxCode> ;-p
[2010/02/09 03:41:24] <|shad0w|> I are not enter that chan
[2010/02/09 03:41:31] <|shad0w|> dare*
[2010/02/09 03:41:58] <|shad0w|> so when did you hop on the puppet wagon ?
[2010/02/09 03:42:34] <ohadlevy> linuxcode: cool
[2010/02/09 03:46:49] <LinuxCode> |shad0w|, last year some time
[2010/02/09 03:46:57] <LinuxCode> I think sat down at FUDcon
[2010/02/09 03:47:03] <LinuxCode> and slowly got into it
[2010/02/09 03:47:09] <LinuxCode> well, trying lol
[2010/02/09 03:47:31] <LinuxCode> learn something new every day
[2010/02/09 03:47:54] <|shad0w|> I haven't made the dive yet. Been lurking here gathering info. Sadly I won't be able to start with fresh boxes so pulling in servers a few at a time based on roles should be fun
[2010/02/09 03:48:18] <LinuxCode> top tip, make some staging machines you can bust up
[2010/02/09 03:48:27] <LinuxCode> 2 will do
[2010/02/09 03:48:38] <LinuxCode> can be VMs
[2010/02/09 03:48:43] @ poison joined channel #puppet
[2010/02/09 03:49:14] <|shad0w|> already have a few
[2010/02/09 03:49:18] <|shad0w|> haven't done much with them yet
[2010/02/09 03:50:01] <|shad0w|> but our deployment is decently extensive without much consistency
[2010/02/09 03:50:37] <LinuxCode> hehe
[2010/02/09 03:51:05] * LinuxCode likes puppet
[2010/02/09 03:51:11] <LinuxCode> takes some time to get your head around it
[2010/02/09 03:51:20] <LinuxCode> but it will be worth it in the end
[2010/02/09 03:51:31] <|shad0w|> yeah, I just have to find the time and get manager buy in
[2010/02/09 03:51:38] @ raphink joined channel #puppet
[2010/02/09 03:51:46] <|shad0w|> took me long enough to get them to stop doing source installs and let me roll rpms and channels
[2010/02/09 03:51:53] <LinuxCode> lol
[2010/02/09 03:51:56] <LinuxCode> my god!
[2010/02/09 03:52:18] <|shad0w|> started some other standards too, but I have a few in my group who have no vision
[2010/02/09 03:52:37] <|shad0w|> hoping I can whip them with puppet
[2010/02/09 03:52:45] <|shad0w|> make a change, ohes noes, now it's gone
[2010/02/09 03:53:01] @ qwebirc65979 joined channel #puppet
[2010/02/09 03:53:12] <qwebirc65979> ll
[2010/02/09 03:53:28] <qwebirc65979> pwd
[2010/02/09 03:53:32] <qwebirc65979> pwd
[2010/02/09 03:53:43] <LinuxCode> qwebirc65979, this is not your shell
[2010/02/09 03:54:00] @ qwebirc65979 left channel #puppet ()
[2010/02/09 03:54:02] <LinuxCode> lol
[2010/02/09 03:54:13] <LinuxCode> would be funny though, a shell that talks back
[2010/02/09 03:54:33] <LinuxCode> |shad0w|, it will save you guys time
[2010/02/09 03:54:36] @ Quit: poison: Remote host closed the connection
[2010/02/09 03:54:37] <f3ew> All shells talk back
[2010/02/09 03:55:04] <LinuxCode> and allow for some degree of quality assurance
[2010/02/09 03:56:13] @ Quit: monachus: Quit: Terminated with extreme prejudice - dircproxy 1.0.5
[2010/02/09 03:56:49] @ monachus joined channel #puppet
[2010/02/09 03:58:24] @ pinoyskull joined channel #puppet
[2010/02/09 04:03:21] @ Quit: Syn`work: Read error: Connection reset by peer
[2010/02/09 04:03:26] @ Quit: dyresen: Remote host closed the connection
[2010/02/09 04:06:58] @ peiriannydd joined channel #puppet
[2010/02/09 04:07:34] @ peiriannydd left channel #puppet ()
[2010/02/09 04:07:43] @ lucky__ joined channel #puppet
[2010/02/09 04:09:19] @ MattyM joined channel #puppet
[2010/02/09 04:09:31] @ Robbie joined channel #puppet
[2010/02/09 04:09:53] @ TREllis joined channel #puppet
[2010/02/09 04:09:59] @ Robbie is now known as Guest27420
[2010/02/09 04:14:45] <TheAvatar> Uhm, can I do something like "if file 'some file' is absent, do the following actions", where I would have some given 'exec' statements that should be triggered. I'm running 24.8
[2010/02/09 04:15:10] @ danielbln joined channel #puppet
[2010/02/09 04:17:38] @ tim|macbook joined channel #puppet
[2010/02/09 04:18:03] @ alban2 joined channel #puppet
[2010/02/09 04:18:37] <Djelibeybi> TheAvatar: creates => '/path/to/file'
[2010/02/09 04:18:43] <Djelibeybi> In your exec
[2010/02/09 04:19:09] <LinuxCode> ohadlevy, thanks again mate for the help
[2010/02/09 04:19:10] <Djelibeybi> That tells the exec that a successful run would create that file. So the exec will run every time that file doesn't exist
[2010/02/09 04:19:20] <LinuxCode> jamesturnbull, also thank you for the plugin link
[2010/02/09 04:19:26] <LinuxCode> was very useful
[2010/02/09 04:19:28] <LinuxCode> ;-D
[2010/02/09 04:19:37] * LinuxCode heads out
[2010/02/09 04:19:39] <LinuxCode> bye all
[2010/02/09 04:19:51] <jamesturnbull> jamesturnbull: de nada
[2010/02/09 04:19:56] <jamesturnbull> LinuxCode: de nada even
[2010/02/09 04:20:38] <LinuxCode> hehe
[2010/02/09 04:20:40] <LinuxCode> I got it
[2010/02/09 04:20:54] * LinuxCode sees a deja vu in reverse happening
[2010/02/09 04:21:01] <LinuxCode> last time I did that hehe
[2010/02/09 04:21:49] @ Quit: LinuxCode: Quit: Connection Closed
[2010/02/09 04:22:06] <TheAvatar> Djelibeybi, let me give that a shot, thanks
[2010/02/09 04:28:48] @ Quit: alban2: Quit: Leaving.
[2010/02/09 04:32:17] @ macbar joined channel #puppet
[2010/02/09 04:33:03] @ gebi joined channel #puppet
[2010/02/09 04:36:51] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/09 04:38:39] @ Ramonster joined channel #puppet
[2010/02/09 04:41:12] @ mattwynne joined channel #puppet
[2010/02/09 04:43:11] @ benlovell joined channel #puppet
[2010/02/09 04:49:20] @ verwilst joined channel #puppet
[2010/02/09 04:58:56] @ jfreeman joined channel #puppet
[2010/02/09 05:04:07] @ SOLEIL joined channel #puppet
[2010/02/09 05:04:10] <SOLEIL> http://konkurranse.ps.no/vote/208
[2010/02/09 05:04:13] @ SOLEIL left channel #puppet ()
[2010/02/09 05:07:14] <SyTonnerre> Hm
[2010/02/09 05:08:54] @ qwebirc96950 joined channel #puppet
[2010/02/09 05:09:02] @ blahdeblah joined channel #puppet
[2010/02/09 05:10:33] <duritong> is it something shiny?
[2010/02/09 05:12:47] <qwebirc96950> Is this type of module nesting allowed? http://imgur.com/I8D60
[2010/02/09 05:13:45] <qwebirc96950> where we have a module nested in another modules. e.g. services/yum/ where services is a module and yum is a module also.
[2010/02/09 05:13:50] @ Jenza joined channel #puppet
[2010/02/09 05:16:53] <duritong> qwebirc96950: it won't be able to load things
[2010/02/09 05:17:18] <duritong> or only if you add for each nested module a seperated modulepath
[2010/02/09 05:17:25] <duritong> but I would avoid that
[2010/02/09 05:18:21] @ omry__|work joined channel #puppet
[2010/02/09 05:20:13] <qwebirc96950> duritong: thanks.
[2010/02/09 05:20:45] @ Quit: omry_|work: Ping timeout: 276 seconds
[2010/02/09 05:22:54] @ yarihm joined channel #puppet
[2010/02/09 05:24:01] @ lohapuk-away is now known as lohapuk
[2010/02/09 05:25:11] @ qwebirc42500 joined channel #puppet
[2010/02/09 05:25:21] @ PsychoSid1 joined channel #puppet
[2010/02/09 05:26:39] @ Quit: PsychoSid: Ping timeout: 256 seconds
[2010/02/09 05:30:45] @ poison joined channel #puppet
[2010/02/09 05:31:04] @ ckauhaus joined channel #puppet
[2010/02/09 05:31:10] @ _nono_ joined channel #puppet
[2010/02/09 05:32:23] @ Quit: ckauhaus: Client Quit
[2010/02/09 05:34:41] @ ckauhaus joined channel #puppet
[2010/02/09 05:36:08] @ Quit: benlovell: Quit: benlovell
[2010/02/09 05:42:20] @ benlovell joined channel #puppet
[2010/02/09 05:43:46] @ shug joined channel #puppet
[2010/02/09 05:48:25] @ Quit: jfreeman: Ping timeout: 264 seconds
[2010/02/09 05:49:26] @ Quit: qwebirc42500: Quit: Page closed
[2010/02/09 05:52:26] @ ffrank joined channel #puppet
[2010/02/09 05:53:03] <ffrank> hi. i want to concatenate file snippets on the puppet master as depicted in http://pastie.org/816049
[2010/02/09 05:53:45] <ffrank> the entry_line define works well, all lines end up in the file, but the "meta"-define special_line does not work, nothing shows up in the file
[2010/02/09 05:55:21] @ Quit: skiold: Read error: Connection reset by peer
[2010/02/09 05:56:54] @ Quit: PsychoSid1: Ping timeout: 272 seconds
[2010/02/09 05:59:40] @ Quit: poison: Remote host closed the connection
[2010/02/09 05:59:51] @ Quit: vzctl_: Read error: Operation timed out
[2010/02/09 06:00:44] @ skiold joined channel #puppet
[2010/02/09 06:02:03] @ re__ joined channel #puppet
[2010/02/09 06:02:04] @ Quit: re_: Read error: Connection reset by peer
[2010/02/09 06:02:04] @ re__ is now known as re_
[2010/02/09 06:02:16] <ffrank> ah - seems to be some kind of scoping issue
[2010/02/09 06:05:08] @ ViNiL joined channel #puppet
[2010/02/09 06:08:55] @ Quit: re_: Ping timeout: 265 seconds
[2010/02/09 06:11:57] @ vzctl_ joined channel #puppet
[2010/02/09 06:12:27] <ffrank> apparently, after collecting all "top level scope" resources, puppet binds the template variables (or something) ? inner resources are not respected...
[2010/02/09 06:13:56] <ohadlevy> ffrank: does it work with notify?
[2010/02/09 06:14:39] @ re_ joined channel #puppet
[2010/02/09 06:15:20] <ffrank> special_line { "foo": env => "FOO=BAR", notify => Array_file["/tmp/arrayed"] }
[2010/02/09 06:15:24] <ffrank> no effect
[2010/02/09 06:17:24] @ mfladischer joined channel #puppet
[2010/02/09 06:18:17] @ ahasenack joined channel #puppet
[2010/02/09 06:18:18] @ Quit: agaffney: Ping timeout: 252 seconds
[2010/02/09 06:22:19] <ffrank> forsooth. i experimented with realize(), but to no avail
[2010/02/09 06:23:06] <ffrank> resources inside defines are always late for variable binding
[2010/02/09 06:23:15] <ffrank> showstopper
[2010/02/09 06:24:33] <ohadlevy> ffrank: wont extlookup or external nodes solve your issue?
[2010/02/09 06:25:09] @ agaffney joined channel #puppet
[2010/02/09 06:26:51] <ffrank> ohadlevy: i haven't yet gotten into those concepts. so that would help?
[2010/02/09 06:27:59] <ohadlevy> ffrank: i didnt look much into your problems, but both of them solve scoping issues
[2010/02/09 06:28:09] @ ViNiL left channel #puppet ()
[2010/02/09 06:31:27] @ Quit: ckauhaus: Read error: Operation timed out
[2010/02/09 06:31:44] @ Quit: Jenza: Quit: leaving
[2010/02/09 06:32:24] @ Quit: benlovell: Quit: benlovell
[2010/02/09 06:33:12] <ffrank> hmm - extlookup deals with variables, right? i can't see this doing much good here
[2010/02/09 06:36:12] <ffrank> ohadlevy: meh, i think them scoping issues are on a whole different level...
[2010/02/09 06:38:44] @ re__ joined channel #puppet
[2010/02/09 06:38:44] @ Quit: re_: Read error: Connection reset by peer
[2010/02/09 06:38:44] @ re__ is now known as re_
[2010/02/09 06:39:38] <ffrank> please observe the debug output: http://pastie.org/816094
[2010/02/09 06:39:55] @ Quit: pinoyskull: Quit: Leaving
[2010/02/09 06:41:35] <abien> Anyone managing Users (and homedirs) via puppet? afai understand the documentation, i should be able to have puppet create the homedirs.. but it wount -> http://ruby.pastebin.com/d53637978
[2010/02/09 06:42:34] <Volcane> we cant really help you if you only give us half the information
[2010/02/09 06:42:38] <Volcane> like no error messages
[2010/02/09 06:42:47] @ tyll joined channel #puppet
[2010/02/09 06:43:11] <ffrank> abien: consider the definition of account() in http://reductivelabs.com/trac/puppet/wiki/Recipes/Authorized_keys
[2010/02/09 06:43:24] <fluxdude> when doing "puppetd --disable" how long does it stay disabled for?
[2010/02/09 06:43:38] <fluxdude> and how does one distinguish between disabled and another instance running?
[2010/02/09 06:43:38] <jamesturnbull> abien: manages_homedir => 'true',
[2010/02/09 06:43:57] <jamesturnbull> fluxdude: it stays disabled until you re-enable it
[2010/02/09 06:44:05] <fluxdude> could this stay disabled indefinitely if you don't check on it, preventing the machine from being managed in future?
[2010/02/09 06:44:10] <fluxdude> ah
[2010/02/09 06:44:12] <ffrank> fluxdude: no other instances are allowed, there is locking
[2010/02/09 06:44:35] <fluxdude> ffrank: yes but how do you tell if it is disabled?
[2010/02/09 06:44:43] <ohadlevy> fluxdude: you could monitor for out of sync hosts - thats a good practice
[2010/02/09 06:44:48] <fluxdude> rather than just having another instance already running
[2010/02/09 06:44:51] <jamesturnbull> fluxdude: well it won't start :)
[2010/02/09 06:45:03] <jamesturnbull> fluxdude: puppetlast in the ext directory is useful for that
[2010/02/09 06:45:33] <ohadlevy> fluxdude: or foreman
[2010/02/09 06:45:34] <fluxdude> ext directory?
[2010/02/09 06:45:35] <Volcane> if you have /var/lib/puppet/state/puppetdlock and its empty == disabled
[2010/02/09 06:45:44] <Volcane> if you have /var/lib/puppet/state/puppetdlock and it has a pid in it == currently running
[2010/02/09 06:45:51] <ohadlevy> will also send you email reminders about machines which are not running puppet
[2010/02/09 06:45:51] <fluxdude> Volcane: thanks!
[2010/02/09 06:45:57] <jamesturnbull> fluxdude: in the ext directory of the puppet source tarball
[2010/02/09 06:46:48] @ Quit: blahdeblah: Quit: Leaving.
[2010/02/09 06:47:08] <Volcane> you can look at hte mcollective puppet agent code but it reports like this data: http://www.pastie.org/816103
[2010/02/09 06:47:17] <fluxdude> jamesturnbull: ah yes that's neat didn't know that
[2010/02/09 06:47:28] <fluxdude> Volcane: you remind me, still trying to find time for that
[2010/02/09 06:47:34] <fluxdude> so much to do here
[2010/02/09 06:47:46] <fluxdude> maybe I'll just roll it today...
[2010/02/09 06:48:04] <jamesturnbull> fluxdude: http://www.kartar.net/2009/06/puppet-extras-denizens-of-the-puppet-ext-directory/
[2010/02/09 06:48:05] <fluxdude> on to a couple of machines and add to my new repos
[2010/02/09 06:48:12] <fluxdude> for when I roll out to the rest
[2010/02/09 06:49:21] @ benlovell joined channel #puppet
[2010/02/09 06:58:21] <ffrank> is there a way i could defer the binding of template variables?
[2010/02/09 06:58:41] <fluxdude> jamesturnbull: thanks for the link!
[2010/02/09 07:00:31] @ Jenza joined channel #puppet
[2010/02/09 07:02:11] @ Quit: m1nish: Ping timeout: 246 seconds
[2010/02/09 07:02:56] <ohadlevy> ffrank: any chance you are hitting #2309 ?
[2010/02/09 07:02:56] <gepetto> ohadlevy: ffrank: #2309 is http://projects.reductivelabs.com/issues/show/2309 "Puppet - Bug #2309: Defined resources are not evaluated immediately which can cause ordering problems - ReductiveLabs.com"
[2010/02/09 07:03:39] <ffrank> ohadlevy: ooh, pretty much so!
[2010/02/09 07:04:03] <ohadlevy> yeah, I spent a whole day on that on..
[2010/02/09 07:04:33] @ Quit: benlovell: Quit: benlovell
[2010/02/09 07:04:37] <ffrank> ohadlevy: i think i hit that before and worked around it using yet another <| |> override. masterzen told me to i think...let's see...
[2010/02/09 07:12:11] <ffrank> no, doesn't apply here. at that time, i had a define that would override some template vars in one go, not recursive defines like here
[2010/02/09 07:21:24] <ffrank> ohadlevy: hmm. i just realized, depth-first evaluation wouldn't solve my issue, either
[2010/02/09 07:32:29] @ justdave joined channel #puppet
[2010/02/09 07:37:05] @ Quit: yappy: Quit: leaving
[2010/02/09 07:37:29] @ brokentpyo joined channel #puppet
[2010/02/09 07:41:05] <ffrank> ohadlevy: hah! got a workaround. http://pastie.org/816156 is good enough for me. might even work around #2309...?
[2010/02/09 07:41:10] <gepetto> ffrank: ohadlevy: #2309 is http://projects.reductivelabs.com/issues/show/2309 "Puppet - Bug #2309: Defined resources are not evaluated immediately which can cause ordering problems - ReductiveLabs.com"
[2010/02/09 07:42:22] @ jab_doa joined channel #puppet
[2010/02/09 07:52:51] @ poison joined channel #puppet
[2010/02/09 07:54:23] @ kaisteverding joined channel #puppet
[2010/02/09 07:54:29] <kaisteverding> Hi there
[2010/02/09 07:55:00] <kaisteverding> has anybody tried puppet on the new ubuntu 10.04 alpha ? I experienced problems with exec
[2010/02/09 07:55:10] <kaisteverding> it does not seem to work
[2010/02/09 07:56:39] <fluxdude> I know some people here are using Foreman with puppet and for provisioning, how are you patching your systems?
[2010/02/09 07:56:48] <fluxdude> Do any of you have Satellite/Spacewalk etc?
[2010/02/09 07:57:38] @ thomas54321 joined channel #puppet
[2010/02/09 07:57:41] @ rmiller4pi81 joined channel #puppet
[2010/02/09 07:59:30] @ Quit: rmiller4pi8: Ping timeout: 252 seconds
[2010/02/09 08:00:00] <kaisteverding> hm, anybody here ?
[2010/02/09 08:04:32] <ffrank> kaisteverding: yes, but apparently no ubuntu alpha folks
[2010/02/09 08:04:38] <thomas54321> does anyone know in what directory in my puppet module do i need to put custom types for puppet 0.25 ?
[2010/02/09 08:04:39] @ warreng joined channel #puppet
[2010/02/09 08:06:13] <kaisteverding> hm, bad luck
[2010/02/09 08:06:44] <ffrank> kaisteverding: what puppet version is in that distro, anyway?
[2010/02/09 08:06:48] <Volcane> maybe no1 is helping because 'it does not work' is a pointless question with zero information or anything needed for us to help you?
[2010/02/09 08:07:28] <kaisteverding> @volcane : I would give more information if i know that somebody is asking for it :)
[2010/02/09 08:07:46] <kaisteverding> it is version 0.25.1
[2010/02/09 08:08:19] <Volcane> well presumably you know its not working somehow, you've done some debugging and came to that conclusion
[2010/02/09 08:08:44] <ffrank> kaisteverding: post a bare bones example manifest with "puppet <manifest> -d" output to one of the paste services
[2010/02/09 08:08:52] <kaisteverding> yup, i made a small test class :
[2010/02/09 08:09:03] <kaisteverding> class testmodule { exec {"TEST-EXEC" : cwd => "/tmp/", command =>"/usr/bin/touch /tmp/7777 >/tmp/123 2>&1", timeout => 5, logoutput=> on_failure } }
[2010/02/09 08:09:04] <Volcane> kaisteverding: put on pastie.org please, also output of puppetd --test
[2010/02/09 08:09:13] <kaisteverding> ok, just a moment
[2010/02/09 08:10:20] <kaisteverding> http://pastie.org/816186
[2010/02/09 08:10:53] <ohadlevy> fluxdude: i freeze my repo every now and then, this way all of my servers have the same patch level, so a simple yum/apt-get ensure they are aligned
[2010/02/09 08:11:19] <ffrank> kaisteverding: is that puppet <manifest> or puppetd --test ?
[2010/02/09 08:11:36] <Volcane> kaisteverding: and does it create either of those files?
[2010/02/09 08:11:44] <kaisteverding> nope, no file is created
[2010/02/09 08:11:50] <kaisteverding> absolutely nothing
[2010/02/09 08:11:57] <Volcane> do you run selinux?
[2010/02/09 08:12:17] <kaisteverding> not to my knowledge, let me have a look if it is activated by default
[2010/02/09 08:12:28] <ffrank> i've had similar results with 0.25.1 in debian sid. exec keeps hanging. puppetd + puppet master works though
[2010/02/09 08:12:41] <Volcane> LOTS of exec related changes between .1 and .4
[2010/02/09 08:12:44] <Volcane> I'd def suggest updating
[2010/02/09 08:12:57] <ffrank> kaisteverding: are you running a local manifest or puppetd?
[2010/02/09 08:13:07] <kaisteverding> i am running puppetd
[2010/02/09 08:13:46] @ Bass10 joined channel #puppet
[2010/02/09 08:13:51] <kaisteverding> I tried the same test class successfully on a debian lenny box with 0.24.5
[2010/02/09 08:14:20] <ffrank> kaisteverding: exactly my situation, which is why i'm glad our production env is pure lenny :)
[2010/02/09 08:14:37] @ phips joined channel #puppet
[2010/02/09 08:14:48] <Volcane> kaisteverding: def try 0.25.4
[2010/02/09 08:15:01] <kaisteverding> my env is lenny and etch at the moment, but i want to change to ubuntu when the new lts is out in april
[2010/02/09 08:15:42] <kaisteverding> so this a testing environment now, but lts (and its updates) are definitly worth a look
[2010/02/09 08:15:50] <ffrank> kaisteverding: my guess is that the 0.25.1 debian package is crooked then. contact the maintainer
[2010/02/09 08:16:09] <Volcane> there were puppet bugs fixed related to execs
[2010/02/09 08:16:40] @ Welsh_Dwarf joined channel #puppet
[2010/02/09 08:16:59] <thomas54321> do custom types go in module/lib/puppet/types/ in puppet 0.25 ?
[2010/02/09 08:18:14] <Volcane> thomas54321: I'd guess lib/puppet/type/foo.rb
[2010/02/09 08:18:41] <kaisteverding> thanks for the help. I will have a look at the packages and their maintainer
[2010/02/09 08:18:56] <Volcane> kaisteverding: just upgrade to 0.25.4
[2010/02/09 08:20:10] <ffrank> Volcane: rolling your own version of the puppet package is undesirable in many situations
[2010/02/09 08:21:03] <Volcane> they've made them trivial to build with git build pkg or something. anyway, 0.25.1 is broken if u want it to work you need to update
[2010/02/09 08:21:12] <Volcane> presumably your distribution allow for updates
[2010/02/09 08:21:31] <thomas54321> that's not seeming to work, for some reason
[2010/02/09 08:22:16] <thomas54321> ls
[2010/02/09 08:22:18] <ffrank> speaking only for myself, i have no need to tolerate the overhead...
[2010/02/09 08:22:24] <thomas54321> oops
[2010/02/09 08:28:14] @ ashp joined channel #puppet
[2010/02/09 08:28:14] @ Quit: ashp: Client Quit
[2010/02/09 08:35:27] <kaisteverding> hm, i updated to 0.25.4 (found the debian packets in unstable). No change in behaviour :(
[2010/02/09 08:36:04] <ffrank> ah indeed. i should run that dist-upgrade i'd been queuing :)
[2010/02/09 08:36:41] <ffrank> kaisteverding: have you done a /etc/init.d/puppet restart?
[2010/02/09 08:36:44] <kaisteverding> i don't know if you get it via apt :) I got it manually from the pool dir : http://ftp.debian.org/debian/pool/main/p/puppet/
[2010/02/09 08:36:57] <kaisteverding> yup, i stopped all processes, and restarted
[2010/02/09 08:37:00] <ffrank> kaisteverding: you ubuntu folk are disgusting ;p
[2010/02/09 08:38:10] @ Quit: thomas54321: Quit: thomas54321
[2010/02/09 08:38:44] <Volcane> kaisteverding: thats pretty weird, did you check if you're running selinux?
[2010/02/09 08:39:12] <kaisteverding> yes, i did. No securelinux
[2010/02/09 08:39:29] @ bug joined channel #puppet
[2010/02/09 08:39:41] <Volcane> then I'd say you should file a bug :(
[2010/02/09 08:40:17] <kaisteverding> strange things happen : I have another ubuntu server cloned from the one i tried with. I just installed the new version there : It works
[2010/02/09 08:40:35] <kaisteverding> i thing a have to have a coffee and see if i can work it out :)
[2010/02/09 08:40:46] @ mfournier joined channel #puppet
[2010/02/09 08:40:47] <ffrank> kaisteverding: maybe a runaway puppetd process lingering on the old machine? try rebooting if you can
[2010/02/09 08:42:17] <jamesturnbull> kaisteverding: I think you've got some lose files hanging around
[2010/02/09 08:42:21] <jamesturnbull> loose
[2010/02/09 08:42:57] <jamesturnbull> kaisteverding: you need to delete your old puppet lib and binaries files if you're upgrading manually
[2010/02/09 08:43:35] <kaisteverding> thank you james, i will remove everything and try again
[2010/02/09 08:43:47] @ Quit: mfournier: Client Quit
[2010/02/09 08:44:22] @ mfournier joined channel #puppet
[2010/02/09 08:45:52] @ Quit: skiold: Quit: skiold
[2010/02/09 08:45:52] @ jcape joined channel #puppet
[2010/02/09 08:48:22] @ Robbie joined channel #puppet
[2010/02/09 08:48:56] @ Robbie is now known as Guest82957
[2010/02/09 08:49:03] @ cliff-hm joined channel #puppet
[2010/02/09 08:50:13] @ Quit: Guest27420: Ping timeout: 264 seconds
[2010/02/09 08:53:07] @ andreas__ joined channel #puppet
[2010/02/09 08:56:46] @ Quit: ahasenack: Ping timeout: 272 seconds
[2010/02/09 08:57:58] @ skiold joined channel #puppet
[2010/02/09 09:01:35] @ rmiller4pi8 joined channel #puppet
[2010/02/09 09:02:09] @ Quit: jcape: Ping timeout: 260 seconds
[2010/02/09 09:03:44] @ Quit: rmiller4pi81: Ping timeout: 272 seconds
[2010/02/09 09:04:56] <kaisteverding> it remains strange. I deinstalled puppet, removed all the files, reinstalled version 0.25.4
[2010/02/09 09:05:16] <kaisteverding> and still the exec call doesn't work on the puppetmaster server itself
[2010/02/09 09:05:24] <kaisteverding> if works on another server
[2010/02/09 09:05:57] <kaisteverding> both are ubuntu lucid, the puppetmaster server is a clone of the "client-server"
[2010/02/09 09:08:10] @ Quit: skiold: Quit: skiold
[2010/02/09 09:11:35] <gepetto> ::trac:: Whos Using Puppet edited @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet?version=201
[2010/02/09 09:11:35] <gepetto> ::trac:: Whos Using Puppet edited @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet?version=202
[2010/02/09 09:12:48] @ themurph joined channel #puppet
[2010/02/09 09:13:03] @ skiold joined channel #puppet
[2010/02/09 09:14:37] @ Quit: brothers: Quit: brothers
[2010/02/09 09:20:58] @ jcape joined channel #puppet
[2010/02/09 09:25:20] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/02/09 09:26:34] @ rmiller4pi8 joined channel #puppet
[2010/02/09 09:27:49] @ Quit: kolla: Remote host closed the connection
[2010/02/09 09:30:09] @ itchyGal joined channel #puppet
[2010/02/09 09:30:56] @ pheezy joined channel #puppet
[2010/02/09 09:35:51] @ Quit: lucky__: Quit: Leaving...
[2010/02/09 09:36:43] <zirpu> lucid is still in beta isn't it?
[2010/02/09 09:37:38] @ malraid joined channel #puppet
[2010/02/09 09:37:44] @ kaptk2 joined channel #puppet
[2010/02/09 09:38:35] <ffrank> can i get a "stacktrace" for duplicate definitions? *argh*
[2010/02/09 09:45:07] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/02/09 09:46:03] <joe-mac> ffrank: paste the code for the definition in question on pastie.org
[2010/02/09 09:46:09] @ ccaum joined channel #puppet
[2010/02/09 09:50:56] <ffrank> joe-mac: it's not "a definition", i was substituting a range of custom defines with _devel ones for a specific node, but it kept including an original class causing a clash
[2010/02/09 09:51:07] <ffrank> i found it in the meantime
[2010/02/09 09:51:25] <joe-mac> o i c
[2010/02/09 09:51:48] <joe-mac> zirpu: yes, the new LTS is not out yet
[2010/02/09 09:52:29] <joe-mac> last time i tried the beta it didn't really work too well
[2010/02/09 09:55:24] @ mvn071 joined channel #puppet
[2010/02/09 09:59:27] @ Quit: RageLink: Quit: up up and away
[2010/02/09 09:59:42] @ Quit: ffrank: Quit: leaving
[2010/02/09 10:00:10] @ unxfrek joined channel #puppet
[2010/02/09 10:07:09] <kaisteverding> Anybody interested in the solution for my strange exec problem ?
[2010/02/09 10:09:53] <|Mike|> pastie it :)
[2010/02/09 10:10:33] <kaisteverding> I noticed the only difference between the machine with the problem and the other machine was the number of cpu's
[2010/02/09 10:10:54] <kaisteverding> the not working machine only had 1 cpu, the working had 2.
[2010/02/09 10:11:15] <kaisteverding> So i changed the machine to 2 cpu's (fortunatly it is a VM) and now it works
[2010/02/09 10:13:34] <andreas__> that's... strange indeed
[2010/02/09 10:13:37] @ Quit: unxfrek: Remote host closed the connection
[2010/02/09 10:13:43] @ Quit: verwilst: Quit: Ex-Chat
[2010/02/09 10:14:07] <kaisteverding> yup, but reproducable
[2010/02/09 10:14:21] <kaisteverding> i really don't know where to file that bug ;)
[2010/02/09 10:14:45] @ docelic joined channel #puppet
[2010/02/09 10:16:45] @ shenson joined channel #puppet
[2010/02/09 10:21:33] @ Robbie joined channel #puppet
[2010/02/09 10:21:39] @ Quit: Guest82957: Read error: No route to host
[2010/02/09 10:21:39] @ Quit: suchu: Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]
[2010/02/09 10:21:51] @ Quit: mfladischer: Quit: Ex-Chat
[2010/02/09 10:22:02] @ Robbie is now known as Guest17844
[2010/02/09 10:22:28] @ brothers joined channel #puppet
[2010/02/09 10:22:35] @ andreas__ is now known as ahasenack
[2010/02/09 10:23:15] @ Quit: Guest17844: Remote host closed the connection
[2010/02/09 10:23:15] @ GGD joined channel #puppet
[2010/02/09 10:26:47] @ alban2 joined channel #puppet
[2010/02/09 10:28:23] @ rmiller4pi8 joined channel #puppet
[2010/02/09 10:28:58] <tim|macbook> hm... how do I check if $interfaces contains eth0 if it's "eth0,eth1" (for instance)
[2010/02/09 10:29:03] @ Quit: rmiller4pi8: Client Quit
[2010/02/09 10:29:09] <tim|macbook> ah... regex of course!
[2010/02/09 10:29:31] @ rmiller4pi8 joined channel #puppet
[2010/02/09 10:30:08] <fsweetser> be careful that you don't accidentally match on virtual interfaces off of eth0, though, like eth0:0 or eth0.42
[2010/02/09 10:30:32] <tim|macbook> ah yeah, thx for the tip
[2010/02/09 10:31:07] <tim|macbook> .*eth0[,$].*
[2010/02/09 10:39:40] <tim|macbook> better yet, i can simply check if there's a $interface_eth0
[2010/02/09 10:39:54] @ fzzzt joined channel #puppet
[2010/02/09 10:40:22] <fzzzt> So, when places have multiple Puppet servers, what is done with certificates to make the clients happy?
[2010/02/09 10:40:56] <tim|macbook> make sure the puppetmasters all use the same certs? or do you mean something else?
[2010/02/09 10:41:01] @ jmslagle joined channel #puppet
[2010/02/09 10:41:13] <ohadlevy> fzzzt: just use one master to sign the other masters
[2010/02/09 10:41:13] <fzzzt> wouldn't that cause hostname matching problems?
[2010/02/09 10:41:15] <jmslagle> Hrm - my puppetmaster stopped serving CA requests for some reason.
[2010/02/09 10:42:06] <jmslagle> Aha.
[2010/02/09 10:42:12] <jmslagle> Poo - EPEL has 0.25 in it :)
[2010/02/09 10:42:16] <jmslagle> Time to upgrade I guess
[2010/02/09 10:42:22] <fzzzt> yay finally!
[2010/02/09 10:42:25] <jmslagle> Can 0.24 puppet clients connect to a 0.25 server?
[2010/02/09 10:42:29] <fzzzt> no more leeching off tz
[2010/02/09 10:42:34] <SyTonnerre> jmslagle, sure
[2010/02/09 10:42:35] <fzzzt> mostly yes
[2010/02/09 10:45:32] @ Quit: shug: Quit: Leaving
[2010/02/09 10:51:33] @ TREllis_ joined channel #puppet
[2010/02/09 10:52:22] @ tripoux joined channel #puppet
[2010/02/09 10:53:06] @ Quit: TREllis: Ping timeout: 245 seconds
[2010/02/09 10:53:17] @ TREllis_ is now known as TREllis
[2010/02/09 10:54:44] @ Quit: tripoux: Client Quit
[2010/02/09 10:56:00] @ tripoux joined channel #puppet
[2010/02/09 10:56:37] @ bpgoldsb joined channel #puppet
[2010/02/09 10:57:06] <bpgoldsb> If I set fqdn, puppet should use that for determining the certificate, not the actual hostname, correct?
[2010/02/09 11:00:03] @ labrown joined channel #puppet
[2010/02/09 11:02:01] <SyTonnerre> facter should set fqdn, not you
[2010/02/09 11:02:15] <tmz> fzzzt: 0.25.x is still in epel-testing (though it's been there since 0.25.1).
[2010/02/09 11:02:33] <jmslagle> Hoping 0.25.4 has made it
[2010/02/09 11:02:39] <tmz> jmslagle: Yeah, 0.24.x clients can talk to 0.25.x servers. The other direction is not so good.
[2010/02/09 11:03:11] <tmz> jmslagle: Yes, 0.25.4 is what's in epel-testing.
[2010/02/09 11:06:25] @ Quit: tim|macbook: Quit: tim|macbook
[2010/02/09 11:07:40] @ shenson-real joined channel #puppet
[2010/02/09 11:08:13] <jmslagle> Yeah I see that now
[2010/02/09 11:08:14] <jmslagle> Yay!
[2010/02/09 11:08:18] <jmslagle> I wanted 0.25
[2010/02/09 11:08:33] <jmslagle> I'll have to redo my passenger config no doubt, but I can wait on that for now
[2010/02/09 11:08:35] @ Quit: shenson: Ping timeout: 246 seconds
[2010/02/09 11:09:53] @ Quit: mqr: Quit: mqr
[2010/02/09 11:11:23] @ Quit: themurph-work: Quit: Leaving
[2010/02/09 11:12:49] @ lak joined channel #puppet
[2010/02/09 11:13:02] @ zazan joined channel #puppet
[2010/02/09 11:13:14] <zazan> good afternoon all
[2010/02/09 11:14:34] <bpgoldsb> Does anyone have any good recipes for doing puppet on a per-user basis for syncing home dirs?
[2010/02/09 11:15:15] <bpgoldsb> I'd like them to be able to manage their homedirs accross all machines, but I don't want it mucking with the centralized puppet configuration
[2010/02/09 11:17:01] @ nigelk joined channel #puppet
[2010/02/09 11:17:02] <zazan> hope that somebody is able to help me, I'm trying to use multiple environment into puppet, sort of creating a bootstrap one which all the machines upon puppet's firstboot will run and then a production one which will immediately follow. I defined the environments into /etc/puppet/puppet.conf (bootstrap site manifest /etc/puppet/bootstrap/site.pp containing import "/etc/puppet/nodes/default", i'm using the default node for the bootst
[2010/02/09 11:17:15] @ Quit: lilmatt: Quit: lilmatt
[2010/02/09 11:17:48] <Volcane> zazan: irc doesnt do that long sentence - got cut after "...i'm using the default node for the bootst"
[2010/02/09 11:18:03] <zazan> sorry Volcane, let me paste the rest of it
[2010/02/09 11:18:27] <zazan> i'm using the default node for the bootstrap part. Puppet seems to ignore it when the host node file is present
[2010/02/09 11:18:43] @ allsystemsarego joined channel #puppet
[2010/02/09 11:18:53] <zazan> so basically if the host is called nodea, if nodea node file is present it won't go through the default node
[2010/02/09 11:18:55] <Volcane> if your node is really checking into the right environment it shouldnt - i use the same setup
[2010/02/09 11:19:08] <Volcane> but only if you dont in some other place import the node files
[2010/02/09 11:19:26] <zazan> ye but the host is set to use environment = bootstrap in puppetd.conf
[2010/02/09 11:19:37] <zazan> it should force it
[2010/02/09 11:19:41] <Volcane> puppet.conf u mean?
[2010/02/09 11:19:46] <zazan> yes sorry :)
[2010/02/09 11:20:11] <Volcane> k, show your master puppet.conf and also double check you dont import node files anywhere in bootstrap env?
[2010/02/09 11:20:20] <zazan> yes
[2010/02/09 11:22:46] <zazan> well, hope i do not flood, i'm going to paste just the essential part of the puppetmasterd configuration part
[2010/02/09 11:22:48] <zazan> [puppetmasterd]nenvironments = bootstrap,productionnenvironment = bootstrap
[2010/02/09 11:22:54] <Volcane> on pastie.org pleas
[2010/02/09 11:22:56] @ Quit: pacalm: Quit: pacalm
[2010/02/09 11:23:08] <zazan> yep
[2010/02/09 11:23:40] @ RageLink joined channel #puppet
[2010/02/09 11:24:51] <zazan> Volcane: this is the puppetmasterd part http://pastie.org/816494
[2010/02/09 11:25:19] <Volcane> what version?
[2010/02/09 11:25:33] <zazan> the latest, 0.25.4
[2010/02/09 11:25:38] <Volcane> hmm
[2010/02/09 11:25:45] <Volcane> environment= and environments= can go then
[2010/02/09 11:25:55] <zazan> okay, let me try
[2010/02/09 11:26:10] <Volcane> show your bootstrap site.pp too
[2010/02/09 11:26:17] <zazan> yes
[2010/02/09 11:26:23] <zazan> give me just a second
[2010/02/09 11:26:42] <zazan> it's just a line import "/etc/puppet/nodes/default"
[2010/02/09 11:26:53] <Volcane> k
[2010/02/09 11:27:21] <zazan> and it works just if i remove the node file with the host's name where i run puppet from
[2010/02/09 11:28:02] <Volcane> so one of these nodes that should be getting bootstrap
[2010/02/09 11:28:12] <zazan> correct
[2010/02/09 11:28:16] <Volcane> see in /var/lib/puppet/yaml/node if they have it set
[2010/02/09 11:28:47] <Volcane> (on the master)
[2010/02/09 11:29:07] <zazan> interesting, there is set on production
[2010/02/09 11:29:17] <Volcane> do you set it in puppet.conf of your nodes?
[2010/02/09 11:29:21] <zazan> yes I do
[2010/02/09 11:29:41] <zazan> let me double-check quickly on the nodes, i'll be back in a min
[2010/02/09 11:29:43] @ ckauhaus joined channel #puppet
[2010/02/09 11:29:54] @ bodepd joined channel #puppet
[2010/02/09 11:31:43] <zazan> okay no, i tried to remove the yaml, rerun puppet on the node and now it shows up bootstrap in the yaml but still does not do what it's supposed to
[2010/02/09 11:32:08] @ Robbie_ joined channel #puppet
[2010/02/09 11:32:25] <zazan> now i remove the node file leaving the default and it works
[2010/02/09 11:33:03] @ Quit: grim_radical: Remote host closed the connection
[2010/02/09 11:33:20] @ eshamow joined channel #puppet
[2010/02/09 11:33:33] @ grim_radical joined channel #puppet
[2010/02/09 11:33:40] <brokentpyo> In a type what gets invoked first, the munge or the validate?
[2010/02/09 11:33:58] @ lutter joined channel #puppet
[2010/02/09 11:34:53] @ Quit: kaisteverding: Quit: Page closed
[2010/02/09 11:37:35] @ jes5 joined channel #puppet
[2010/02/09 11:41:06] @ Quit: Ramonster: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/
[2010/02/09 11:42:39] @ benkevan joined channel #puppet
[2010/02/09 11:44:23] @ himanshu joined channel #puppet
[2010/02/09 11:46:23] @ fluxdude2 joined channel #puppet
[2010/02/09 11:47:23] @ notbrien joined channel #puppet
[2010/02/09 11:48:56] @ Quit: fluxdude: Ping timeout: 245 seconds
[2010/02/09 11:49:21] @ Quit: Robbie_: Ping timeout: 245 seconds
[2010/02/09 11:52:45] @ LukeL_ joined channel #puppet
[2010/02/09 11:53:42] @ LukeL_ left channel #puppet ()
[2010/02/09 11:56:20] @ Quit: lak: Quit: lak
[2010/02/09 11:57:14] @ Robbie_ joined channel #puppet
[2010/02/09 11:57:28] @ tim|macbook joined channel #puppet
[2010/02/09 12:02:25] <zazan> Volcano: for some strange reasons it seems to always refer to the main site.pp
[2010/02/09 12:02:48] <zazan> ignoring the environments' ones
[2010/02/09 12:02:58] @ Quit: jaredrhine: Ping timeout: 272 seconds
[2010/02/09 12:03:21] <zazan> Volcane pardon :)
[2010/02/09 12:03:45] <nigelk> zazan: I think I saw something similar to that
[2010/02/09 12:03:49] <nigelk> try setting manifestdir instead?
[2010/02/09 12:04:02] <zazan> I'll try thanks
[2010/02/09 12:04:10] <nigelk> lemme dig up my bug report I think I did
[2010/02/09 12:04:37] @ Quit: jcape: Ping timeout: 264 seconds
[2010/02/09 12:05:36] <nigelk> ah my unrepeatable bug was different #2435
[2010/02/09 12:05:37] <gepetto> nigelk: #2435 is http://projects.reductivelabs.com/issues/show/2435 "Puppet - Bug #2435: puppetmasterd can't find per-environment modules with a global manifest entry point. - ReductiveLabs.com"
[2010/02/09 12:06:03] <nigelk> but zazan that does seem like what you're doing *should* work
[2010/02/09 12:06:48] <nigelk> I
[2010/02/09 12:06:58] <nigelk> I'll do a quick test this morning to see if I can get it working
[2010/02/09 12:07:17] @ toi joined channel #puppet
[2010/02/09 12:07:24] <Volcane> i have the same setup - seems fine
[2010/02/09 12:07:31] <Volcane> have tested in 0.25.x not in .4 though
[2010/02/09 12:08:13] <zazan> right, anyways I tried anything I could possibly imagine but it just ignores the manifest directive in the environments
[2010/02/09 12:08:19] <zazan> it always seems to use the main site.pp
[2010/02/09 12:08:38] <zazan> never mind, I will just create the host node file after the bootstrap
[2010/02/09 12:09:12] <zazan> thanks guys for your kind help
[2010/02/09 12:09:21] @ Quit: tim|macbook: Ping timeout: 245 seconds
[2010/02/09 12:10:00] <zazan> btw, tried with manifestdir same effect
[2010/02/09 12:10:37] @ Quit: alban2: Ping timeout: 264 seconds
[2010/02/09 12:12:59] <benkevan> how much resources does a puppet server typically take? and do you think it's ok to share svn / repository (software deployment) on the same server? I don't see anything for sizing in the getting started docs
[2010/02/09 12:14:54] <joe-mac> benkevan: mys vn is on a server that all masters can access which is also sort of administration jump-off/shell server
[2010/02/09 12:15:09] <joe-mac> i think a lot of people put it on the same box though
[2010/02/09 12:15:37] @ Quit: themurph: Quit: themurph
[2010/02/09 12:15:46] <benkevan> joe-mac: why the segmentation between masters? how big is your environment?
[2010/02/09 12:16:00] <benkevan> or do you have different environment for prod / dev?
[2010/02/09 12:16:14] <joe-mac> i have different environments, but also different locations
[2010/02/09 12:16:21] <joe-mac> soon to be a third puppet master on the west coast
[2010/02/09 12:16:28] @ Quit: jab_doa: Quit: Verlassend
[2010/02/09 12:16:31] @ Quit: brokentpyo: Quit: leaving
[2010/02/09 12:16:55] <joe-mac> i like the idea that a domain (lan) can still have functioning puppet if the vpn or wan is lost
[2010/02/09 12:16:59] <benkevan> I haven't looked much at the modularity or classes (still new to it).. but was hoping there was a class that could define a server as production vs development.. to either put or not put certain pam files in place.. (assuming it can)
[2010/02/09 12:17:12] <joe-mac> benkevan: puppet has its own idea of environments
[2010/02/09 12:17:13] <joe-mac> they are nice
[2010/02/09 12:17:20] <joe-mac> and work nicelty with svn branches imo
[2010/02/09 12:17:28] <benkevan> joe-mac: Yes.. that'd make sense.. even though the bandwith requirements should be low.. we have some pretty crappy lines haha..
[2010/02/09 12:17:34] <joe-mac> well, short-lived branches... the merge sucks if you let your branches get both way out of wack
[2010/02/09 12:18:03] <jb> yeah, you will want to make use of puppet's environments for that
[2010/02/09 12:18:32] <benkevan> jb: is puppet environments a class? or you mean seperate environments (ie different masters for development / production)
[2010/02/09 12:18:36] <jb> benkevan: http://www.devco.net/archives/2009/10/10/puppet_environments.php may help you
[2010/02/09 12:18:50] <jb> benkevan: each environment maintains separate classes/modules
[2010/02/09 12:18:54] <joe-mac> no puppet environment is not a class, it's a seperate folder in your config that contains separate modules, or classes
[2010/02/09 12:19:09] <joe-mac> yea, i like to do svn cp production jmcdonagh
[2010/02/09 12:19:13] <joe-mac> if i am doing a massive change
[2010/02/09 12:19:20] <benkevan> ah.. ok.. easily definable.. and understandable.. thanks.. reading that now
[2010/02/09 12:19:43] <joe-mac> that way it's apparent too if anyone on my team has decided they will be doing something massive, not likely now as i am the puppet master if you will, but they will be soon too once i force feed the knowledge
[2010/02/09 12:19:45] @ Quit: shine: Ping timeout: 256 seconds
[2010/02/09 12:20:03] @ GGD_ joined channel #puppet
[2010/02/09 12:20:16] <joe-mac> yea some of volcane's blog posts are so good i think jamesturnbull might want to ask to put them in the next book :-P
[2010/02/09 12:20:23] <joe-mac> esp the troubleshooting one
[2010/02/09 12:20:30] <jb> yeah
[2010/02/09 12:20:31] <jb> agreed
[2010/02/09 12:21:37] @ Pupeno joined channel #puppet
[2010/02/09 12:21:44] @ Quit: GGD: Ping timeout: 246 seconds
[2010/02/09 12:21:56] <benkevan> joe-mac: Well.. about a year ago I was a Sr Windows admin.. with experience in Linux (desktop / personal meddlings).. well our Linux admin that was hired for a certain project was a total douche.. and I was given the position (they needed someone quick with some experience), but I lacked the enterprise experience.. I quickly put together pull scripts and stashers to do the funcitonality I needed across the environment.. but now that project has been
[2010/02/09 12:21:58] <benkevan> successful I'm lookin at broadening my horizens for enterprise class management, and going to get away from the home grown scripts (ie use puppet as config management).. so here I am.. starting out with svn and puppet learning (day 2 haha) ..
[2010/02/09 12:22:05] <Pupeno> Is there a way to see the progress of puppet doing stuff other than running puppet by hand?
[2010/02/09 12:22:14] <benkevan> What's Volcane's website?
[2010/02/09 12:22:29] <joe-mac> www.devco.net
[2010/02/09 12:22:32] <benkevan> Pupeno: more then what's in the defined log file?
[2010/02/09 12:22:38] <joe-mac> Pupeno: it logs to syslog
[2010/02/09 12:22:48] <joe-mac> so on your syslog server tail -f syslog | grep puppetd
[2010/02/09 12:22:58] <Pupeno> I was checking /var/log/puppet/* and nothing interesting there.
[2010/02/09 12:23:12] <joe-mac> yea that stuff is for like the uhhh what's it caleld
[2010/02/09 12:23:13] <joe-mac> ....
[2010/02/09 12:23:16] <joe-mac> ruby web server logs
[2010/02/09 12:23:19] <joe-mac> something like that
[2010/02/09 12:23:26] @ mqr joined channel #puppet
[2010/02/09 12:23:28] <joe-mac> actual puppetd runs are in daemon or syslog
[2010/02/09 12:23:33] <Pupeno> Excellent! Thanks.
[2010/02/09 12:23:36] <joe-mac> np
[2010/02/09 12:23:41] <nigelk> it all depends what platform you're on and how you've configured puppet to log :)
[2010/02/09 12:23:47] <joe-mac> nigelk: also true
[2010/02/09 12:23:56] <joe-mac> i am so debianized from the past year and a half lol
[2010/02/09 12:24:12] <nigelk> on OS X we set syslogfacility = local7
[2010/02/09 12:24:17] @ Quit: bodepd: Quit: bodepd
[2010/02/09 12:24:17] <jb> benkevan: i think you will find that puppet isn't too tough to get up and going..
[2010/02/09 12:24:28] <nigelk> and do local7.* /var/log/puppet.log in syslog.conf
[2010/02/09 12:24:29] <jb> benkevan: how many nodes are you talking about?
[2010/02/09 12:24:40] <joe-mac> hey nigelk while you're here, did i ask you about the git-buildpackage thing ont he list?
[2010/02/09 12:24:49] <nigelk> I think so ?
[2010/02/09 12:24:53] <joe-mac> i thought i did... memory a little hazy
[2010/02/09 12:24:57] <joe-mac> let me search to see if you answered
[2010/02/09 12:25:08] @ Quit: ckauhaus: Quit: Leaving.
[2010/02/09 12:25:08] <benkevan> jb: I have it up and going .. like 30 minutes after a pill of viagra (haha) .. jk.. seriously still too young to need that.. but trying to make sure I make things right.. like putting modules directory under manifests.. getting svn in place.. isntead of normal ci / co etc
[2010/02/09 12:25:11] <nigelk> I'm not sure what's up with packages.debian.org but we've uploaded 0.25.4 btw
[2010/02/09 12:25:15] <nigelk> and I think rmadison showed it was there
[2010/02/09 12:25:37] <benkevan> jb: right now I have about 110 nodes.. yes.. in 1 year we went from 0 to 110 linux nodes.. haha
[2010/02/09 12:26:04] <jb> benkevan: you should look into things like external node classifiers, and perhaps look into The Foreman (http://theforeman.org) for management
[2010/02/09 12:26:06] <jb> and reporting
[2010/02/09 12:26:29] @ tonyskapunk joined channel #puppet
[2010/02/09 12:26:35] <jb> benkevan: devco.net also has an awesome post on module organization
[2010/02/09 12:26:42] <jb> which you will want to read
[2010/02/09 12:26:43] <joe-mac> nigelk: my question was more like, i see you use git-buildpackage, yet i do the old dget, dpkg-source -x, uupdate, dpkg-buildpackage thing
[2010/02/09 12:26:57] <joe-mac> am i 'douin it wrong' like should i switch to git-buildpackage?
[2010/02/09 12:27:19] <joe-mac> i could have *sworn* it was on the ML but i am not seeing it in my searches
[2010/02/09 12:27:38] <benkevan> jb: would it be better to learn without foreman? I mean I'm not a total idiot.. so I'll figure it out quite simply. .
[2010/02/09 12:27:58] <benkevan> I just want to make sure I know the jists of how it works instead of having a web front end.. configuring it for me.. without me knowing what I'm doing (you know)..
[2010/02/09 12:28:09] <jb> benkevan: well, i'd play without foreman, but in the long run, foreman will make your life MUCH easier.
[2010/02/09 12:28:30] <nigelk> joe-mac: I didn't reply to that? You can always do the whole dpkg-source thing if you want
[2010/02/09 12:28:41] <nigelk> however git-buildpackage would allow you to cherry-pick updates from upstream into your packages
[2010/02/09 12:28:53] <nigelk> so if a specific bug is hitting you, or you want to test HEAD rather than a point release....
[2010/02/09 12:28:58] <joe-mac> nigelk: that's the thing i've been doing so much shit around here i forget if i e-mailed you directly, or thought "maybe i should e-mail nigel" or did it on the list lol
[2010/02/09 12:29:09] <joe-mac> oh that is actually pretty nice
[2010/02/09 12:29:33] @ fluxdude3 joined channel #puppet
[2010/02/09 12:29:38] <nigelk> yeah, it's really useful
[2010/02/09 12:30:37] @ shine joined channel #puppet
[2010/02/09 12:30:52] @ Quit: tonyskapunk: Quit: Leaving.
[2010/02/09 12:31:09] <joe-mac> THERE IT IS
[2010/02/09 12:31:19] <joe-mac> i responded to the dev list, which is why i couldn't find it
[2010/02/09 12:31:26] @ tonyskapunk joined channel #puppet
[2010/02/09 12:31:31] @ murkk joined channel #puppet
[2010/02/09 12:31:51] @ Quit: fluxdude2: Ping timeout: 245 seconds
[2010/02/09 12:32:20] <benkevan> are classes and modules on the puppet master both defined in puppet.conf under the seperate environment?
[2010/02/09 12:32:32] <joe-mac> and you did respond FYI
[2010/02/09 12:32:42] <joe-mac> so i am not insane, matter clarified
[2010/02/09 12:32:48] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/09 12:33:12] <jb> benkevan: yes
[2010/02/09 12:35:45] <nigelk> joe-mac: I wouldn't go that far ;)
[2010/02/09 12:36:29] * benkevan cries that svn mkdir -p doesn't exist
[2010/02/09 12:37:52] * Volcane wonders if mpdehaan has lost it
[2010/02/09 12:39:49] <joe-mac> why's that Volcane?
[2010/02/09 12:40:07] @ mqr_ joined channel #puppet
[2010/02/09 12:40:10] @ Quit: mqr: Read error: Connection reset by peer
[2010/02/09 12:40:15] <Volcane> see ilst
[2010/02/09 12:40:26] <nigelk> yeah
[2010/02/09 12:40:47] <Volcane> seriously, thats about grounds for me to just say get fucked and stop my community involvement
[2010/02/09 12:41:04] <jb> hm
[2010/02/09 12:41:50] <jb> url?
[2010/02/09 12:42:18] @ fluxdude2 joined channel #puppet
[2010/02/09 12:42:19] @ Quit: fluxdude2: Excess Flood
[2010/02/09 12:42:43] @ fluxdude2 joined channel #puppet
[2010/02/09 12:42:43] @ Quit: fluxdude2: Excess Flood
[2010/02/09 12:43:08] @ fluxdude2 joined channel #puppet
[2010/02/09 12:43:09] @ Quit: fluxdude2: Excess Flood
[2010/02/09 12:43:18] <himynameisthor> woo woo
[2010/02/09 12:43:33] @ fluxdude2 joined channel #puppet
[2010/02/09 12:43:33] @ Quit: fluxdude2: Excess Flood
[2010/02/09 12:43:58] @ fluxdude2 joined channel #puppet
[2010/02/09 12:43:58] @ Quit: fluxdude2: Excess Flood
[2010/02/09 12:44:23] @ fluxdude2 joined channel #puppet
[2010/02/09 12:44:24] @ Quit: fluxdude2: Excess Flood
[2010/02/09 12:44:48] @ fluxdude2 joined channel #puppet
[2010/02/09 12:45:11] @ Quit: fluxdude3: Ping timeout: 245 seconds
[2010/02/09 12:47:44] @ Quit: mattwynne: Remote host closed the connection
[2010/02/09 12:48:27] <Volcane> esp if u know the background of foreman/dashboard
[2010/02/09 12:48:53] <nigelk> mmm
[2010/02/09 12:48:56] <nigelk> replied
[2010/02/09 12:49:11] * nasrat replied too
[2010/02/09 12:49:23] <jb> ok, where is it?
[2010/02/09 12:50:50] @ Quit: yarihm: Quit: This computer has gone to sleep
[2010/02/09 12:51:23] @ brd left channel #puppet ()
[2010/02/09 12:51:55] @ tim|imac joined channel #puppet
[2010/02/09 12:52:03] <jb> is this on puppet-users?
[2010/02/09 12:52:27] <nasrat> yeah thread Living with Puppet
[2010/02/09 12:52:34] <jb> k
[2010/02/09 12:53:14] <nigelk> oh dear.
[2010/02/09 12:53:18] @ bodepd joined channel #puppet
[2010/02/09 12:53:20] <nigelk> it's not looking good.
[2010/02/09 12:53:41] * Volcane 'll just stop posting now. :)
[2010/02/09 12:54:02] <benkevan> Reading about SVN branches / tags / trunks.. how boring.. haha
[2010/02/09 12:55:47] <nigelk> joe-mac: do you use Macs still?
[2010/02/09 12:55:55] <nigelk> or does "-mac" refer to something else? :)
[2010/02/09 12:56:14] <Volcane> wow. just wow. re his reply to nasrat
[2010/02/09 12:56:43] @ themurph joined channel #puppet
[2010/02/09 12:57:42] @ ezmobius joined channel #puppet
[2010/02/09 12:58:07] @ svend joined channel #puppet
[2010/02/09 12:58:08] @ Quit: Robbie_: Remote host closed the connection
[2010/02/09 12:58:46] @ Quit: poison: Remote host closed the connection
[2010/02/09 12:59:38] <ccaum> Wow, some people should read what they write a few times before hitting 'send'
[2010/02/09 13:00:38] @ Quit: Cuchulain: Ping timeout: 260 seconds
[2010/02/09 13:00:50] @ mpdehaan joined channel #puppet
[2010/02/09 13:00:51] @ Mode +v mpdehaan by ChanServ
[2010/02/09 13:01:06] <mpdehaan> Hi all.
[2010/02/09 13:01:39] @ Cuchulain joined channel #puppet
[2010/02/09 13:01:44] <jb> heh.
[2010/02/09 13:01:46] <mpdehaan> Volcane, pnasrat mentioned we should talk. Lets...
[2010/02/09 13:02:28] <mpdehaan> The fundamental idea is "missing pieces in Puppet" right? Namely I want to make sure that we are improving Puppet as much as possible, so where there are missing pieces, I want to encourage people to submit patches and increase contributions.
[2010/02/09 13:02:46] <Volcane> as long as they're owned and sellable by RL?
[2010/02/09 13:02:54] <mpdehaan> I'm not evil.
[2010/02/09 13:03:18] <mpdehaan> No, just something that we can contribute to.
[2010/02/09 13:03:33] @ Quit: \ask: Quit: Leaving...
[2010/02/09 13:04:00] <mpdehaan> Dashboard is free. Also, we do not sell Puppet either :)
[2010/02/09 13:04:09] <jb> and dashboard is hardly useable in it's current state :)
[2010/02/09 13:04:13] <mpdehaan> Yes I know
[2010/02/09 13:04:18] * Volcane hears enterprise licences, non opensource, are on the road map
[2010/02/09 13:04:21] <mpdehaan> Hence the very important reason for "let's rally around this and get what you want done"
[2010/02/09 13:04:44] <mpdehaan> We're talking about some proprietary modules for integration with other proprietary services, like say Remedy or something
[2010/02/09 13:04:51] * Volcane doesnt see the problem with you contributing to GPL code?
[2010/02/09 13:04:53] <mpdehaan> The core must remain open
[2010/02/09 13:04:54] <Volcane> we contribute to your GPL code?
[2010/02/09 13:04:57] @ Quit: rsquared: Read error: Connection reset by peer
[2010/02/09 13:05:15] <mpdehaan> I'll be blunt where we should have been earlier. The question is whether Ohad has copyright.
[2010/02/09 13:05:16] <jb> Your original post was basically a slap in the face to Ohad and other community contrubuters as far as I am concerned..
[2010/02/09 13:05:21] @ Quit: TREllis: Quit: leaving
[2010/02/09 13:05:23] <mpdehaan> Not the intent.
[2010/02/09 13:05:31] <nasrat> that's the tone that came across
[2010/02/09 13:05:41] <nasrat> and that's what a lot of people are taking offence at
[2010/02/09 13:05:44] <mpdehaan> Sorry -- read my replies if that helps clear things up
[2010/02/09 13:05:50] <mpdehaan> That is part of the problem of text communication.
[2010/02/09 13:05:53] <Volcane> your replies makes it worse sorry to say
[2010/02/09 13:06:02] <mpdehaan> I'm not sure what you want me to say...
[2010/02/09 13:06:15] <benkevan> for the environments is it better to put the $environment under manifests.. or makes more sense to have it at the root of /etc/puppet?
[2010/02/09 13:06:25] <Volcane> to the point where really Luke needs to endorse that as RL statements or not cos i am no way actively contributing in a community for a company who treats its community like you just did
[2010/02/09 13:06:26] @ Quit: Cuchulain: Ping timeout: 248 seconds
[2010/02/09 13:06:30] <mpdehaan> If you look at Puppet core, we have about 80 contributors and a mailing list of about 1600
[2010/02/09 13:06:31] <fsweetser> if it helps, the biggest unasked/unanswered question I saw was, "What's wrong with just adopting foreman?"
[2010/02/09 13:06:33] <mpdehaan> how do we make that better?
[2010/02/09 13:06:44] <mpdehaan> I want to encourage folks to be able to contribute to puppet rather than feeling like they must use external tools
[2010/02/09 13:06:45] <joe-mac> nigelk: i used to use a mac howver it's actually my real life nickname, lots of irish guys in the northeast are firstname mac
[2010/02/09 13:06:51] <mpdehaan> to make it obvious that this /is/ an open project
[2010/02/09 13:06:58] <jb> foreman existed before dashboard, correct?
[2010/02/09 13:07:02] <fsweetser> I've heard comments that suggest licensing stuff, but I've never heard the answers made explicit
[2010/02/09 13:07:03] @ kolla joined channel #puppet
[2010/02/09 13:07:07] <Volcane> mpdehaan: still, whats the problemw ith contributing to a GPL project?
[2010/02/09 13:07:19] <mpdehaan> There is none, the issue is whether he has copyright, sadly
[2010/02/09 13:07:33] <benkevan> maybe I'm looking at wrong product if it's going to be licensed haha
[2010/02/09 13:07:42] @ sebas891 joined channel #puppet
[2010/02/09 13:07:45] @ Quit: mqr_: Read error: Connection reset by peer
[2010/02/09 13:07:49] <mpdehaan> benkevan, Puppet is GPL. it will remain GPL.
[2010/02/09 13:08:08] <fsweetser> too bad ohad's probably already in bed and can't answer... :P
[2010/02/09 13:08:16] @ mqr joined channel #puppet
[2010/02/09 13:08:21] <benkevan> since someone is actually reading my posts.. maybe: for the environments is it better to put the $environment under manifests.. or makes more sense to have it at the root of /etc/puppet?
[2010/02/09 13:09:06] @ tonyskapunk joined channel #puppet
[2010/02/09 13:09:18] <ccaum> benkevan: I always put variables in the manifests or in an external nodes tool
[2010/02/09 13:09:28] @ rsquared joined channel #puppet
[2010/02/09 13:09:45] <ccaum> benkevan: And by root, do you mean site.pp?
[2010/02/09 13:10:16] <Volcane> mpdehaan: so i look at puppet licence and it too says its licenced by RL - so again, we can contribute to code you have the copyright to and that is fine and encouragable, but not for you to contribute to other peoples GPL?
[2010/02/09 13:10:37] <mpdehaan> we do not require copyright assignment
[2010/02/09 13:10:46] <mpdehaan> and we can easily contribute to GPL projects, provided we believe that copyright holds
[2010/02/09 13:10:48] <mpdehaan> such is the question
[2010/02/09 13:11:10] <mpdehaan> anyway.... Ohad does excellent work, and an ecosystem is important and we can and will contribute
[2010/02/09 13:11:20] <mpdehaan> I also want to encourage more contributions where we can
[2010/02/09 13:11:34] <Volcane> mpdehaan: you're doing it wrong.
[2010/02/09 13:11:37] <mpdehaan> We have a chance to merge all those ideas closer to Puppet where they can work strongly together
[2010/02/09 13:11:57] <benkevan> ccaum: I'm not sure what I mean by root yet.. I'm just working on the hiearchy for now.. i'll worry about where to define them after I set the heiarchy :D
[2010/02/09 13:11:59] <sebas891> hi folks! I just noticed on one of the client manage by puppet has 9,2 G of data in /var/lib/puppet/clientbucket/.
[2010/02/09 13:12:27] @ Quit: rsquared: Client Quit
[2010/02/09 13:12:32] <ccaum> benkevan: Do you have multiple sites you're eventually going to support?
[2010/02/09 13:12:47] @ rsquared joined channel #puppet
[2010/02/09 13:13:37] <sebas891> Can I erase all that data? can this data be useful?
[2010/02/09 13:13:39] <benkevan> ccaum: That's how I'm going to build it out.. although right now I won't, but I want to build the structure around that since I believe that is the route I'll be going 1 - 2 years out
[2010/02/09 13:13:53] @ Quit: colyte: Quit: ZNC - http://znc.sourceforge.net
[2010/02/09 13:13:58] @ Quit: mqr: Ping timeout: 258 seconds
[2010/02/09 13:14:07] <grim_radical> sebas891: it's essentially the older versions of files that puppet has replaced
[2010/02/09 13:14:40] <ccaum> benkevan: I would recommend looking at an external nodes tool like Foreman or puppet-dashboard, although there's an interesting discussion about that we're in te middle of.
[2010/02/09 13:15:12] <sebas891> grim_radical: I feel that is just way too much data to be that. maybe I'm facing this bug. http://projects.reductivelabs.com/issues/2019
[2010/02/09 13:15:47] <benkevan> ccaum: PM'ed you to get away from some of the political babble :) ..
[2010/02/09 13:15:59] @ Cuchulain joined channel #puppet
[2010/02/09 13:16:00] <sebas891> grim_radical: is there a way to analysis the data?
[2010/02/09 13:16:07] <Volcane> sebas891: its usually old data that got replaced, or like directories that you set to purge that was full of files
[2010/02/09 13:16:09] <grim_radical> sebas891: indeed, that would certainly exacerbate the problem
[2010/02/09 13:16:29] <ccaum> benkevan: What I do until I finish a tool I'm working on is basically have site.pp import everything inside of two directories, sites and resources. The resources directory contains puppet manifest files that use various conditionals to set variables. The sites directory contains one puppet manifest file per site and contains all the nodes.
[2010/02/09 13:16:30] <Volcane> sebas891: but sometimes directories doesnt purge properly and it can happen over and over filling up the bucket
[2010/02/09 13:16:50] <Volcane> sebas891: if you dont need the old data, you can delete it and go through your logs to see what got bucketed recently
[2010/02/09 13:16:52] <sebas891> Volcane: ok,
[2010/02/09 13:17:39] <sebas891> rm -r /var/lib/puppet/clientbucket/* will do.
[2010/02/09 13:18:28] <benkevan> ccaum: could you maybe check my PM and just paste me your directory structure so I can better understand? maybe the portions of site.pp also.. right now I"m going through the getting started and have really only been through classes / modules (only setup the basic sudoers one for both to test out).. but am very interested in what you've done with (sites).. also I'm trying to udnerstand the stuff a bit better without the use of dashboard / foreman.. so I
[2010/02/09 13:18:29] <benkevan> can better understand the underlined happenings, and intend to then (when I feel more comfortable add either foreman or dashboard).. although I'm not sure which I'd go with since I haven't yet looked at the feature sets compared against the 2
[2010/02/09 13:18:37] <nigelk> "mpdehaan: we do not require copyright assignment"
[2010/02/09 13:18:49] <nigelk> mpdehaan: what was with that email we all got about copyright assignment then?
[2010/02/09 13:19:04] <mpdehaan> We didn't act on that, yes? :)
[2010/02/09 13:19:16] <nigelk> well you asked everyone for it
[2010/02/09 13:19:20] <nigelk> and I've heard nothing since
[2010/02/09 13:19:33] <mpdehaan> I remember a discussion thread about licensing.
[2010/02/09 13:19:36] <mpdehaan> Give me pointers.
[2010/02/09 13:20:18] <nigelk> about?
[2010/02/09 13:20:37] @ mqr joined channel #puppet
[2010/02/09 13:21:31] <jb> meanwhile, this thread is certainly scaring the OP :)
[2010/02/09 13:21:45] <Volcane> OP?
[2010/02/09 13:21:50] <jb> original poster
[2010/02/09 13:21:56] <Volcane> lol
[2010/02/09 13:22:20] @ mqr_ joined channel #puppet
[2010/02/09 13:22:21] @ Quit: mqr: Read error: Connection reset by peer
[2010/02/09 13:22:52] <nigelk> mpdehaan: I guess I'm just saying that if RL emailed everyone asking for copyright assignment, and then changed their mind, individual emails to those same people would have been appropriate.
[2010/02/09 13:23:05] <mpdehaan> I will work to address this.
[2010/02/09 13:23:08] <mpdehaan> seriously.
[2010/02/09 13:23:11] <nigelk> as I just jumped through all the hoops here at Google to get the doc approved
[2010/02/09 13:23:17] <nigelk> :)
[2010/02/09 13:24:23] @ jaredrhine joined channel #puppet
[2010/02/09 13:24:42] @ Quit: MattyM: Quit: ta ta
[2010/02/09 13:26:55] <silfreed> how do people manage migrating between facter versions?
[2010/02/09 13:27:09] <tim|imac> apt-get dist-upgrade :)
[2010/02/09 13:27:10] @ plathrop-away is now known as plathrop
[2010/02/09 13:27:14] <silfreed> I have a case where in facter 1.5.4 I was using Facter::IPAddress and now in 1.5.6 it is called Facter::Util::IP
[2010/02/09 13:27:28] <silfreed> API-changes, not versions :)
[2010/02/09 13:27:52] @ colyte joined channel #puppet
[2010/02/09 13:27:54] <mpdehaan> nigelk, you're coming up for class in a few days, would love to talk then about all this too
[2010/02/09 13:28:04] <nigelk> sure. I'll be there.
[2010/02/09 13:28:09] <mpdehaan> and other community thoughts for making things more awesome
[2010/02/09 13:28:11] <mpdehaan> great
[2010/02/09 13:28:19] <nigelk> I am trying to be charitable here, but this isn't giving me the warm fuzzies
[2010/02/09 13:28:27] <mpdehaan> yeah we need to straighten this out
[2010/02/09 13:28:34] @ Quit: bodepd: Quit: bodepd
[2010/02/09 13:28:39] <mpdehaan> the IP concern WRT foreman is the underlying problem
[2010/02/09 13:28:45] <mpdehaan> otherwise I think we'd patch it like crazy
[2010/02/09 13:29:03] <mpdehaan> and I'll figure out the license intents and share
[2010/02/09 13:29:06] <silfreed> looks like I might be able to do this until in my fact until facter is upgraded on all my boxes:
[2010/02/09 13:29:07] <silfreed> Facter::IPAddress = Facter::Util::IP
[2010/02/09 13:29:16] <nigelk> I'm by no means the oldest community member here... but it does feel like you've just come in and started stomping around, and I absolutely want to think that isn't the intent.
[2010/02/09 13:29:53] @ lak joined channel #puppet
[2010/02/09 13:30:15] <jb> agreed.
[2010/02/09 13:31:02] <nigelk> I was just having this conversation with someone yesterday about how the community around puppet is an incredible boon. There aren't many online communities that consist primarily of people trying to find a better way to be "agile sysadmins", and so I think you're seeing people feel rather protective of that community.
[2010/02/09 13:31:11] <mpdehaan> And they should be.
[2010/02/09 13:31:22] @ Quit: lak: Client Quit
[2010/02/09 13:31:27] <mpdehaan> I know you're not a Cobbler shop, but that's pretty much what I live for.
[2010/02/09 13:31:43] <mpdehaan> Right now we have a lot of untapped opportunity relative to size of community relative to size of contributions
[2010/02/09 13:31:49] <mpdehaan> want to do all I can to help spur that on
[2010/02/09 13:32:09] <jY> can i include a pp file in another pp file?
[2010/02/09 13:33:48] <eric0> puppet 1835 0.4 68.0 5962816 2852376 s006 S+ 29Jan10 383:27.41 ruby sbin/puppetmasterd
[2010/02/09 13:34:00] <eric0> that's a box serving no clients. oy.
[2010/02/09 13:35:33] @ Quit: gebi: Ping timeout: 252 seconds
[2010/02/09 13:36:39] @ Quit: mqr_: Ping timeout: 252 seconds
[2010/02/09 13:36:56] @ Quit: danielbln: Disconnected by services
[2010/02/09 13:36:57] @ danielbln1 joined channel #puppet
[2010/02/09 13:36:59] @ danielbln1 is now known as danielbln
[2010/02/09 13:37:15] @ danielbln1 joined channel #puppet
[2010/02/09 13:37:16] @ Quit: danielbln: Disconnected by services
[2010/02/09 13:37:16] @ danielbln1 is now known as danielbln
[2010/02/09 13:38:31] <eric0> jY: you can directly 'import /path/to/whatever.pp' but that might be a sign ur doin it wrong--if you have you stuff structured according to wiki:ModuleOrganisation it shouldn't be necessary to do that
[2010/02/09 13:38:32] <gepetto> eric0: jY: wiki:ModuleOrganisation is http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
[2010/02/09 13:38:43] <jY> thanks
[2010/02/09 13:38:44] @ francois1 joined channel #puppet
[2010/02/09 13:38:52] <nigelk> jY: I don't "import" at all anymore
[2010/02/09 13:39:18] <nigelk> just put everything in classes in modules and use "include"
[2010/02/09 13:39:44] <eric0> ^--what he said
[2010/02/09 13:43:27] <benkevan> would this directory structure make sense http://pastie.org/816747
[2010/02/09 13:44:55] @ \ask joined channel #puppet
[2010/02/09 13:47:43] @ Quit: allsystemsarego: Quit: Leaving
[2010/02/09 13:47:48] @ \ask left channel #puppet ()
[2010/02/09 13:47:51] <jb> hrm, what are those "sites" ?
[2010/02/09 13:48:13] <benkevan> jb: the sites will be different geographical sites..
[2010/02/09 13:48:26] <nigelk> are they mapping to environments?
[2010/02/09 13:48:31] <jb> all using the same puppetmaster?
[2010/02/09 13:48:46] <nigelk> like site1_common is an environment?
[2010/02/09 13:48:52] <benkevan> jb: yes.. those will be high speed lans.. but just better break down "in case" they wanted something different..
[2010/02/09 13:48:53] <jb> yeah
[2010/02/09 13:48:59] <jb> they would need separate environments
[2010/02/09 13:49:02] <jb> like nigelk pointed out
[2010/02/09 13:49:14] <benkevan> nigelk: the environment is defined by production / development / testing.. I haven't thought of setting the site as environment
[2010/02/09 13:49:54] <nigelk> benkevan: I'd ask yourself why you're breaking down per site
[2010/02/09 13:50:02] <nigelk> and if you need to, then I'd make that part of the environment myself
[2010/02/09 13:50:05] <jb> yeah, not sure that is really necessary
[2010/02/09 13:50:13] @ Quit: bug: Quit: bug
[2010/02/09 13:50:59] <eric0> thing i found trying to do envrionments is that each split is like O(n^2) complexity for managing which puppetmasters are serving what files to which clients, and migrating changes between them
[2010/02/09 13:51:01] <benkevan> nigelk: possible politics on configuration of non local sites.. that aren't yet fully under my control
[2010/02/09 13:51:32] <nigelk> are you going to have sysadmins in those sites who wish to override functionality?
[2010/02/09 13:52:28] <benkevan> nigelk: That's the unknown.. so I want to build it out.. "in case they do"
[2010/02/09 13:53:00] <benkevan> that's an unknown .. right now I'm just building out structure for possibilities (sorry.. I don't fully yet understand how all the variables work.. but want to make sure I build it out correctly first)
[2010/02/09 13:53:11] <nigelk> ok. then you probably want this to be part of the environment.
[2010/02/09 13:53:29] <nigelk> so they can create inheriting classes to override specific resources and then choose whether or not to include those classes
[2010/02/09 13:53:50] <nigelk> you could kind of cheat and do something like
[2010/02/09 13:54:14] <nigelk> have /foo/environments/{common,production,testing}
[2010/02/09 13:54:22] @ allsystemsarego joined channel #puppet
[2010/02/09 13:54:31] <nigelk> woops. /foo/environments/{common,production,testing}/modules
[2010/02/09 13:54:39] <nigelk> and /foo/sites/modules/
[2010/02/09 13:55:03] <nigelk> and have say the environment [site1_production] have two modulepaths, /foo/environments/production/modules and /foo/sites/site1/modules
[2010/02/09 13:55:04] <nigelk> or something
[2010/02/09 13:55:14] @ alban2 joined channel #puppet
[2010/02/09 13:55:20] <nigelk> I like one modulepath per env, but it's not always practical
[2010/02/09 13:55:41] <jb> yeah, i do one modulepath per env
[2010/02/09 13:55:59] <fzzzt> thats what i do
[2010/02/09 13:56:07] <jb> i have something like /etc/puppet/environments/{prod,test,qa,dev}/{modules,manifests}/
[2010/02/09 13:56:25] <fzzzt> here /etc/puppet/testing/modules/foo
[2010/02/09 13:56:26] <joe-mac> yea when i go out to LA i plan on wow'ing the qa engineer with her own environment
[2010/02/09 13:56:49] <nigelk> I have an unstable-testing-stable environment setup with a release process to promote from one to the other, but sometimes groups will want their own modulepath that they manage on a different release cycle
[2010/02/09 13:56:58] <nigelk> I think that's the only real reason I've come across to have multiple modulepaths
[2010/02/09 13:57:12] <benkevan> So I was thinking /etc/puppet/environments/{prod,test,qa,dev}/{site1,site2}/{modules,manifests}
[2010/02/09 13:57:14] <fzzzt> what sort of process?
[2010/02/09 13:58:06] <benkevan> where site can possibly be defined $sitecode which would be defined somehow (maybe a plugin)
[2010/02/09 13:58:11] @ blahdeblah joined channel #puppet
[2010/02/09 13:58:13] <nigelk> fzzzt: so I do it in version control integrates
[2010/02/09 13:58:25] <nigelk> so I have envs like mac_laptop_leopard_{unstable,testing,stable}
[2010/02/09 13:58:37] <nigelk> linux_desktop_hardy_{unstable,testing,stable}
[2010/02/09 13:58:51] <fzzzt> ok
[2010/02/09 13:58:52] <nigelk> and integrate from our development environment to foo_bar_whatever_unstable
[2010/02/09 13:58:56] <nigelk> then up to testing then stable
[2010/02/09 13:59:04] <ccaum> benkevan: Let's pull our conversation out of PM
[2010/02/09 13:59:04] <fzzzt> via merging branches?
[2010/02/09 13:59:11] <nigelk> this lets all the platform teams contribute to the common development environment and yet have their own release cycles
[2010/02/09 13:59:20] <benkevan> ccaum: sounds good now that the political mumbojumbo stoppe :)
[2010/02/09 13:59:26] <nigelk> fzzzt: kind of... :) we're a perforce shop, so it's p4 integrates
[2010/02/09 13:59:32] <fzzzt> ah ok :)
[2010/02/09 13:59:39] <ccaum> benkevan: I strongly recommend you maintiain one set of modules for all sites
[2010/02/09 13:59:53] <fzzzt> i think i've gotten the hang of merging so i'm trying to stick to a "merge production tree from testing" process
[2010/02/09 13:59:59] <ccaum> Then just have trunk/branches/tags in version control. It's MUCH easier that way
[2010/02/09 14:00:15] @ jcape joined channel #puppet
[2010/02/09 14:00:15] <nigelk> ccaum: that's pretty much how ours works
[2010/02/09 14:00:25] <benkevan> ccaum: so /etc/puppet/modules instead of modules being under /etc/puppet/$site{1,2,3}/modules
[2010/02/09 14:00:26] <nigelk> you only submit to the common dev environment
[2010/02/09 14:00:45] <fzzzt> huh
[2010/02/09 14:00:58] <ccaum> correct
[2010/02/09 14:01:29] <ccaum> Like I said, I have three modules directories, but they are all three common across all sites
[2010/02/09 14:01:33] <fzzzt> so do you check env inside the modules/manifests then?
[2010/02/09 14:01:46] <nigelk> fzzzt: nope
[2010/02/09 14:02:04] <nigelk> but I do conditional logic based upon other facts that we use to construct the environment out of
[2010/02/09 14:02:19] <ccaum> I have /etc/puppet/modules{-testing,-development} and use environments to point to the correct modules directory
[2010/02/09 14:02:23] <fzzzt> i guess i'm confused then
[2010/02/09 14:02:27] <fzzzt> oh ok
[2010/02/09 14:02:33] <fzzzt> its not one global modules dir
[2010/02/09 14:02:47] <fzzzt> i thought you had one modules dir, and somehow used branches/tags
[2010/02/09 14:03:19] <ccaum> Ah. The /etc/puppet/modules-development pulls from trunk while modules-testing pulls from branches and modules pulls from tags/GOLD
[2010/02/09 14:03:41] <fzzzt> yeah, thats what i do (just 2 envs though)
[2010/02/09 14:03:43] <ccaum> But none are site specific
[2010/02/09 14:04:15] <ccaum> I use variables inside the modules that I define elsewhere
[2010/02/09 14:04:25] <fzzzt> well right now its messy (my first attempt). i have /trunk/{testing|production}/modules/...
[2010/02/09 14:04:39] <fzzzt> I've been thinking about moving to trunk is dev, branch/production and branch/testing
[2010/02/09 14:05:01] <benkevan> fzzzt: if you couldn't tell my first stab at it too (first stab at svn also) .. so double the f-up
[2010/02/09 14:05:04] <ccaum> I've found that to more effective
[2010/02/09 14:05:06] @ Quit: giskard: Remote host closed the connection
[2010/02/09 14:05:07] <fzzzt> I would have to change my checkout procedure then thugh
[2010/02/09 14:05:17] <fzzzt> right now i just co/update in /etc/puppet
[2010/02/09 14:05:32] <fzzzt> hmmm
[2010/02/09 14:06:08] <ccaum> Sounds like a job for puppet ;)
[2010/02/09 14:06:27] <fzzzt> :)
[2010/02/09 14:06:43] <fzzzt> right now i have puppet put in a cron that updates
[2010/02/09 14:06:44] <ccaum> I actually have a svn_deploy definition that I can use to deploy stuff from subversion and make sure it's up to date, etc.
[2010/02/09 14:06:55] <fzzzt> oh good idea
[2010/02/09 14:07:04] <ccaum> So I deploy puppet with puppet. It's very meta
[2010/02/09 14:07:07] <fzzzt> i'm 90% done with a puppetrun/post-commit hook for the testing branch
[2010/02/09 14:07:23] <fzzzt> deployed via puppet::server
[2010/02/09 14:08:23] <ccaum> neat. I'll be doing something similar soon but to push module packaging globally to all the cache servers. But that's a whole 'nother topic
[2010/02/09 14:08:28] <benkevan> all this nerd talk is turning me on
[2010/02/09 14:08:33] <benkevan> jk .. seriously
[2010/02/09 14:08:48] <ccaum> **awwwkwerd**
[2010/02/09 14:08:52] <benkevan> haha
[2010/02/09 14:08:54] <fzzzt> i'm 50% dev/sysadmin so its nice to be able to come up with a good system
[2010/02/09 14:09:04] @ bug joined channel #puppet
[2010/02/09 14:09:18] @ Quit: bug: Client Quit
[2010/02/09 14:09:20] <ccaum> I think all puppet admins are 50/50
[2010/02/09 14:09:27] <fzzzt> probably :)
[2010/02/09 14:09:28] <ccaum> If they weren't before, they are now
[2010/02/09 14:09:32] <benkevan> ccam: You don't seperate production? you just use modules and puppetmasterd?
[2010/02/09 14:09:34] @ bug joined channel #puppet
[2010/02/09 14:10:12] <ccaum> benkevan: I don't understand
[2010/02/09 14:10:28] <benkevan> under your puppet.conf
[2010/02/09 14:10:43] <benkevan> also.. it says generated by puppet do not edit directly.. how was this created? foreman?
[2010/02/09 14:10:46] <ccaum> Oh. The [puppetmasterd] is production
[2010/02/09 14:10:52] <fzzzt> my plan is to build the app on my dev machine, commit to puppet svn, commit-hook/puppetrun the test domain client to update...poof! currently we have none of that, so it's a manual, error-prone process to deploy to test
[2010/02/09 14:10:56] <benkevan> ccaum: ok.. that's what I thought..
[2010/02/09 14:11:17] <fzzzt> i thought about making a test puppet master too, to really separate the env's...
[2010/02/09 14:11:34] <fzzzt> have it pull from the other branch. currently i have a prod puppet feeding both env's
[2010/02/09 14:11:49] <fzzzt> not sure if it would make much difference
[2010/02/09 14:12:03] @ Quit: Cuchulain: Quit: leaving
[2010/02/09 14:12:05] @ eventi joined channel #puppet
[2010/02/09 14:12:31] <ccaum> benkeven: It's all done in the bootstrap process. I have kickstart checkout the production modules from subversion and then use the puppet command to run a manifest that only has the puppetmaster class. That builds the puppetmaster. From there the puppetmaster manages itself
[2010/02/09 14:12:47] <fzzzt> nice
[2010/02/09 14:12:54] <eventi> Getting this from all my clients: err: Could not retrieve catalog: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
[2010/02/09 14:13:03] @ ashp joined channel #puppet
[2010/02/09 14:13:11] <benkevan> this is making my rsync wrapper script like inadiquate :(
[2010/02/09 14:13:16] <ccaum> eventi: Mysql isn't running on your puppetmaster
[2010/02/09 14:13:24] <ccaum> eventi: I assume you're using storedconfig
[2010/02/09 14:13:28] <eventi> but I was using sqlit
[2010/02/09 14:13:32] <eventi> sqlite
[2010/02/09 14:13:38] <eventi> oh wait
[2010/02/09 14:13:42] * eventi facepalm
[2010/02/09 14:13:52] <eventi> nvrmind - need coffee
[2010/02/09 14:14:58] @ mikerowehl joined channel #puppet
[2010/02/09 14:17:10] <benkevan> man.. I need to draw this out again..
[2010/02/09 14:19:54] <benkevan> http://pastie.org/816747 Does that make more sense now? (I took out sites all together for now.. )
[2010/02/09 14:20:50] @ sebas891 left channel #puppet ()
[2010/02/09 14:22:24] @ lak joined channel #puppet
[2010/02/09 14:22:37] @ Cuchulain joined channel #puppet
[2010/02/09 14:23:12] * joe-mac hates my AD
[2010/02/09 14:23:25] @ Quit: lak: Client Quit
[2010/02/09 14:23:35] <joe-mac> i should just put on my insane hat and make my own LDAP with a sane setup
[2010/02/09 14:23:45] <ccaum> much better. But how are you planning on using a global site.pp file? You'll probably want one per environment and tell puppetmaster where to get it per environment
[2010/02/09 14:23:53] <ccaum> Did that make sense?
[2010/02/09 14:24:12] <benkevan> ccaum: would you be willing to share your site plugin.. since the more and more I think about it.. the more I'll have to utilize both the environment (ie prod / dev etc) along with the sites (for things like dns etc)..
[2010/02/09 14:24:42] <ccaum> Sure, just don't tell my company since it is technically our IP ;)
[2010/02/09 14:24:51] <benkevan> ccaum: Yes it did.. actually I just made the structure.. didn't move site.pp into them yet.. that's coming .. (thinking of more the site locations also still.. once I get just the directory structure how I think it should be.. (with your guys help obviously)
[2010/02/09 14:25:25] <benkevan> I could easily grep a .conf and get the site.. that I just put onto each client.. but I don't really know how to write a plugin for this yet.. hahah.. (i'm on day 2)
[2010/02/09 14:25:39] <ccaum> It's bleeding easy
[2010/02/09 14:26:07] <nigelk> benkevan: listen to ccaum :)
[2010/02/09 14:26:25] @ poison joined channel #puppet
[2010/02/09 14:26:42] <benkevan> nigelk: I am.. he's helped a ton.. I'm getting to understand alot.. next is learning how to utilize svn correctly haha..
[2010/02/09 14:26:45] <ccaum> This is how easy it is: http://pastie.org/816833
[2010/02/09 14:27:06] <fzzzt> Can I add --listen to puppet.conf somehow? listen = true in [puppetd]?
[2010/02/09 14:27:22] <benkevan> ccaum: ah. .yeah..
[2010/02/09 14:27:41] <ccaum> Create a module called sitecode and put the above in the file sitecode/plugins/facter/sitecode.rb
[2010/02/09 14:27:46] <ccaum> Actually I think that's changed in 0.25
[2010/02/09 14:27:51] <benkevan> that's what I figured it'd look like.. (quite simple .. haha).. but here comes the newbie question.. <oh you just answered)
[2010/02/09 14:28:57] <ccaum> Ah, in 0.25 it's sitecode/lib/facter/sitecode.rb
[2010/02/09 14:29:28] <ccaum> Also make sure you have pluginsync = true in your puppet.conf
[2010/02/09 14:29:38] <ccaum> fzzzt: Yes
[2010/02/09 14:29:49] <benkevan> ccaum: I'm assuming under /etc/puppet/modules/sitecode/lib/facter/sitecode.rb
[2010/02/09 14:30:05] <ccaum> benkevan: yes
[2010/02/09 14:30:49] <jb> whats the /etc/puppet/modules.pp and site.pp?
[2010/02/09 14:31:15] <ccaum> nigelk: Quick question(s) on AD/OD management in snow leopard. Can I use the MXC type to manage it? How do I use mcxquery to dump the config?
[2010/02/09 14:31:18] <benkevan> jb: those are still just hungover from before I created the directory structure.. ..
[2010/02/09 14:31:24] <ahasenack> jb: puppet cares about site.pp, the rest is imported or included from that site.pp basically
[2010/02/09 14:31:32] <jb> ok..
[2010/02/09 14:31:41] <jb> i have a per environment site.pp
[2010/02/09 14:31:55] <jb> in /etc/puppet/environements/environment_name/manifests
[2010/02/09 14:32:08] <nigelk> ccaum: yes, and you might find it easier to use ralsh ?
[2010/02/09 14:32:14] <benkevan> ok.. here comes another newbie question.. how do I add a new file in svn?
[2010/02/09 14:32:19] <benkevan> I tried svn touch..
[2010/02/09 14:32:23] <ahasenack> benkevan: svn add <file>
[2010/02/09 14:32:42] <ahasenack> benkevan: and then "svn commit" later to actually "upload" it to the svn server
[2010/02/09 14:32:44] <ccaum> nigelk: When I do 'ralsh mcx' I get nothing returned
[2010/02/09 14:33:11] <nigelk> do you have any MCX in place?
[2010/02/09 14:33:36] <nigelk> http://pastie.org/816845
[2010/02/09 14:33:39] <nigelk> works for me...
[2010/02/09 14:33:53] <nigelk> beware ralsh and its failure to escape quotes though :)
[2010/02/09 14:34:47] <ccaum> nigelk: I have custom preferences for computer groups
[2010/02/09 14:34:50] <ccaum> nigelk: I get this: http://pastie.org/816847
[2010/02/09 14:34:52] <nigelk> oh wait. what are you trying to manage? the ds node config itself?
[2010/02/09 14:35:06] <ccaum> yeah
[2010/02/09 14:35:07] <nigelk> so that's showing there's no MCX attached to that record
[2010/02/09 14:35:08] <nigelk> ah
[2010/02/09 14:35:17] <nigelk> no, MCX can't do that I don't think
[2010/02/09 14:35:22] <ccaum> Ah, OK
[2010/02/09 14:35:27] <nigelk> we manage the entire ds config plist
[2010/02/09 14:35:35] <ccaum> oh wow
[2010/02/09 14:35:43] <nigelk> we don't really want people changing it :)
[2010/02/09 14:35:54] <ccaum> I tried using the dscl command, but it seems to be a moving target from version to version of OS X
[2010/02/09 14:36:00] <nigelk> you're doing AD and OD? the "magic triangle"?
[2010/02/09 14:36:03] <ccaum> yep
[2010/02/09 14:36:19] <nigelk> have you thought about extending the AD schema instead so you only have a single directory?
[2010/02/09 14:36:22] <ccaum> The Holy Trinity as I prefer it
[2010/02/09 14:36:26] <nigelk> :)
[2010/02/09 14:36:32] <ccaum> My Windows admin would never allow it
[2010/02/09 14:36:36] <nigelk> gah
[2010/02/09 14:37:02] <nigelk> I hate dual directory setups now. Apple always break random things.
[2010/02/09 14:37:50] <ccaum> Do you mean breaking bakwards compatibility?
[2010/02/09 14:38:07] <ccaum> Or just simply *random things*?
[2010/02/09 14:38:40] @ eventi left channel #puppet ()
[2010/02/09 14:38:52] <nigelk> random things :)
[2010/02/09 14:39:02] <nigelk> like caching behavior, mobile accounts, group membership
[2010/02/09 14:39:21] <nigelk> I keep wanting to make a custom type to manage DS configs
[2010/02/09 14:39:32] <nigelk> but there are literally hundreds of options, and I'm not sure it's actually useful
[2010/02/09 14:39:37] <ccaum> We had talked a while ago about making a plist type
[2010/02/09 14:39:50] <ccaum> unfortunately we're both really busy people ;)
[2010/02/09 14:39:59] <nigelk> yes. I was going to have another go at that after the puppet dev training this week :)
[2010/02/09 14:40:12] <nigelk> The two I really want to finish are the plist type, and the gconf2 type I'm working on now
[2010/02/09 14:40:47] <nigelk> joe-mac: would you use a gconf2 type to do things like set screensaver/power management under Gnome?
[2010/02/09 14:41:30] <ccaum> I know I would. I do with my gconf xml files what you do with your plists
[2010/02/09 14:41:37] <nigelk> heh, us too
[2010/02/09 14:41:49] <fzzzt> Hrm...is there a way I can copy a dir recursively, have it's children have one mode, but the dir itself have another?
[2010/02/09 14:42:31] <nigelk> so ccaum there are ruby bindings for gconf2
[2010/02/09 14:42:53] <ccaum> Are there? I really need to learn Ruby
[2010/02/09 14:42:56] <nigelk> http://pastie.org/816868
[2010/02/09 14:42:58] <nigelk> check it out
[2010/02/09 14:43:11] <nigelk> it's really nice too
[2010/02/09 14:43:26] <ccaum> Seems like a custom type wouldn't be to difficult with that
[2010/02/09 14:43:33] <joe-mac> nigelk: yes. you locking down user desktops?
[2010/02/09 14:43:41] <nigelk> yeah. I need to work out the whole mandatory/default thing with it
[2010/02/09 14:43:45] <nigelk> joe-mac: yeah
[2010/02/09 14:44:19] <joe-mac> if i had more types for this kind of shit i could pitch it-managed desktops for the tech folks. i haven't done it since RH but it would be nice to have i think.
[2010/02/09 14:44:41] <nigelk> this is the brainstorm mail I sent out internally http://pastie.org/816871
[2010/02/09 14:45:50] <joe-mac> nigelk: yea that kind of thing would be *so* nice for users
[2010/02/09 14:45:51] <joe-mac> omfg
[2010/02/09 14:45:59] <tim|imac> ok... this is strange... I try to source a .bash_profile, but all it creates is an empty file... as soon as I remove the dot, making it bash_profile, the file get sourced normally...
[2010/02/09 14:46:07] <nigelk> joe-mac: hopefully next week
[2010/02/09 14:46:35] <joe-mac> tim|imac: sourcing isn't always clear-cut, since you have about a bazillion places to look that source a bazillion other places
[2010/02/09 14:47:03] <joe-mac> nigelk: i would love to see more lock down stuff in puppet in general, one of my favorite ideas is pam
[2010/02/09 14:47:22] <joe-mac> i put in a ticket but i am lazy and my ruby is not leet enough anyways
[2010/02/09 14:48:02] <ccaum> nigelk: I like it
[2010/02/09 14:48:04] <tim|imac> joe-mac: it's fairly straight forward... file { "/home/tim/.bash_profile": source => "puppet://puppet/home/tim/.bash_profile" } creates and empty .bash_profile, while file { "/home/tim/bash_profile": source => "puppet://puppet/home/tim/.bash_profile" } creates a bash_profile with the correct content...
[2010/02/09 14:48:22] <joe-mac> OH you mean in puppet
[2010/02/09 14:48:26] <tim|imac> yeah :)
[2010/02/09 14:48:30] <joe-mac> :-)
[2010/02/09 14:48:34] <joe-mac> i push out my .bashrc
[2010/02/09 14:48:34] <tim|imac> sorry, wasn't clear there ;-)
[2010/02/09 14:48:47] <joe-mac> h/o one sec juggling a few trhings
[2010/02/09 14:48:50] <ccaum> nigelk: With that plus ralsh, managing gconf would be a breeze
[2010/02/09 14:48:58] <tim|imac> using 0.25.4, btw
[2010/02/09 14:49:42] <fzzzt> I wish there was an easier way to say source => "puppet:///modules/$modname/$filename"
[2010/02/09 14:49:58] <fzzzt> or, a way to do that, rather
[2010/02/09 14:50:19] <fzzzt> to get the module name and just the filename, not the whole path
[2010/02/09 14:51:24] <ccaum> fzzzt: puppet:///modulename/filename will get the file named filename in the module named modulename on the puppetmaster the node is currently talking to
[2010/02/09 14:51:37] <fzzzt> i know
[2010/02/09 14:51:39] <fzzzt> i mean..
[2010/02/09 14:51:41] @ Robbie_ joined channel #puppet
[2010/02/09 14:51:41] <Volcane> unfort currently you cant easily get the modulename into a variable easily
[2010/02/09 14:52:09] <ccaum> I see
[2010/02/09 14:52:10] * Volcane 's been tempted to write some parser fnction to derive it from $name
[2010/02/09 14:52:22] <Volcane> cos name is usually the name of the class - but that will fail again in adefines
[2010/02/09 14:52:23] <fzzzt> i have lots of files named "/path/to/file.blah" that have sources of all puppet:///module/file.blah
[2010/02/09 14:52:28] <Volcane> which is where you'd want it
[2010/02/09 14:52:38] <fzzzt> I wish I could use e.g. /module/${filename} in a default
[2010/02/09 14:52:48] <Volcane> fzzzt: oh, make a define to wrap file
[2010/02/09 14:52:54] <benkevan> ccaum: this may sound stupid.. but where is your base class defined? is that just in /etc/puppet/modules ?
[2010/02/09 14:53:02] <fzzzt> ohhh
[2010/02/09 14:53:16] <ccaum> benkevan: Yeah
[2010/02/09 14:53:18] <Volcane> fzzzt: still though, finding out what module you're acting in is hard
[2010/02/09 14:54:18] <fzzzt> can you set default for defines? have MyFile { modulename="asdas" } ... myfile { ... }
[2010/02/09 14:54:37] <Volcane> yes
[2010/02/09 14:54:45] <fzzzt> that would seem like a reasonable compromise for me
[2010/02/09 14:55:19] <Volcane> i do myfile{"/etc/foo": source => "mymod/foo"}
[2010/02/09 14:55:37] <Volcane> that then makes a standard set of overrides for me
[2010/02/09 14:55:53] <fzzzt> yeah, the define is a good idea
[2010/02/09 14:57:26] @ Quit: phips: Quit: phips
[2010/02/09 15:01:01] @ Quit: jcape: Ping timeout: 260 seconds
[2010/02/09 15:01:30] <fzzzt> hmm can i inherit from File?
[2010/02/09 15:03:07] @ jantman joined channel #puppet
[2010/02/09 15:05:17] @ Quit: mvn071: Quit: Leaving
[2010/02/09 15:05:47] <gepetto> ::trac:: Recipes/Drupal created @ http://reductivelabs.com/trac/puppet/wiki/Recipes/Drupal?version=1
[2010/02/09 15:07:08] <ccaum> fzzzt: What do you mean? A class can't inherit from a resource type
[2010/02/09 15:08:31] <fzzzt> i mean myfile inherits file
[2010/02/09 15:08:41] <fzzzt> so i get owner, recurse, etc.
[2010/02/09 15:08:50] @ Quit: ppickfor: Quit: Leaving.
[2010/02/09 15:09:04] @ ppickfor joined channel #puppet
[2010/02/09 15:09:34] <ccaum> is myfile a resource, class or define?
[2010/02/09 15:09:49] <fzzzt> i have a define
[2010/02/09 15:11:38] <ccaum> A define can't inherit. You can use resource defaults though. Is that good enogh?
[2010/02/09 15:11:58] <fzzzt> it's ok, i'll just have to add the parms to my define..
[2010/02/09 15:17:26] @ Mick27 joined channel #puppet
[2010/02/09 15:18:00] @ Quit: bug: Quit: bug
[2010/02/09 15:20:11] @ Quit: Mick27: Client Quit
[2010/02/09 15:23:40] @ Quit: svend: Quit: Lost terminal
[2010/02/09 15:26:38] @ bug joined channel #puppet
[2010/02/09 15:27:34] @ Mick27 joined channel #puppet
[2010/02/09 15:30:03] @ Quit: nexx: Quit: quit
[2010/02/09 15:30:46] @ Quit: Mick27: Client Quit
[2010/02/09 15:32:06] @ Mick27 joined channel #puppet
[2010/02/09 15:41:43] @ Quit: allsystemsarego: Quit: Leaving
[2010/02/09 15:42:30] @ GGD_ is now known as GGD
[2010/02/09 15:42:45] @ Quit: bug: Quit: bug
[2010/02/09 15:44:23] @ Quit: themurph: Quit: themurph
[2010/02/09 15:44:56] <fzzzt> cool got my phile all set
[2010/02/09 15:45:00] <fzzzt> this'll make things easier
[2010/02/09 15:50:51] <tim|imac> has anyone created something like facter's ipaddress for ipv6?
[2010/02/09 15:54:36] <ccaum> I don't suppose anyone knows how to create a Guest account on Mac OS X with puppet?
[2010/02/09 15:55:28] <explody> if I have an item like exec { "some_thing": blah }, is there a variable I can use inside the item that would contain "some_thing"? I thought $name or $title might have it, but they contain the class name, not the name of the item..
[2010/02/09 15:56:57] <explody> nvm, I'll just use a define
[2010/02/09 15:56:59] @ tyler79 joined channel #puppet
[2010/02/09 16:06:57] <Insyte> Ummm... what? $name is supposed to be the name of the resource.
[2010/02/09 16:07:42] <Insyte> In what context was it returning the class name?
[2010/02/09 16:09:10] <fzzzt> That's title
[2010/02/09 16:09:37] <Insyte> Don't they default to the same thing unless you explicitly set $name?
[2010/02/09 16:09:38] <fzzzt> hmm maybe that's just for file
[2010/02/09 16:09:40] <fzzzt> whatever is the namevar
[2010/02/09 16:09:58] <fzzzt> for exec it may be $command or something
[2010/02/09 16:10:07] @ jantman left channel #puppet ()
[2010/02/09 16:10:10] <fzzzt> since that's what you use to override it
[2010/02/09 16:11:09] <ccaum> Insyte: I don't know if it's been fixed, but there used to be a bug where if you used name in a resource that was in a class, the name variable would have the name of the class, not the resource
[2010/02/09 16:11:16] <Insyte> Ah.
[2010/02/09 16:12:03] <ccaum> I think puppet still has a lot of scoping issues
[2010/02/09 16:15:16] <fzzzt> how do i "add on" to a previous parameter? e.g. ignore += ".svn"
[2010/02/09 16:15:22] <fzzzt> is it +> ?
[2010/02/09 16:16:19] @ jnewland joined channel #puppet
[2010/02/09 16:16:40] <fzzzt> ah += nice
[2010/02/09 16:17:53] <ccaum> Does that work for parameters? I know it works for variables, which I guess you could then use as the value of the parameter
[2010/02/09 16:18:32] <fzzzt> oh not sure i'm using the right term, i mean ignore += [".svn"],
[2010/02/09 16:18:47] <fzzzt> doesn't work though. :P
[2010/02/09 16:18:52] <fzzzt> but doesn't error out
[2010/02/09 16:19:21] <ccaum> Is ignore a parameter in a resource, like subversion { "project": ignore => [".svn"]; }
[2010/02/09 16:19:36] <ccaum> Or is it a variable, like $ignore = [".svn"] ?
[2010/02/09 16:20:12] <benkevan> ok.. good fun at gym.. now time to get back on this puppet stizzuf
[2010/02/09 16:20:16] <fzzzt> parameter in a file
[2010/02/09 16:20:25] <fzzzt> file {}
[2010/02/09 16:21:19] <ccaum> Ah. I actually don't know how/if to do that. You could however use a variable that you append to, the set ignore => $variable
[2010/02/09 16:21:21] <ccaum> http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#appending-to-variables
[2010/02/09 16:21:54] <explody> Insyte: oh, I was doing something like exec { "thing": onlyif => "test -f /path/to/${name}" }
[2010/02/09 16:21:59] <benkevan> is puppetmasterd a required environment?
[2010/02/09 16:22:15] <explody> and it was running "test -f /path/to/nested::classname"
[2010/02/09 16:22:18] <ccaum> benkevan: yes. It's the "main" environment
[2010/02/09 16:22:52] <explody> but it's no big deal, I should have been using a define begin with probably
[2010/02/09 16:23:03] <fzzzt> finally, got my /etc/puppet/ssl file modes all set...now it won't freak out when it runs and restart puppetmaster every time
[2010/02/09 16:23:38] <benkevan> hummmm.. ok.. darn.. does anyone ever keep that pretty much vanilla.. just putting stuff in /modules as the common modules place as opposed to modules-{development,testing,production} (note.. production != puppetmasterd) as I'm looking at keeping puppetmasterd pretty much vanilla and used as a common modules loader
[2010/02/09 16:24:55] <ccaum> benkevan: production does in fact equal puppetmasterd. If you set the --environment=production it will use what's in the [puppetmasterd] section
[2010/02/09 16:25:00] @ Mode -o Volcane by Volcane
[2010/02/09 16:25:14] @ Quit: skiold: Quit: skiold
[2010/02/09 16:25:21] <benkevan> ccaum: even if I have a different environment named production? or would that be a no-no
[2010/02/09 16:25:33] <ccaum> benkevan: That would be a no no
[2010/02/09 16:25:42] <benkevan> ok.. let me fix my no-no
[2010/02/09 16:25:58] @ yarihm joined channel #puppet
[2010/02/09 16:25:58] <ccaum> You can make arbitrary environments though. It doesn't have to be dev/test/prod
[2010/02/09 16:26:23] <ccaum> you could have a base environment that uses your 'vanilla' common modules
[2010/02/09 16:26:54] <benkevan> ccaum: yeah.. I'm just going to rename it.. since I still want puppetmasterd to pretty much have the modules-common that's used across all environments.. and then just use modules-newnamedprod modules-development modules-testing for only the differences..
[2010/02/09 16:27:07] <benkevan> ooh.. "base" better name for it..
[2010/02/09 16:27:23] <ccaum> Well gents, I officially fucked up my dev mac box. Ugh, time to rebuild
[2010/02/09 16:27:26] <fzzzt> you could have envs like dev/test/prod/prod2/prodtest/prodworking/blah/foo/prodagain, not that i've ever seen that of course
[2010/02/09 16:27:58] <benkevan> ccaum: Naw.. I think the mac did that itself D
[2010/02/09 16:28:30] <ccaum> Excuse me, I meant gents and ladies. Although statistics would suggest there are in fact no women here, my philosopher wife has taught me the importance of continuous inclusion
[2010/02/09 16:29:02] <benkevan> ok.. there changed productoin environment to puppetmasterd and changed the original puppermasterd to base :D
[2010/02/09 16:29:10] <fzzzt> which is?
[2010/02/09 16:30:22] <ccaum> ?
[2010/02/09 16:30:53] <benkevan> I'm going to set everything up how I like it.. and realize I'm not using SVN right.. I'll tell you that much
[2010/02/09 16:30:55] <benkevan> hahahah
[2010/02/09 16:31:11] <explody> is there some way to list all the files+md5s in the clientbucket?
[2010/02/09 16:32:28] @ Quit: poison: Quit: Leaving...
[2010/02/09 16:32:49] <fzzzt> There's almost no "right" way to use Subversion, I've learned
[2010/02/09 16:33:24] <benkevan> fzzzt: well right now I'm just putting all the changes to directory structure into trunk.. haven't even though of branches or tags yet.. haha
[2010/02/09 16:33:52] <fzzzt> That's pretty much normal procedure with Subversion...you don't have to start out with branches
[2010/02/09 16:34:13] <fzzzt> I've never used a tag ever heh
[2010/02/09 16:34:24] <benkevan> oh.. ok.. haha. .i feel better then :D
[2010/02/09 16:34:40] <fzzzt> I probably will soon though, now that we're "releasing" one of my apps
[2010/02/09 16:34:47] <benkevan> < also not sure how the heck he over writes the original stuff he added into svn..
[2010/02/09 16:34:58] <benkevan> guessing I'll just delete it.. and check out from svn and copy where the stuff was.. haha
[2010/02/09 16:35:09] <fzzzt> ?
[2010/02/09 16:35:57] <benkevan> exactly.. I don't know what I'm talking about :D
[2010/02/09 16:36:31] <benkevan> I've added everything in /etc/puppet on the puppetmaster to trunk on svn.. which includes the puppet.conf etc etc..
[2010/02/09 16:36:53] <fzzzt> yeah
[2010/02/09 16:37:17] <benkevan> when it comes to redeploy that.. how can I deploy that onto my puppetmaster server? do I just rm -rf /etc/puppet then svn cp the project?
[2010/02/09 16:37:19] @ bug joined channel #puppet
[2010/02/09 16:37:36] <benkevan> learning svn and puppet at the same time.. has been fun :D
[2010/02/09 16:37:52] <fzzzt> That's what I've done
[2010/02/09 16:38:19] @ Quit: tim|imac: Quit: tim|imac
[2010/02/09 16:40:57] <benkevan> whoops.. guess I should have checked permissions..
[2010/02/09 16:41:10] <benkevan> can someone ls -l /etc/puppet for me.. so I can see permission requirements for puppet?
[2010/02/09 16:41:14] <joe-mac> learning svn is not good to learn at the same time as puppet, you may lose a bunch of work lol
[2010/02/09 16:41:24] <joe-mac> or otherwise have subversion stuff it somewhere in its depths
[2010/02/09 16:41:29] <benkevan> joe-mac: I'm keeping different copies of it too :)
[2010/02/09 16:41:49] <benkevan> joe-mac: I know I'll probably f up the svn stuff.. so I'm keeping multiple copies.. haha
[2010/02/09 16:42:43] @ OpenMedia joined channel #puppet
[2010/02/09 16:42:46] <fzzzt> i never found any required perms in /etc/puppet except for ssl/ if you have that in there
[2010/02/09 16:42:52] @ Quit: toi: Quit: Ex-Chat
[2010/02/09 16:42:56] <fzzzt> i just used puppet:puppet 400 for almost everything
[2010/02/09 16:43:11] <benkevan> etc/puppet/manifests]/ensure (err): change from absent to directory failed: Could not set directory on ensure: Permission denied - /etc/puppet/manifests
[2010/02/09 16:44:36] <benkevan> changing to puppet:puppet worked :)
[2010/02/09 16:45:53] @ TREllis joined channel #puppet
[2010/02/09 16:46:01] @ Quit: mfournier: Ping timeout: 245 seconds
[2010/02/09 16:48:07] <joe-mac> i love leaving ridiculous comments on subversion commits, particularly ones that fix long-standing problems
[2010/02/09 16:48:44] <joe-mac> just echoes of victory, with no technical explanation other than 'see diff'
[2010/02/09 16:48:52] <jbeez> lol
[2010/02/09 16:50:05] * benkevan likes reading output of output of grep -ir <explitive> /usr/src
[2010/02/09 16:50:15] @ ccaum left channel #puppet ()
[2010/02/09 16:50:38] <nigelk> joe-mac: "Bug 2/30: The Puppet apt class is like staring into the belly of the beast. Please fix"
[2010/02/09 16:50:40] <nigelk> :)
[2010/02/09 16:50:46] <fzzzt> i commit with messages for my previous commit
[2010/02/09 16:55:54] <joe-mac> lol...
[2010/02/09 16:56:44] <joe-mac> i got a pretty nice define for an apt source off of teh wiki nigelk, idk if they have this on debian but in ubuntu they have a sources.list.d so you can create a file per repo, super easy
[2010/02/09 16:56:48] @ jcape joined channel #puppet
[2010/02/09 16:57:23] @ Quit: ahasenack: Quit: Leaving
[2010/02/09 16:57:45] @ WALoeIII joined channel #puppet
[2010/02/09 16:57:55] <nigelk> yeah, it's not the repos that are the problems :)
[2010/02/09 17:00:28] <joe-mac> heh
[2010/02/09 17:00:41] <nigelk> we have hundreds of PPAs
[2010/02/09 17:00:51] <nigelk> all conditionalized with templates and hideous monstrosities
[2010/02/09 17:01:07] <nigelk> You know something was in desperate need of refactoring when you go from one class to 14 :)
[2010/02/09 17:01:08] <joe-mac> lol that sucks
[2010/02/09 17:01:31] <joe-mac> only packages i ever need to put in our one custom repo are new packages and they always win because by default apt picks newer versions
[2010/02/09 17:01:41] <joe-mac> so i throw nagios-3.2 or puppet-.25.4, it wins
[2010/02/09 17:02:05] <joe-mac> i don't need to pin shit, or do anyuthing funky
[2010/02/09 17:02:10] <joe-mac> but as i recall, you're using the old LTS
[2010/02/09 17:02:13] <joe-mac> which, really sucks for you
[2010/02/09 17:02:26] @ Djelibeybi joined channel #puppet
[2010/02/09 17:02:30] <nigelk> this is on hardy LTS
[2010/02/09 17:02:32] <nigelk> it's not that bad
[2010/02/09 17:02:40] <nigelk> we also do a shitload of pinning and holding
[2010/02/09 17:05:04] <zirpu> i don't understand the whole corporate fear of change thing.
[2010/02/09 17:05:10] <zirpu> especially google. :-)
[2010/02/09 17:05:26] <benkevan> zirpu: google changes alot.. that's why they keep EVERYTHING in beta haha
[2010/02/09 17:05:49] @ Djelibeybi left channel #puppet ()
[2010/02/09 17:06:10] <zirpu> no, talking about server distro changes. why such old hardy LTS? why not upgrade?
[2010/02/09 17:06:29] <zirpu> jaredrhine: you've upgraded by now right? :-)
[2010/02/09 17:07:03] <jaredrhine> nah, no need. happy to wait until next LTS, I think.
[2010/02/09 17:07:30] <jaredrhine> i've actually been surprised i haven't run into more problems with aged versions in hardy.
[2010/02/09 17:07:50] <nigelk> zirpu: we're not afraid of change :) otherwise i'd be in a state of constant fear
[2010/02/09 17:07:58] <zirpu> well, as long as nothing changes, and you don't need python 2.6 features, you're good.
[2010/02/09 17:08:23] <nigelk> sticking to LTSs is a pragmatic decision
[2010/02/09 17:08:42] <zirpu> nigelk: besides mac laptops, what else is puppet being used for? linux laptops?
[2010/02/09 17:08:43] <nigelk> did you *use* karmic/jaunty?
[2010/02/09 17:08:50] <nigelk> laptops/desktops/servers
[2010/02/09 17:09:00] <zirpu> i am using karmic on my personal machine farm.
[2010/02/09 17:09:19] <nigelk> on laptops?
[2010/02/09 17:09:20] <zirpu> i really wish someone would replace/rewrite all that X crap. :-)
[2010/02/09 17:09:22] <benkevan> ok.. someone ready to help me with some of my ineptness again?
[2010/02/09 17:09:32] <nigelk> there's a benefit to being consistent across laptop/desktop/server
[2010/02/09 17:09:35] <zirpu> i have it on a lenovo t61. works fine.
[2010/02/09 17:09:39] <benkevan> zirpu: I think xorg has been doing the right thing lately (although they NEVER release on time)
[2010/02/09 17:09:40] <jaredrhine> i'm karmic on laptop, personally.
[2010/02/09 17:09:45] <benkevan> openSUSE on mine
[2010/02/09 17:09:48] <nigelk> karmic was hideous on laptop when released
[2010/02/09 17:10:05] <zirpu> oh yeah. but i waited 6 months like a sane monkey. :-)
[2010/02/09 17:10:14] <jaredrhine> vague pain in the ass on macbook hardware. bad handling of wireless by network-manager. touchpad mostly works, but touchy.
[2010/02/09 17:10:21] <nigelk> pulseaudio?
[2010/02/09 17:10:34] <zirpu> i kill -9 pulseaudio.
[2010/02/09 17:10:35] <jaredrhine> yup, problems there too.
[2010/02/09 17:10:47] <nigelk> so scale that up by many thousands
[2010/02/09 17:10:53] <joe-mac> nigelk: ahh i c i also use the 8.04, i thought you werre on 6.06 still
[2010/02/09 17:10:58] <nigelk> and you might understand why sticking with LTSs is a pragmatic decision
[2010/02/09 17:11:00] <benkevan> pulseaudio was (still kind of is) a nightmare
[2010/02/09 17:11:02] <nigelk> joe-mac: we have some, yeah.
[2010/02/09 17:11:10] <jaredrhine> "what random fundamental system will ubutu replace *this* release"? fun game.
[2010/02/09 17:11:11] <nigelk> but not puppeted
[2010/02/09 17:11:14] <joe-mac> not sticking with LTS is retarded
[2010/02/09 17:11:28] <joe-mac> anybdoy who thinks it is a good idea to be moving their servers past LTS is high on crack street
[2010/02/09 17:11:48] <zirpu> cinnamon flavored crack.
[2010/02/09 17:11:51] <jaredrhine> that's perhaps going overly far, joe-mac. different environments, different needs.
[2010/02/09 17:11:54] <joe-mac> jaredrhine: exactly, which is why with LTS you only have to play that game every few years
[2010/02/09 17:12:00] <benkevan> ok.. now I think I have my directories how I want them.. too ..
[2010/02/09 17:12:11] <joe-mac> jaredrhine: backport the packages you need and maintain sanity
[2010/02/09 17:12:15] <jaredrhine> but for me yeah. i'd probably be on pure debian though, if i started afresh. maybe.
[2010/02/09 17:12:16] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2010/02/09 17:12:32] <jaredrhine> i shake my head every time i watch my server see if it needs to come out of suspend mode on start.
[2010/02/09 17:12:46] <joe-mac> your server suspends?
[2010/02/09 17:12:55] <joe-mac> power saving a requirement?
[2010/02/09 17:12:58] <elasticdog> dumb question, but is the node name 'default' not special, it's just a naming convention and then all other nodes must explicitly inherit 'default'?
[2010/02/09 17:12:58] <zirpu> yeah, that is a puzzling feature. even with the server kernel installed.
[2010/02/09 17:13:07] <jaredrhine> and currently pissed off at the shell startup code which runs a bunch of crap and basically prevents login if a machine is thrashing.
[2010/02/09 17:13:26] @ Quit: labrown: Quit: Leaving
[2010/02/09 17:13:27] @ Quit: ezmobius: Read error: Connection reset by peer
[2010/02/09 17:13:50] <jaredrhine> no, i don't suspend, but that doesn't keep ubuntu defaults from looking for it. too much desktopy-stuff running on my servers. i saw dbus running on a box recently.
[2010/02/09 17:14:05] @ ezmobius joined channel #puppet
[2010/02/09 17:14:10] <fzzzt> If I have class puppet {} and class puppet::server {}, if I include puppet::server in a node, it will parse puppet first automatically, right?
[2010/02/09 17:14:14] <joe-mac> jaredrhine: ouch, i've seen that on a couple boxes here....
[2010/02/09 17:14:16] <zirpu> yeah, there are some defaults there that get installed from something that thinks it needs X.
[2010/02/09 17:15:05] <zirpu> i have a fedora vm and tried to install lsb_release. holy chao it tried to installa lot of dependencies.
[2010/02/09 17:17:03] <Volcane> thats cos on fedora unlike on some other OS lsb_base actually makes you lsb compliant
[2010/02/09 17:17:32] <benkevan> So how does this directory structure seem? http://pastie.org/817187
[2010/02/09 17:18:06] <zirpu> Volcane: ok. that explains it. the influence of the RedHat.
[2010/02/09 17:18:22] @ themurph joined channel #puppet
[2010/02/09 17:18:30] @ jfreeman joined channel #puppet
[2010/02/09 17:18:43] * Volcane 'd think installing lsb_? resulting in lsb compliance is a desired feature
[2010/02/09 17:21:28] @ Quit: jfreeman: Remote host closed the connection
[2010/02/09 17:21:40] @ Quit: tjoe: Quit: leaving
[2010/02/09 17:23:10] <benkevan> man.. I'm lost again
[2010/02/09 17:23:39] @ jfreeman joined channel #puppet
[2010/02/09 17:24:58] <zirpu> benkevan: in manifests/ you have development and production dirs? how are you choosing those?
[2010/02/09 17:25:28] <fzzzt> dang, that's not how it works
[2010/02/09 17:25:56] <benkevan> i have environments set in puppet.conf
[2010/02/09 17:25:57] @ tjoe joined channel #puppet
[2010/02/09 17:26:20] <benkevan> http://pastie.org/817203
[2010/02/09 17:26:34] <benkevan> at the top of the puppet.conf I have environment = development
[2010/02/09 17:27:09] <benkevan> was hoping it'd pull something from [base] still.. which is where.. I have a something defined in modulespath and modules.pp in there
[2010/02/09 17:27:28] <zirpu> those aren't environments afaik.
[2010/02/09 17:28:06] <zirpu> puppetd puppetmaster and and main.
[2010/02/09 17:28:20] <benkevan> ? I thought the environments were defined in /etc/puppet/puppet.conf which is where I have those defined..
[2010/02/09 17:29:09] @ Quit: TREllis: Quit: yoink
[2010/02/09 17:30:41] <benkevan> ok.. maybe I'll go back to the basic config again.. and work from there..
[2010/02/09 17:30:43] <zirpu> yes, but i'm not to sure about environments, so i can't answer. sorry.
[2010/02/09 17:31:40] <fzzzt> so supposedly a parent class is evaluated before it's nested classes, but that doesn't seem to work for me
[2010/02/09 17:33:53] <benkevan> GRRRRRRRRRR
[2010/02/09 17:34:02] @ bodepd joined channel #puppet
[2010/02/09 17:35:10] <zirpu> benkevan: consider using git and branches for your environments. it might make more sense that way. unless you're restricted to using puppetmaster.
[2010/02/09 17:35:19] <zirpu> good read on git and puppet: http://bitfieldconsulting.com/scaling-puppet-with-distributed-version-control
[2010/02/09 17:35:53] <benkevan> ok.. going to start from scratch again
[2010/02/09 17:41:59] @ Quit: Welsh_Dwarf: Read error: Connection reset by peer
[2010/02/09 17:43:30] @ mfournier joined channel #puppet
[2010/02/09 17:43:38] @ steve_m joined channel #puppet
[2010/02/09 17:47:49] @ Quit: jcape: Ping timeout: 265 seconds
[2010/02/09 17:49:36] @ svend joined channel #puppet
[2010/02/09 17:49:50] <svend> Is there a setting to turn on generation of clientconfigs.sqlite3
[2010/02/09 17:54:29] @ giskard joined channel #puppet
[2010/02/09 17:56:59] <svend> I think storeconfigs is what I was looking for...
[2010/02/09 18:04:06] @ Quit: jnewland: Quit: jnewland
[2010/02/09 18:04:43] @ Djelibeybi joined channel #puppet
[2010/02/09 18:06:32] <fzzzt> if a class is subscribed to a dir and something happens within a subdir, will that class get refreshed, or is it only one level deep?
[2010/02/09 18:07:26] <elasticdog> in my templates.pp, it says it can't find my module classes in the namespace when trying to include them...shouldn't that be automatic?
[2010/02/09 18:08:00] @ Quit: themurph: Quit: themurph
[2010/02/09 18:11:08] <jrojas> fzzzt: i dont think classes can subscribe to resources.
[2010/02/09 18:11:13] @ Quit: rmiller4pi8: Ping timeout: 264 seconds
[2010/02/09 18:11:32] <jrojas> elasticdog: maybe
[2010/02/09 18:12:26] @ Quit: malraid: Quit: malraid
[2010/02/09 18:12:58] <elasticdog> jrojas: in /manifests/templates.pp I just want to define a baseclass that includes a module /modules/motd
[2010/02/09 18:13:28] @ mdp_ joined channel #puppet
[2010/02/09 18:13:40] @ jcape joined channel #puppet
[2010/02/09 18:13:51] @ Welsh_Dwarf joined channel #puppet
[2010/02/09 18:13:56] <jrojas> k.. does puppet know to import *.pp ? and to look in /modules for any type of module?
[2010/02/09 18:14:24] <fzzzt> huh, an auth.conf appeared in my /etc/puppet
[2010/02/09 18:14:30] <elasticdog> jrojas: in my site.pp I have import "templates" and import "nodes"
[2010/02/09 18:14:44] <fzzzt> iirc, it will look in modulepath and load what is in there
[2010/02/09 18:14:45] <benkevan> jrojas: I think from: http://reductivelabs.com/trac/puppet/wiki/CompleteConfiguration
[2010/02/09 18:15:00] @ Quit: Pupeno: Quit: Pupeno
[2010/02/09 18:15:12] <fzzzt> in the specific hierarchy layout
[2010/02/09 18:15:29] <elasticdog> fzzzt: I believe that is correct
[2010/02/09 18:16:41] <jamesturnbull> fzzzt: that's correct - it'll load anything in the modulepath with the right dir structure and an init.pp file
[2010/02/09 18:16:48] <jamesturnbull> jrojas: ^^
[2010/02/09 18:17:09] <fzzzt> (<modname>/manifests/init.pp)
[2010/02/09 18:17:14] <jrojas> iirc modules are generally ignored, unless specifically imported, ie: import blah.pp, or if they have the proper dir layout wiht files modules_path/mod1/{files,templates,manifests} and init.pp in manifests
[2010/02/09 18:17:27] <jrojas> jamesturnbull: i was typing
[2010/02/09 18:17:28] <jrojas> :P
[2010/02/09 18:17:31] <jrojas> im slow today
[2010/02/09 18:17:35] <jamesturnbull> heh
[2010/02/09 18:17:55] <fzzzt> huh
[2010/02/09 18:18:00] <jrojas> jamesturnbull: want to work one some 6 yr old perl scripts for me ?
[2010/02/09 18:18:03] <nigelk> the other important part is that <modname>/manifests/init.pp must declare 'class <modname>'
[2010/02/09 18:18:15] <fzzzt> i just noticed auth.conf, could that have been created when upgrading 0.25.1 to 0.25.4?
[2010/02/09 18:18:23] <nigelk> fzzzt: are you on debian?
[2010/02/09 18:18:26] <fzzzt> rhel
[2010/02/09 18:18:37] * nigelk walks away washing his hands then
[2010/02/09 18:18:40] <fzzzt> haha :)
[2010/02/09 18:18:53] <fzzzt> i used the packages from tmz
[2010/02/09 18:19:08] <benkevan> hummm.. on another client .. I'm getting a failure on /var/lock/subsys/puppet.. but it's owned by puppet.. what the flip side
[2010/02/09 18:19:10] <elasticdog> nigelk: DOH! I renamed the module name, but didn't update the class name in the init.pp
[2010/02/09 18:19:20] <nigelk> elasticdog: happens to the best of us :)
[2010/02/09 18:19:44] <jamesturnbull> nigelk: true true
[2010/02/09 18:19:56] <Djelibeybi> nigelk: no, it's never, ever happened to me. (ever).
[2010/02/09 18:20:05] <elasticdog> :-) thanks all
[2010/02/09 18:20:07] * Djelibeybi bursts into flames from the burning, burning lie.
[2010/02/09 18:20:17] * nigelk looks at the file { } resources with source => template("mytemplate.erb") he's fixing up atm :)
[2010/02/09 18:20:50] <fzzzt> does a plugin (or any mod type) ever have access to both the current config and the new config when a client runs, before the new one is applied? e.g. to compare and generate a "potential changes" report
[2010/02/09 18:21:34] <jrojas> fzzzt: nope. the catalog is generated, then "cached" (replacing the old one on the client)
[2010/02/09 18:21:55] <fzzzt> and you can't jump in between the generation and caching
[2010/02/09 18:22:18] <jrojas> fzzzt: technically, you could do pre_run command of cp localconfig.yaml tmp/localconfig.yaml.old
[2010/02/09 18:22:24] <jrojas> and diff it afterwards
[2010/02/09 18:22:33] <jrojas> but that may not be helpful
[2010/02/09 18:23:18] <fzzzt> i'm mainly interested in getting a list of what resources change, disappear or are created
[2010/02/09 18:23:27] <nigelk> isn't this what reports are for?
[2010/02/09 18:23:32] <jrojas> true
[2010/02/09 18:23:51] <jrojas> but, reports are generally after the fact
[2010/02/09 18:24:15] <jamesturnbull> jrojas: but isn't fzzzt asking in the past tense?
[2010/02/09 18:24:31] <nigelk> ie "what did this run *do*?"
[2010/02/09 18:24:38] <fzzzt> hmm
[2010/02/09 18:24:50] <jrojas> i was thrown of by "potential changes"
[2010/02/09 18:25:01] <jrojas> and the bewfore the new config
[2010/02/09 18:25:06] <jrojas> you can read it all here: "fzzzt> does a plugin (or any mod type) ever have access to both the current config and the new config when a client runs, before the new one is applied? e.g. to compare and generate a "potential changes" report
[2010/02/09 18:25:08] <nigelk> fzzzt: you can do --dry-run puppet runs ?
[2010/02/09 18:25:15] <jamesturnbull> jrojas: ah
[2010/02/09 18:25:18] <jrojas> :P
[2010/02/09 18:25:23] <jamesturnbull> --noop
[2010/02/09 18:25:30] <jrojas> --vt --noop
[2010/02/09 18:25:31] <nigelk> oh yeah. stuck in git land
[2010/02/09 18:25:34] <jrojas> :P
[2010/02/09 18:25:46] @ lak joined channel #puppet
[2010/02/09 18:25:59] @ francois1 left channel #puppet ()
[2010/02/09 18:26:01] <jamesturnbull> nigelk: are you another bzr user?
[2010/02/09 18:26:07] <nigelk> fuck no
[2010/02/09 18:26:13] <grim_radical> heh
[2010/02/09 18:26:14] <mpdehaan> darcs!
[2010/02/09 18:26:21] <mpdehaan> just kidding
[2010/02/09 18:26:24] <fzzzt> well, one thing i was thinking of is e.g. if you remove a class, have it compare that, notice it's gone, and run some sort of cleanup process
[2010/02/09 18:26:42] <nigelk> I resent learning new source control systems
[2010/02/09 18:26:43] <jamesturnbull> nigelk: nothing better than teasing bzr users
[2010/02/09 18:26:54] <jrojas> fzzzt: clean up as in back out previously made changes?
[2010/02/09 18:26:57] * nigelk grumbles about google code supporting mercurial not git
[2010/02/09 18:26:59] <jamesturnbull> nigelk: I resent lots of things - I now have a git-managed list of my resentments
[2010/02/09 18:27:07] <fzzzt> yeah that sounds like it
[2010/02/09 18:27:07] <nigelk> oh can we merge?
[2010/02/09 18:27:17] <zirpu> send me a patch.
[2010/02/09 18:27:21] <jamesturnbull> lol
[2010/02/09 18:27:33] <mpdehaan> Puppet needs to get in GSOC this year. Got to look into that or whether it's easier to go through Fedora.
[2010/02/09 18:27:40] <fzzzt> jrojas: like if i had an apache vhost, then removed it, clean up some files
[2010/02/09 18:27:43] <mpdehaan> more slots would be goodness though
[2010/02/09 18:27:52] @ jab_doa joined channel #puppet
[2010/02/09 18:28:13] <jrojas> fzzzt: one of the major problems with that especially in that type of notion is, how does puppet know that vhost blahlbah.com logged to /opt/log/blahblah/blah
[2010/02/09 18:28:30] <jrojas> fzzzt: so how would puppet know where to clean it up? same thing goes for package dependencies
[2010/02/09 18:28:37] @ tonyskapunk left channel #puppet ()
[2010/02/09 18:29:15] <jrojas> fzzzt: it almost sounds like you should have a classname::uninstall class that has some custom defines and when you are ready to remove that stuff you change "include classname" to include classname::uninstall
[2010/02/09 18:29:22] <fzzzt> well you could set the vhost to do that "onCleanup"
[2010/02/09 18:30:13] <fzzzt> that's sort of what i do now...set ensure => absent, run it, then remove it
[2010/02/09 18:30:20] <jrojas> fzzzt: basically there are plenty of ways to do it, some more elegant than others but unless you implicitly define what to cleanup, puppet has no idea what to do.
[2010/02/09 18:30:26] <fzzzt> yeah
[2010/02/09 18:30:46] <fzzzt> well the in-between layer would determine on which objects to call onCleanup
[2010/02/09 18:31:08] <fzzzt> (in between current and incoming configs)
[2010/02/09 18:31:11] <fzzzt> if it were possible
[2010/02/09 18:31:32] <jrojas> im sure it is, but at that point you are talking about tracking filesystem changes, package management dependencies etc etc
[2010/02/09 18:31:45] @ Quit: ezmobius: Remote host closed the connection
[2010/02/09 18:31:53] <nigelk> fzzzt: I speculate (but don't know) that this is what lak is talking about much further down the track with trying to get rollback into puppet
[2010/02/09 18:32:18] <jamesturnbull> grim_radical: lurkeer
[2010/02/09 18:32:30] <fzzzt> I was remembering my activerecord up/down stuff and thought it would be useful, though I'm sure it would be much harder to do
[2010/02/09 18:32:33] <benkevan> man.. how can I trouble shoot why one of my modules isn't being grabbed? I don't see anything in the logoutputs..
[2010/02/09 18:32:40] <lak> nigelk: not exactly - i'm more concerned about easily converting to previous versions of catalogs
[2010/02/09 18:32:45] <lak> which looks almost exactly like rollback
[2010/02/09 18:32:45] @ alban21 joined channel #puppet
[2010/02/09 18:32:54] <lak> fzzzt is more talking about no longer managing things
[2010/02/09 18:32:58] <benkevan> just trying to replace sudoers with ensure=> latest
[2010/02/09 18:33:00] <lak> which is related but, in the end, different
[2010/02/09 18:33:04] <nigelk> ah yes
[2010/02/09 18:33:05] @ Quit: alban2: Read error: Connection reset by peer
[2010/02/09 18:33:05] <fzzzt> indeed
[2010/02/09 18:33:33] <grim_radical> jamesturnbull: I covet my low profile. :P
[2010/02/09 18:34:08] <nigelk> We have this horrid cleanup module that we put things into to clean up from one release to the next
[2010/02/09 18:34:37] <zirpu> benkevan: pastie?
[2010/02/09 18:34:40] <benkevan> jamesturnbull: any idea when the second version of your book will come out?
[2010/02/09 18:34:56] <zirpu> probably when puppet goes 1.0. :-)
[2010/02/09 18:34:56] <nigelk> jamesturnbull: is such a slacker
[2010/02/09 18:35:00] <jamesturnbull> benkevan: when the publisher agrees to pay me to write it
[2010/02/09 18:35:09] <benkevan> zirpu: not sure what I can pastie.. nothing is coming out.. haha.. here let me pastie.org my configs..
[2010/02/09 18:35:18] <benkevan> jamesturnbull: so in otherwords.. better to just buy R1?
[2010/02/09 18:35:33] <svend> Is there an easy way to list all nodes that use a certain class?
[2010/02/09 18:35:35] <zirpu> it has the basic concepts and examples you need in it.
[2010/02/09 18:35:39] <jamesturnbull> nigelk: I know - that fuckng guy wasn't up to 1am last night trouble-[shooting someone custom type ... he is not tired and coffee-less and grumpy and on conf calls since 6am :)
[2010/02/09 18:35:40] <jrojas> benkevan: is sudoers a file ?
[2010/02/09 18:35:47] <benkevan> jrojas: yes.
[2010/02/09 18:35:56] <jamesturnbull> benkevan: for the momemt - it's pretty cheap IMHO
[2010/02/09 18:35:56] <jrojas> benkevan: ensure => latest works on packages
[2010/02/09 18:36:21] <benkevan> jrojas: oh.. it's defined in a package.. to replace the sudoers.. sorry
[2010/02/09 18:37:07] @ Quit: kaptk2: Quit: Leaving.
[2010/02/09 18:37:10] <zirpu> benkevan: source => "puppet://sudersmodule/suders.txt.src"
[2010/02/09 18:37:21] <zirpu> w/in a file {} block
[2010/02/09 18:37:40] <zirpu> file {"/etc/suders": ... } or some such.
[2010/02/09 18:37:46] <benkevan> http://pastie.org/817311
[2010/02/09 18:38:21] <jrojas> benkevan: that looks ok to me
[2010/02/09 18:38:48] <jrojas> does modules/sudo/files/sudoers exist?
[2010/02/09 18:38:53] <benkevan> jrojas: that's what I thought.. but it's not updating the file..
[2010/02/09 18:39:08] <benkevan> jrojas: Yes.. it does.. owned by puppet:puppet (left that out since I figured it was common place)
[2010/02/09 18:39:29] <zirpu> what's the import "sudo" part? what do you expect that to import?
[2010/02/09 18:40:07] <jrojas> benkevan: if you run puppetd -vt --noop --evaltrace
[2010/02/09 18:40:14] <jrojas> do you see it looking at /etc/sudoers
[2010/02/09 18:40:46] <benkevan> err: Could not retrieve catalog from remote server: wrong header line format from puppetd -vt --noop --evaltrace
[2010/02/09 18:40:47] @ Quit: notbrien: Quit: notbrien
[2010/02/09 18:40:57] <jrojas> hmm
[2010/02/09 18:40:59] <jrojas> thats odd
[2010/02/09 18:41:10] <jrojas> sounds like something else is broken
[2010/02/09 18:41:13] <jamesturnbull> benkevan: client and master versions?
[2010/02/09 18:42:01] <benkevan> jamesturnbull: both are 0.25.4
[2010/02/09 18:42:12] <jrojas> benkevan: passenger in front of them?
[2010/02/09 18:42:14] <benkevan> the client is on the master (I should note)
[2010/02/09 18:42:19] <jrojas> hmm
[2010/02/09 18:42:37] <jrojas> benkevan: was there more to that error?
[2010/02/09 18:42:45] @ tonyskapunk joined channel #puppet
[2010/02/09 18:42:54] <jrojas> is the servername that the client connects to named puppet ? or something else?
[2010/02/09 18:43:00] <benkevan> err: Could not retrieve catalog; skipping run was the otther error.. there was a warning about not using cache
[2010/02/09 18:43:16] <fzzzt> woot, got puppetrun working from the svn server...
[2010/02/09 18:43:17] <benkevan> puppet exists in /etc/hosts and didn't define anything in /etc/sysconfig/puppet
[2010/02/09 18:43:25] <jrojas> k
[2010/02/09 18:43:29] <jrojas> thats fine
[2010/02/09 18:43:35] <jrojas> just making sure it was connecting to the proper host
[2010/02/09 18:43:53] <nigelk> grim_radical: I kept waiting for you to say something else, but you just started lurking again!
[2010/02/09 18:43:56] <jrojas> benkevan: any errors from the puppetmasteR?
[2010/02/09 18:44:07] <grim_radical> nigelk: ha!
[2010/02/09 18:44:13] <jamesturnbull> nigelk: he only has two or three funny things a year to say so he needs to ration
[2010/02/09 18:44:13] <benkevan> nothing in the log file.. what should I run it with to get more debug?
[2010/02/09 18:44:22] <grim_radical> jamesturnbull: aw, snap
[2010/02/09 18:44:31] <jrojas> benkevan: --debug on the client first
[2010/02/09 18:44:34] <explody> is anyone managing ldap servers on OSX with puppet? (not OpenDirectory, just plain ole ldap)
[2010/02/09 18:44:40] <nigelk> did you use them all up in your puppet camp talk?
[2010/02/09 18:44:42] <jamesturnbull> benkevan: --verbose --debug --trace and can you pastie the full results on your fav pastie server?
[2010/02/09 18:44:54] <jrojas> jamesturnbull: likes OSX and puppet
[2010/02/09 18:45:06] <jamesturnbull> nigelk: depends whether he is running a Jan-Dev fin year or a Jun-June
[2010/02/09 18:45:06] * nigelk hides
[2010/02/09 18:45:15] <grim_radical> nigelk: hahaha
[2010/02/09 18:45:36] <grim_radical> nigelk: if I were smarter, I would have announced my retirement at the end of my talk. :P
[2010/02/09 18:45:41] <nigelk> heh
[2010/02/09 18:46:00] <nigelk> explody: what are you trying to do?
[2010/02/09 18:46:08] <benkevan> jamesturnbull: for puppetd or puppetmasterd?
[2010/02/09 18:46:09] <nigelk> raise an OD master/replica with puppet?
[2010/02/09 18:46:17] <jamesturnbull> benkevan: both would be perfect
[2010/02/09 18:46:32] @ Quit: jes5: Quit: Leaving.
[2010/02/09 18:46:33] <explody> nigelk: figure out how to add an rfc2307 ldap server to an osx box
[2010/02/09 18:46:38] <explody> trying to*
[2010/02/09 18:46:41] <jrojas> jamesturnbull: are prviders determined by just if the executable exists?
[2010/02/09 18:46:48] <nigelk> explody: oh you want to manage the DS node on an OS X client?
[2010/02/09 18:47:00] <jamesturnbull> jrojas: no you can confine them too
[2010/02/09 18:47:01] <benkevan> jamesturnbull: no output from puppetmasterd with --verbose --debug --trace..
[2010/02/09 18:47:16] <jrojas> benkevan: run those commands on your client
[2010/02/09 18:47:21] <benkevan> http://pastie.org/817326
[2010/02/09 18:47:25] <jamesturnbull> benkevan: no output? are you running --no-daemonize ?
[2010/02/09 18:47:39] <explody> basically yes, but specifically an openldap server..not OD or AD. they have "dsconfigldap" and "dsconfigad" tools, but the former only does OD, and the other only does AD
[2010/02/09 18:47:43] <nigelk> just push the DSLDAPv3PlugInConfig.plist file and get that file resource to notify a killall -HUP DirectoryService
[2010/02/09 18:47:54] <nigelk> yeah
[2010/02/09 18:47:57] <explody> ooooh
[2010/02/09 18:47:59] <jamesturnbull> jrojas: like restrict them to debian or solaris or from some fact valye
[2010/02/09 18:48:03] <jamesturnbull> value even
[2010/02/09 18:48:19] <nigelk> you may also choose to notify a "dscacheutil -flushcache"
[2010/02/09 18:48:25] <explody> nigelk: I *knew* there was something like that somewhere, you rock
[2010/02/09 18:48:29] <benkevan> http://pastie.org/817328 < puppetmasterd
[2010/02/09 18:48:37] <nigelk> it's all in /Library/Preferences/DirectoryService
[2010/02/09 18:48:50] <nigelk> you rarely want different configs per client, and yeah it sucks to whack around a huge XML file with puppet
[2010/02/09 18:48:53] <benkevan> no modules mount given is all I can see really
[2010/02/09 18:49:18] <explody> nigelk: are you aware of docs about that anywhere, cause I was having a bitch of a time finding anything...lots on AD/OD, squat on dealing with other ldap
[2010/02/09 18:49:21] <nigelk> but there really isn't a hugely better way. You may also need to work on your ldap.conf file
[2010/02/09 18:49:38] <nigelk> explody: rfc2307 is just a special kind of "OD" :)
[2010/02/09 18:50:02] <jrojas> rfc2307 isnt that nis?
[2010/02/09 18:50:05] <explody> nigelk: haha yeah I know, I just don't want their schema or I'd just add it and be done with it
[2010/02/09 18:50:34] <explody> jrojas: ldap-as-NIS
[2010/02/09 18:50:41] <jamesturnbull> benkevan: add a modules mount to fileserver.conf - see wiki:ModuleOrganisation
[2010/02/09 18:50:41] <gepetto> jamesturnbull: benkevan: wiki:ModuleOrganisation is http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
[2010/02/09 18:50:46] <jrojas> explody: yeah, ive been working that fun stuff too
[2010/02/09 18:51:08] <nigelk> explody: you're not extending the ldap schema for your Macs at all?
[2010/02/09 18:51:10] @ Quit: lak: Quit: lak
[2010/02/09 18:51:14] <jrojas> jamesturnbull: my fileserver.conf is blank and it works
[2010/02/09 18:51:35] <jamesturnbull> jrojas: yeah mine too
[2010/02/09 18:51:35] <Djelibeybi> jamesturnbull: my fileserver.conf doesn't exist and it works too
[2010/02/09 18:51:46] <jamesturnbull> jrojas: but I can't explain error
[2010/02/09 18:51:48] <nigelk> we run OpenLDAP here, but extended the schema to include all the MCX stuff and apple-blah attributes to practically be "OD" as far as OS X is concerned
[2010/02/09 18:51:50] <jrojas> jamesturnbull: auth.conf perhaps
[2010/02/09 18:51:52] <jrojas> ?
[2010/02/09 18:52:05] <fzzzt> MY filesystem doesn't eve ALLOW files named fileserver.conf and it works TOO!
[2010/02/09 18:52:12] <benkevan> i may have found something in nodes.pp
[2010/02/09 18:52:24] @ Quit: Robbie_: Remote host closed the connection
[2010/02/09 18:52:36] <Djelibeybi> benkevan: Jimmy Hoffa?
[2010/02/09 18:52:49] <nigelk> explody: do you read greg neagle's blog?
[2010/02/09 18:52:56] @ Robbie_ joined channel #puppet
[2010/02/09 18:52:58] <benkevan> Naw.. I've known where he is.. we have an office that's never filled.. he's in there.. we're sure of it
[2010/02/09 18:53:15] @ Quit: pheezy: Remote host closed the connection
[2010/02/09 18:53:27] <benkevan> nope.. restarted puppetd and still nothing changed in sudoers (yes.. I have a different sudoers in the files)..
[2010/02/09 18:53:42] <nigelk> greg (Disney) and I (Google) seem to be the ones that find all the LDAP bugs in OS X DS these days.
[2010/02/09 18:53:59] <nigelk> Not too many of us left, everyone's jumped ship to AD
[2010/02/09 18:54:00] @ rmiller4pi8 joined channel #puppet
[2010/02/09 18:54:21] <explody> nigelk: no, I have not
[2010/02/09 18:54:29] <jrojas> benkevan: so in one temrinal you have puppetmaster --no-ndaemonize --debug --verbose running, and puppetd -vt --noop --debug in the other?
[2010/02/09 18:54:31] @ Quit: mpdehaan: Ping timeout: 265 seconds
[2010/02/09 18:54:34] @ Quit: rmiller4pi8: Client Quit
[2010/02/09 18:54:37] <nigelk> explody: http://managingosx.wordpress.com/ <- awesome
[2010/02/09 18:54:43] <nigelk> also see macenterprise.org
[2010/02/09 18:54:45] <jrojas> benkevan: you should see puppetmaster talk about compiling a catalog for node x
[2010/02/09 18:54:46] <jrojas> etc
[2010/02/09 18:57:25] @ Quit: Robbie_: Ping timeout: 264 seconds
[2010/02/09 18:57:29] <benkevan> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with 'apptesting.hdc.bio-rad.com, apptesting.hdc.bio-rad, apptesting.hdc, apptesting' on node apptesting.hdc.bio-rad.com < does that make more sense?
[2010/02/09 18:57:56] <jrojas> node 'apptesting.global.bio-rad.com inherits basenode {
[2010/02/09 18:58:04] <benkevan> yeah.. I already found that one
[2010/02/09 18:58:06] <benkevan> no closed '
[2010/02/09 18:58:10] <benkevan> i commented it out all together..
[2010/02/09 18:58:12] <jrojas> global.bio... ?
[2010/02/09 18:58:16] <jrojas> ah
[2010/02/09 18:58:25] <jrojas> well isnt the default node called default not basenode?
[2010/02/09 18:58:35] * benkevan facepalm
[2010/02/09 18:59:24] @ Quit: giskard: Remote host closed the connection
[2010/02/09 18:59:35] <benkevan> http://pastie.org/817328 is that beter?
[2010/02/09 19:00:11] <Djelibeybi> benkevan: not really
[2010/02/09 19:00:16] <Djelibeybi> benkevan: don't inherit from nothing. :)
[2010/02/09 19:00:18] <benkevan> whoops.. defaultnode ? right
[2010/02/09 19:00:20] <jrojas> node default { include sudo }
[2010/02/09 19:00:26] <Djelibeybi> node basenode { include sudo }
[2010/02/09 19:00:29] <jrojas> thats all you need
[2010/02/09 19:00:33] <Djelibeybi> node 'hostname' inherits basenode {}
[2010/02/09 19:00:46] <Djelibeybi> If you don't want to go with jrojas' default instead
[2010/02/09 19:00:59] <jrojas> is basenode the correct default ? i have been using node default { for the longest time
[2010/02/09 19:01:20] <Djelibeybi> jrojas: node default is the default
[2010/02/09 19:01:23] <benkevan> yeah.. it's node default not basenode
[2010/02/09 19:01:36] <benkevan> all worked
[2010/02/09 19:01:37] <elasticdog> jrojas: if you define a 'node default' it will get applied to any signed nodes that don't have specific node configurations in nodes.pp
[2010/02/09 19:01:38] <fzzzt> it's not always used though
[2010/02/09 19:01:42] <Djelibeybi> i.e. node default {} is applied if no more specific node exists
[2010/02/09 19:01:56] <fzzzt> yep, if you have a $hostname node, that's used *instead*
[2010/02/09 19:01:57] <Djelibeybi> However, if a more specific node exists, it is not read at all.
[2010/02/09 19:02:02] <jrojas> elasticdog: depending on what magic you use
[2010/02/09 19:02:21] <fzzzt> you would need an include or inherit or some shenanigans
[2010/02/09 19:02:39] @ Quit: shenson-real: Quit: /me taps out
[2010/02/09 19:02:41] @ lak joined channel #puppet
[2010/02/09 19:03:51] <benkevan> my final goal is to have: environment in modules-{development,production,base,testing} (production being puppetmasterd in puppet.conf).. put then check a config for sitecodes.. so I can override some configs if xx server is part of xx site code..
[2010/02/09 19:04:45] <fzzzt> it's started...here comes the snow!~
[2010/02/09 19:05:10] <benkevan> modules-base being something that's grabbed by All servers (ie sudoers etc) then obviously each environment grabbing different things (ie pam files etc)
[2010/02/09 19:05:15] <benkevan> I wish we got snow in CA
[2010/02/09 19:05:24] <benkevan> CA = California not Canada
[2010/02/09 19:05:47] <jrojas> benkevan: i live in southern ca and im 30 minutes away form snow.
[2010/02/09 19:05:52] <grim_radical> benkevan: yeah, well, I wish we had medicinal marijuana in Texas
[2010/02/09 19:06:04] <grim_radical> benkevan: be thankful! :P
[2010/02/09 19:06:30] @ Quit: jab_doa: Quit: Verlassend
[2010/02/09 19:06:33] <benkevan> jrojas: but you're away from the snow : P.. I live about an 2 hours from tahoe :D
[2010/02/09 19:06:40] <jrojas> heh
[2010/02/09 19:06:52] <jrojas> benkevan: so did it work?
[2010/02/09 19:06:55] <benkevan> Fairfield (near Sacramento) .. going your way in March (Disneyland.. yay)
[2010/02/09 19:07:00] <jrojas> benkevan: using node default?
[2010/02/09 19:07:12] <benkevan> jrojas: yes.. it worked on that host.. going to try a remote host
[2010/02/09 19:08:21] <jrojas> benkevan: instead of re-defining each ${env}-modulename, i just have a dev branch and a prod branch of my manifests in svn, and when i am ready to release i svn merge into prod from dev,
[2010/02/09 19:09:00] <benkevan> well.. it wouldn't just be different branches to merge.. but different configurations for development servers and production servers..
[2010/02/09 19:09:36] <jrojas> benkevan: ah see, i like my stuf to be a match to a T, so technically everything is production, access controls are from ldap and netgroups, etc.
[2010/02/09 19:09:40] @ plathrop is now known as plathrop-away
[2010/02/09 19:10:29] <benkevan> jrojas: yeah.. I'd like that. . but we have some political push back on sox implementation of password policies on dev servers :(
[2010/02/09 19:10:50] @ delewis_ joined channel #puppet
[2010/02/09 19:11:07] <jrojas> benkevan: disallow root logins, remove root passwords, and make everyone use sudo?
[2010/02/09 19:11:16] * benkevan cringes to think we're still using local passwd for all our servers.. ldap is next..
[2010/02/09 19:12:56] <benkevan> oh.. guessing I need certificates for other puppets to connect to the puppetmaster?
[2010/02/09 19:13:05] <jrojas> puppetca --list
[2010/02/09 19:13:07] <jrojas> on your master
[2010/02/09 19:13:14] <jrojas> puppetca --sign hostname
[2010/02/09 19:13:36] <benkevan> i did that.. but puppetca --list isn't showing anything from the puppet server that's waitforcert 60
[2010/02/09 19:13:45] <jrojas> puppetca --list --all ?
[2010/02/09 19:13:48] @ Quit: delewis: Ping timeout: 252 seconds
[2010/02/09 19:14:04] <benkevan> nope not in there either
[2010/02/09 19:14:13] <jrojas> hmm
[2010/02/09 19:14:19] <jrojas> is your puppetmaster still running?
[2010/02/09 19:14:27] <jrojas> whats in the logs?
[2010/02/09 19:14:30] <benkevan> puppetd --server puppet --no-daemonize --trace --debug --verbose --waitforcert 60 < running that for now.. puppetca --list doesn't show that host.. as trying to get cert..
[2010/02/09 19:14:32] @ Quit: Mick27: Quit: This computer has gone to sleep
[2010/02/09 19:16:06] <benkevan> jrojas: from remote client: http://pastie.org/817377
[2010/02/09 19:16:56] <jrojas> benkevan: strange, sounds like the puppetmaster didnt send the ca cert?
[2010/02/09 19:17:20] <benkevan> let me run puppetmasterd in verbose
[2010/02/09 19:17:50] @ Quit: tyll: Read error: Operation timed out
[2010/02/09 19:18:36] <benkevan> jrojas: http://pastie.org/817383
[2010/02/09 19:19:04] <benkevan> puppetca --list still shows nothing
[2010/02/09 19:20:06] <benkevan> i actually can't see anything in the puppetd that's saying it's requesting.. this worked fine on the local puppet (the local puppet on the puppetmaster)
[2010/02/09 19:20:16] <benkevan> i need a puppet book
[2010/02/09 19:23:10] <benkevan> i didn't set up any of the ssl.. that seems to be the problem.. hha
[2010/02/09 19:23:14] <benkevan> so of course it self signed
[2010/02/09 19:23:23] <benkevan> ok.. guess that's for my puppet day 3..
[2010/02/09 19:23:42] <Djelibeybi> benkevan: the puppetmaster auto-signs it's own certificate
[2010/02/09 19:23:52] <Djelibeybi> benkevan: so you won't see a cert-request for it
[2010/02/09 19:23:53] <Volcane> benkevan: how do you run puppetca?
[2010/02/09 19:24:09] <benkevan> puppetca --list (as root)
[2010/02/09 19:24:25] <Volcane> k, long as its not sudo puppetca
[2010/02/09 19:24:39] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/09 19:24:44] <benkevan> naw.. if it were with sudo it'd be with sudo su -c 'puppetca --list'
[2010/02/09 19:24:45] <doubleukay> hi guys, between running ppmaster on mongrel and passenger, when should i choose one over the other?
[2010/02/09 19:25:13] <Volcane> benkevan: well if you just delete the contents of the ssl dir and run the client with --test you'l see it doing the ssl request
[2010/02/09 19:25:13] <fzzzt> when one is more advantageous :)
[2010/02/09 19:25:50] * fzzzt is still in the darg ages of webrick
[2010/02/09 19:26:17] <benkevan> Volcane: Will that break the connection with the current client?that connected ok?
[2010/02/09 19:26:29] <Volcane> i mean delete on the node
[2010/02/09 19:28:34] <benkevan> Volcane: Still did nothing.. and running puppetd --test --waitforcert still showed nothing..
[2010/02/09 19:28:41] <benkevan> just warning: peer certificate won't be verified in this SSL session.
[2010/02/09 19:28:56] <Volcane> it got a signed certificate then I'd say
[2010/02/09 19:29:11] <benkevan> this version is different then the master .25.3 as opposed to 25.4
[2010/02/09 19:29:24] <Volcane> 2nd time u run it that warning is gone right? what does it say?
[2010/02/09 19:29:32] <benkevan> Volcane: puppetca --list --all doesn't show the host
[2010/02/09 19:30:05] @ Quit: ricky: Read error: Operation timed out
[2010/02/09 19:30:08] @ ricky joined channel #puppet
[2010/02/09 19:30:25] <Volcane> put the output of puppetd --test on pastie.org
[2010/02/09 19:31:15] <benkevan> http://pastie.org/817405
[2010/02/09 19:31:53] <Volcane> why are you running it as a normal useR?
[2010/02/09 19:33:54] <benkevan> same as normal and root
[2010/02/09 19:36:13] <benkevan> ok.. gotta head home.. will f' with it more tomorrow.. thanks everyone for their help
[2010/02/09 19:37:22] @ Quit: benkevan: Remote host closed the connection
[2010/02/09 19:39:05] @ themurph joined channel #puppet
[2010/02/09 19:43:15] @ joe-mac1 joined channel #puppet
[2010/02/09 19:43:53] <fzzzt> i love demotivators
[2010/02/09 19:45:02] @ Quit: bodepd: Quit: bodepd
[2010/02/09 19:45:58] @ pheezy joined channel #puppet
[2010/02/09 19:46:20] <fzzzt> "There is no greater joy than soaring high on the wings of your dreams, except maybe the joy of watching a dreamer who has nowhere to land but in the ocean of reality."
[2010/02/09 19:46:50] @ Quit: themurph: Quit: themurph
[2010/02/09 19:48:54] @ bodepd joined channel #puppet
[2010/02/09 19:49:44] @ Quit: pheezy: Remote host closed the connection
[2010/02/09 19:50:13] @ Quit: murkk: Ping timeout: 264 seconds
[2010/02/09 19:50:16] @ pheezy joined channel #puppet
[2010/02/09 19:50:58] @ Quit: pheezy: Remote host closed the connection
[2010/02/09 19:51:31] @ pheezy joined channel #puppet
[2010/02/09 19:56:29] <joe-mac1> wow my internet connection is pathetic
[2010/02/09 19:56:30] <joe-mac1> dsl in the northeast = epic fail
[2010/02/09 19:56:35] <joe-mac1> (us)
[2010/02/09 19:57:25] @ Quit: yarihm: Quit: This computer has gone to sleep
[2010/02/09 19:57:39] <nigelk> joe-mac: $ rmadison -u debian {puppet,facter} |grep unstable
[2010/02/09 19:57:39] <nigelk> puppet | 0.25.4-1 | unstable | source, all
[2010/02/09 19:57:39] <nigelk> facter | 1.5.7-1 | unstable | source, all
[2010/02/09 20:00:50] @ Quit: ricdanger: Read error: Connection reset by peer
[2010/02/09 20:01:44] @ jbartus joined channel #puppet
[2010/02/09 20:04:27] @ illsci_wfh joined channel #puppet
[2010/02/09 20:06:05] <joe-mac1> i've never heard of this utility nigelk, it just tells you what packages are the latest on ftp.ubuntu|debian?
[2010/02/09 20:12:13] <nigelk> yeah
[2010/02/09 20:12:19] <nigelk> queries the archive db about packages
[2010/02/09 20:12:25] <Clint> not just the latest
[2010/02/09 20:12:29] <Clint> and you can use -s unstable instead of grep
[2010/02/09 20:12:41] <nigelk> yeah yeah :)
[2010/02/09 20:12:53] <nigelk> are you my co-worker who complains about the same thing? :)
[2010/02/09 20:17:49] @ Quit: mfournier: Ping timeout: 264 seconds
[2010/02/09 20:18:50] @ Quit: jaredrhine: Ping timeout: 260 seconds
[2010/02/09 20:21:10] <joe-mac1> that is awesome
[2010/02/09 20:21:25] <joe-mac1> i usually go to ftp.ubuntu.com and dick around wonderinfg if it's in main or universe
[2010/02/09 20:26:21] <Cuchulain> ooh
[2010/02/09 20:27:00] <Cuchulain> hrm, manpage for madison in ubuntu 9.10 is confusing
[2010/02/09 20:27:10] <Cuchulain> it seems to think it's called dak, and that it used to be called madison
[2010/02/09 20:29:10] <Clint> that is because madison is not rmadison
[2010/02/09 20:29:26] <Cuchulain> er, i meant the manpage for rmadison
[2010/02/09 20:30:03] <Clint> rmadison used to be a "remote" version of madison, which is no longer called madison
[2010/02/09 20:32:10] @ tonyskapunk left channel #puppet ()
[2010/02/09 20:32:58] @ RageLink left channel #puppet ("Leaving")
[2010/02/09 20:33:02] <eric0> Clint: are you by any chance on the idm list?
[2010/02/09 20:33:23] <Clint> eric0: i don't know what that is
[2010/02/09 20:33:41] <eric0> ok n/m
[2010/02/09 20:33:54] <nigelk> eric0: hyperreal?
[2010/02/09 20:35:24] @ Quit: noyb: Read error: Connection reset by peer
[2010/02/09 20:35:35] <eric0> yeah. theres a guy who posts to the list "clint anderson / systems administrator" -- i'm always on the lookout for other autechre heads amongst my peers ;)
[2010/02/09 20:40:04] <nigelk> heh
[2010/02/09 20:40:07] <nigelk> <3 autechre
[2010/02/09 20:40:15] <nigelk> chiastic slide changed my world
[2010/02/09 20:40:51] <nigelk> a sadly underappreciated album in the US it seems
[2010/02/09 20:43:14] <ohadlevy> morning :)
[2010/02/09 20:43:24] <nigelk> hai ohad!
[2010/02/09 20:43:27] <eric0> nigelk: yep, right on.
[2010/02/09 20:43:29] <ohadlevy> whatsup?
[2010/02/09 20:43:31] <nigelk> http://www.nzherald.co.nz/technology/news/article.cfm?c_id=5&objectid=10625082
[2010/02/09 20:43:33] <nigelk> :)
[2010/02/09 20:43:44] <nigelk> that's your corp isn't it?
[2010/02/09 20:44:16] <ohadlevy> hmmm ;)
[2010/02/09 20:44:18] <ohadlevy> no comment
[2010/02/09 20:44:19] <joe-mac1> what is autechre?
[2010/02/09 20:44:45] <nigelk> joe-mac1: a poster child for a certain kind of electronic music
[2010/02/09 20:44:52] <nigelk> very abstract, polyrhymic
[2010/02/09 20:44:58] <nigelk> gah. I can never spell that word
[2010/02/09 20:44:59] <joe-mac1> o , like sts9 i guess
[2010/02/09 20:45:22] <joe-mac1> i only know any techno cause li ve techno seems to have a big following in the dead head community
[2010/02/09 20:45:39] <nigelk> a good first album to listen to would be Tri Repetae
[2010/02/09 20:45:50] <joe-mac1> i hated particle when i saw them live, killed a bunch of sly stone classics... but then i lstened to them again when they got a new guitarist and likeed it
[2010/02/09 20:46:31] @ themurph joined channel #puppet
[2010/02/09 20:48:21] <joe-mac1> shit my buddy i think is down there at black hat
[2010/02/09 20:48:24] <joe-mac1> all the consultants get to go
[2010/02/09 20:48:29] <joe-mac1> while i sit around and spin gears
[2010/02/09 20:49:32] <tessier> Well that was unpleasant. Puppet just clobbered a symlink and replaced it with the directory I told it to create. This machine coincidentally already had that directory symlinked off to somewhere else.
[2010/02/09 20:49:49] <tessier> Seems like puppet should have thrown up an error or warning or something instead.
[2010/02/09 20:49:58] <joe-mac1> sounds rather unpleasant- possibly an old bug
[2010/02/09 20:50:00] <joe-mac1> what version of puppet
[2010/02/09 20:50:40] @ bodepd left channel #puppet ()
[2010/02/09 20:51:46] @ Quit: lak: Quit: lak
[2010/02/09 20:54:22] <nigelk> tessier: we saw stuff like that with 0.24.(something earl)
[2010/02/09 20:55:21] <tessier> puppet-0.24.8-4.el5
[2010/02/09 20:55:36] <tessier> That's the newest I have been able to find CentOS 5 RPM for.
[2010/02/09 20:56:34] <joe-mac1> yea it sounds very familiar
[2010/02/09 20:57:38] @ Quit: svend: Ping timeout: 246 seconds
[2010/02/09 20:58:18] <joe-mac1> nigelk: are you allowed to tell the publci what you guys use for like log indexingn
[2010/02/09 20:58:21] <joe-mac1> ie what splunk does
[2010/02/09 20:58:33] <nigelk> it's homegrown unfortunately
[2010/02/09 20:58:40] <joe-mac1> yea i was about to say, bet you wrote it
[2010/02/09 20:58:41] <joe-mac1> lol
[2010/02/09 20:58:46] <nigelk> and remember I only speak for the corp side of Google
[2010/02/09 20:58:46] @ Quit: eshamow: Quit: eshamow
[2010/02/09 20:58:49] <joe-mac1> everything you guys have seems to be homegrown
[2010/02/09 20:58:50] <nigelk> prod is another world
[2010/02/09 20:59:07] <joe-mac1> true i didn't think about that
[2010/02/09 20:59:13] <joe-mac1> i assume they're also puppet guys too though
[2010/02/09 20:59:23] <nigelk> nope
[2010/02/09 20:59:28] <joe-mac1> cfengine?
[2010/02/09 20:59:36] <nigelk> it's not like the stuff we all do :)
[2010/02/09 20:59:43] <nigelk> Alien Technologyâ„¢
[2010/02/09 20:59:47] <joe-mac1> i'm trying to size for my en vironment for splunk and it's quickly becoming costly, like the largest software purchase ever
[2010/02/09 20:59:53] <joe-mac1> ah, i c
[2010/02/09 21:00:22] <tessier> Alien Technology? You mean lisp?
[2010/02/09 21:00:29] <whack> nigelk: prod was a totally wacky world that barely used anything normal ;)
[2010/02/09 21:01:08] <nigelk> indeed
[2010/02/09 21:01:35] <whack> <-- former clusterops/bigtable sre
[2010/02/09 21:01:45] <nigelk> ahah
[2010/02/09 21:02:12] <joe-mac1> i read a cool little slideshow from a google SRE once and it was like my life philosophy put into a slide presentation
[2010/02/09 21:03:43] @ cliff-hm joined channel #puppet
[2010/02/09 21:03:47] <tessier> whack: Former eh? One wonders why anyone would ever leave. I interviewed for SRE and was told an offer was on the way but it would be two weeks. I had another offer and didn't want to leave San Diego. Would have loved to have experienced working there. It would have been a little bit like my sadly missed MP3.com days.
[2010/02/09 21:04:48] @ Quit: bug: Quit: bug
[2010/02/09 21:05:56] <joe-mac1> maybe it was just too much of the same
[2010/02/09 21:06:07] <joe-mac1> i know i left a job at a big name company for that reason...
[2010/02/09 21:07:09] @ bug joined channel #puppet
[2010/02/09 21:11:46] <joe-mac1> mehh gonna eat some rice and beans and watch the tube. night guys.
[2010/02/09 21:12:13] <illsci_wfh> quiter
[2010/02/09 21:12:17] <illsci_wfh> :P
[2010/02/09 21:12:23] <whack> tessier: it was a dead end for me, career-wise. Moving towards senior/architect would've taken 15 years, and I don't have that kind of patience ;)
[2010/02/09 21:12:56] <whack> otherwise, it was pretty excellent to work there.
[2010/02/09 21:13:48] @ jaredrhine joined channel #puppet
[2010/02/09 21:14:44] <tessier> Yeah, that seems to happen a lot. I don't know if it is just tech jobs or life in general these days. You have to move to advance.
[2010/02/09 21:15:04] <tessier> I have had 3 different jobs in the last two years. That is an extreme case. I hate moving, really.
[2010/02/09 21:15:38] <tessier> But the first company couldn't pay me anymore (and insisted on mismanaging their tech), the next boss an a serious prima donna, but the current gig is working out quite nicely.
[2010/02/09 21:16:51] <whack> If it hadn't been my first job out of school, I mjight still be there (given things I've learend by switching jobs)
[2010/02/09 21:24:56] @ nigelk left channel #puppet ()
[2010/02/09 21:25:31] @ Pupeno joined channel #puppet
[2010/02/09 21:25:33] <Pupeno> Hello.
[2010/02/09 21:25:38] @ nigelk joined channel #puppet
[2010/02/09 21:26:17] <Pupeno> I've created a service, I wrote the init.d script, and every time puppet runs it tries to re-run the service, even when it's already running, which fails. Any ideas what am I missing for puppet to see my service running? How does it check whether a service is running or not?
[2010/02/09 21:26:28] @ Quit: brothers: Quit: brothers
[2010/02/09 21:29:42] <whack> Pupeno: I think if you don't set 'hasstatus' then puppet will look in the process listing
[2010/02/09 21:29:48] <whack> but I might be on crack
[2010/02/09 21:30:11] <nigelk> no, that's right.
[2010/02/09 21:30:32] <Pupeno> Ok, that's it then. The name of the init.d script and the name of the process are totally different.
[2010/02/09 21:30:46] <nigelk> I keep wondering whether that decision should be revisited
[2010/02/09 21:30:56] <nigelk> at least on debian/ubuntu, most inits have a status
[2010/02/09 21:31:03] <nigelk> well more have it than don't ....
[2010/02/09 21:31:09] <whack> you could always set it default
[2010/02/09 21:31:11] <Pupeno> nigelk: mine does.
[2010/02/09 21:31:20] <whack> Service { hasstatus => true }, andsuch
[2010/02/09 21:31:42] <nigelk> whack: yeah, just that this bites a lot of people when starting out, and it's not an entirely obvious solution
[2010/02/09 21:31:50] <whack> nod
[2010/02/09 21:34:52] <whack> might just be worth including a list of defaults for a few well-supported platforms
[2010/02/09 21:35:14] @ Quit: WALoeIII: Quit: Bai.
[2010/02/09 21:35:21] <Pupeno> Should I add hasstatus for all the services that I see provide a meaningful status?
[2010/02/09 21:36:03] <doubleukay> (go on)
[2010/02/09 21:36:14] <whack> yeah, or you can set hasstatus => true as a default and set it to false explicitly for ones that don't
[2010/02/09 21:36:22] <doubleukay> (oops wrong channel)
[2010/02/09 21:46:55] @ fzzzt left channel #puppet ()
[2010/02/09 21:47:49] @ bodepd joined channel #puppet
[2010/02/09 21:53:47] @ Quit: Welsh_Dwarf: Remote host closed the connection
[2010/02/09 22:00:15] @ rmiller4pi8 joined channel #puppet
[2010/02/09 22:29:52] @ pinoyskull joined channel #puppet
[2010/02/09 22:35:13] @ Quit: warreng: Ping timeout: 264 seconds
[2010/02/09 22:41:19] @ warreng joined channel #puppet
[2010/02/09 22:49:42] @ webx joined channel #puppet
[2010/02/09 22:51:12] @ PaulWay[w] joined channel #puppet
[2010/02/09 22:52:12] @ Quit: warreng: Quit: warreng
[2010/02/09 22:54:34] @ RageLink joined channel #puppet
[2010/02/09 23:01:59] @ WALoeIII joined channel #puppet
[2010/02/09 23:04:15] @ Quit: alfism: Quit: http://opensolaris.com/
[2010/02/09 23:04:40] @ alfism joined channel #puppet
[2010/02/09 23:18:01] @ Quit: jcape: Read error: Operation timed out
[2010/02/09 23:19:28] @ warreng joined channel #puppet
[2010/02/09 23:23:54] <doubleukay> is it possible to have a variable scoped within a type? e.g.
[2010/02/09 23:24:22] <doubleukay> exec { "dosomething": $filename = "verylongfilename", command => "dosomething $filename" }
[2010/02/09 23:26:37] @ Quit: GGD: Remote host closed the connection
[2010/02/09 23:26:51] @ jcape joined channel #puppet
[2010/02/09 23:27:24] <joe-mac1> sure is
[2010/02/09 23:27:33] <joe-mac1> well
[2010/02/09 23:27:40] <joe-mac1> maybe not the $filename part
[2010/02/09 23:27:48] <joe-mac1> but the command's parameter sure
[2010/02/09 23:35:36] @ Quit: jcape: Ping timeout: 245 seconds
[2010/02/09 23:36:25] <ericlee> ping
[2010/02/09 23:36:51] <ohadlevy> ericlee: are you broadcasting ? :)
[2010/02/09 23:36:58] @ Quit: webx: Quit: My damn controlling terminal disappeared!
[2010/02/09 23:37:03] <ericlee> np :)
[2010/02/09 23:43:33] @ mwr joined channel #puppet
[2010/02/09 23:44:43] <mwr> just now trying to migrate to storedconfigs, and getting a mysql table error on first run: "Mysql::Error: Table 'puppet.hosts' doesn't exist: SHOW FIELDS FROM `hosts`"
[2010/02/09 23:45:12] <joe-mac1> what version of rails
[2010/02/09 23:45:13] <ohadlevy> mwr: did you restart your master? it needs to create the db first
[2010/02/09 23:45:16] <joe-mac1> what version of puppet?
[2010/02/09 23:45:17] <joe-mac1> yea that too
[2010/02/09 23:45:25] <ohadlevy> might need dbmigrate=true too
[2010/02/09 23:46:07] <mwr> rails 2.2.3 (lenny backports), puppetmaster 0.25.4-1 (sid)
[2010/02/09 23:46:27] <mwr> will try dbmigrate; one sec.
[2010/02/09 23:47:21] <mwr> at least it's different now. "Could not migrate database: An error has occurred, all later migrations canceled"
[2010/02/09 23:47:30] <joe-mac1> did you make the puppet user>?
[2010/02/09 23:47:35] <mwr> think so.
[2010/02/09 23:47:38] <joe-mac1> and the grants
[2010/02/09 23:47:44] @ Quit: WALoeIII: Quit: Bai.
[2010/02/09 23:47:44] <ohadlevy> prob permissions
[2010/02/09 23:48:36] <mwr> will recheck permissions
[2010/02/09 23:52:01] <tessier_> man...I hate having to special case stuff in my puppet configs.
[2010/02/09 23:52:14] <tessier_> I'm running puppet to make everything as much the same as possible, not to special case things.
[2010/02/09 23:52:18] @ Quit: cliff-hm: Ping timeout: 248 seconds
[2010/02/09 23:52:25] <ohadlevy> tessier: like what?
[2010/02/09 23:52:51] <mwr> hmm. might not technically be permissions, since I pasted the same grant command each time. But this time around, I made the db with 'mysqladmin create' instead of mysql itself.
[2010/02/09 23:53:01] <mwr> no errors this time, and the puppet db has tables in it now.
[2010/02/09 23:53:16] <tessier_> ohadlevy: Like the issue I mentioned before where we have a /automated_tasks directory on every machine and puppet enforces that. But on this particular system that is symlinked to /home/automated_tasks. So puppet blows away the symlink and ensures it is a dir.
[2010/02/09 23:53:18] <ohadlevy> mwr: you probably didnt grant the puppet user to creat teh db
[2010/02/09 23:53:25] <tessier_> I think I will just remove that rule.
[2010/02/09 23:53:41] <mwr> pasted it out of the wiki. grant all privileges on puppet.* ...
[2010/02/09 23:53:43] @ tonyskapunk joined channel #puppet
[2010/02/09 23:53:45] <ohadlevy> tessier: i usually create classes which inherits and overrides
[2010/02/09 23:53:55] <ohadlevy> and apply them on selected hosts
[2010/02/09 23:54:35] @ jcape joined channel #puppet
[2010/02/09 23:55:03] @ mqr joined channel #puppet
[2010/02/09 23:56:59] <mwr> woot. my nagios map is starting to automatically populate itself. finally.
[2010/02/09 23:57:30] <mwr> thanks, ohad.
[2010/02/09 23:57:31] <tessier_> Automatically populating nagios map?
[2010/02/09 23:57:51] <mwr> http://git.black.co.at/?p=module-nagios

Generated by irclog2html.py 2.8 by Marius Gedminas - find it at mg.pov.lt!