Monday, 2010-08-02

[2010/08/02 00:04:03] @ Log started by gepetto
[2010/08/02 00:04:03] @ Quit: benoit__: Read error: Connection reset by peer
[2010/08/02 00:05:03] @ Quit: fredden: Quit: Leaving
[2010/08/02 00:08:07] @ takamichi joined channel #puppet
[2010/08/02 00:09:57] @ MattyM joined channel #puppet
[2010/08/02 00:13:06] @ Quit: cristim: Ping timeout: 246 seconds
[2010/08/02 00:16:41] @ lutter joined channel #puppet
[2010/08/02 00:17:03] @ sdog joined channel #puppet
[2010/08/02 00:17:17] @ Quit: sdog: Changing host
[2010/08/02 00:17:17] @ sdog joined channel #puppet
[2010/08/02 00:19:00] @ Quit: axisys: Read error: Operation timed out
[2010/08/02 00:19:32] @ axisys joined channel #puppet
[2010/08/02 00:22:55] @ Quit: tripoux: Quit: Quitte
[2010/08/02 00:23:31] @ paras joined channel #puppet
[2010/08/02 00:23:36] <paras> Hi
[2010/08/02 00:23:55] @ Quit: jfreeman: Remote host closed the connection
[2010/08/02 00:24:45] <paras> Is it possible to trigger a stage when one of the previous steps has not executed properly ?
[2010/08/02 00:25:42] @ verwilst joined channel #puppet
[2010/08/02 00:26:22] <paras> say steps 1 , 2 ,3 are exec statements and one of them fails . So if say step 2 fails is it possible to execute some statement
[2010/08/02 00:28:06] @ groove joined channel #puppet
[2010/08/02 00:30:29] <paras> helo
[2010/08/02 00:36:15] @ groove1 joined channel #puppet
[2010/08/02 00:36:50] @ eternaltyro joined channel #puppet
[2010/08/02 00:37:33] @ Quit: groove: Ping timeout: 260 seconds
[2010/08/02 00:39:19] @ Quit: mizzy: Ping timeout: 260 seconds
[2010/08/02 00:41:32] @ mizzy joined channel #puppet
[2010/08/02 00:42:07] @ groove joined channel #puppet
[2010/08/02 00:42:17] @ tecto_ joined channel #puppet
[2010/08/02 00:43:09] @ Quit: groove1: Ping timeout: 240 seconds
[2010/08/02 00:43:45] @ tim|mac joined channel #puppet
[2010/08/02 00:44:41] @ groove left channel #puppet ()
[2010/08/02 00:45:46] @ Quit: tim|mac: Remote host closed the connection
[2010/08/02 00:45:50] @ tim|mac joined channel #puppet
[2010/08/02 00:50:34] @ Quit: pinoyskull: Read error: Connection reset by peer
[2010/08/02 00:51:07] @ pinoyskull joined channel #puppet
[2010/08/02 00:52:47] @ Quit: tecto_: Ping timeout: 248 seconds
[2010/08/02 00:55:56] @ Quit: freshtonic: Quit: freshtonic
[2010/08/02 00:56:42] @ coleman9719 joined channel #puppet
[2010/08/02 00:57:11] @ freshtonic joined channel #puppet
[2010/08/02 00:57:13] @ Quit: freshtonic: Client Quit
[2010/08/02 00:58:09] @ Quit: n3kl: Ping timeout: 240 seconds
[2010/08/02 01:00:14] @ n3kl joined channel #puppet
[2010/08/02 01:01:47] <eternaltyro> hi
[2010/08/02 01:02:00] <eternaltyro> wondering what th differences are b/w puppet and chef.
[2010/08/02 01:02:13] <eternaltyro> can someone enlighten me ??
[2010/08/02 01:03:04] * eternaltyro is wondering if someone would tell him the difference between puppet and chef
[2010/08/02 01:04:34] @ tecto_ joined channel #puppet
[2010/08/02 01:04:34] @ Quit: tecto_: Changing host
[2010/08/02 01:04:34] @ tecto_ joined channel #puppet
[2010/08/02 01:08:54] @ Quit: n3kl: Ping timeout: 252 seconds
[2010/08/02 01:14:42] @ DbT_ joined channel #puppet
[2010/08/02 01:15:44] <joschi> eternaltyro: http://wiki.opscode.com/display/chef/FAQ#FAQ-HowisChefdifferentthanPuppet%3F
[2010/08/02 01:16:30] @ Quit: kolla: Remote host closed the connection
[2010/08/02 01:17:44] @ Quit: taiky: Ping timeout: 252 seconds
[2010/08/02 01:18:46] @ itguru joined channel #puppet
[2010/08/02 01:23:45] @ gebi joined channel #puppet
[2010/08/02 01:26:24] @ ckauhaus joined channel #puppet
[2010/08/02 01:28:00] @ andrewh joined channel #puppet
[2010/08/02 01:29:19] @ Quit: gniks: Quit: Leaving.
[2010/08/02 01:35:00] <eternaltyro> joschi: Thank you .. that is helpful.
[2010/08/02 01:36:43] <eternaltyro> joschi: But I guess the underlying concepts are same for the three after all.. Chef cfengine and puppet.
[2010/08/02 01:37:22] <joschi> eternaltyro: well, they all help you in your configuration management, but the concepts are different
[2010/08/02 01:37:33] <joschi> and the implementations of course ;)
[2010/08/02 01:38:00] <joschi> eternaltyro: they also differ in the level of abstraction and what a `resource` is
[2010/08/02 01:38:22] <eternaltyro> joschi: oh..
[2010/08/02 01:39:43] <eternaltyro> joschi: I can still see strong similarities between them.. I try to look at it superficially. Right now I just want to get things done.. ;-)
[2010/08/02 01:40:21] <joschi> eternaltyro: well, then just pick one and dive into it. there is no 'wrong choice' between the three you mentioned
[2010/08/02 01:41:05] <eternaltyro> joschi: I wanted to dive into Chef.. But then found it difficult to set up. Then I went for Puppet.. I got somethings working.
[2010/08/02 01:41:22] <eternaltyro> joschi: I have no working knowledge of ruby.. :(
[2010/08/02 01:42:09] <joschi> eternaltyro: so you have to learn a new DSL no matter which one (puppet, chef, cfengine) you choose
[2010/08/02 01:42:35] <joschi> eternaltyro: with puppet (>=2.6.0) and chef you could pick up some ruby on the way which might be useful later
[2010/08/02 01:42:55] @ mikepea joined channel #puppet
[2010/08/02 01:43:55] <eternaltyro> joschi: hmmm. that would be nice.. Should do it..
[2010/08/02 01:44:50] @ Quit: bobinabottle: Quit: bobinabottle
[2010/08/02 01:56:14] @ [Byte]Roy joined channel #puppet
[2010/08/02 02:05:12] @ Quit: TREllis: Read error: Operation timed out
[2010/08/02 02:06:48] @ Quit: [Byte]Roy: Ping timeout: 260 seconds
[2010/08/02 02:07:31] @ [Byte]Roy joined channel #puppet
[2010/08/02 02:12:36] @ stewartl421 joined channel #puppet
[2010/08/02 02:15:39] @ spawnyd joined channel #puppet
[2010/08/02 02:16:24] <bronto> masterzen: are you here?
[2010/08/02 02:16:36] <masterzen> bronto: yes I am
[2010/08/02 02:17:15] <bronto> masterzen: good. Do you remember the bug I filed to debian for the high CPU consumption of the ruby package? They assert that it may be fixed now:
[2010/08/02 02:17:30] <masterzen> bronto: oh, that's a good news
[2010/08/02 02:17:36] <bronto> masterzen: check bug #579229
[2010/08/02 02:17:40] <madduck> does anyone know of a git clone recipe? i just want to manage git clones and keep them up to date
[2010/08/02 02:17:49] <madduck> http://www.puppetmanaged.org/module/git tries to do too much
[2010/08/02 02:18:21] <bronto> masterzen: I didn't test it actually. I must say that in the changelog they published I didn't spot nothing that I could relate to the problem, but maybe it's just my ignorance...
[2010/08/02 02:19:02] <bronto> maybe there's someone on the channel that would like to try it on Squeeze?
[2010/08/02 02:19:16] @ TREllis joined channel #puppet
[2010/08/02 02:19:46] <masterzen> bronto: the interesting thing is: Add patch 100730_disable_getsetcontext_on_nptl: disable getsetcontext on NPTL
[2010/08/02 02:20:04] <bronto> masterzen: OK, ignorance confirmed then :-D
[2010/08/02 02:20:04] <masterzen> bronto: I'm not sure that fixes completely the issue, but I'm sure that it can help
[2010/08/02 02:20:13] <bronto> masterzen: I see
[2010/08/02 02:21:52] <masterzen> bronto: I won't really have time to test the fix though...
[2010/08/02 02:22:20] <bronto> masterzen: OK. I hope that someone who has a Squeeze at hand can.
[2010/08/02 02:22:32] <bronto> (I don't have one...)
[2010/08/02 02:22:50] <masterzen> bronto: I have one, but my schedule is really tight this week, and going in vacation soon... you see...
[2010/08/02 02:23:09] <bronto> masterzen: ah... vacation... sweet word... so far away for me... :)
[2010/08/02 02:24:28] <masterzen> bronto: that's one of the nice thing, regarding working in France...
[2010/08/02 02:25:10] <bronto> masterzen: I can have enough vacation here, I just delayed them until September, so that I didn't take any during my probation period
[2010/08/02 02:25:23] <masterzen> bronto: oh I see
[2010/08/02 02:28:15] <masterzen> bronto: anyway, thanks for the follow-up regarding the bug.
[2010/08/02 02:36:59] <madduck> if I pass an array to a define, can I get the first element with puppet?
[2010/08/02 02:37:58] <zipkid> madduck: in puppet 2.6 you can. iirc
[2010/08/02 02:39:08] <madduck> :(
[2010/08/02 02:39:24] <madduck> hm, inline_template…
[2010/08/02 02:43:51] @ kenneho joined channel #puppet
[2010/08/02 02:44:08] <zipkid> madduck: split()
[2010/08/02 02:44:40] <zipkid> ah no, that works the opposit way....
[2010/08/02 02:45:01] <madduck> ;)
[2010/08/02 02:49:04] @ stewartl421 left channel #puppet ()
[2010/08/02 02:53:51] @ Quit: p3rror: Remote host closed the connection
[2010/08/02 03:02:14] @ Quit: paras: Ping timeout: 252 seconds
[2010/08/02 03:03:11] @ itguru_ joined channel #puppet
[2010/08/02 03:03:28] @ Quit: itguru: Ping timeout: 240 seconds
[2010/08/02 03:03:45] @ Quit: itguru_: Remote host closed the connection
[2010/08/02 03:04:48] @ Quit: biopete: Ping timeout: 252 seconds
[2010/08/02 03:04:53] @ Quit: rcrowley: Read error: Operation timed out
[2010/08/02 03:05:20] @ rcrowley joined channel #puppet
[2010/08/02 03:07:02] <unixdaemon> Which module are people using for managing their mysql grants? And do you like it? (github has many)
[2010/08/02 03:07:37] @ wayland76 joined channel #puppet
[2010/08/02 03:07:52] <bronto> masterzen: my pleasure ;)
[2010/08/02 03:21:46] @ Quit: e1mer: Quit: captured by martians
[2010/08/02 03:22:39] <wayland76> Hi all, I have a suggestion for some new syntax for the Augeas part of Puppet
[2010/08/02 03:23:26] <wayland76> http://pastebin.com/jM4HZ4Qi
[2010/08/02 03:23:42] <wayland76> Note the onlyif syntax
[2010/08/02 03:24:01] <wayland76> I actually had this working at one point by (evilly) doing an eval in Ruby.
[2010/08/02 03:24:21] @ zorzar_ joined channel #puppet
[2010/08/02 03:24:26] <wayland76> And actually, it's not the syntax I'm so much interested in, as the idea of chaining things together.
[2010/08/02 03:24:55] <wayland76> Is there any chance we could do something like this in Puppet?
[2010/08/02 03:26:59] @ nakano_ is now known as nakano
[2010/08/02 03:27:30] @ Quit: zorzar: Ping timeout: 252 seconds
[2010/08/02 03:28:56] @ TREllis_ joined channel #puppet
[2010/08/02 03:29:25] @ Quit: TREllis: Ping timeout: 276 seconds
[2010/08/02 03:34:45] @ n3kl joined channel #puppet
[2010/08/02 03:35:45] @ Quit: macfly1: Ping timeout: 246 seconds
[2010/08/02 03:36:39] <wayland76> I'd probably prefer it if the "onlyif" syntax looked like: match "#{context}/dir" | get | grep "/exports" | negate
[2010/08/02 03:36:43] <wayland76> ...or something
[2010/08/02 03:37:09] @ macfly joined channel #puppet
[2010/08/02 03:43:09] @ andrewh_ joined channel #puppet
[2010/08/02 03:43:43] @ Quit: andrewh: Read error: Connection reset by peer
[2010/08/02 03:47:35] @ Quit: coleman9719: Remote host closed the connection
[2010/08/02 03:51:53] @ Quit: magickal1: Remote host closed the connection
[2010/08/02 03:57:42] @ Quit: QMan: Remote host closed the connection
[2010/08/02 03:58:04] @ Quit: tecto_: Quit: tecto_
[2010/08/02 04:02:47] @ simplechat joined channel #puppet
[2010/08/02 04:06:34] <simplechat> Here does puppetd keep its signed certificates?
[2010/08/02 04:06:54] @ Quit: andrewh_: Ping timeout: 260 seconds
[2010/08/02 04:08:11] <barn> ssldir is often /var/lib/puppet/ssl IIRC
[2010/08/02 04:10:50] @ andrewh joined channel #puppet
[2010/08/02 04:10:58] <simplechat> thanks :)
[2010/08/02 04:25:30] <madduck> i can require a definition, it seems, e.g. require => Config_option[…]
[2010/08/02 04:25:38] <madduck> but what if the config option is in a namespace?
[2010/08/02 04:25:44] <madduck> require => Git::clone_repo[…]
[2010/08/02 04:25:46] <madduck> yields
[2010/08/02 04:25:55] <madduck> Syntax error at '::clone_repo'; expected '}'
[2010/08/02 04:29:40] @ suchu joined channel #puppet
[2010/08/02 04:32:08] @ Quit: londo_: Remote host closed the connection
[2010/08/02 04:32:30] @ londo_ joined channel #puppet
[2010/08/02 04:33:03] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/08/02 04:33:11] @ fluxdude joined channel #puppet
[2010/08/02 04:34:32] @ Quit: MattyM: Remote host closed the connection
[2010/08/02 04:35:08] @ toi joined channel #puppet
[2010/08/02 04:36:17] @ nakano is now known as nakano_
[2010/08/02 04:37:31] @ nakano_ is now known as nakano
[2010/08/02 04:37:34] @ nakano is now known as nakano_
[2010/08/02 04:37:35] @ nakano_ is now known as nakano
[2010/08/02 04:37:43] @ e1mer joined channel #puppet
[2010/08/02 04:38:50] @ Quit: pugnacity: *.net *.split
[2010/08/02 04:38:50] @ Quit: SpacePope: *.net *.split
[2010/08/02 04:38:50] @ Quit: \ask: *.net *.split
[2010/08/02 04:38:51] @ Quit: FoXMaN: *.net *.split
[2010/08/02 04:38:51] @ Quit: viewlogic: *.net *.split
[2010/08/02 04:38:51] @ Quit: glut: *.net *.split
[2010/08/02 04:38:51] @ Quit: huggie: *.net *.split
[2010/08/02 04:38:51] @ Quit: tmz: *.net *.split
[2010/08/02 04:38:51] @ Quit: Mandus: *.net *.split
[2010/08/02 04:39:39] <joschi> madduck: Git::Clone_repo[...]
[2010/08/02 04:39:51] <joschi> madduck: each component has to be capitalized
[2010/08/02 04:40:13] @ huggie joined channel #puppet
[2010/08/02 04:40:32] @ glut joined channel #puppet
[2010/08/02 04:40:41] @ kubicek joined channel #puppet
[2010/08/02 04:40:54] @ Mandus joined channel #puppet
[2010/08/02 04:40:55] @ SpacePope joined channel #puppet
[2010/08/02 04:40:55] @ Quit: eternaltyro: Quit: done for the day
[2010/08/02 04:41:20] @ viewlogic joined channel #puppet
[2010/08/02 04:42:03] @ Quit: e1mer: Client Quit
[2010/08/02 04:42:22] @ e1mer joined channel #puppet
[2010/08/02 04:42:33] @ tmz joined channel #puppet
[2010/08/02 04:42:48] @ pugnacity joined channel #puppet
[2010/08/02 04:44:55] @ Quit: kubicek: Client Quit
[2010/08/02 04:48:03] @ nakano is now known as nakano_
[2010/08/02 04:48:07] <madduck> joschi: thanks, that was it.
[2010/08/02 04:48:22] @ kubicek joined channel #puppet
[2010/08/02 04:50:11] @ ghaskins_mobile joined channel #puppet
[2010/08/02 04:51:59] @ \ask joined channel #puppet
[2010/08/02 04:53:08] @ nakano_ is now known as nakano
[2010/08/02 04:54:36] @ ninjazjb joined channel #puppet
[2010/08/02 04:57:29] @ kolla joined channel #puppet
[2010/08/02 04:57:49] @ FoXMaN joined channel #puppet
[2010/08/02 05:04:39] @ Quit: gebi: Ping timeout: 245 seconds
[2010/08/02 05:09:13] @ uphillian joined channel #puppet
[2010/08/02 05:13:03] @ ahasenack joined channel #puppet
[2010/08/02 05:24:15] @ Quit: SpacePope: Ping timeout: 248 seconds
[2010/08/02 05:24:52] @ SpacePope joined channel #puppet
[2010/08/02 05:25:00] <madduck> http://git.madduck.net/v/puppet/modules/git.git/blob/HEAD:/README
[2010/08/02 05:26:58] <tim|mac> now you got me curious! :D
[2010/08/02 05:27:23] @ Quit: andrewh: Ping timeout: 265 seconds
[2010/08/02 05:27:50] @ alban2 joined channel #puppet
[2010/08/02 05:28:12] <madduck> i need a way to keep my modules up to date
[2010/08/02 05:28:15] <madduck> (and many other repos)
[2010/08/02 05:28:43] <madduck> update, i renamed git::repo to git::repository
[2010/08/02 05:29:13] <madduck> and git submodules isn't what I want
[2010/08/02 05:31:58] @ reyjrar joined channel #puppet
[2010/08/02 05:35:27] @ Quit: kenneho: Quit: Ex-Chat
[2010/08/02 05:38:36] @ nul0op joined channel #puppet
[2010/08/02 05:38:45] @ Quit: nul0op: Remote host closed the connection
[2010/08/02 05:39:08] @ Quit: davea1: Remote host closed the connection
[2010/08/02 05:40:10] @ andrewh joined channel #puppet
[2010/08/02 05:41:28] @ Quit: alban2: Ping timeout: 260 seconds
[2010/08/02 05:43:28] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/08/02 05:45:47] @ herdingcat joined channel #puppet
[2010/08/02 05:46:06] @ Quit: herdingcat: Max SendQ exceeded
[2010/08/02 05:49:27] @ Quit: ]oestewart: Quit: This computer has gone to sleep
[2010/08/02 05:49:56] @ lll joined channel #puppet
[2010/08/02 05:50:31] @ Quit: lll: Client Quit
[2010/08/02 05:57:28] @ tripoux joined channel #puppet
[2010/08/02 05:59:11] @ herdingcat joined channel #puppet
[2010/08/02 05:59:27] @ Quit: takamichi: Ping timeout: 264 seconds
[2010/08/02 05:59:53] @ takamichi joined channel #puppet
[2010/08/02 05:59:59] @ Quit: herdingcat: Max SendQ exceeded
[2010/08/02 06:00:36] @ herdingcat joined channel #puppet
[2010/08/02 06:05:20] @ qjcg joined channel #puppet
[2010/08/02 06:11:28] @ Quit: anvil14: Quit: anvil14
[2010/08/02 06:15:08] @ malikai joined channel #puppet
[2010/08/02 06:16:21] @ gmason joined channel #puppet
[2010/08/02 06:17:18] @ gebi joined channel #puppet
[2010/08/02 06:18:36] @ Quit: shenson: Ping timeout: 265 seconds
[2010/08/02 06:18:49] @ rmiller4pi8 joined channel #puppet
[2010/08/02 06:19:00] @ failshell joined channel #puppet
[2010/08/02 06:19:49] @ Quit: rmiller4pi8: Client Quit
[2010/08/02 06:20:22] @ Quit: toi: Ping timeout: 276 seconds
[2010/08/02 06:20:29] @ zz_shenson joined channel #puppet
[2010/08/02 06:20:44] @ zz_shenson is now known as shenson
[2010/08/02 06:21:12] @ rmiller4pi8 joined channel #puppet
[2010/08/02 06:21:21] @ Quit: mattock: Ping timeout: 258 seconds
[2010/08/02 06:21:28] <failshell> hey guys. can you use plain ruby in a template in 2.6? like <%= some_ruby_code %> ?
[2010/08/02 06:21:51] <shenson> failshell: templates are erb, so you could already use ruby code
[2010/08/02 06:22:13] <rmiller4pi8> failshell: just drop the "="
[2010/08/02 06:22:21] <rmiller4pi8> that means 'evaluate a variable'
[2010/08/02 06:22:24] <failshell> i wonder if its better to create a fact to get the current date/time or to put it in my template
[2010/08/02 06:23:03] <rmiller4pi8> failshell: just so you know, templates that evaluate differently on every run are somewhat expensive
[2010/08/02 06:23:37] @ Quit: Demosthenes: Ping timeout: 276 seconds
[2010/08/02 06:23:44] <failshell> that's my impression
[2010/08/02 06:23:50] <failshell> so ill create a fact then
[2010/08/02 06:23:59] <hal-j> pwd
[2010/08/02 06:24:06] <hal-j> ffs, sorry.. wrong window :)
[2010/08/02 06:25:50] <failshell> 2.6 is much slower than 0.24 was
[2010/08/02 06:25:58] <failshell> i hope we get to force the catalog format one day
[2010/08/02 06:26:06] <failshell> that seems to be taking a long time on each run
[2010/08/02 06:30:42] @ toi joined channel #puppet
[2010/08/02 06:32:55] @ mattock joined channel #puppet
[2010/08/02 06:36:55] @ cliff-hm joined channel #puppet
[2010/08/02 06:37:51] @ Quit: toi: Ping timeout: 248 seconds
[2010/08/02 06:40:41] @ MPSimmons joined channel #puppet
[2010/08/02 06:49:05] <failshell> since we upgrade to 2.6, we've started to get this issue where we have to run the client a few times for it to pick up the changes on the master. anyone else seen that?
[2010/08/02 06:55:29] @ Quit: suchu: Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]
[2010/08/02 06:59:28] @ Quit: ninjazjb: Ping timeout: 260 seconds
[2010/08/02 07:01:34] @ notbrien joined channel #puppet
[2010/08/02 07:01:39] @ Quit: ckauhaus: Quit: Leaving.
[2010/08/02 07:04:15] @ Quit: rmiller4pi8: Read error: Connection reset by peer
[2010/08/02 07:04:29] @ rmiller4pi8 joined channel #puppet
[2010/08/02 07:07:21] @ bobbyz joined channel #puppet
[2010/08/02 07:10:20] @ Quit: failshell: Quit: Lost terminal
[2010/08/02 07:11:44] @ ninjazjb joined channel #puppet
[2010/08/02 07:11:58] @ autowidget joined channel #puppet
[2010/08/02 07:13:13] <FiXion> trying to setup apache+passenger - client fails -saying it's failing to retrieve info from puppet://myserver.fqdn/plugins
[2010/08/02 07:13:14] @ Quit: autowidget: Client Quit
[2010/08/02 07:13:22] <FiXion> I don't have a plugins folder in /etc/puppet
[2010/08/02 07:13:29] <FiXion> nor in the apache documentroot
[2010/08/02 07:13:40] <zipkid> hmmmm Getting this strange error with 2.6: "err: Duplicate definition: Package[ruby-mysql] is already defined in file /etc/puppet/modules/package/manifests/ruby/mysql.pp at line 7; cannot redefine at /etc/puppet/modules/package/manifests/ruby/mysql.pp:7 on node"
[2010/08/02 07:13:44] <FiXion> I tried to follow the http://projects.reductivelabs.com/projects/puppet/wiki/Using_Passenger
[2010/08/02 07:14:04] * tim|mac is finding himself creating run-once puppet scripts to install stuff on his desktop and the like... anyone else does that too or am i just silly?
[2010/08/02 07:15:30] <spawnyd> hi! I use the gem provider for a script that I deploy on some of my hosts and it always reports a notice "ensure created" back that really bugs me. With a remote gem it just works as expected, no notice. gem list listed my gem on the host, too. Any hint to get the notice fixed?
[2010/08/02 07:15:55] <henk> tim|mac: i was thinking about doing something like that... didn't yet though. imho it's good for recreating an exact same desktop in case you kill it somehow.
[2010/08/02 07:16:36] <tim|mac> henk: I use it to setup certain features (like my smartcard and stuff) that I only really need to run once on a desktop
[2010/08/02 07:16:44] @ craftytech joined channel #puppet
[2010/08/02 07:16:52] <tim|mac> or currently, I'm creating a recipe to setup GlassFish from the zips
[2010/08/02 07:17:04] <tim|mac> I don't want that recipe running every time puppetd runs
[2010/08/02 07:17:17] <tim|mac> but it's easier than creating a shell script, really...
[2010/08/02 07:17:21] <craftytech> hey guys... how should I setup my runinterval, if I just want the client to listen for puppet runs? runinterval = 0?
[2010/08/02 07:20:15] @ jdcasey joined channel #puppet
[2010/08/02 07:22:00] @ anvil14 joined channel #puppet
[2010/08/02 07:23:13] @ ckauhaus joined channel #puppet
[2010/08/02 07:25:01] @ ecapriolo joined channel #puppet
[2010/08/02 07:25:49] <madduck> craftytech: no-client
[2010/08/02 07:26:34] <FiXion> anyone have a guide to install puppetmaster on apache+passenger ?
[2010/08/02 07:26:59] <craftytech> madduck: Is that an argument that I can pass via puppet.conf?
[2010/08/02 07:27:13] <madduck> i'd say so, check 'puppetd --genconfig' output
[2010/08/02 07:28:09] <craftytech> thanks madduck
[2010/08/02 07:28:10] @ Quit: herdingcat: Ping timeout: 276 seconds
[2010/08/02 07:28:29] @ juniper joined channel #puppet
[2010/08/02 07:28:42] <craftytech> fiXion are you talking about dashboard or foreman.. puppetmaster by itself doesn't need a webserver
[2010/08/02 07:29:18] <FiXion> craftytech: I am using this: http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger
[2010/08/02 07:29:32] <FiXion> currently just running puppetmasterd (webrick) and it doesn't handle 80+ clients very well
[2010/08/02 07:29:35] <zipkid> craftytech: dashboard or foreman don't either.... but they all work more efficient with one
[2010/08/02 07:30:14] @ kaptk2 joined channel #puppet
[2010/08/02 07:30:30] <FiXion> so as I understand it (not a rails guy) is that the normal way to run puppet is with ruby_on_rails module (with f.ex. apache)
[2010/08/02 07:31:30] <craftytech> hmmm... interesting.. do you already have puppet configured?
[2010/08/02 07:31:36] <FiXion> yes
[2010/08/02 07:31:55] <FiXion> I have a working puppet install - copied the master files over and ran puppetmaster on the new server.
[2010/08/02 07:32:14] <craftytech> and you're trying to incorporate apache for what reason.. performance?
[2010/08/02 07:32:30] <FiXion> performance. I have several random timeouts
[2010/08/02 07:32:40] <FiXion> and was told (in the bug) to try using something other than webrick - f.ex. passenger
[2010/08/02 07:32:41] @ ]oestewart joined channel #puppet
[2010/08/02 07:32:58] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/08/02 07:33:26] @ rmiller4pi8 joined channel #puppet
[2010/08/02 07:33:43] <craftytech> I use passenger config for Foreman, but as far as I know, pupeptmaster works best with its own webserver
[2010/08/02 07:34:37] <craftytech> you should probably post that question on the google groups, i'd be interesting to see the input of the group
[2010/08/02 07:36:02] <FiXion> the bug is 4035
[2010/08/02 07:36:07] <FiXion> I was told to use mongrel or passenger
[2010/08/02 07:36:21] <RedPepper> hi there
[2010/08/02 07:36:30] <FiXion> no one here using passenger for puppetmaster ?
[2010/08/02 07:37:17] <RedPepper> i have a issue with a recipe when i use a recipe that runs well on 0.25.x and when i updated to 2.60 it rans in the following error
[2010/08/02 07:37:26] <RedPepper> Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "Authorized-keys2[mbecker]"
[2010/08/02 07:38:57] <FiXion> RedPepper: just a crazy idea. try: catalog_format = marshal
[2010/08/02 07:39:02] <FiXion> in puppet.conf
[2010/08/02 07:39:09] <FiXion> it may have nothing to do with it
[2010/08/02 07:39:17] <RedPepper> on the master or the agents ?
[2010/08/02 07:39:36] <FiXion> I think only the client uses it.
[2010/08/02 07:39:48] <FiXion> but it's merely a crazy idea - that could be tested quickly
[2010/08/02 07:40:00] <RedPepper> wait a minute
[2010/08/02 07:40:29] <RedPepper> works
[2010/08/02 07:40:36] <RedPepper> thanks ;)
[2010/08/02 07:40:40] <FiXion> your welcome :)
[2010/08/02 07:42:39] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/08/02 07:43:08] @ rmiller4pi8 joined channel #puppet
[2010/08/02 07:44:46] @ adrian_broher joined channel #puppet
[2010/08/02 07:45:58] @ ghg joined channel #puppet
[2010/08/02 07:56:13] @ MattyM joined channel #puppet
[2010/08/02 07:59:18] @ sdog left channel #puppet ()
[2010/08/02 08:00:18] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/08/02 08:00:46] @ rmiller4pi8 joined channel #puppet
[2010/08/02 08:00:56] @ gniks joined channel #puppet
[2010/08/02 08:05:58] @ RussS joined channel #puppet
[2010/08/02 08:07:22] @ Quit: bobbyz: Quit: Leaving
[2010/08/02 08:08:40] @ bobbyz joined channel #puppet
[2010/08/02 08:09:03] @ Quit: jbooth: Ping timeout: 260 seconds
[2010/08/02 08:09:21] @ Quit: ckauhaus: Ping timeout: 240 seconds
[2010/08/02 08:09:22] @ benkevan joined channel #puppet
[2010/08/02 08:10:41] @ jbooth joined channel #puppet
[2010/08/02 08:11:46] <zipkid> has the configuration of storeconfigs changed in 2.6? i keep getting "warning: You cannot collect without storeconfigs being set on line 38 in file.." The same is working on 0.25 on my prod server....
[2010/08/02 08:14:29] @ Quit: kubicek: Quit: kubicek
[2010/08/02 08:15:43] <madduck> is Exec::logoutput just a trick?
[2010/08/02 08:15:54] @ Quit: simplechat: Read error: Connection reset by peer
[2010/08/02 08:16:01] <madduck> I set it to on_failure, but my logs get filled with e.g.
[2010/08/02 08:16:02] <madduck> Aug 2 17:15:15 vera puppetd[15778]: (//site-puppetmaster::modules/Site-puppetmaster::Modules::Module_gitrepo[sysctl]/Git::Repository[/etc/puppet/modules/production/sysctl]/Exec[checkout::/etc/puppet/modules/production/sysctl::master]/returns) executed successfully
[2010/08/02 08:16:06] <madduck> Aug 2 17:15:15 vera puppetd[15778]: (//site-puppetmaster::modules/Site-puppetmaster::Modules::Module_gitrepo[sysctl]/Git::Repository[/etc/puppet/modules/production/sysctl]/Exec[checkout::/etc/puppet/modules/production/sysctl::master]) Triggering 'refresh' from 1 dependencies
[2010/08/02 08:18:11] @ Demosthenes joined channel #puppet
[2010/08/02 08:27:01] @ Quit: Demosthenes: Ping timeout: 276 seconds
[2010/08/02 08:28:18] <Volcane> madduck: logoutput logs the output from your script on failure.
[2010/08/02 08:29:30] <madduck> Volcane: fair enough; so how I can stop puppetd from logging so verbosely?
[2010/08/02 08:29:32] @ Quit: adrian_broher: Ping timeout: 260 seconds
[2010/08/02 08:29:48] @ ckauhaus joined channel #puppet
[2010/08/02 08:32:40] <Volcane> i suspect if you make it not log those it wont log any changes
[2010/08/02 08:33:17] <madduck> :(
[2010/08/02 08:33:33] <madduck> the exec type should really have a flag to inhibit them
[2010/08/02 08:34:17] <Volcane> dont use puppet like crond :P
[2010/08/02 08:34:39] <madduck> huh?
[2010/08/02 08:34:56] @ Quit: verwilst: Quit: Ex-Chat
[2010/08/02 08:38:04] <madduck> Volcane: hm, I think you are suggesting that I don't run git-pull from exec{} but instead install a cron resource for each repository?
[2010/08/02 08:38:47] <Volcane> there's a vcsrepo type
[2010/08/02 08:41:25] <benkevan> when I start my puppetmaster I'm getting "invalid mount files"
[2010/08/02 08:41:50] @ windowsrefund joined channel #puppet
[2010/08/02 08:41:52] <windowsrefund> hello
[2010/08/02 08:42:11] @ adrian_broher joined channel #puppet
[2010/08/02 08:42:46] <madduck> Volcane: oh, ic. :((
[2010/08/02 08:43:17] <madduck> Volcane: this being a type+provider, am I correct in assuming I need to create a module to distribute the files to the clients?
[2010/08/02 08:43:17] @ joe-mac joined channel #puppet
[2010/08/02 08:44:03] <Volcane> madduck: any module will do
[2010/08/02 08:44:24] <Volcane> madduck: so if you already have some common module for a few utility defines or something, then that there
[2010/08/02 08:44:35] <madduck> now i wonder why the vcsrepo type doesn't come with appropriate manifests
[2010/08/02 08:45:35] @ Quit: markus: Quit: markus
[2010/08/02 08:49:01] <benkevan> i keep my files in with my modules ($modules/files) how can I make this change for fileserv.conf for it to use that layout?
[2010/08/02 08:49:45] @ thekad-afk is now known as thekad
[2010/08/02 08:50:55] @ rgsteele joined channel #puppet
[2010/08/02 08:51:01] @ Quit: ashp_: Ping timeout: 240 seconds
[2010/08/02 08:53:53] <Volcane> madduck: but mostly my issue with doing regular work with puppet is that if you rely on that work happening, you should probably add a cronjob cos puppet can easily stop working with a simple typo preventing compiles etc
[2010/08/02 08:53:56] @ ashp joined channel #puppet
[2010/08/02 08:54:11] <madduck> Volcane: yeah, you are right. but i am still trying vcsrepo
[2010/08/02 08:54:18] <madduck> but thank you, this is a new perspective on existing work.
[2010/08/02 08:54:21] <madduck> bbiab
[2010/08/02 08:54:53] @ HouseAway is now known as AimanA
[2010/08/02 08:55:52] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2010/08/02 08:57:21] @ Quit: AimanA: Remote host closed the connection
[2010/08/02 08:59:07] @ Quit: bug: Quit: bug
[2010/08/02 09:01:37] @ geekatcmu joined channel #puppet
[2010/08/02 09:02:00] @ miah joined channel #puppet
[2010/08/02 09:07:38] @ tonyskapunk joined channel #puppet
[2010/08/02 09:07:49] @ AimanA joined channel #puppet
[2010/08/02 09:08:12] @ plathrop-away is now known as plathrop
[2010/08/02 09:08:48] @ Quit: AimanA: Remote host closed the connection
[2010/08/02 09:09:18] @ kubicek joined channel #puppet
[2010/08/02 09:16:24] @ jbarratt joined channel #puppet
[2010/08/02 09:17:44] @ Quit: e1mer: Read error: Connection reset by peer
[2010/08/02 09:18:45] @ brothers joined channel #puppet
[2010/08/02 09:20:03] @ Demosthenes joined channel #puppet
[2010/08/02 09:20:05] @ Quit: kubicek: Read error: Connection reset by peer
[2010/08/02 09:21:45] @ Quit: ghaskins_mobile: Quit: This computer has gone to sleep
[2010/08/02 09:24:12] @ Quit: jaredrhine: Ping timeout: 258 seconds
[2010/08/02 09:24:18] @ Quit: TREllis_: Quit: leaving
[2010/08/02 09:26:07] @ Quit: bobbyz: Ping timeout: 258 seconds
[2010/08/02 09:26:13] @ scashin133 joined channel #puppet
[2010/08/02 09:27:28] @ Quit: gebi: Read error: Operation timed out
[2010/08/02 09:27:39] @ Quit: Naresh: Ping timeout: 258 seconds
[2010/08/02 09:29:20] @ jmccune joined channel #puppet
[2010/08/02 09:31:05] @ nexx joined channel #puppet
[2010/08/02 09:34:04] @ e1mer joined channel #puppet
[2010/08/02 09:34:36] <benkevan> how can I set my files to pull from my modules? I'm failing miserabley at this
[2010/08/02 09:36:15] @ Quit: ninjazjb: Ping timeout: 246 seconds
[2010/08/02 09:37:29] <windowsrefund> follow one of the dozens of examples?
[2010/08/02 09:38:24] @ ninjazjb joined channel #puppet
[2010/08/02 09:38:47] @ Quit: \ask: Remote host closed the connection
[2010/08/02 09:38:48] <joe-mac> source => "puppet:///modules/modulename/filename"
[2010/08/02 09:38:51] <Volcane> benkevan: without pasties of configs, manifests and errors you have zero chance of getting helped - as always
[2010/08/02 09:39:00] <benkevan> yeah.. working on that right now
[2010/08/02 09:40:55] @ mclarke joined channel #puppet
[2010/08/02 09:40:56] <Volcane> joe-mac: #4433 :)
[2010/08/02 09:40:57] <gepetto> Volcane: joe-mac: #4433 is http://projects.puppetlabs.com/issues/show/4433 "Puppet - Bug #4433: Add hash support to extlookup - Puppet Labs"
[2010/08/02 09:41:28] @ Quit: spawnyd: Quit: leaving
[2010/08/02 09:43:00] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/08/02 09:43:40] <benkevan> http://www.fpaste.org/Vp1R/ < LMK if you want more
[2010/08/02 09:43:52] @ Quit: yannL: Read error: Connection reset by peer
[2010/08/02 09:44:11] <Volcane> benkevan: you dont need the 'files' bit in the source address
[2010/08/02 09:44:28] <Volcane> puppet:///modules/sudo/sudoers maps to moduledir/sudo/files/sudoers
[2010/08/02 09:44:41] @ tecto_ joined channel #puppet
[2010/08/02 09:44:41] @ Quit: tecto_: Changing host
[2010/08/02 09:44:41] @ tecto_ joined channel #puppet
[2010/08/02 09:45:49] <benkevan> k let me try that
[2010/08/02 09:45:59] <benkevan> nope.. still.. get err: Could not run Puppet configuration client: Could not retrieve information from source(s) puppet:///modules/sudo/sudoers at /etc/puppet/environments/production/modules/sudoers/manifests/init.pp:8
[2010/08/02 09:46:02] @ Quit: ezmobius: Remote host closed the connection
[2010/08/02 09:46:34] <Volcane> did you add a modules section to fileserver.conf?
[2010/08/02 09:47:24] <benkevan> no
[2010/08/02 09:48:17] <benkevan> and I'm not sure how it should look with multiple environments
[2010/08/02 09:48:27] <Volcane> as documented on the wiki.
[2010/08/02 09:49:02] <benkevan> just saw that part for puppet.conf.. but what to set in fileserv.conf?
[2010/08/02 09:49:06] <Volcane> http://docs.reductivelabs.com/guides/modules.html
[2010/08/02 09:49:49] <joe-mac> leet Volcane
[2010/08/02 09:52:10] <benkevan> grr.. here's my fileserv.conf http://www.fpaste.org/9Nft/
[2010/08/02 09:52:55] <Volcane> benkevan: and show is 'tree sudoers' for your module
[2010/08/02 09:53:34] @ ghaskins_mobile joined channel #puppet
[2010/08/02 09:53:39] @ haris joined channel #puppet
[2010/08/02 09:53:55] @ Quit: haris: Client Quit
[2010/08/02 09:54:48] @ Quit: Demosthenes: Ping timeout: 246 seconds
[2010/08/02 09:59:32] <benkevan> man.. I can't get over this http://www.youtube.com/watch?v=EzNhaLUT520
[2010/08/02 09:59:43] @ Quit: DbT_: Quit: zzzz
[2010/08/02 10:07:07] @ benkevan_ joined channel #puppet
[2010/08/02 10:07:13] @ Quit: benkevan: Ping timeout: 276 seconds
[2010/08/02 10:12:23] @ yannL joined channel #puppet
[2010/08/02 10:13:14] @ bug joined channel #puppet
[2010/08/02 10:13:32] @ WALoeIII joined channel #puppet
[2010/08/02 10:14:11] @ PhabX joined channel #puppet
[2010/08/02 10:16:27] @ bug_ joined channel #puppet
[2010/08/02 10:16:28] @ Quit: bug: Read error: Connection reset by peer
[2010/08/02 10:16:29] @ bug_ is now known as bug
[2010/08/02 10:17:15] @ gmcquillan joined channel #puppet
[2010/08/02 10:17:40] @ sdog joined channel #puppet
[2010/08/02 10:17:46] <benkevan_> I found out my file issue.. (this is going to be really stupid).. my module name was actually sudoers and not sudo..
[2010/08/02 10:17:54] @ Quit: sdog: Changing host
[2010/08/02 10:17:54] @ sdog joined channel #puppet
[2010/08/02 10:17:58] <benkevan_> I forgot I renamed it
[2010/08/02 10:18:15] @ Quit: ninjazjb: Ping timeout: 240 seconds
[2010/08/02 10:19:01] @ jaredrhine joined channel #puppet
[2010/08/02 10:19:35] <benkevan_> On another note.. is there any other way I can define a puppet agent to be a different environment in nodes.pp? or will I have to define in puppet.conf?
[2010/08/02 10:20:19] @ ninjazjb joined channel #puppet
[2010/08/02 10:22:45] @ dearka joined channel #puppet
[2010/08/02 10:23:07] <aforgue> benkevan_: not that I know of, the environment is loaded even before nodes.pp is evaluated/parsed
[2010/08/02 10:23:14] <aforgue> because your environment defines which nodes.pp you get
[2010/08/02 10:23:57] <benkevan_> aforgue: ah.. ok.. i'm actually using a single nodes.pp for all my environments.. maybe I should just segment it out.. really 99% of all mine will be on production.. with maybe 3 pulling from development (ok.. that's more like 98% .. but yeah)
[2010/08/02 10:25:12] @ [GuS] joined channel #puppet
[2010/08/02 10:26:40] @ Quit: ghaskins_mobile: Quit: This computer has gone to sleep
[2010/08/02 10:26:54] @ Quit: [GuS]: Read error: Connection reset by peer
[2010/08/02 10:27:23] <hal-j> if I'm understanding the question, you COULD add an "environment" param to a node, and template puppet.conf
[2010/08/02 10:27:31] @ yakub joined channel #puppet
[2010/08/02 10:27:35] @ yakub left channel #puppet ()
[2010/08/02 10:27:37] @ yakub joined channel #puppet
[2010/08/02 10:27:39] @ plathrop is now known as plathrop-away
[2010/08/02 10:28:06] <aforgue> I'd rather use external nodes for that kind of thing, but yeah, you could do that too
[2010/08/02 10:28:22] <benkevan_> hal-j: how can you add to node.pp? or are you talking about having multiple puppet.conf.erb templates? one per each environment
[2010/08/02 10:28:50] @ [GuS] joined channel #puppet
[2010/08/02 10:29:59] @ bobbyz joined channel #puppet
[2010/08/02 10:31:45] @ Quit: jdcasey: Remote host closed the connection
[2010/08/02 10:36:22] <aforgue> He means have a template for puppet.conf that sets the proper environment based on a var you set in the node definition
[2010/08/02 10:36:41] <hal-j> sorry… yeah, exactly
[2010/08/02 10:37:30] <aforgue> I just wish #2834 would get fixed and then this would be a moot point
[2010/08/02 10:37:31] <gepetto> aforgue: #2834 is http://projects.puppetlabs.com/issues/show/2834 "Puppet - Bug #2834: external node classifier should take client's idea of the environment into account - Puppet Labs"
[2010/08/02 10:37:31] @ nicklewis joined channel #puppet
[2010/08/02 10:39:41] <aforgue> ALso #3910
[2010/08/02 10:39:41] <gepetto> aforgue: #3910 is http://projects.puppetlabs.com/issues/show/3910 "Puppet - Bug #3910: Class/File source mismatch when client/node classifier disagree on facts. - Puppet Labs"
[2010/08/02 10:46:08] @ Quit: ninjazjb: Quit: Lost terminal
[2010/08/02 10:47:40] @ jgartrel joined channel #puppet
[2010/08/02 10:49:47] @ Quit: windowsrefund: Quit: leaving
[2010/08/02 10:50:24] @ \ask joined channel #puppet
[2010/08/02 10:59:31] @ Quit: notbrien: Quit: notbrien
[2010/08/02 11:02:29] @ scashin133_ joined channel #puppet
[2010/08/02 11:03:12] @ Quit: rgsteele: Remote host closed the connection
[2010/08/02 11:03:37] @ bug_ joined channel #puppet
[2010/08/02 11:06:39] @ Quit: bug: Ping timeout: 264 seconds
[2010/08/02 11:06:40] @ bug_ is now known as bug
[2010/08/02 11:07:01] @ Quit: scashin133: Ping timeout: 276 seconds
[2010/08/02 11:07:01] @ scashin133_ is now known as scashin133
[2010/08/02 11:07:40] @ windowsrefund joined channel #puppet
[2010/08/02 11:07:42] <windowsrefund> hello
[2010/08/02 11:08:28] <windowsrefund> I've got ssl errors between my master and client and removing files under /etc/puppet/ssl is not clearing things up
[2010/08/02 11:08:57] @ rmiller4pi8 joined channel #puppet
[2010/08/02 11:09:16] <windowsrefund> I just regenerated the cert on the server using --certname puppet
[2010/08/02 11:11:02] @ Quit: andrewh: Ping timeout: 265 seconds
[2010/08/02 11:14:47] @ sdog left channel #puppet ()
[2010/08/02 11:19:17] @ ckauhaus joined channel #puppet
[2010/08/02 11:20:49] <benkevan_> grrr.. now I'm getting /usr/lib64/ruby/site_ruby/1.8/puppet/util/autoload.rb:135:in `open': Permission denied - /etc/puppet/environments/production/modules (Errno::EACCES)
[2010/08/02 11:21:06] <benkevan_> when I try to launch puppet master.. it was after I tried to push out sudoers .. for some reason (yet sudoers file seems fine)
[2010/08/02 11:21:24] <Volcane> benkevan_: unix perms or selinux
[2010/08/02 11:21:52] * benkevan_ hopes that he didn't change permissions on /etc hahah
[2010/08/02 11:22:10] @ Quit: [GuS]: Read error: Connection reset by peer
[2010/08/02 11:23:06] <benkevan_> yah.. seems to be it..
[2010/08/02 11:23:06] @ Quit: anvil14: Quit: anvil14
[2010/08/02 11:23:35] <benkevan_> when defining a class.. I had path => /etc shoudl it be full path to the file being managed? ie /etc/sudoers? or just /etc/
[2010/08/02 11:23:47] <Volcane> full
[2010/08/02 11:24:05] @ anvil14 joined channel #puppet
[2010/08/02 11:24:14] @ christophermlee joined channel #puppet
[2010/08/02 11:25:34] <benkevan_> ah.. i see the problem.. for some reason my sudo class is making my sudoers file a directory..
[2010/08/02 11:26:05] <benkevan_> notice: /Stage[main]/Sudo/File[sudoers]/ensure: ensure changed 'file' to 'directory'
[2010/08/02 11:27:22] <benkevan_> why would that be making ensure is directory?
[2010/08/02 11:27:27] <benkevan_> let me get the fpaste
[2010/08/02 11:29:18] <miah> because you have "ensure => directory"
[2010/08/02 11:29:21] <miah> ?
[2010/08/02 11:30:00] <benkevan_> http://www.fpaste.org/a5mK/
[2010/08/02 11:30:01] <miah> path should be the full path of the file eg, /etc/sudoers
[2010/08/02 11:30:24] <nicklewis> Is your source a directory?
[2010/08/02 11:30:28] <miah> your source is a directory
[2010/08/02 11:30:32] <miah> it ends in a trailing slah
[2010/08/02 11:30:32] <Volcane> benkevan_: your source should be the file
[2010/08/02 11:30:35] <benkevan_> sorry.. i tried both
[2010/08/02 11:30:50] @ Quit: \ask: Remote host closed the connection
[2010/08/02 11:30:56] <miah> modules/sudoers/sudoers
[2010/08/02 11:31:05] <miah> would likely work
[2010/08/02 11:32:32] <joe-mac> do you have defaults set somewhere?
[2010/08/02 11:32:43] <joe-mac> like at the beginning oft he class, File { ensure => "directory" }
[2010/08/02 11:32:46] @ Quit: dearka: Ping timeout: 265 seconds
[2010/08/02 11:32:57] <benkevan_> joe-mac: nope.. I did a grep for directory in the whole puppet to make sure nothing was defining as ensure => directory
[2010/08/02 11:33:10] <Volcane> you're telling it to fetch a directory
[2010/08/02 11:33:13] <Volcane> so its fetching a directory
[2010/08/02 11:33:16] <Volcane> just fix your source
[2010/08/02 11:34:00] <joe-mac> ah, missed that buit above
[2010/08/02 11:34:02] <joe-mac> sorry
[2010/08/02 11:34:25] @ ghaskins_mobile joined channel #puppet
[2010/08/02 11:34:25] <benkevan_> err: Could not run Puppet configuration client: Error 400 on SERVER: Permission denied - /etc/puppet/environments/production/modules/sudoers/files/sudoers Could not retrieve file metadata for puppet:///modules/sudoers/sudoers: Error 400 on SERVER: Permission denied - /etc/puppet/environments/production/modules/sudoers/files/sudoers at /etc/puppet/environments/production/modules/sudoers/manifests/init.pp:8
[2010/08/02 11:34:31] <benkevan_> ah ok.. now I'm getting permissions error..
[2010/08/02 11:34:36] <benkevan_> guess that's better.. :)
[2010/08/02 11:34:43] @ ayanich joined channel #puppet
[2010/08/02 11:34:55] <miah> your path is weird, it doesnt include the name of the server
[2010/08/02 11:34:57] <benkevan_> what permissions are files supposed to be whilest waiting to get swallowed?
[2010/08/02 11:35:04] <Volcane> miah: doesnt need to
[2010/08/02 11:35:05] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/08/02 11:35:06] <miah> puppet://SERVER/modules/sudoers/sudoers
[2010/08/02 11:35:07] <miah> no?
[2010/08/02 11:35:11] <benkevan_> miah: puppet:/// (third slash = user puppet master)
[2010/08/02 11:35:13] <miah> eh, i guess i'm crazy =)
[2010/08/02 11:35:14] <Volcane> benkevan_: readable by puppet user
[2010/08/02 11:35:21] @ plathrop-away is now known as plathrop
[2010/08/02 11:35:26] @ rmiller4pi8 joined channel #puppet
[2010/08/02 11:35:28] <Volcane> miah: puppet:///foo fill in your current server for you
[2010/08/02 11:35:32] <miah> ah ok
[2010/08/02 11:36:20] <benkevan_> Volcane: perfect.. now just have to remember that something like that must be readable via puppet user
[2010/08/02 11:36:38] <benkevan_> miah: yah.. I'm still new to puppet.. read the 3rd slash on the wiki.. love it HAHA
[2010/08/02 11:37:02] <Volcane> std unix 'permission denied' debug methods apply
[2010/08/02 11:37:11] <Volcane> wants to access a file, cant, look with ps what the user is, fix the file
[2010/08/02 11:42:10] <benkevan_> man.. I can't get enough of this idiot .. snatchin' yo peeple up HAHA..
[2010/08/02 11:42:16] <benkevan_> thanks Volcane and all for the help so far..
[2010/08/02 11:44:09] @ AimanA joined channel #puppet
[2010/08/02 11:52:10] @ Quit: pinoyskull: Ping timeout: 258 seconds
[2010/08/02 11:53:12] @ jdcasey joined channel #puppet
[2010/08/02 12:01:20] <ashp> uhhh harvard is moving all of their dns to some 'infoblox grid'
[2010/08/02 12:01:26] <ashp> has anyone ever heard of this - is it going to make me wish for death?
[2010/08/02 12:01:57] <Volcane> infoblox isnt bad
[2010/08/02 12:02:22] <ashp> it's just an appliance style dns server?
[2010/08/02 12:02:28] <Volcane> roughly
[2010/08/02 12:04:14] @ pinoyskull joined channel #puppet
[2010/08/02 12:05:56] <benkevan_> yes.. we're on infoblox
[2010/08/02 12:05:57] @ \ask joined channel #puppet
[2010/08/02 12:06:11] <benkevan_> our biggest problem is non redundant power supplies
[2010/08/02 12:07:28] @ benkevan_ is now known as benkevan
[2010/08/02 12:08:06] @ Quit: ckauhaus: Read error: Operation timed out
[2010/08/02 12:10:14] @ jhaddad joined channel #puppet
[2010/08/02 12:14:52] @ [GuS] joined channel #puppet
[2010/08/02 12:15:48] @ mikey_p joined channel #puppet
[2010/08/02 12:20:28] @ Quit: [GuS]: Remote host closed the connection
[2010/08/02 12:22:34] @ ckauhaus joined channel #puppet
[2010/08/02 12:25:34] @ Quit: ghaskins_mobile: Quit: This computer has gone to sleep
[2010/08/02 12:26:04] @ AimanA is now known as HouseAway
[2010/08/02 12:26:41] @ Quit: HouseAway: Remote host closed the connection
[2010/08/02 12:27:53] @ ghaskins_mobile joined channel #puppet
[2010/08/02 12:28:31] <madduck> Volcane: the vcsrepo type does not seem capable of updating a checked out clone
[2010/08/02 12:29:00] <Volcane> hmm, wtf
[2010/08/02 12:29:13] <madduck> the stuff seems there, but it's just not happening
[2010/08/02 12:29:35] <madduck> I called git reset --hard HEAD^ and would have expected the next run to do git-pull, which would have fast-forwarded
[2010/08/02 12:30:06] <madduck> I cannot figure out how/why pull() would ever be called.
[2010/08/02 12:35:24] @ AimanA joined channel #puppet
[2010/08/02 12:35:25] @ Quit: scashin133: Ping timeout: 276 seconds
[2010/08/02 12:37:57] @ bug_ joined channel #puppet
[2010/08/02 12:40:00] <madduck> Volcane: and btw, the way to inhibit the verbosity of exec is:
[2010/08/02 12:40:01] <madduck> logoutput => on_failure,
[2010/08/02 12:40:01] <madduck> loglevel => debug
[2010/08/02 12:40:10] @ Quit: bug: Ping timeout: 276 seconds
[2010/08/02 12:40:10] @ bug_ is now known as bug
[2010/08/02 12:40:28] @ Quit: mattock: Ping timeout: 258 seconds
[2010/08/02 12:40:46] <madduck> except that means that output will be logged at debug level
[2010/08/02 12:40:49] <madduck> but you do get
[2010/08/02 12:40:50] <madduck> err: //test::exec/Exec[failing_with_output]/returns: change from notrun to 0 failed: sh -c 'echo >&2 error output; exit 1' returned 1 instead of one of [0] at /etc/puppet/modules/production/test/manifests/init.pp:43
[2010/08/02 12:40:54] <madduck> alongside
[2010/08/02 12:41:17] <madduck> there seems to be no way to inhibit verbose logging without affecting failure output
[2010/08/02 12:41:36] * madduck files a wishlist
[2010/08/02 12:46:03] @ radkin1 joined channel #puppet
[2010/08/02 12:49:24] * madduck investigates first
[2010/08/02 12:49:44] @ AimanA is now known as HouseAway
[2010/08/02 12:53:54] <madduck> logoutput is till a lie, the output of
[2010/08/02 12:53:54] <madduck> command => "sh -c 'echo >&2 error output; exit 1'",
[2010/08/02 12:53:58] <madduck> is never logged
[2010/08/02 12:56:26] <mikey_p> any idea what would cause a connection error like: http://pastie.org/1071517
[2010/08/02 12:57:01] <mikey_p> is it possibly a firewall issue on the puppetmaster?
[2010/08/02 12:57:24] <joe-mac> or it's not really running properly
[2010/08/02 12:57:27] <madduck> mikey_p: DNS troubles. check out the Debian bug reports for such an issue that I filed recently.
[2010/08/02 12:57:54] @ Quit: jdcasey: Remote host closed the connection
[2010/08/02 12:58:03] <mikey_p> madduck: i don't think it's DNS issues anymore, I fixed those, and it was working for while, but now I'm not sure what I changed
[2010/08/02 12:58:12] <madduck> check out the bug report.
[2010/08/02 12:59:44] <zahna> guys, can anyone point me to some good examples of puppet management of user accounts?
[2010/08/02 13:00:07] <madduck> zahna: the docs?
[2010/08/02 13:00:35] <zahna> madduck: except they only list the resources, not good strategies for managing them
[2010/08/02 13:01:01] <madduck> zahna: if you have many users and you need "strategies", I suggest using kerberos or ldap anyway
[2010/08/02 13:01:02] <zahna> i don't need a reference, but some strategy suggestions
[2010/08/02 13:01:12] <madduck> there's a suggestion. ;)
[2010/08/02 13:01:17] <zahna> i'm moving from ldap to puppet :)
[2010/08/02 13:01:35] <madduck> don't.
[2010/08/02 13:01:49] <madduck> puppet is about system configuration, not user management.
[2010/08/02 13:02:02] @ Quit: nexx: Quit: quit
[2010/08/02 13:02:15] <joe-mac> not really
[2010/08/02 13:02:17] <madduck> oh dear. logoutput==on_failure logs stdout of the command, not stderr.
[2010/08/02 13:02:24] <joe-mac> puppet can be about user management if you're crazy :-D
[2010/08/02 13:02:31] <madduck> of course
[2010/08/02 13:02:42] <madduck> if you're crazy, puppet could also replace APT
[2010/08/02 13:02:44] <madduck> entirely
[2010/08/02 13:03:20] @ kubicek joined channel #puppet
[2010/08/02 13:03:24] @ Quit: [Byte]Roy: Remote host closed the connection
[2010/08/02 13:03:27] <zahna> except i don't have many users at all
[2010/08/02 13:03:30] <zahna> and they won't really change
[2010/08/02 13:03:38] <odyi> Don't think I would ever manage more then 10 or 20 users with puppet.
[2010/08/02 13:03:58] <madduck> zahna: so just create a module to instantiate them.
[2010/08/02 13:04:14] @ bodepd joined channel #puppet
[2010/08/02 13:04:17] @ Quit: ckauhaus: Quit: Leaving.
[2010/08/02 13:04:25] <madduck> #2359 about logoutput and stderr
[2010/08/02 13:04:25] <gepetto> madduck: #2359 is http://projects.puppetlabs.com/issues/show/2359 "Puppet - Bug #2359: stderr output from exec resource is lost - Puppet Labs"
[2010/08/02 13:04:28] <joe-mac> luckily the only people who need to have unix/linux users are people in my team and a few select devs
[2010/08/02 13:04:31] <madduck> (OH DEAR!)
[2010/08/02 13:04:38] <joe-mac> i'd need to do AD integration otherwise, and that's a mess
[2010/08/02 13:04:44] <duritong> madduck: did you define an unless?
[2010/08/02 13:04:56] <duritong> or an onlyif?
[2010/08/02 13:05:21] <duritong> because otherwise it is clear that the exec is executed everytime and this should definitely be reported
[2010/08/02 13:06:11] <mikey_p> madduck: no, i'm a dope, puppetmasterd wasn't running :(
[2010/08/02 13:06:50] <madduck> eric0: http://projects.puppetlabs.com/issues/3836 -- maybe mod it up. ;)
[2010/08/02 13:07:10] <madduck> duritong: nah, a simple test case
[2010/08/02 13:07:29] <madduck> mikey_p: gotta love puppet's error messages!
[2010/08/02 13:07:46] <madduck> they're like postanarcho poetry
[2010/08/02 13:08:21] <mikey_p> meh, my day job is writing PHP, error messages shmerror messages.....
[2010/08/02 13:08:27] <eric0> madduck: +1'd
[2010/08/02 13:08:29] <duritong> madduck: well the exec should know whether it has to be reexecuted or not, so you need to define an onlyif or unless param of the exec. otherwise it is by design that the exec is executed over and over again
[2010/08/02 13:08:37] @ alban2 joined channel #puppet
[2010/08/02 13:08:41] * madduck hands mikey_p a cookie
[2010/08/02 13:08:54] <madduck> duritong: that is not my issue…
[2010/08/02 13:08:59] <madduck> duritong: what are you referring to?
[2010/08/02 13:09:14] <duritong> madduck: can you give the exec example?
[2010/08/02 13:09:29] <duritong> madduck: have a look at the exec type
[2010/08/02 13:09:48] <madduck> exec { failing_with_output:
[2010/08/02 13:09:48] <madduck> command => "/bin/sh -c 'echo >&2 stderr; echo stdout; exit 1'",
[2010/08/02 13:09:48] <madduck> logoutput => on_failure,
[2010/08/02 13:09:48] <madduck> }
[2010/08/02 13:09:57] <madduck> this causes only "stdout" to be logged
[2010/08/02 13:10:16] <duritong> madduck: yes but how should puppet know whether it has to apply that resource or not?
[2010/08/02 13:10:37] <duritong> the statement you see in the bugreport is that the exec is applied
[2010/08/02 13:10:45] <madduck> duritong: i don't know what you are talking about. I want it to run every time since this is a test-case…
[2010/08/02 13:10:59] <madduck> duritong: which bug report?
[2010/08/02 13:11:10] <duritong> #4438
[2010/08/02 13:11:10] <gepetto> duritong: #4438 is http://projects.puppetlabs.com/issues/show/4438 "Puppet - Feature #4438: exec log level to high for informational messages - Puppet Labs"
[2010/08/02 13:11:16] <duritong> The exec type is chatty. For every run, it prints something like
[2010/08/02 13:12:02] <madduck> duritong: ok. well, I don't /want/ to now it ran. If it didn't exit with an error, it was happy and there is no need to tell me.
[2010/08/02 13:12:28] <duritong> madduck: ok you can do that
[2010/08/02 13:12:31] <duritong> wait a moment
[2010/08/02 13:12:50] <madduck> Exec { loglevel => info }
[2010/08/02 13:13:14] <madduck> but I am arguing that such messages are informational and should not appear at the (default) notice level
[2010/08/02 13:13:17] <duritong> yes that is it
[2010/08/02 13:13:34] <duritong> aha I see, well there is some context missing in your bugreport
[2010/08/02 13:13:40] <madduck> sorry
[2010/08/02 13:13:46] <madduck> what should I add?
[2010/08/02 13:14:14] <duritong> your teststatement with your default loglevel setting and what you expect it to do
[2010/08/02 13:14:51] <duritong> because for me it looked like you want to silence the exec in general
[2010/08/02 13:16:19] <madduck> i do want to silence it if it returns without errors
[2010/08/02 13:16:31] <madduck> that is what any well-behaved exec or script or tool or program should do
[2010/08/02 13:17:03] <madduck> /bin/true does not exit with "successfully set return code to 0", and /bin/cat does not write "successfully concatenated file(s)."
[2010/08/02 13:17:04] <duritong> except that a well-behaved exec in puppet should only be applied in puppet if it really needs to
[2010/08/02 13:17:13] <madduck> heck /bin/cp doesn't say "successfully copied", etc. ;)
[2010/08/02 13:17:29] <duritong> but I agree that there are execs which need to run everytime
[2010/08/02 13:17:38] <madduck> there are execs that need to execute before you can tell it needed to execute
[2010/08/02 13:17:59] <madduck> duritong: can I include this discussion in the bug report?
[2010/08/02 13:18:02] <duritong> yes they are hard to make them idempodent
[2010/08/02 13:18:09] <duritong> madduck: you can
[2010/08/02 13:18:24] @ tobert left channel #puppet ()
[2010/08/02 13:19:32] <duritong> madduck: and make it clear that you are not talking about the default exec usage
[2010/08/02 13:20:09] @ verwilst joined channel #puppet
[2010/08/02 13:20:14] <madduck> but I am, no?
[2010/08/02 13:20:41] <duritong> well puppet should report that it applied a certain resource, not?
[2010/08/02 13:20:44] <duritong> in general
[2010/08/02 13:20:52] <duritong> it also reports that a packe is installed
[2010/08/02 13:21:30] <madduck> duritong: then maybe exec needs to grow a new property like "verbose => false" ?
[2010/08/02 13:21:57] @ Quit: verwilst: Client Quit
[2010/08/02 13:23:03] <madduck> duritong: http://projects.puppetlabs.com/issues/show/4438 updated
[2010/08/02 13:23:36] @ lwhalen joined channel #puppet
[2010/08/02 13:23:40] <duritong> madduck: in general resources report about what they are doing and so does the exec, if you don't specify a way for the type to figure out that it doesn't need to apply the resource
[2010/08/02 13:23:46] <lwhalen> hey all
[2010/08/02 13:23:53] <lwhalen> in 25.5, what is the path for templates within a module?
[2010/08/02 13:24:14] <duritong> madduck: what you can currently do is to redirect the reporting to the info level, but you like to silence it in general
[2010/08/02 13:24:14] <madduck> duritong: so maybe I need to set loglevel=>info?
[2010/08/02 13:24:25] <duritong> madduck: I thought you did?
[2010/08/02 13:24:28] <madduck> duritong: nah, it can stay informational
[2010/08/02 13:24:31] <lwhalen> I'm getting this error message: Could not find value for 'mc' at /etc/puppet/modules/mc_pgsqlconf/manifests/config.pp:3
[2010/08/02 13:24:33] <madduck> i just don't want syslog spammed. ;)
[2010/08/02 13:24:35] <duritong> 22:12 < madduck> Exec { loglevel => info }
[2010/08/02 13:24:47] @ pting joined channel #puppet
[2010/08/02 13:24:54] <duritong> info messages aren't printed in daemon or non --test mode
[2010/08/02 13:24:55] <madduck> duritong: or set it on exactly those execs that I expect to run over and over again
[2010/08/02 13:25:07] <duritong> madduck: exactly this is what I do
[2010/08/02 13:25:19] <madduck> lwhalen: you need to provide way more information
[2010/08/02 13:25:27] <madduck> like the file
[2010/08/02 13:25:30] <lwhalen> well, here's my manifest:
[2010/08/02 13:25:30] <lwhalen> http://www.pastie.org/1071569
[2010/08/02 13:25:40] <lwhalen> (sorry, slow on the pastie-uptake today)
[2010/08/02 13:25:48] <lwhalen> the actual ERB stuff is incoming...
[2010/08/02 13:25:54] <madduck> lwhalen: the template references mc, which is undefined
[2010/08/02 13:26:43] <lwhalen> here's the ERB:http://www.pastie.org/1071573
[2010/08/02 13:26:44] @ Quit: kolla: Read error: Connection reset by peer
[2010/08/02 13:27:03] <lwhalen> mc-mtamaster and mc-mtaslave are custom Facter facts, and they do indeed show up in 'facter -p'
[2010/08/02 13:27:21] <lwhalen> facter
[2010/08/02 13:27:25] <lwhalen> errr, wrong window
[2010/08/02 13:27:39] <madduck> lwhalen: don't use -, use _
[2010/08/02 13:27:48] <lwhalen> argh
[2010/08/02 13:27:51] <madduck> mc-mtamaster to ruby probably means mc minus mtamaster
[2010/08/02 13:28:12] <madduck> and you cannot even blame ruby for that. ;)
[2010/08/02 13:31:43] @ Quit: PhabX: Remote host closed the connection
[2010/08/02 13:33:11] @ Quit: yannL: Remote host closed the connection
[2010/08/02 13:35:39] <lwhalen> do I want to use 'eq', or '==' for that string comparison?
[2010/08/02 13:40:44] <eric0> there is no 'eq' operator in ruby.
[2010/08/02 13:41:09] @ Quit: ayanich: Ping timeout: 240 seconds
[2010/08/02 13:41:16] @ ayanich joined channel #puppet
[2010/08/02 13:41:31] @ radkin joined channel #puppet
[2010/08/02 13:41:54] <schimmi> looking for ideas how to implement configuration rollback, i.e. when I switch the hostname of the node, all the resources of the old hostname should be undone. any idea?
[2010/08/02 13:42:48] @ Quit: tecto_: Quit: tecto_
[2010/08/02 13:42:53] @ Quit: SpacePope: Read error: Connection reset by peer
[2010/08/02 13:43:36] @ jdcasey joined channel #puppet
[2010/08/02 13:43:43] @ Quit: radkin1: Ping timeout: 258 seconds
[2010/08/02 13:44:13] <lwhalen> eric0: well then, that answers my question :-)
[2010/08/02 13:45:32] <Volcane> schimmi: reinstall
[2010/08/02 13:45:46] @ Quit: hal-j: Quit: Leaving.
[2010/08/02 13:46:17] @ SpacePope joined channel #puppet
[2010/08/02 13:46:21] @ Quit: benkevan: Quit: leaving
[2010/08/02 13:46:40] @ benkevan joined channel #puppet
[2010/08/02 13:46:55] <schimmi> Volcane: well, a less destructive method would be prefered
[2010/08/02 13:47:10] <Volcane> schimmi: you cant just roll back.
[2010/08/02 13:47:50] @ Quit: reyjrar: Quit: Leaving.
[2010/08/02 13:49:59] @ scashin133 joined channel #puppet
[2010/08/02 13:54:14] <schimmi> I know it can be tricky. Most resources in puppet are non-negative, i.e. they never remove or delete something
[2010/08/02 13:54:17] @ joe-mac left channel #puppet ()
[2010/08/02 13:54:58] <schimmi> e.g. I would like to have a resource promising that exactly a set of packages is installed. not only at least the given ones, but exactly
[2010/08/02 13:55:16] <schimmi> if I change that claim, puppet would/should also remove packages if needed
[2010/08/02 13:55:37] <schimmi> there are other cases like that, e.g. static network routes, created users, etc.
[2010/08/02 13:57:45] <Volcane> why cant you just reinstall?
[2010/08/02 13:57:50] <Volcane> you'll never get it 100% right
[2010/08/02 13:58:22] <schimmi> because reinstalling takes 10 minutes or so
[2010/08/02 13:58:39] <schimmi> maybe snapshotting might be an idea if supported by the filesystem
[2010/08/02 14:00:01] <schimmi> something like a minute would be acceptable, but not much more
[2010/08/02 14:00:43] <Volcane> whats your use case that needs machines to change roles that quickly? quicker than even your typical puppet run
[2010/08/02 14:02:37] <schimmi> it's to roll out changes for systems whose downtime is to be minimized as much as possible
[2010/08/02 14:05:00] <Volcane> well if you literally write all manifests to also contain a negative
[2010/08/02 14:05:12] <schimmi> and it's about reducing the complexity of maintenance of the puppet code: of course you can add a negative rule to roll back older changes. but by that the number of negative rules increase with every change you ever undo with that
[2010/08/02 14:05:13] <Volcane> and switch it with a fact you could probably do it, but you'd need to write the rollback/negative logic
[2010/08/02 14:05:19] <Volcane> puppet doesnt track it so it can undo
[2010/08/02 14:05:22] <schimmi> exactly
[2010/08/02 14:06:10] @ Quit: uphillian: Quit: Leaving.
[2010/08/02 14:09:01] @ Quit: alban2: Ping timeout: 276 seconds
[2010/08/02 14:09:45] @ shenson is now known as zz_shenson
[2010/08/02 14:11:41] @ Quit: WALoeIII: Quit: WALoeIII
[2010/08/02 14:14:46] @ Quit: jgartrel: Ping timeout: 258 seconds
[2010/08/02 14:17:49] <ReinH> nasrat: ping
[2010/08/02 14:19:43] @ nul0op joined channel #puppet
[2010/08/02 14:23:12] @ Quit: anvil14: Quit: anvil14
[2010/08/02 14:25:37] @ Quit: bodepd: Quit: bodepd
[2010/08/02 14:25:45] @ gebi joined channel #puppet
[2010/08/02 14:28:21] @ alban2 joined channel #puppet
[2010/08/02 14:29:04] @ bodepd joined channel #puppet
[2010/08/02 14:30:12] @ jgartrel joined channel #puppet
[2010/08/02 14:33:45] @ Quit: MPSimmons: Quit: Leaving.
[2010/08/02 14:34:17] @ Quit: jhaddad: Ping timeout: 240 seconds
[2010/08/02 14:35:06] @ qjcg left channel #puppet ("sic - 250 LOC are too much!")
[2010/08/02 14:37:07] <lwhalen> is there an easy way to turn a gem into an RPM?
[2010/08/02 14:38:22] @ Quit: bodepd: Quit: bodepd
[2010/08/02 14:38:40] <Volcane> there are a few gem2rpm commands
[2010/08/02 14:38:40] @ jhaddad joined channel #puppet
[2010/08/02 14:39:48] <benkevan> Sorry if this sounds stupid.. but is there a way I can make a conditional statement.. with $operatingsystem which is outside of another class? ie.. I want to define a certain import (yada yada) but only want it to be imported on machines that are SLES
[2010/08/02 14:40:15] @ bodepd joined channel #puppet
[2010/08/02 14:40:15] @ Quit: bodepd: Client Quit
[2010/08/02 14:40:44] <Volcane> do you mean include?
[2010/08/02 14:40:50] <Volcane> import doesnt work that way
[2010/08/02 14:41:04] <benkevan> Volcane: yes.. include.. sorry (have modules in my mind)
[2010/08/02 14:41:11] <lwhalen> I wrote a facter fact, and now The Big Boss wants that fact to be able to query LDAP to set a variable
[2010/08/02 14:41:30] <lwhalen> the best way I can figure to do that is to use net-ldap
[2010/08/02 14:41:37] <lwhalen> but that's only available as a Gem as far as I can find
[2010/08/02 14:41:44] @ bodepd joined channel #puppet
[2010/08/02 14:42:09] <Volcane> benkevan: in your node, or in some other class you can just have a case of an if statement and conditionally include it
[2010/08/02 14:42:11] <lwhalen> adding a whoooole new type to manage into Puppet isn't my idea of a fun time right now, life would suck a whole lot less if I could just make it into an RPM to cram onto our internal repository
[2010/08/02 14:42:15] @ Quit: bodepd: Client Quit
[2010/08/02 14:42:59] <Volcane> lwhalen: google gem2rpm. and puppet package{} support gem2rpm
[2010/08/02 14:43:00] <benkevan> Volcane: ah.. ok.. I didn't know that it supported case.. YAY.. just saw that in the wii too..
[2010/08/02 14:44:23] @ Quit: adrian_broher: Quit: Verlassend
[2010/08/02 14:44:54] @ fredden joined channel #puppet
[2010/08/02 14:45:20] <Volcane> lwhalen: you could also just system out to the ldapquery tool.
[2010/08/02 14:46:57] <lwhalen> ldapquery?
[2010/08/02 14:47:01] <lwhalen> you mean 'ldapsearch'?
[2010/08/02 14:47:09] <Volcane> yeah - years since i used ldap :P
[2010/08/02 14:48:28] <lwhalen> is it wise to upgrade CentOS 5.5's 1.8.5 Ruby to 1.8.7?
[2010/08/02 14:48:37] <Volcane> depends how you do it
[2010/08/02 14:49:21] <lwhalen> stick the 1.8.7 RPM in my internal repo and tell puppet to enforce version => "1.8.7"
[2010/08/02 14:49:31] <lwhalen> maybe?
[2010/08/02 14:49:32] <lwhalen> :-D
[2010/08/02 14:49:41] @ QMan joined channel #puppet
[2010/08/02 14:51:10] @ Quit: windowsrefund: Quit: leaving
[2010/08/02 14:51:20] <benkevan> can I have nested cases? will puppet work fine with those? (if no answer trying now anyways)
[2010/08/02 14:52:21] <Volcane> benkevan: most of what you ask can be answered by just trying it in a test.pp file with notice() statements then 'puppet test.pp'
[2010/08/02 14:54:17] @ bodepd joined channel #puppet
[2010/08/02 14:54:38] <benkevan> Volcane: hummm.. I'll have to give that a go
[2010/08/02 14:54:41] <benkevan> didn't know I could do that..
[2010/08/02 14:54:56] <Volcane> benkevan: read http://www.devco.net/archives/2009/08/19/tips_and_tricks_for_puppet_debugging.php
[2010/08/02 14:55:29] @ lepole joined channel #puppet
[2010/08/02 14:55:30] <benkevan> I just found out I can do SLES,suse: :D for cases.. that makes me smile
[2010/08/02 14:56:24] <benkevan> wow.. that looks much better then me making some silly change like path => /etc and over writting the permissions of /etc to what sudoers should have been set to haha
[2010/08/02 14:58:08] @ Quit: radkin: Remote host closed the connection
[2010/08/02 14:59:29] <benkevan> Volcane: SWEEEEEEET
[2010/08/02 15:03:53] @ Quit: ecapriolo: Quit: KVIrc Insomnia 4.0.0, revision: 4030, sources date: 20100125, built on: 2010-02-25 23:12:54 UTC http://www.kvirc.net/
[2010/08/02 15:03:57] <miah> suse makes me cringe
[2010/08/02 15:04:16] <benkevan> miah: why?
[2010/08/02 15:04:20] <miah> bugggggggggggggs
[2010/08/02 15:04:29] <benkevan> specifically?
[2010/08/02 15:04:52] <miah> bugs in general, i had to use it for a puppet project a bit over a year ago. i ran into all sorts of stupid quirks
[2010/08/02 15:05:02] <miah> autoyast was broken in multiple ways
[2010/08/02 15:05:10] <benkevan> miah: what version of sles?
[2010/08/02 15:05:15] <miah> er, opensuse
[2010/08/02 15:05:28] <miah> and i've used suse on and off over the years and it has always been the same
[2010/08/02 15:05:39] <benkevan> miah: ah.. yeah and my Fedora 13 machine hard crashes.. about twice a week.. :o) no reason to compare RHEL to that..
[2010/08/02 15:05:45] <miah> i dont run fedora
[2010/08/02 15:05:52] <benkevan> I actually think openSUSE 11.3 is good.. 11.2 was blah
[2010/08/02 15:05:57] <miah> and i'll never run suse ever again
[2010/08/02 15:06:40] <miah> i loved how 11.1 detected nics in a different order during install than after install
[2010/08/02 15:06:46] <miah> made autoyast funnnnnnnnnnnnnnn
[2010/08/02 15:06:58] <benkevan> miah: hehe..
[2010/08/02 15:07:11] * odyi has had ubuntu to that once or twice...
[2010/08/02 15:07:20] <odyi> I think it was around the gutsy era.
[2010/08/02 15:07:22] @ Quit: \ask: Remote host closed the connection
[2010/08/02 15:07:22] <miah> ya, i dont run ubuntu or debian either :P
[2010/08/02 15:07:37] <benkevan> yeah.. I don't care for Ubuntu..
[2010/08/02 15:07:55] @ Quit: scashin133: Ping timeout: 240 seconds
[2010/08/02 15:08:02] <benkevan> miah: did you remove /etc/udev/rules.d/*persistent-net* before deploying new openSUSE? that's always fixed those for me
[2010/08/02 15:08:08] <miah> please feel free to run whatever you like. i just ran into too many issues with suse and opensuse to consider running it
[2010/08/02 15:08:17] <benkevan> I run Fedora on my work machine :)
[2010/08/02 15:08:35] <miah> the problem was that file wasnt created
[2010/08/02 15:08:45] <miah> or well, that it was created inconsistently
[2010/08/02 15:08:47] <benkevan> and other machines are arch / openSUSE now
[2010/08/02 15:09:03] <benkevan> miah: ah.. so possibly scanning of the buses? were the physical cards in the same slots?
[2010/08/02 15:09:13] <benkevan> I've had that issue with servers from dell, where they keep putting crap in different slots
[2010/08/02 15:09:28] @ Quit: zz_shenson: Ping timeout: 240 seconds
[2010/08/02 15:09:30] @ Quit: lwhalen: Quit: Where'd my controlling terminal go?!?
[2010/08/02 15:09:36] <miah> another fun problem i ran into was that in autoyast if i specified a nic (mac addr: n, eth0), but didn't add eth1 and eth2, it would add the nic i specified, but make 'eth1' and 'eth2' eth0, eth1, and the nic i specified eth2
[2010/08/02 15:09:42] <miah> so i had to specify *each nic*
[2010/08/02 15:09:52] <miah> just silly stupid junk like that
[2010/08/02 15:10:38] <benkevan> yah.. that's retarded.. should auto make your specified one as first.. but sounds like it scans in the other ones to see what's there prior to configuring ..
[2010/08/02 15:10:48] <miah> ya
[2010/08/02 15:12:15] @ zz_shenson joined channel #puppet
[2010/08/02 15:12:30] @ zz_shenson is now known as shenson
[2010/08/02 15:14:54] @ \ask joined channel #puppet
[2010/08/02 15:16:05] @ Quit: ahasenack: Quit: Leaving
[2010/08/02 15:16:31] @ hal-j joined channel #puppet
[2010/08/02 15:16:52] @ scashin133 joined channel #puppet
[2010/08/02 15:19:24] @ Quit: \ask: Remote host closed the connection
[2010/08/02 15:22:22] <fredden> I've a host which resets the 'password' field (to the same value) for every defined User on every run. I suspect it has something to do with shadow passwords. Can anyone suggest a fix?
[2010/08/02 15:22:50] @ Quit: gniks: Quit: Leaving.
[2010/08/02 15:23:13] @ Quit: nul0op: Quit: Leaving
[2010/08/02 15:23:19] <fredden> I use the same class on a number of hosts, and this is the only one which has issues
[2010/08/02 15:27:55] @ andrewh joined channel #puppet
[2010/08/02 15:28:27] @ Quit: gmason: Quit: gmason
[2010/08/02 15:28:42] @ Quit: bobbyz: Ping timeout: 260 seconds
[2010/08/02 15:29:21] <benkevan> is there a good article on handling cron jobs with puppet on the wiki?
[2010/08/02 15:29:30] <benkevan> Trying to think of the best way to manage this bad boy :o)
[2010/08/02 15:30:06] @ swa_work joined channel #puppet
[2010/08/02 15:30:25] <Volcane> benkevan: like all types - file, package etc- the type reference tell you how to use them
[2010/08/02 15:32:32] <benkevan> thanks.. wiki is a bit hard to navigate.. did a search for cron type and didn't get anything.. but on the home page I see type reference.. and found cron in there..
[2010/08/02 15:32:51] <Volcane> the type reference is *the* reference for all built in types
[2010/08/02 15:33:06] <Volcane> and the language tutorial is all about how case/if/class/selectors etc work
[2010/08/02 15:33:14] <Volcane> those are the 2 main references u need day to day
[2010/08/02 15:33:27] <benkevan> I kind of wish I went to the wiki prior to reading the book.. haha
[2010/08/02 15:33:59] <Volcane> book helps you understand the references
[2010/08/02 15:34:06] @ WALoeIII joined channel #puppet
[2010/08/02 15:41:28] @ Quit: kaptk2: Quit: Leaving.
[2010/08/02 15:42:00] @ Quit: lepole: Quit: lepole
[2010/08/02 15:44:54] @ Quit: bodepd: Quit: bodepd
[2010/08/02 15:44:58] @ freshtonic joined channel #puppet
[2010/08/02 15:46:11] @ Quit: jgartrel: Quit: jgartrel
[2010/08/02 15:46:26] @ Quit: swa_work: Quit: Leaving
[2010/08/02 15:48:03] @ Quit: bug: Quit: bug
[2010/08/02 15:55:52] @ MattyM76 joined channel #puppet
[2010/08/02 15:55:55] @ bodepd joined channel #puppet
[2010/08/02 15:57:00] @ gniks joined channel #puppet
[2010/08/02 16:00:18] @ Quit: scashin133: Remote host closed the connection
[2010/08/02 16:00:36] @ scashin133 joined channel #puppet
[2010/08/02 16:06:05] @ Quit: ghg: Quit: Leaving.
[2010/08/02 16:06:52] @ Demosthenes joined channel #puppet
[2010/08/02 16:07:41] <benkevan> what's the best way to manage an individual cron job on an individual server?
[2010/08/02 16:07:58] <benkevan> would you still create a module for the said task, then include it on the node configuration?
[2010/08/02 16:08:00] @ Quit: MattyM76: Quit: Leaving
[2010/08/02 16:08:11] @ \ask joined channel #puppet
[2010/08/02 16:08:53] <hal-j> benkevan: it's really hard to answer a general question like that. If the cron job is specific to a particular app/service/whatever that has a module, I may make a ::cronjob or ::somethingdescriptive
[2010/08/02 16:10:03] <benkevan> hal-j: yah.. I'm looking at more implementing puppet into an already existing environment.. I guess I can just create a module for the said app and just add the a cron class to it, then create a roll for all those tasks and assign to the server.. (following the basic models).. Yah.. now that I thought it out.. that def sounds best
[2010/08/02 16:10:05] <hal-j> or if you're trying to schedule a run of some script, I'd be inclined to handle both the deployment of the script and the scheduling of the cron job, in the same module (perhaps a new one)
[2010/08/02 16:10:58] <benkevan> this puppet stuff is pretty darn cool
[2010/08/02 16:11:00] @ Quit: jdcasey: Remote host closed the connection
[2010/08/02 16:11:39] <hal-j> most alternatives are pretty darn scary :)
[2010/08/02 16:12:04] @ Quit: rmiller4pi8: Ping timeout: 276 seconds
[2010/08/02 16:12:58] <hal-j> and, having managed decently sized systems in teh past without much automation to speak of… suddenly things are easier and you can focus on improvements, rather than mundane tasks
[2010/08/02 16:14:12] <benkevan> hal-j: yeah.. I was thrown into this environment faced with a big project.. and just did a home grown ugly script to do pulling and some normal stuff for sudoers / crontabs / alias / syslog.. stuff.. goal for puppet was to replace that.. and I keep getting side tracked adding additional features HAHA
[2010/08/02 16:14:24] <benkevan> whilst learning something used in enterprises :D .. I love learning
[2010/08/02 16:14:39] @ Quit: kubicek: Quit: kubicek
[2010/08/02 16:15:14] <benkevan> next is to figure out how to stash the files (then I can get rid of a stasher script I have).. on that note.. how can I use puppet to REMOVE a cron entry?
[2010/08/02 16:15:23] @ kolla joined channel #puppet
[2010/08/02 16:15:31] @ tecto_ joined channel #puppet
[2010/08/02 16:15:31] @ Quit: tecto_: Changing host
[2010/08/02 16:15:31] @ tecto_ joined channel #puppet
[2010/08/02 16:15:51] @ ahuman joined channel #puppet
[2010/08/02 16:16:18] <benkevan> shessh .. then have to do user management.. (boy this is gettin' out of control haha)
[2010/08/02 16:17:25] <hal-j> benkevan: ensure => absent
[2010/08/02 16:17:39] <benkevan> well duh.. thanks
[2010/08/02 16:17:49] <hal-j> that's assuming puppet put it there to begin with
[2010/08/02 16:18:01] <hal-j> if you can stand a suggestion: get some basic functionality into production
[2010/08/02 16:18:04] <hal-j> then enhance as you go
[2010/08/02 16:18:12] <benkevan> ah.. ok.. it wouldn't.. so no way to take it out if puppet didn't include?
[2010/08/02 16:18:16] <hal-j> rather than rebuilding the world, and deploying it all at once
[2010/08/02 16:18:28] @ tecto__ joined channel #puppet
[2010/08/02 16:18:31] @ Alagar joined channel #puppet
[2010/08/02 16:18:31] @ Quit: Alagar: Excess Flood
[2010/08/02 16:18:33] <benkevan> hal-j: I'm getting functionality in a small environment (which are production management machines)
[2010/08/02 16:18:35] <mackn> but the explosions are more spectacular that way
[2010/08/02 16:18:51] <hal-j> spectacular explosions are fine, if you can take the hit :)
[2010/08/02 16:19:12] <benkevan> BUT the stuff I do have to replace are the stuff that I'm currently doing with my updater script and would like to be able to remove the stasher script.. SO .. that's what I need to replace then add all the others)
[2010/08/02 16:19:46] <benkevan> most have been done.. just have to install aliases file
[2010/08/02 16:19:57] <hal-j> If puppet didn't add the cron job, I'd suspect that it won't remove it. I won't swear to something I've not tested though
[2010/08/02 16:19:58] <benkevan> (which is going to be simple i'd assume)
[2010/08/02 16:20:04] @ Quit: Demosthenes: Ping timeout: 245 seconds
[2010/08/02 16:20:37] <benkevan> hal-j: that's fine.. when I feel it's ready to go into produciton.. I'll use my updater script to remove the entry just wanted to know if puppet could remove something thta wasn't added via puppet :)
[2010/08/02 16:20:38] <hal-j> so if you're moving it into the puppet system, I'd add it to the puppet system, manually remove it from your crontab and then kick a puppet run to re-add the puppet managed one
[2010/08/02 16:20:57] <benkevan> yeah.. 200 hosts.. going to be fun
[2010/08/02 16:21:01] <hal-j> _perhaps_ if you add the proper comment, it may
[2010/08/02 16:21:04] <benkevan> going to do push out quite slowly though
[2010/08/02 16:21:21] <benkevan> hal-j: yah.. I'd rather not falsely blame puppet for something :D
[2010/08/02 16:21:36] <benkevan> my nodes.pp file is going to look like fun when all is said and done
[2010/08/02 16:21:52] @ Quit: tecto_: Ping timeout: 240 seconds
[2010/08/02 16:22:22] <benkevan> i dunno how big of an environment most people have.. but I know having 200 hosts in my nodes/<location>.pp file is going to be fun HAHAH
[2010/08/02 16:22:42] <hal-j> you can "import" from nodes.pp, to help split up your nodes into separate files, if that helps
[2010/08/02 16:22:47] <mackn> external nodes
[2010/08/02 16:23:02] <mackn> unless all your nodes are that unique.. then you're screwed heh
[2010/08/02 16:23:06] <hal-j> and you CAN combine node defs, for nodes that are identical
[2010/08/02 16:23:14] <benkevan> yah.. but either 200 <server>.pp files or all in hercules.pp
[2010/08/02 16:23:28] <benkevan> hal-j: hummmm.. no.. majority will be like..
[2010/08/02 16:23:40] <benkevan> so maybe 30 different ones
[2010/08/02 16:23:41] <hal-j> again, hard to give a generalized answer without knowing the specifics :)
[2010/08/02 16:24:05] <benkevan> yeah.. i'll ping when i start adding them and seeing how they look (and how common they are)
[2010/08/02 16:24:37] <mackn> did you read the part about external nodes? heh
[2010/08/02 16:24:42] <mackn> it might be useful
[2010/08/02 16:24:59] <mackn> or... write a script to generate your nodes files using a template if you wanna go that way
[2010/08/02 16:25:10] <benkevan> mackn: actually.. I skipped that in the book... because ok nodes thing was in the middle of other stuff.. but I'm going read up on external nodes on the wiki (since book seems to be aged)
[2010/08/02 16:25:46] @ brothers_ joined channel #puppet
[2010/08/02 16:26:27] @ brothers__ joined channel #puppet
[2010/08/02 16:26:27] @ Quit: brothers_: Read error: Connection reset by peer
[2010/08/02 16:26:38] @ Quit: andrewh: Ping timeout: 265 seconds
[2010/08/02 16:27:27] <benkevan> maybe that'll be next.. all these awesome features are making my short attention span go nuts.. should set milestone to complete port of update / stasher script funcitonality then add more complex node definitions
[2010/08/02 16:28:21] @ Quit: brothers__: Client Quit
[2010/08/02 16:28:25] <hal-j> agreed… get SOMETHING out there, and then refine as you go
[2010/08/02 16:28:58] <mackn> first thing i did was change passwords :)
[2010/08/02 16:29:09] <benkevan> mackn: ? what do you mean?
[2010/08/02 16:29:16] <benkevan> with puppet you changed all the passwords?
[2010/08/02 16:29:19] <mackn> that was the first thing i did using puppet
[2010/08/02 16:29:28] @ Quit: brothers: Ping timeout: 240 seconds
[2010/08/02 16:29:29] <mackn> and installed ssh keys
[2010/08/02 16:29:34] <mackn> pretty much access control
[2010/08/02 16:29:41] <benkevan> oooh..
[2010/08/02 16:29:45] * benkevan adds that to the list.. damn you mackn
[2010/08/02 16:30:06] <benkevan> although I have some machines that are winbind and some that aren't.. haha.. so that may be more complex..
[2010/08/02 16:30:16] <hal-j> benkevan: if it gives you an idea of what's possible, I've got a "don't make any change to any server manually. it must be in puppet" policy
[2010/08/02 16:30:27] <benkevan> hal-j: that's my goal
[2010/08/02 16:31:48] <benkevan> thanks for the help again today guys.. more tomorrow I'm sure..
[2010/08/02 16:31:53] <benkevan> lots of learning me how..
[2010/08/02 16:31:54] @ Quit: benkevan: Quit: leaving
[2010/08/02 16:33:19] @ Quit: ]oestewart: Ping timeout: 276 seconds
[2010/08/02 16:36:55] @ jfreeman joined channel #puppet
[2010/08/02 16:40:33] @ Quit: christophermlee: Quit: christophermlee
[2010/08/02 16:40:45] @ Quit: e1mer: Quit: captured by martians
[2010/08/02 16:44:26] @ bug_ joined channel #puppet
[2010/08/02 16:44:31] @ davea1 joined channel #puppet
[2010/08/02 16:48:06] <fredden> I've a host which resets the 'password' field (to the same value) for every defined User on every run. I suspect it has something to do with shadow passwords. Anyone have any ideas why? The same class works fine on other hosts.
[2010/08/02 16:48:55] @ Quit: MattyM: Ping timeout: 276 seconds
[2010/08/02 16:49:07] @ Quit: tecto__: Ping timeout: 276 seconds
[2010/08/02 17:02:36] @ Wandrewvious joined channel #puppet
[2010/08/02 17:06:42] @ Quit: WALoeIII: Ping timeout: 260 seconds
[2010/08/02 17:06:50] @ tecto_ joined channel #puppet
[2010/08/02 17:07:11] @ Quit: Wandrewvious: Ping timeout: 248 seconds
[2010/08/02 17:08:27] @ Quit: jmccune: Ping timeout: 246 seconds
[2010/08/02 17:12:59] <mackn> might help to see some fragment of the manifest
[2010/08/02 17:13:38] <mackn> first suspect would be you're using 'User' somewhere
[2010/08/02 17:15:15] @ Quit: filler: Remote host closed the connection
[2010/08/02 17:19:25] @ vvuksan joined channel #puppet
[2010/08/02 17:20:01] @ Quit: nicklewis: Quit: Page closed
[2010/08/02 17:20:01] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/08/02 17:21:00] <vvuksan> hello
[2010/08/02 17:21:37] <vvuksan> what is the proper construct to say unless certain fact == value include classX ?
[2010/08/02 17:22:36] @ Quit: mikey_p: Ping timeout: 258 seconds
[2010/08/02 17:22:39] <hal-j> if $somefact != "value" { include classX } ?
[2010/08/02 17:23:24] <vvuksan> i'll try that
[2010/08/02 17:23:46] @ Quit: bug_: Quit: bug_
[2010/08/02 17:26:29] <vvuksan> that was it thanks a lot :-)
[2010/08/02 17:27:17] @ PaulWay[w] joined channel #puppet
[2010/08/02 17:30:44] <hal-j> np
[2010/08/02 17:30:47] @ Quit: justdave: Read error: Connection reset by peer
[2010/08/02 17:31:16] @ justdave joined channel #puppet
[2010/08/02 17:36:00] <ghaskins_mobile> whats the proper syntax for having two different "require" deps
[2010/08/02 17:36:00] <ghaskins_mobile> ?
[2010/08/02 17:36:09] <ghaskins_mobile> ( tried require, require)
[2010/08/02 17:36:12] <ghaskins_mobile> but that blows up
[2010/08/02 17:37:23] <ghaskins_mobile> oh wait, I think I see it in the lang tut
[2010/08/02 17:37:43] @ Quit: bodepd: Quit: bodepd
[2010/08/02 17:39:40] @ WALoeIII joined channel #puppet
[2010/08/02 17:40:01] @ Quit: WALoeIII: Client Quit
[2010/08/02 17:45:19] @ Quit: rcrowley: Quit: rcrowley
[2010/08/02 17:46:01] @ itguru joined channel #puppet
[2010/08/02 17:46:01] @ Quit: itguru: Changing host
[2010/08/02 17:46:01] @ itguru joined channel #puppet
[2010/08/02 17:54:27] @ Quit: RussS: Quit: Leaving
[2010/08/02 17:55:40] @ etank joined channel #puppet
[2010/08/02 17:56:09] @ thekad is now known as thekad-afk
[2010/08/02 17:57:01] @ Quit: vvuksan: Ping timeout: 265 seconds
[2010/08/02 17:57:07] @ bodepd joined channel #puppet
[2010/08/02 17:59:02] @ bug joined channel #puppet
[2010/08/02 18:03:52] @ Quit: craftytech: Ping timeout: 252 seconds
[2010/08/02 18:05:10] @ Quit: jaredrhine: Quit: Leaving.
[2010/08/02 18:09:18] @ rcrowley joined channel #puppet
[2010/08/02 18:11:14] @ Quit: tecto_: Quit: tecto_
[2010/08/02 18:16:56] @ Demosthenes joined channel #puppet
[2010/08/02 18:18:27] @ tonyskapunk joined channel #puppet
[2010/08/02 18:28:40] @ Quit: scashin133: Ping timeout: 240 seconds
[2010/08/02 18:35:22] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/08/02 18:35:26] @ Djelibeybi joined channel #puppet
[2010/08/02 18:48:45] <jamesturnbull> ghaskins_mobile: did you sort it? array btw
[2010/08/02 18:48:54] @ joe-mac joined channel #puppet
[2010/08/02 18:56:06] @ Quit: mclarke: Quit: mclarke
[2010/08/02 19:00:56] @ tecto_ joined channel #puppet
[2010/08/02 19:00:56] @ Quit: tecto_: Changing host
[2010/08/02 19:00:56] @ tecto_ joined channel #puppet
[2010/08/02 19:03:56] @ jaredrhine joined channel #puppet
[2010/08/02 19:06:00] @ Quit: bodepd: Quit: bodepd
[2010/08/02 19:09:19] @ Quit: gmcquillan: Quit: gmcquillan
[2010/08/02 19:10:11] @ gmcquillan joined channel #puppet
[2010/08/02 19:10:49] @ tecto__ joined channel #puppet
[2010/08/02 19:12:45] @ Quit: gmcquillan: Client Quit
[2010/08/02 19:14:16] @ Quit: tecto_: Ping timeout: 240 seconds
[2010/08/02 19:19:00] @ scashin133 joined channel #puppet
[2010/08/02 19:19:59] @ Quit: scashin133: Client Quit
[2010/08/02 19:25:15] @ e1mer joined channel #puppet
[2010/08/02 19:30:10] <ghaskins_mobile> jamesturnbull, yeah, thank you for checking back, though
[2010/08/02 19:34:18] @ ]oestewart joined channel #puppet
[2010/08/02 19:35:20] @ Quit: ]oestewart: Client Quit
[2010/08/02 19:36:51] @ ]oestewart joined channel #puppet
[2010/08/02 19:41:10] @ p3rror joined channel #puppet
[2010/08/02 19:43:06] @ tecto_ joined channel #puppet
[2010/08/02 19:43:06] @ Quit: tecto_: Changing host
[2010/08/02 19:43:06] @ tecto_ joined channel #puppet
[2010/08/02 19:43:54] @ tecto___ joined channel #puppet
[2010/08/02 19:45:31] @ Quit: ghaskins_mobile: Quit: This computer has gone to sleep
[2010/08/02 19:46:59] @ Quit: tecto__: Ping timeout: 259 seconds
[2010/08/02 19:48:16] @ Quit: gebi: Ping timeout: 258 seconds
[2010/08/02 19:48:19] @ Quit: tecto_: Ping timeout: 276 seconds
[2010/08/02 19:58:55] @ gmcquillan joined channel #puppet
[2010/08/02 20:00:34] @ alexine_dsouza joined channel #puppet
[2010/08/02 20:02:45] @ scashin133 joined channel #puppet
[2010/08/02 20:03:32] @ Quit: scashin133: Client Quit
[2010/08/02 20:05:55] @ mikey_p joined channel #puppet
[2010/08/02 20:06:06] @ Quit: mikey_p: Remote host closed the connection
[2010/08/02 20:06:12] @ Quit: Djelibeybi: Quit: Leaving
[2010/08/02 20:07:11] @ Quit: bug: Quit: bug
[2010/08/02 20:11:56] @ vvuksan joined channel #puppet
[2010/08/02 20:20:39] @ bodepd joined channel #puppet
[2010/08/02 20:21:03] @ Quit: vvuksan: Ping timeout: 265 seconds
[2010/08/02 20:21:20] @ happymcplaksin joined channel #puppet
[2010/08/02 20:22:19] @ Quit: bgupta: Remote host closed the connection
[2010/08/02 20:22:26] @ bgupta joined channel #puppet
[2010/08/02 20:22:36] @ Quit: Disconnect: Quit: ZNC - http://znc.sourceforge.net
[2010/08/02 20:22:51] @ Disconnect joined channel #puppet
[2010/08/02 20:25:15] @ Quit: Demosthenes: Ping timeout: 264 seconds
[2010/08/02 20:25:32] @ scashin133 joined channel #puppet
[2010/08/02 20:25:35] @ Quit: scashin133: Client Quit
[2010/08/02 20:26:09] @ Quit: pting: Read error: Connection reset by peer
[2010/08/02 20:32:50] @ Quit: Disconnect: Read error: Connection reset by peer
[2010/08/02 20:32:55] @ Quit: jhaddad: Ping timeout: 240 seconds
[2010/08/02 20:33:46] @ Disconnect joined channel #puppet
[2010/08/02 20:36:27] @ vvuksan joined channel #puppet
[2010/08/02 20:40:17] @ WALoeIII joined channel #puppet
[2010/08/02 20:40:27] @ wilmoore joined channel #puppet
[2010/08/02 20:44:34] @ jense joined channel #puppet
[2010/08/02 20:45:13] @ bug_ joined channel #puppet
[2010/08/02 20:47:18] @ Quit: jens_: Ping timeout: 258 seconds
[2010/08/02 20:48:36] @ squirrel_labs joined channel #puppet
[2010/08/02 20:48:48] @ Quit: squirrel_labs: Client Quit
[2010/08/02 20:50:31] @ Quit: Disconnect: Quit: ZNC - http://znc.sourceforge.net
[2010/08/02 20:50:56] @ plathrop is now known as plathrop-away
[2010/08/02 20:51:51] @ Disconnect joined channel #puppet
[2010/08/02 20:53:13] @ Quit: WALoeIII: Quit: Bai.
[2010/08/02 20:53:30] @ londo__ joined channel #puppet
[2010/08/02 20:53:52] @ Quit: londo: Ping timeout: 276 seconds
[2010/08/02 20:55:45] @ Quit: gmcquillan: Quit: gmcquillan
[2010/08/02 20:59:12] @ Quit: e1mer: Quit: captured by martians
[2010/08/02 21:03:01] @ Quit: londo__: Ping timeout: 258 seconds
[2010/08/02 21:04:06] @ londo__ joined channel #puppet
[2010/08/02 21:04:18] @ Demosthenes joined channel #puppet
[2010/08/02 21:09:40] @ rmiller4pi8 joined channel #puppet
[2010/08/02 21:11:47] @ mqr joined channel #puppet
[2010/08/02 21:12:55] @ scashin133 joined channel #puppet
[2010/08/02 21:14:01] @ Quit: scashin133: Client Quit
[2010/08/02 21:15:17] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/08/02 21:18:02] @ vvuksan1 joined channel #puppet
[2010/08/02 21:20:39] @ Quit: vvuksan: Ping timeout: 240 seconds
[2010/08/02 21:20:54] @ Quit: joe-mac: Ping timeout: 245 seconds
[2010/08/02 21:21:09] @ Quit: londo__: Ping timeout: 240 seconds
[2010/08/02 21:22:57] @ plathrop-away is now known as plathrop
[2010/08/02 21:23:21] @ londo__ joined channel #puppet
[2010/08/02 21:24:36] <madduck> jamesturnbull: I hope you get notified about http://github.com/reductivelabs/puppet-vcsrepo/issues/issue/1 ;)
[2010/08/02 21:29:12] @ Quit: vvuksan1: Ping timeout: 265 seconds
[2010/08/02 21:32:16] @ joe-mac joined channel #puppet
[2010/08/02 21:33:06] @ e1mer joined channel #puppet
[2010/08/02 21:36:55] @ Quit: e1mer: Client Quit
[2010/08/02 21:37:27] @ e1mer joined channel #puppet
[2010/08/02 21:41:19] @ Quit: rmiller4pi8: Ping timeout: 248 seconds
[2010/08/02 21:41:19] @ Quit: fredden: Ping timeout: 248 seconds
[2010/08/02 21:46:58] @ Quit: rcrowley: Quit: rcrowley
[2010/08/02 21:50:55] @ nexx joined channel #puppet
[2010/08/02 21:54:28] @ Quit: alban2: Ping timeout: 260 seconds
[2010/08/02 21:55:47] @ fredden joined channel #puppet
[2010/08/02 21:58:04] <madduck> what is the right strategy to use to ensure existence of /etc/sudoers.d? I want to install files there from multiple packages, but I can only ever instantiate/realise the directory from one place
[2010/08/02 21:58:15] <madduck> thus either all my modules need to depend on the sudo module
[2010/08/02 21:58:19] <madduck> or there's a more elegant way
[2010/08/02 22:06:18] @ Quit: shenson: Ping timeout: 246 seconds
[2010/08/02 22:06:57] @ zz_shenson joined channel #puppet
[2010/08/02 22:07:02] @ zz_shenson is now known as shenson
[2010/08/02 22:08:33] @ ckauhaus joined channel #puppet
[2010/08/02 22:19:19] @ jgartrel joined channel #puppet
[2010/08/02 22:21:47] <PaulWay[w]> madduck: you don't have to have every module depending on the sudo module; you just have the node including that module.
[2010/08/02 22:22:39] <madduck> PaulWay[w]: hi you!
[2010/08/02 22:22:54] <madduck> PaulWay[w]: point being is that that is a dependency.
[2010/08/02 22:23:15] <madduck> either you include sudo from each module, which is under the false assumption that everyone has such a module and names it such
[2010/08/02 22:23:17] <PaulWay[w]> Hi madduck :-)
[2010/08/02 22:23:27] <madduck> or you expect the admin to do it, which is under the false assumption that …
[2010/08/02 22:24:10] <PaulWay[w]> The idea as I understand it is that you don't have to have one 'root' module which each node imports.
[2010/08/02 22:24:27] <madduck> not sure how that's related
[2010/08/02 22:24:55] <PaulWay[w]> So for example our standard config is to include sudo, ntp, rhn, nagios, etc for each node.
[2010/08/02 22:25:22] <PaulWay[w]> So each node includes the sudo module and that defines the existence of /etc/sudoers.d
[2010/08/02 22:27:55] <madduck> yeah sure, but let's say I am writing a module Foo, and it conveniently installs an /etc/sudoers.d file for you
[2010/08/02 22:28:00] <madduck> and I want you to use that module…
[2010/08/02 22:28:36] <PaulWay[w]> Then you instantiate with 'File["/etc/sudoers.d"]'.
[2010/08/02 22:28:43] <PaulWay[w]> Problem is I don't quite understand what you'
[2010/08/02 22:28:43] <madduck> where?
[2010/08/02 22:28:52] <PaulWay[w]> you're getting at, and I'm not really an expert with Puppet.
[2010/08/02 22:30:05] @ brothers joined channel #puppet
[2010/08/02 22:30:33] @ ceren joined channel #puppet
[2010/08/02 22:31:25] @ Djelibeybi joined channel #puppet
[2010/08/02 22:36:15] @ Quit: brothers: Ping timeout: 248 seconds
[2010/08/02 22:36:31] @ Quit: jgartrel: Quit: jgartrel
[2010/08/02 22:36:37] @ Quit: bodepd: Quit: bodepd
[2010/08/02 22:39:29] @ Quit: nexx: Quit: quit
[2010/08/02 22:42:33] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2010/08/02 22:49:55] @ yannL joined channel #puppet
[2010/08/02 22:50:01] @ ckauhaus joined channel #puppet
[2010/08/02 22:51:52] @ bodepd joined channel #puppet
[2010/08/02 22:54:01] @ Deesl joined channel #puppet
[2010/08/02 22:54:04] @ Quit: Deesl: Changing host
[2010/08/02 22:54:04] @ Deesl joined channel #puppet
[2010/08/02 22:54:59] @ Naresh joined channel #puppet
[2010/08/02 22:59:49] @ Quit: kennobaka-also: Read error: Connection reset by peer
[2010/08/02 22:59:52] @ kennobaka-also joined channel #puppet
[2010/08/02 23:03:17] @ nakano is now known as nakano_
[2010/08/02 23:03:23] @ Quit: MrHeavy: Ping timeout: 258 seconds
[2010/08/02 23:03:57] @ MrHeavy joined channel #puppet
[2010/08/02 23:04:41] <duritong> madduck: I would go with the dependency
[2010/08/02 23:05:22] <madduck> i just wish that puppet had more things standardised
[2010/08/02 23:05:56] <madduck> how many sudo classes are out there because puppet doesn't provide one? compare that to all the nagios types, or even yumrepo!
[2010/08/02 23:06:15] @ Quit: bug_: Quit: bug_
[2010/08/02 23:06:30] <duritong> yeah the work for standards began too late, on the other hand you have too much freedom with puppet ;)
[2010/08/02 23:07:04] <duritong> madduck: well forge should reduce that a bit, but it's too young
[2010/08/02 23:07:23] @ bug joined channel #puppet
[2010/08/02 23:07:30] <madduck> yeah
[2010/08/02 23:07:46] <madduck> especially once they're packaged in a debian package e.g. puppet-forge
[2010/08/02 23:07:52] <duritong> and another problem is that every sysadmin has her/his own best(TM) way to do things
[2010/08/02 23:08:11] <madduck> just install debian. that *is* the best way. ;)
[2010/08/02 23:08:11] <duritong> packaging: ack
[2010/08/02 23:08:31] <madduck> if puppet weren't ruby, I'd be so much more inclined to work on it and to help packaging
[2010/08/02 23:14:59] <rodjek> madduck: +1 on debian doing things the right way
[2010/08/02 23:15:01] <miah> i have written a bunch of stuff that i need to dump
[2010/08/02 23:15:38] <miah> puppetforge is cool, but young indeed
[2010/08/02 23:17:05] <madduck> do storeconfigs require me to install rails?
[2010/08/02 23:18:19] <rodjek> madduck: nope
[2010/08/02 23:19:00] <madduck> http://projects.puppetlabs.com/projects/1/wiki/Using_Stored_Configuration says "To make use of stored configuration you will need to install some prerequisites principally the database back-end you wish to use and the Rails framework."
[2010/08/02 23:20:01] <duritong> madduck: yes
[2010/08/02 23:20:15] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/08/02 23:20:26] <madduck> sucks!
[2010/08/02 23:20:35] <duritong> why?
[2010/08/02 23:20:42] <rodjek> hmm, i don't recall installing it
[2010/08/02 23:20:44] * rodjek checks
[2010/08/02 23:21:03] <madduck> because i don't want a hipster application framework written in ruby, adding layers and layers of stuff I never need just for storeconfigs.
[2010/08/02 23:21:18] @ alexine_dsouza joined channel #puppet
[2010/08/02 23:21:21] <duritong> madduck: puppet uses that hipster framework
[2010/08/02 23:21:31] <rodjek> i don't have the rails gem installed, i thought it was vendored
[2010/08/02 23:21:33] * rodjek shrugs
[2010/08/02 23:21:53] <madduck> duritong: no, it does not. it can, but it does not.
[2010/08/02 23:21:57] @ subhro joined channel #puppet
[2010/08/02 23:22:14] <madduck> puppetmaster:Recommends: rails (>= 1.2.3-2)
[2010/08/02 23:22:29] @ Quit: Deesl: Remote host closed the connection
[2010/08/02 23:22:41] <madduck> i certainly don't have that installed
[2010/08/02 23:22:48] <madduck> un rails <none> (no description available)
[2010/08/02 23:22:48] <duritong> madduck: for the storedconfigs it does, and there are not many other RDMS abstraction layers around if you are working with ruby
[2010/08/02 23:23:09] <madduck> duritong: rails is way more than an RDBMS abstraction layer
[2010/08/02 23:23:22] <madduck> and if I had the choice, I certainly wouldn't be working with ruby
[2010/08/02 23:23:32] <duritong> yeah that rant is clear to me
[2010/08/02 23:23:32] <rodjek> activerecord is the RDBMS abstraction layer
[2010/08/02 23:23:53] @ \ask_ joined channel #puppet
[2010/08/02 23:23:53] <madduck> duritong: sorry
[2010/08/02 23:23:58] <madduck> it's just frustrating
[2010/08/02 23:24:02] <madduck> anyway, time to head to work…
[2010/08/02 23:24:29] <duritong> well I would also be frustrated if I categorly refuse the tools that something uses
[2010/08/02 23:25:13] @ Quit: \ask_: Client Quit
[2010/08/02 23:25:26] @ \ask_ joined channel #puppet
[2010/08/02 23:25:28] @ Quit: \ask_: Client Quit
[2010/08/02 23:30:45] @ rcrowley joined channel #puppet
[2010/08/02 23:31:51] @ mattock joined channel #puppet
[2010/08/02 23:32:40] @ Quit: subhro: Remote host closed the connection
[2010/08/02 23:37:28] <PaulWay[w]> I cannot work this out.
[2010/08/02 23:37:41] <PaulWay[w]> Let me see if I can pastebin enough of it to look at.
[2010/08/02 23:38:38] <PaulWay[w]> Basically the problem is that I have retrieve /etc/sysconfig/rhn/up2date from Puppet, and for one host it's supposed to get that from the up2date-thishost file, whereas everything else gets it from the up2date-normal file.
[2010/08/02 23:38:50] <PaulWay[w]> (using source fallback).
[2010/08/02 23:40:54] @ mclarke joined channel #puppet
[2010/08/02 23:41:19] @ alban2 joined channel #puppet
[2010/08/02 23:41:45] <rodjek> PaulWay[w]: that should be pretty simple, pastebin away :)
[2010/08/02 23:42:05] @ groove joined channel #puppet
[2010/08/02 23:42:35] @ Quit: ckauhaus: Quit: Leaving.
[2010/08/02 23:44:48] <PaulWay[w]> And yet the file is definitely coming from up2date-normal.
[2010/08/02 23:45:07] * PaulWay[w] looks at himself saying "have retrieve" and shoots his fingers.
[2010/08/02 23:45:18] <rodjek> haha
[2010/08/02 23:45:26] <rodjek> can you pastebin the manifest fragment?
[2010/08/02 23:45:43] <PaulWay[w]> One moment.
[2010/08/02 23:46:42] @ sdog joined channel #puppet
[2010/08/02 23:46:55] @ scashin133 joined channel #puppet
[2010/08/02 23:47:08] @ Quit: scashin133: Client Quit
[2010/08/02 23:50:18] @ Quit: fredden: Quit: Leaving
[2010/08/02 23:50:59] @ kubicek joined channel #puppet
[2010/08/02 23:53:33] <PaulWay[w]> In a bit - other demands on me... :-/
[2010/08/02 23:53:54] <rodjek> haha, the life of a sysadmin eh?
[2010/08/02 23:54:05] <PaulWay[w]> *sigh*
[2010/08/02 23:54:21] * rodjek knows exactly how you feel
[2010/08/02 23:54:39] @ Quit: alban2: Ping timeout: 248 seconds
[2010/08/02 23:54:45] <PaulWay[w]> time to break out the emergency chocolate
[2010/08/02 23:55:15] <rodjek> hmm, i need a set of drawers to keep emergency confectionary in
[2010/08/02 23:55:19] @ Quit: joevano: Ping timeout: 276 seconds
[2010/08/02 23:57:18] <PaulWay[w]> rodjek: I have that very thing - one drawer for chocolate and chewy sweets, one for V and muesli bars
[2010/08/02 23:57:22] @ alban2 joined channel #puppet
[2010/08/02 23:57:53] <rodjek> damn, you've got it made

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