Tuesday, 2010-01-19

[2010/01/19 00:01:59] @ Log started by gepetto
[2010/01/19 00:01:59] @ Quit: cwebber:
[2010/01/19 00:17:36] @ tuf joined channel #puppet
[2010/01/19 00:21:16] @ rmiller4pi8 joined channel #puppet
[2010/01/19 00:21:39] @ Demosthenes joined channel #puppet
[2010/01/19 00:22:22] @ re_ joined channel #puppet
[2010/01/19 00:37:51] @ artista_frustrad joined channel #puppet
[2010/01/19 00:38:06] @ lak joined channel #puppet
[2010/01/19 00:39:45] @ Quit: re_:
[2010/01/19 00:39:55] @ Quit: mikerowehl:
[2010/01/19 00:42:04] @ Quit: lak: Client Quit
[2010/01/19 00:47:52] @ Quit: artista_frustrad: Read error: 60 (Operation timed out)
[2010/01/19 00:54:39] @ re_ joined channel #puppet
[2010/01/19 00:57:19] @ artista_frustrad joined channel #puppet
[2010/01/19 01:00:09] @ lak joined channel #puppet
[2010/01/19 01:00:46] @ Quit: vzctl__: Remote closed the connection
[2010/01/19 01:01:33] @ Quit: lak: Client Quit
[2010/01/19 01:05:03] @ Quit: qweqweqwe: "Leaving"
[2010/01/19 01:08:33] @ Quit: re_:
[2010/01/19 01:16:37] @ Quit: artista_frustrad: Read error: 110 (Connection timed out)
[2010/01/19 01:19:33] @ Quit: rmiller4pi8: "Leaving."
[2010/01/19 01:32:01] @ danblick left channel #puppet ()
[2010/01/19 01:36:02] @ Quit: jes5: "Leaving."
[2010/01/19 01:37:56] @ crdant1 joined channel #puppet
[2010/01/19 01:41:29] @ tyll joined channel #puppet
[2010/01/19 01:47:48] @ Quit: crdant: Read error: 110 (Connection timed out)
[2010/01/19 01:49:44] @ Quit: Bass10: Read error: 110 (Connection timed out)
[2010/01/19 01:51:25] @ manish_ joined channel #puppet
[2010/01/19 01:55:44] @ Quit: m1nish: Nick collision from services.
[2010/01/19 01:58:15] @ Quit: manish_: Client Quit
[2010/01/19 01:58:28] @ m1nish joined channel #puppet
[2010/01/19 02:21:53] @ crdant joined channel #puppet
[2010/01/19 02:23:19] @ pacalm joined channel #puppet
[2010/01/19 02:30:18] @ Berge left channel #puppet ()
[2010/01/19 02:37:37] @ Quit: crdant1: Read error: 110 (Connection timed out)
[2010/01/19 02:37:40] @ Quit: crdant: Client Quit
[2010/01/19 02:38:27] @ Quit: jfreeman: Remote closed the connection
[2010/01/19 02:40:42] @ francois joined channel #puppet
[2010/01/19 02:48:13] @ yarihm joined channel #puppet
[2010/01/19 02:48:57] @ Quit: alban2: Read error: 113 (No route to host)
[2010/01/19 02:52:49] @ Quit: alexine_dsouza: Read error: 104 (Connection reset by peer)
[2010/01/19 02:53:04] @ alexine_dsouza joined channel #puppet
[2010/01/19 02:54:13] @ Ramonster joined channel #puppet
[2010/01/19 02:58:27] @ hy is now known as _hy
[2010/01/19 03:01:52] @ PsychoSid joined channel #puppet
[2010/01/19 03:04:24] @ friendly12345 joined channel #puppet
[2010/01/19 03:08:33] <FiXion> what is the name of "that webapp" which gathers all facter info and lets you search it?
[2010/01/19 03:08:48] <FiXion> I forget :(
[2010/01/19 03:08:51] <FiXion> f...
[2010/01/19 03:09:05] <FiXion> puppetview is a little short on search capability
[2010/01/19 03:10:42] <FiXion> and has crashed now.. uses too much memory..
[2010/01/19 03:13:46] <FiXion> foreman
[2010/01/19 03:13:50] <FiXion> found it :)
[2010/01/19 03:22:02] @ mvn071 joined channel #puppet
[2010/01/19 03:22:05] @ danielbln joined channel #puppet
[2010/01/19 03:28:23] @ Quit: kolla: Remote closed the connection
[2010/01/19 03:33:24] @ verwilst joined channel #puppet
[2010/01/19 03:46:02] @ gebi joined channel #puppet
[2010/01/19 03:47:52] @ giskard_ joined channel #puppet
[2010/01/19 03:49:45] @ Quit: noyb: "No, it's not Winblows... I actually *wanted* to quit."
[2010/01/19 03:52:18] <ohadlevy> narsat: ping
[2010/01/19 03:58:04] @ _hy is now known as hy
[2010/01/19 03:59:05] @ maxagaz joined channel #puppet
[2010/01/19 04:05:28] @ xerxas joined channel #puppet
[2010/01/19 04:06:34] @ MattyM joined channel #puppet
[2010/01/19 04:08:37] @ mattwynne joined channel #puppet
[2010/01/19 04:09:08] @ Robbie_ joined channel #puppet
[2010/01/19 04:14:20] @ Quit: tuf:
[2010/01/19 04:17:48] @ poison joined channel #puppet
[2010/01/19 04:18:27] @ toi joined channel #puppet
[2010/01/19 04:18:43] @ Quit: yarihm: Read error: 60 (Operation timed out)
[2010/01/19 04:19:27] @ yarihm joined channel #puppet
[2010/01/19 04:19:40] @ jfreeman joined channel #puppet
[2010/01/19 04:20:24] @ alban2 joined channel #puppet
[2010/01/19 04:21:58] @ Quit: gebi: Read error: 113 (No route to host)
[2010/01/19 04:22:56] @ Quit: Robbie_: Read error: 104 (Connection reset by peer)
[2010/01/19 04:22:57] @ Robbie__ joined channel #puppet
[2010/01/19 04:30:16] @ Quit: thijso: "Changing server"
[2010/01/19 04:31:10] @ thijso joined channel #puppet
[2010/01/19 04:33:37] <masterzen> ohadlevy: I think you mispelled paul nickname: nasrat
[2010/01/19 04:33:47] <ohadlevy> masterzen: useful ;)
[2010/01/19 04:33:58] <ohadlevy> masterzen: i wonder how you noticed it with the heavy traffic around here
[2010/01/19 04:34:20] <masterzen> eagle eyes :-)
[2010/01/19 04:34:42] @ Quit: jfreeman: Read error: 104 (Connection reset by peer)
[2010/01/19 04:35:25] <ohadlevy> masterzen: geotagging works really nice - thanks for that tip :)
[2010/01/19 04:35:56] <masterzen> ohadlevy: you purchased the thing I use?
[2010/01/19 04:36:07] <ohadlevy> masterzen: no - i use my phone to record the gpx file
[2010/01/19 04:36:38] <masterzen> oh cool
[2010/01/19 04:36:48] @ Quit: PsychoSid: "Leaving."
[2010/01/19 04:37:09] <masterzen> my problem is that I'm so busy at work that I spend the whole week-end doing nothing instead of going out to shoot
[2010/01/19 04:37:26] <ohadlevy> masterzen: i had an old small external bt gps - and its now part of my camera bag :)
[2010/01/19 04:37:43] <ohadlevy> yeah, I had to take a vacation to do that :)
[2010/01/19 04:37:54] <masterzen> how was your trip to NZ?
[2010/01/19 04:38:40] @ jfreeman joined channel #puppet
[2010/01/19 04:38:48] <ohadlevy> masterzen: quite good
[2010/01/19 04:39:24] @ Quit: jfreeman: Remote closed the connection
[2010/01/19 04:39:48] @ Quit: `properzel: Read error: 104 (Connection reset by peer)
[2010/01/19 04:39:59] @ `properzel joined channel #puppet
[2010/01/19 04:40:03] @ Quit: mattwynne: Remote closed the connection
[2010/01/19 04:42:14] @ Quit: yarihm: "This computer has gone to sleep"
[2010/01/19 04:42:47] @ jfreeman joined channel #puppet
[2010/01/19 04:43:37] @ Quit: jfreeman: Remote closed the connection
[2010/01/19 04:45:46] @ jfreeman joined channel #puppet
[2010/01/19 04:49:29] <nico> hey masterzen \o_
[2010/01/19 04:49:36] <masterzen> nico: yoo
[2010/01/19 04:49:53] <nico> masterzen: happy new year toussa
[2010/01/19 04:50:05] <masterzen> nico: toupareillement
[2010/01/19 04:50:18] <ohadlevy> ah yeah - happy new year everyone ;)
[2010/01/19 04:51:04] @ PsychoSid joined channel #puppet
[2010/01/19 04:53:36] @ Quit: jfreeman: Read error: 104 (Connection reset by peer)
[2010/01/19 04:54:29] <nico> masterzen: got smallworld for christmas :)
[2010/01/19 04:55:03] <masterzen> nico: cool! Do you like it?
[2010/01/19 04:55:18] <nico> yup, excellent one
[2010/01/19 04:55:25] <nico> is there an online version planned ?
[2010/01/19 04:55:33] @ jfreeman joined channel #puppet
[2010/01/19 04:55:39] <masterzen> yes, that's one of my fav in our production
[2010/01/19 04:55:48] <masterzen> no online version planned for the moment
[2010/01/19 04:55:56] * masterzen is working on Memoir'44 online
[2010/01/19 04:56:01] <nico> that would kick ass
[2010/01/19 04:56:15] <masterzen> and a couple of other guys are working on a secret project.
[2010/01/19 04:56:20] <jamesturnbull> oh no! more board game fanatics - they are breeding! :P
[2010/01/19 04:56:32] <masterzen> all being French :-)
[2010/01/19 04:57:40] @ mattwynne joined channel #puppet
[2010/01/19 05:00:58] <nico> kicking you girlfriend's mother amazon's with your zombies is priceless
[2010/01/19 05:01:13] <nico> your*
[2010/01/19 05:02:16] <masterzen> nico: yep. That's what makes this game cool: name power association... this makes some funny stuff.
[2010/01/19 05:02:24] <masterzen> nico: did you check the expansions?
[2010/01/19 05:02:31] <nico> not yet
[2010/01/19 05:02:57] <nico> masterzen: just looked them on the website
[2010/01/19 05:03:04] <nico> maudits seems fun
[2010/01/19 05:05:10] @ PsychoSid1 joined channel #puppet
[2010/01/19 05:08:12] @ Quit: pting: "Ex-Chat"
[2010/01/19 05:13:30] <jamesturnbull> masterzen: smallworld looks like fun
[2010/01/19 05:13:55] <jamesturnbull> masterzen: is there an english version?
[2010/01/19 05:14:01] <masterzen> jamesturnbull: indeed it is. This is a good gateway game (ie to learn modern boardgames)
[2010/01/19 05:14:10] <masterzen> jamesturnbull: yes, it is also called smallworld :-)
[2010/01/19 05:14:45] <jamesturnbull> masterzen: easy! I think I'll buy it
[2010/01/19 05:15:10] <masterzen> jamesturnbull: I think the game is available in Australia game stores. If you need some online sellers or physical address, let me know.
[2010/01/19 05:15:16] @ Quit: Demosthenes: "leaving"
[2010/01/19 05:15:24] <jamesturnbull> masterzen: will do - thanks
[2010/01/19 05:16:00] @ kolla joined channel #puppet
[2010/01/19 05:16:10] @ benlovell joined channel #puppet
[2010/01/19 05:16:44] @ shug joined channel #puppet
[2010/01/19 05:17:22] * mikepea is playing ticket to ride tonight.
[2010/01/19 05:17:51] @ Quit: toi: "Ex-Chat"
[2010/01/19 05:19:13] <masterzen> mikepea: cool :-)
[2010/01/19 05:19:37] @ Quit: PsychoSid: Read error: 110 (Connection timed out)
[2010/01/19 05:19:41] * masterzen is proud
[2010/01/19 05:19:57] <nico> :)
[2010/01/19 05:20:38] <masterzen> now we just need an Hollywood star to say in Oprah show that (s)he plays Ticket to Ride or Smallworld :-)
[2010/01/19 05:21:17] @ suchu_ joined channel #puppet
[2010/01/19 05:21:56] @ Quit: suchu: Read error: 54 (Connection reset by peer)
[2010/01/19 05:23:36] <jamesturnbull> masterzen: I am sure there are some geeky actors who play board games
[2010/01/19 05:31:53] @ Quit: MattyM: K-lined
[2010/01/19 05:33:05] <kolla> is ticket to ride that great?
[2010/01/19 05:33:22] * nico will give a try online
[2010/01/19 05:33:25] <kolla> I found it somewhat mediocre
[2010/01/19 05:33:31] <kolla> the boardgame that is
[2010/01/19 05:34:17] <kolla> or fantasy game... http://www.daysofwonder.com/tickettoride/en/nordic/
[2010/01/19 05:34:42] <kolla> it has lines I can only dream about :|
[2010/01/19 05:35:24] <kolla> unless some of those lines are boat lines
[2010/01/19 05:35:46] @ Quit: jfreeman: Remote closed the connection
[2010/01/19 05:37:33] @ Quit: maxagaz: "Ex-Chat"
[2010/01/19 05:45:54] <kolla> or maybe it's an alternate reality thing, where germany won WW2
[2010/01/19 05:57:51] @ Quit: friendly12345: "Leaving."
[2010/01/19 06:04:41] @ Quit: alexine_dsouza: Read error: 104 (Connection reset by peer)
[2010/01/19 06:09:16] @ Quit: chrisg: "leaving"
[2010/01/19 06:10:54] @ yarihm joined channel #puppet
[2010/01/19 06:16:34] <masterzen> kolla: it's only a game. If you don't like it, don't purchase it :-)
[2010/01/19 06:25:42] @ toi joined channel #puppet
[2010/01/19 06:30:55] @ Quit: bsund: Remote closed the connection
[2010/01/19 06:38:46] @ Quit: m1nish: Read error: 60 (Operation timed out)
[2010/01/19 06:39:06] @ m1nish joined channel #puppet
[2010/01/19 06:41:26] @ Welsh_Dwarf joined channel #puppet
[2010/01/19 06:41:53] @ Quit: suchu_: Client Quit
[2010/01/19 06:53:29] @ Quit: manish__: Read error: 110 (Connection timed out)
[2010/01/19 06:56:48] @ bodepd joined channel #puppet
[2010/01/19 06:59:11] @ metabaronen joined channel #puppet
[2010/01/19 07:00:31] @ Quit: benlovell:
[2010/01/19 07:01:24] <metabaronen> hi all, Im getting some weird errors... execution expired and Failed to genrate additional resources during transations: execution expired
[2010/01/19 07:01:46] <metabaronen> ... and it is painfully slow
[2010/01/19 07:02:07] @ giskard_ is now known as giskard
[2010/01/19 07:02:10] @ mvn072 joined channel #puppet
[2010/01/19 07:02:15] @ Quit: mvn072: Read error: 54 (Connection reset by peer)
[2010/01/19 07:03:58] <jamesturnbull> metabaronen: version?
[2010/01/19 07:04:27] <metabaronen> server: 0.25.0
[2010/01/19 07:04:59] <jamesturnbull> metabaronen: client and platform?
[2010/01/19 07:04:59] <metabaronen> client: 0.24.8
[2010/01/19 07:05:10] <metabaronen> Karmic amd64
[2010/01/19 07:05:19] <metabaronen> Ubuntu
[2010/01/19 07:05:53] <metabaronen> Only happens some times... but it is always slow
[2010/01/19 07:06:06] <jamesturnbull> metabaronen: define slow?
[2010/01/19 07:06:16] <jamesturnbull> metabaronen: also what sort of config are you applying?
[2010/01/19 07:07:34] <metabaronen> 5 minutes... all kind of checkings on files, services, packages , exec etc...
[2010/01/19 07:08:24] <metabaronen> Puppetmaster went down now :-/
[2010/01/19 07:08:29] <jamesturnbull> metabaronen: can you pastie the full --debug --verbose --trace from the master and client?
[2010/01/19 07:08:48] <metabaronen> sure
[2010/01/19 07:13:07] @ p3rror joined channel #puppet
[2010/01/19 07:15:10] <masterzen> metabaronen: are you using mongrel, passenger or webrick? are you using storeconfigs?
[2010/01/19 07:15:32] @ vzctl_ joined channel #puppet
[2010/01/19 07:18:10] <metabaronen> masterzen: using mongrel with 6 instances
[2010/01/19 07:18:32] <metabaronen> jamesturnbull: should I use --test also?
[2010/01/19 07:18:55] <jamesturnbull> metabaronen: well just want to see what else is in the log with those messages
[2010/01/19 07:19:05] <jamesturnbull> metabaronen: stored configs?
[2010/01/19 07:19:25] <metabaronen> don't know what stored configs is jamesturnbull
[2010/01/19 07:19:45] <jamesturnbull> metabaronen: okay
[2010/01/19 07:21:00] <metabaronen> jamesturnbull: btw... it is when I run with --test I get these long times to run
[2010/01/19 07:22:39] <Volcane> 0.24 for sure has a bug
[2010/01/19 07:22:51] <Volcane> right at the end it goes through the whole validation or the catalog again
[2010/01/19 07:22:59] <Volcane> after sending reports
[2010/01/19 07:23:19] <Volcane> so takes a long while after sneding reports till it exits - you can see it do it with --debug
[2010/01/19 07:23:29] <Volcane> 0.25 is fixed so didnt bother filing issue
[2010/01/19 07:24:51] <metabaronen> Volcane: ok... is this for the client? wont it matter if I run 25 at the server?
[2010/01/19 07:26:00] <Volcane> i only have 24 v 24 setups thats the only place i see it
[2010/01/19 07:26:08] <Volcane> not checked 24 v 25
[2010/01/19 07:26:43] @ devdas joined channel #puppet
[2010/01/19 07:28:54] @ bodepd left channel #puppet ()
[2010/01/19 07:29:14] @ Quit: PsychoSid1: Read error: 104 (Connection reset by peer)
[2010/01/19 07:29:26] @ PsychoSid joined channel #puppet
[2010/01/19 07:29:42] <metabaronen> jamesturnbull: http://pastebin.com/d6d175630
[2010/01/19 07:30:15] <metabaronen> seems to be more resonable time
[2010/01/19 07:30:31] <jamesturnbull> metabaronen: I'd upgrade the client to 0.25.x
[2010/01/19 07:31:12] <metabaronen> there are about 800 clients... :-P
[2010/01/19 07:31:17] <jamesturnbull> ah
[2010/01/19 07:31:43] <jamesturnbull> I don't know the issue Volcane is citing ... the times I've seen those errors were huge directories with lots of files recursively managed
[2010/01/19 07:32:05] <jamesturnbull> on ... hmmm 0.24.6 maybe?
[2010/01/19 07:33:06] <metabaronen> I avoid recursive file management I dont think I have even one.
[2010/01/19 07:39:55] @ bitfield joined channel #puppet
[2010/01/19 07:40:39] @ Quit: yarihm: "This computer has gone to sleep"
[2010/01/19 07:42:27] <Volcane> z00dax: hhe
[2010/01/19 07:42:29] <Volcane> oops
[2010/01/19 07:42:39] @ jcape left channel #puppet ()
[2010/01/19 07:43:46] @ Quit: philip_: Read error: 110 (Connection timed out)
[2010/01/19 07:44:12] @ Quit: cultureulterior: "Leaving"
[2010/01/19 07:47:43] <danielbln> class me { include procrastination }
[2010/01/19 07:50:53] <metabaronen> I accally googled that word... lol
[2010/01/19 07:51:09] <metabaronen> *accually
[2010/01/19 07:55:37] @ khnz joined channel #puppet
[2010/01/19 08:00:18] @ smef joined channel #puppet
[2010/01/19 08:20:27] @ Quit: PsychoSid: Read error: 113 (No route to host)
[2010/01/19 08:22:07] @ crdant joined channel #puppet
[2010/01/19 08:25:36] <FiXion> how do you do if ... or ... in erb ?
[2010/01/19 08:25:47] <FiXion> <% if operatingsystem == "Debian" || if operatingsystem == "Ubuntu" %> didn't work
[2010/01/19 08:26:42] <Volcane> f operatingsystem == "Debian" || operatingsystem == "Ubuntu"
[2010/01/19 08:26:46] <Volcane> s/^/i
[2010/01/19 08:27:53] <FiXion> that's what I wrote.., or am I missing something?
[2010/01/19 08:28:01] @ Quit: bug:
[2010/01/19 08:28:01] <FiXion> ohh
[2010/01/19 08:28:02] <FiXion> dooh
[2010/01/19 08:28:04] <Volcane> you have an extra if
[2010/01/19 08:28:05] <FiXion> an extra if
[2010/01/19 08:28:28] <FiXion> Volcane: thanks :)
[2010/01/19 08:29:39] @ bug joined channel #puppet
[2010/01/19 08:30:13] <ssm> I've uploaded puppet 0.25.3-1 to debian unstable, should be available as debs via packages.debian.org quite soon
[2010/01/19 08:32:16] @ jcape joined channel #puppet
[2010/01/19 08:34:00] @ jimmij joined channel #puppet
[2010/01/19 08:34:02] @ Quit: zobbo_: Read error: 110 (Connection timed out)
[2010/01/19 08:36:44] @ zobbo_ joined channel #puppet
[2010/01/19 08:37:14] @ zobbo_ is now known as zobbo_nc10
[2010/01/19 08:38:47] @ yarihm joined channel #puppet
[2010/01/19 08:39:49] @ zobbo_nc10 left channel #puppet ("Enough, no more, 'tis not as sweet as it was before")
[2010/01/19 08:40:23] @ jab_doa joined channel #puppet
[2010/01/19 08:40:35] @ Quit: jab_doa: Remote closed the connection
[2010/01/19 08:41:31] @ yarihm_ joined channel #puppet
[2010/01/19 08:41:34] @ Quit: yarihm: Connection reset by peer
[2010/01/19 08:46:03] <jamesturnbull> ssm: um - .3 has a serious regression in it that impacts the creation of cron jobs
[2010/01/19 08:46:32] <jamesturnbull> ssm: I'd hold off until .4 - the rc1 fixes the regression - we're just finalising tickets and then we'll release
[2010/01/19 08:51:45] @ Quit: jimmij: Remote closed the connection
[2010/01/19 08:51:47] <ssm> jamesturnbull: it's uploaded, but I will upload .4 real quick when that is released.
[2010/01/19 08:51:55] <jamesturnbull> ssm: okay - thanks
[2010/01/19 08:52:16] @ jimmij joined channel #puppet
[2010/01/19 08:52:18] <jamesturnbull> ssm: .4 is what we're aiming to release in time for Ubuntu too
[2010/01/19 08:52:27] <ssm> jamesturnbull: neat :)
[2010/01/19 08:52:29] <jamesturnbull> ssm: nigel is on that
[2010/01/19 08:53:07] <ssm> I've got an upstart "init script" for puppet and puppetmaster, if you need. Ubuntu use /etc/init/foo.conf instead of /etc/init.d/foo
[2010/01/19 08:53:30] <ssm> It'll be in the .deb package for ubuntu, at least
[2010/01/19 08:55:02] <|Mike|> pastie it ? :)
[2010/01/19 08:56:21] @ Quit: crdant: Client Quit
[2010/01/19 08:57:18] <ssm> |Mike|: http://pastie.org/784737 (The "start on" parameter could be "network" instead, I think)
[2010/01/19 08:58:26] <ssm> |Mike|: hmmmm, the $DAEMON_OPTS should come from somewhere, I don't think it does in this case. I should source /etc/default/puppet somewhere
[2010/01/19 08:58:46] <|Mike|> I was about to comment about that
[2010/01/19 08:58:47] <ohadlevy> jamesturnbull: when is the next release of facter?
[2010/01/19 09:03:36] <ssm> |Mike|: http://pastie.org/784737 is updated ( and /me goes for coffee )
[2010/01/19 09:06:06] @ Quit: tripoux_: Remote closed the connection
[2010/01/19 09:10:40] @ Quit: fluxdude: Read error: 110 (Connection timed out)
[2010/01/19 09:11:20] @ joe-mac joined channel #puppet
[2010/01/19 09:13:47] @ Quit: metabaronen: "Page closed"
[2010/01/19 09:13:48] @ Quit: khnz: Remote closed the connection
[2010/01/19 09:14:50] @ jmccune joined channel #puppet
[2010/01/19 09:18:26] @ Quit: kolla: Remote closed the connection
[2010/01/19 09:20:38] @ mauro__ joined channel #puppet
[2010/01/19 09:22:32] @ hagedorn joined channel #puppet
[2010/01/19 09:23:08] @ themurph joined channel #puppet
[2010/01/19 09:24:30] @ hagedorn left channel #puppet ("Ex-Chat")
[2010/01/19 09:27:46] @ Quit: yarihm_: Read error: 110 (Connection timed out)
[2010/01/19 09:30:24] @ happymcplaksin joined channel #puppet
[2010/01/19 09:31:03] @ happymcplaksin left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2010/01/19 09:33:42] @ GhostOfRickJame1 joined channel #puppet
[2010/01/19 09:39:47] @ Quit: jcape: Read error: 110 (Connection timed out)
[2010/01/19 09:41:31] @ gebi joined channel #puppet
[2010/01/19 09:44:03] @ Quit: shug: "Leaving"
[2010/01/19 09:46:41] @ rmiller4pi8 joined channel #puppet
[2010/01/19 09:47:12] @ Quit: rmiller4pi8: Client Quit
[2010/01/19 09:47:32] @ GhostOfRickJame2 joined channel #puppet
[2010/01/19 09:51:13] @ Quit: GhostOfRickJames: Read error: 110 (Connection timed out)
[2010/01/19 09:51:20] @ pheezy joined channel #puppet
[2010/01/19 09:52:28] @ Quit: mauro__: Client Quit
[2010/01/19 10:03:13] @ Quit: GhostOfRickJame1: Read error: 110 (Connection timed out)
[2010/01/19 10:05:58] @ bobbyz joined channel #puppet
[2010/01/19 10:06:22] @ fluxdude joined channel #puppet
[2010/01/19 10:06:42] @ Bass10 joined channel #puppet
[2010/01/19 10:09:44] <ashp> puppet-server-0.25.3-1.el5
[2010/01/19 10:09:49] <ashp> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter 'host_alias' for type 'Host' at /etc/puppet/modules/testing/dns/manifests/hosts.pp:36 on node hlslinutil1.law.harvar
[2010/01/19 10:09:54] <ashp> did that change not realyl go into .3?
[2010/01/19 10:09:58] <ashp> or .2 or whatever
[2010/01/19 10:10:14] <ashp> * When setting aliases using the host type now use the host_alias
[2010/01/19 10:10:15] <ashp> attribute rather than alias.
[2010/01/19 10:13:38] @ Quit: TimSmall: Remote closed the connection
[2010/01/19 10:13:46] @ kaptk2 joined channel #puppet
[2010/01/19 10:14:03] @ jnewland joined channel #puppet
[2010/01/19 10:14:04] @ rmiller4pi8 joined channel #puppet
[2010/01/19 10:23:02] @ Quit: fluxdude: "When two people dream the same dream, it ceases to be an illusion"
[2010/01/19 10:33:32] @ GhostOfRickJames joined channel #puppet
[2010/01/19 10:34:38] @ Quit: bitfield: "Leaving."
[2010/01/19 10:38:43] @ rocket joined channel #puppet
[2010/01/19 10:48:03] @ zombied_ joined channel #puppet
[2010/01/19 10:50:40] <zombied_> So it looks like all of my puppetclients are spitting back cert errors. When looking on the FAQs, it says this error is due to a time sync issue with the certs, but I verified that the master and client use the same ntp servers so time is synced and the cert it has on the puppet client is not expired/not yet valid
[2010/01/19 10:51:03] @ Quit: GhostOfRickJame2: Read error: 110 (Connection timed out)
[2010/01/19 10:53:14] @ fsweetser_ is now known as fsweetser
[2010/01/19 10:53:47] <fsweetser> can you pastebin the error?
[2010/01/19 10:54:32] <zombied_> http://pastie.org/784904
[2010/01/19 10:55:25] <zombied_> the error in /var/log/puppet/masterhttp.log is [2010-01-19 10:49:53] ERROR OpenSSL::SSL::SSLError: SSL_accept returned=1 errno=0 state=SSLv3 read client certificate A: tlsv1 alert decrypt error
[2010/01/19 10:56:09] @ labrown joined channel #puppet
[2010/01/19 10:59:17] @ Quit: gebi: Read error: 110 (Connection timed out)
[2010/01/19 11:01:26] <fsweetser> are you using a DNS alias to point at your puppetmaster?
[2010/01/19 11:02:16] <zombied_> yep
[2010/01/19 11:02:33] <fsweetser> that's probably the issue, then
[2010/01/19 11:02:49] <fsweetser> by default, puppet/puppetmaster only create certificates for the actual hostname of the system
[2010/01/19 11:03:10] <fsweetser> so when you try to connect via an alias, the cert name doesn't match the alias name, so verification fails
[2010/01/19 11:03:31] <fsweetser> check out the certname option, as mentioned in the error message, plus there are a couple of other related cert options that should help
[2010/01/19 11:03:41] <zombied_> But looking at /etc/hosts it does match
[2010/01/19 11:04:03] <fsweetser> doesn't matter - your problem is purely with the certs
[2010/01/19 11:04:21] <fsweetser> it validates the cert name against the hostname it was told to connect to
[2010/01/19 11:04:34] <fsweetser> in the case of an alias, that means thte CNAME itself, not the A record that the CNAME points to
[2010/01/19 11:06:27] @ bsund joined channel #puppet
[2010/01/19 11:07:00] <himanshu> I have list of ruby gems to be installed, how can I write this using puppet
[2010/01/19 11:07:35] <zombied_> fsweetser: So how would you recommend I fix this?
[2010/01/19 11:07:45] <fsweetser> himanshu: use the package native type, but manually specify the provder as gem
[2010/01/19 11:09:05] <himanshu> can you give me example?
[2010/01/19 11:10:00] <fsweetser> zombied_: you need to set the certname parameter in the [puppetmasterd] section of your config file to the name that you want to refer to your puppemaster machine as
[2010/01/19 11:10:17] <fsweetser> also, you can use the certdnsnames parameter to specify a list if you want to refer to it by more than one name
[2010/01/19 11:10:36] <hggh> jabber.org, you suck. what a fuck service
[2010/01/19 11:11:06] <fsweetser> himanshu: package { "foo": ensure => installed, provider => gem }
[2010/01/19 11:12:16] <Volcane> hggh: yeah its utter rubbish
[2010/01/19 11:15:41] @ Quit: jnewland:
[2010/01/19 11:17:25] <hggh> Volcane: yep. since they switched to the non opensource server
[2010/01/19 11:17:49] <zombied_> fsweetser: I did a cert check
[2010/01/19 11:17:53] <zombied_> subject=/CN=dukeseci01.tc.at.cox.net
[2010/01/19 11:18:12] <zombied_> that FQDN is correct and matches
[2010/01/19 11:18:20] <fsweetser> matches what?
[2010/01/19 11:18:28] <zombied_> the hostname of the master
[2010/01/19 11:18:41] <fsweetser> as I said, that doesn't matter at all
[2010/01/19 11:18:49] <fsweetser> what matters is the name that clients are getting pointed at
[2010/01/19 11:19:09] <fsweetser> if it doesn't match that, verification fails
[2010/01/19 11:19:34] <zombied_> Check this out http://pastie.org/784928
[2010/01/19 11:20:05] <fsweetser> looks like it's exactly what I just said
[2010/01/19 11:20:20] @ RSpacePope joined channel #puppet
[2010/01/19 11:21:50] <zombied_> ok, so I added server=FQDN of puppetmaster in puppet.conf in the puppetd section
[2010/01/19 11:21:53] <zombied_> restarted puppet
[2010/01/19 11:22:20] <fsweetser> I assume by FQDN you mean dukeseci01.tc.at.cox.net ?
[2010/01/19 11:22:25] <zombied_> Yep
[2010/01/19 11:23:32] <fsweetser> that's one way to fix it, although it'll bite you if you ever need to move your puppetmaster to a different server
[2010/01/19 11:24:31] <zombied_> It still isn't working, though
[2010/01/19 11:25:27] <fsweetser> what's the error message now?
[2010/01/19 11:26:11] <zombied_> Same error
[2010/01/19 11:26:24] <zombied_> Jan 19 11:24:20 nrfkseci01 puppetd[5805]: Certificate validation failed; consider using the certname configuration option
[2010/01/19 11:26:39] <fsweetser> in that case, I'd suggest shutting down a puppetd, blow away the ssl directory, and restart it
[2010/01/19 11:26:47] <fsweetser> note that you'll have to resign the client cert on the master
[2010/01/19 11:30:52] @ re__ joined channel #puppet
[2010/01/19 11:32:05] @ xerxas1 joined channel #puppet
[2010/01/19 11:32:24] @ jcape joined channel #puppet
[2010/01/19 11:32:38] <zombied_> it looks like all I need ot do is blow away the certs and resign
[2010/01/19 11:34:38] @ cwebber joined channel #puppet
[2010/01/19 11:35:39] @ re___ joined channel #puppet
[2010/01/19 11:35:40] @ Quit: re__: Read error: 54 (Connection reset by peer)
[2010/01/19 11:36:43] @ Quit: lilmatt: Client Quit
[2010/01/19 11:38:05] @ jbooth_ joined channel #puppet
[2010/01/19 11:38:39] @ jbooth_ is now known as jbooth
[2010/01/19 11:41:28] @ Quit: ricky: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:28] @ Quit: bagpuss_thecat: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:29] @ Quit: erm: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:29] @ Quit: aitkp_: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:30] @ Quit: Jenza: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:30] @ Quit: bzrk: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:31] @ Quit: xmslack: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:32] @ Quit: zahna: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:32] @ Quit: monrad: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:33] @ Quit: choffee_: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:33] @ Quit: whack: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:34] @ Quit: msf: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:34] @ Quit: taihen: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:34] @ Quit: TheAvatar: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:35] @ Quit: spawnyd: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:35] @ Quit: realist: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:36] @ Quit: nDuff: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:36] @ Quit: charlieS: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:38] @ Quit: tmz: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:39] @ Quit: pquerna: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:39] @ Quit: z00dax: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:40] @ Quit: wakko666: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:40] @ Quit: Filbert: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:40] @ Quit: vollmer: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:42] @ Quit: ReinH: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:42] @ Quit: sid77: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:42] @ Quit: fux: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:43] @ Quit: meltemi: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:43] @ Quit: Desdic: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:44] @ Quit: ohadlevy: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:44] @ Quit: chah: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:44] @ Quit: DarkFlib: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:45] @ Quit: ezekiel: lindbohm.freenode.net irc.freenode.net
[2010/01/19 11:41:45] @ monrad_ joined channel #puppet
[2010/01/19 11:41:45] @ Jenza_ joined channel #puppet
[2010/01/19 11:41:45] @ choffee__ joined channel #puppet
[2010/01/19 11:41:46] @ Quit: jcape: Broken pipe
[2010/01/19 11:41:46] @ bzrk_ joined channel #puppet
[2010/01/19 11:41:46] @ Desdic_ joined channel #puppet
[2010/01/19 11:41:46] @ charlieS joined channel #puppet
[2010/01/19 11:41:46] @ realist_ joined channel #puppet
[2010/01/19 11:41:46] @ ohadlevy_ joined channel #puppet
[2010/01/19 11:41:46] @ ReinH joined channel #puppet
[2010/01/19 11:41:46] @ whack joined channel #puppet
[2010/01/19 11:41:46] @ xmslack_ joined channel #puppet
[2010/01/19 11:41:46] @ spawnyd joined channel #puppet
[2010/01/19 11:41:46] @ fux joined channel #puppet
[2010/01/19 11:41:46] @ sid77 joined channel #puppet
[2010/01/19 11:41:47] @ TheAvatar joined channel #puppet
[2010/01/19 11:41:47] @ pquerna joined channel #puppet
[2010/01/19 11:41:47] @ erm joined channel #puppet
[2010/01/19 11:41:47] @ aitkp joined channel #puppet
[2010/01/19 11:41:47] @ zahna joined channel #puppet
[2010/01/19 11:41:47] @ tmz joined channel #puppet
[2010/01/19 11:41:47] @ jcape joined channel #puppet
[2010/01/19 11:41:47] @ wakko666 joined channel #puppet
[2010/01/19 11:41:47] @ nDuff joined channel #puppet
[2010/01/19 11:41:48] @ z00dax joined channel #puppet
[2010/01/19 11:41:54] @ meltemi joined channel #puppet
[2010/01/19 11:41:56] @ DarkFlib joined channel #puppet
[2010/01/19 11:41:58] @ chah joined channel #puppet
[2010/01/19 11:42:01] @ ezekiel joined channel #puppet
[2010/01/19 11:42:02] @ Filbert joined channel #puppet
[2010/01/19 11:42:03] @ vollmer joined channel #puppet
[2010/01/19 11:42:14] @ msf joined channel #puppet
[2010/01/19 11:42:28] @ Filbert is now known as Guest20255
[2010/01/19 11:45:17] @ taihen joined channel #puppet
[2010/01/19 11:46:26] @ ricky joined channel #puppet
[2010/01/19 11:47:14] @ Quit: xerxas: Read error: 113 (No route to host)
[2010/01/19 11:49:12] @ Quit: zombied_: "Page closed"
[2010/01/19 11:49:21] @ Quit: Ramonster: Client Quit
[2010/01/19 11:49:34] @ bagpuss_thecat joined channel #puppet
[2010/01/19 11:51:17] @ GhostOfRickJame1 joined channel #puppet
[2010/01/19 11:54:50] <himanshu> If I want to execute some function for each instance of array, how can I do that in puppet?
[2010/01/19 11:54:59] @ Quit: jimmij: Remote closed the connection
[2010/01/19 11:55:24] <himanshu> if I simply pass that array, it just concatenates all the instances in execution command
[2010/01/19 11:56:13] @ jes5 joined channel #puppet
[2010/01/19 11:56:14] <himanshu> I want to execute for each instance of array
[2010/01/19 11:56:24] @ Quit: jes5: Client Quit
[2010/01/19 11:57:40] @ Quit: Welsh_Dwarf: Remote closed the connection
[2010/01/19 11:57:58] @ Quit: danielbln: "Leaving."
[2010/01/19 11:57:59] <Volcane> you need to make a define to wrap what you want to do
[2010/01/19 11:58:21] <Volcane> define doit() { # do something here using $name as the value for what u want }
[2010/01/19 11:58:29] @ lak joined channel #puppet
[2010/01/19 11:58:30] <Volcane> doit{[1,2,3,4]: }
[2010/01/19 11:58:36] <himanshu> ohk
[2010/01/19 11:58:53] @ Quit: GhostOfRickJames: Read error: 110 (Connection timed out)
[2010/01/19 12:00:05] @ Quit: giskard: "Leaving..."
[2010/01/19 12:00:15] @ lilmatt joined channel #puppet
[2010/01/19 12:00:20] <himanshu> thanks
[2010/01/19 12:00:26] @ jes5 joined channel #puppet
[2010/01/19 12:00:42] @ alfism joined channel #puppet
[2010/01/19 12:00:47] @ francois left channel #puppet ()
[2010/01/19 12:01:47] @ lak_ joined channel #puppet
[2010/01/19 12:02:32] @ gwar9999 joined channel #puppet
[2010/01/19 12:06:03] @ Quit: pacalm:
[2010/01/19 12:06:59] @ zombied_ joined channel #puppet
[2010/01/19 12:07:24] @ Quit: jes5: "Leaving."
[2010/01/19 12:08:32] <zombied_> Question. I got puppet clients that aren't updating a file because the UID of puppet on the master is different than the client. Jan 19 12:04:53 nrfkseci01 puppetd[7781]: (//Node[default]/execcmds/File[/etc/cmdlauncher]/owner) change from puppet to 2018 failed: Could not find user(s) 2018
[2010/01/19 12:08:50] <zombied_> Why is puppet looking at the UID and not the username?
[2010/01/19 12:09:55] <Volcane> do you specify owner/group specificaly on the file{} resource?
[2010/01/19 12:10:18] <zombied_> Nope, but why should that matter? Doesn't it default to puppet:puppet?
[2010/01/19 12:10:23] <Volcane> no
[2010/01/19 12:10:31] <Volcane> it defaults to whatever the files on teh master filesystem is
[2010/01/19 12:10:45] <Volcane> defaults/unspecified requirements is very bad
[2010/01/19 12:11:19] <zombied_> I don't have this problem on my other puppetmasters
[2010/01/19 12:12:04] <Volcane> sure you do
[2010/01/19 12:12:14] <Volcane> no doubt you just have different file ownerships on them
[2010/01/19 12:13:46] @ whaley joined channel #puppet
[2010/01/19 12:14:45] <gwar9999> On one particular RHEL host there is a process that embeds the string "telnet" in it's command line opts, such as "/usr/bin/foo bar baz telnet etc". Could that confuse the service resource for "telnet" (which doesn't have a "hasstatus" attribute so based on puppet docs it looks it up in the process table)? The reason I ask, is once per day there is an error that the service can't be stopped (because it doesn't exist on this particular host, i
[2010/01/19 12:15:24] <Volcane> yes, you should add a status option to the script
[2010/01/19 12:15:33] <Volcane> or use pattern option
[2010/01/19 12:16:27] <gwar9999> Volcane: ok, thanks... weird though because we have over 1000 hosts using the same recipe and it only happens on 1 and I can't reproduce it. I wonder why it fails once per day, what is it doing the other 23 times it runs?
[2010/01/19 12:16:58] <Volcane> heh yeah that's weird, maybe its not this but service{"telnet": } just greps the ps tree for telnet for sure
[2010/01/19 12:17:08] <Volcane> unless you specify the various options to adjust that
[2010/01/19 12:18:36] <gwar9999> Volcane: I guess I'll just add hasstatus => true to it. Will that work if the service (the file that controls the service) doesn't even exist?
[2010/01/19 12:19:01] <Volcane> nope, if you tell it hasstatus it must comply to LSB status requirements
[2010/01/19 12:20:02] <gwar9999> So what is the way to disable the service if it exists, and noop if it doesn't?
[2010/01/19 12:20:53] <Volcane> oh you want to just disable it?
[2010/01/19 12:21:04] <gwar9999> yes, we don't want telnet running
[2010/01/19 12:21:16] <Volcane> service{"foo": ensure => stopped, disable => true, hasstatus => true} will work then
[2010/01/19 12:21:27] <Volcane> but its not like telnet installs a service on rhel?
[2010/01/19 12:21:50] <Volcane> ah no i guess it does (been many years since runnin that :P)
[2010/01/19 12:21:54] <gwar9999> some systems have telnet but most don't. Not sure why this one results in an error.
[2010/01/19 12:22:00] @ Newsome joined channel #puppet
[2010/01/19 12:22:02] <Volcane> but if you're disabling then its fine if the script isnt there
[2010/01/19 12:22:09] @ jbeez joined channel #puppet
[2010/01/19 12:22:18] @ Quit: lak: Read error: 110 (Connection timed out)
[2010/01/19 12:22:19] @ lak_ is now known as lak
[2010/01/19 12:23:29] <gwar9999> ok, that was my concern, since that is what appeared to be causing the error ("service telnet stop" returned 1) so I wasn't sure if the hasstatus => true would fix it. Of course, it'll take me 24 hours to know if it fixes it since it only happens once per day.
[2010/01/19 12:23:58] <Volcane> i just tested with a non exisitng service and its fine
[2010/01/19 12:23:59] @ Quit: Robbie__: Remote closed the connection
[2010/01/19 12:24:08] <Volcane> easy to test, pop a service resource into test.pp
[2010/01/19 12:24:08] <gwar9999> Volcane: cool, thanks!
[2010/01/19 12:24:09] <jbeez> ohadlevy_: how long does it take you to reprovision a box? I was just talking to dan bode about some puppet stuff, and he mentioned your setup, I was curious on that timeframe
[2010/01/19 12:24:13] <Volcane> and run puppet test.pp
[2010/01/19 12:24:26] <gwar9999> I always forget about that quick little test!
[2010/01/19 12:24:31] @ Quit: RageLink: Remote closed the connection
[2010/01/19 12:24:59] @ fission6 joined channel #puppet
[2010/01/19 12:25:43] @ Quit: lak:
[2010/01/19 12:25:46] <fission6> is it possible to leverage puppet to do "integration testing" ie. have it underneath unit tests to check if certain files exit on machines, certain versions of software exist, certain processes are running, etc...
[2010/01/19 12:25:49] <gwar9999> d'oh, I just found out why it only happens once per day.... schedule => 'once_daily' !
[2010/01/19 12:25:56] @ crdant joined channel #puppet
[2010/01/19 12:25:58] <Volcane> lol
[2010/01/19 12:26:26] <gwar9999> Better than the alternative (having no idea why I couldn't reproduce it)
[2010/01/19 12:26:52] <Volcane> fission6: you can call the api directly from ruby i guess that might help
[2010/01/19 12:27:05] <fission6> what sort of methods are in the api
[2010/01/19 12:27:11] <fission6> like checkfile, check process?
[2010/01/19 12:27:12] @ nevyn_ joined channel #puppet
[2010/01/19 12:27:30] <Volcane> no they correspond roughly to what you'd see in puppet manifests
[2010/01/19 12:27:31] <fission6> stuff like that cause iw as about to write my own api for IntegrationTests to do some fundemental system checks across QA infrastructure
[2010/01/19 12:28:49] <Volcane> fission6: pkg = Puppet::Type.type(:package).create(:name => "zsh").provider
[2010/01/19 12:28:58] <Volcane> fission6: then pkg.properties would be: => {:name=>"zsh", :version=>"4.2.6", :arch=>"i386", :epoch=>"0", :provider=>:yum, :ensure=>"4.2.6-3.el5", :release=>"3.el5"}
[2010/01/19 12:29:30] <Volcane> not sure if thats of any use in your case though
[2010/01/19 12:29:46] @ Quit: kaptk2: Read error: 54 (Connection reset by peer)
[2010/01/19 12:33:16] <fission6> right again i am asking if puppet would make sense to use not to manage machines but to perform tests of whats running where and what file exists where, etc... for system integeration and checking on builds and deployments from a QA standpoint
[2010/01/19 12:33:37] @ BarnacleBob joined channel #puppet
[2010/01/19 12:33:53] <Volcane> well my example showed you how to use the puppet api to query the current status of a package - could be other things like files, users etc too
[2010/01/19 12:34:01] <Volcane> and you could test that output
[2010/01/19 12:34:08] <Volcane> but on its own, no that is not the kind of tool it is
[2010/01/19 12:34:29] @ kaptk2 joined channel #puppet
[2010/01/19 12:35:29] @ jab_doa joined channel #puppet
[2010/01/19 12:35:47] @ allsystemsarego joined channel #puppet
[2010/01/19 12:39:05] <himanshu> I am running puppetd with onetime option, still this daemons remains alive after client finishes?
[2010/01/19 12:39:15] @ RageLink joined channel #puppet
[2010/01/19 12:39:26] @ Quit: poison: Remote closed the connection
[2010/01/19 12:39:27] <himanshu> I have to explicitly use service puppet stop to kill this daemon
[2010/01/19 12:39:47] <Volcane> whats the full command line of those daemons
[2010/01/19 12:39:48] <Volcane> ?
[2010/01/19 12:40:06] @ Quit: nevyn: Read error: 101 (Network is unreachable)
[2010/01/19 12:40:16] <himanshu> puppetd onetime -v --debug --server <server_name>
[2010/01/19 12:40:30] <Volcane> -onetime
[2010/01/19 12:40:39] <Volcane> -- even
[2010/01/19 12:40:43] <himanshu> oic..my mistake:(
[2010/01/19 12:40:50] @ gwar9999 left channel #puppet ()
[2010/01/19 12:41:07] @ Quit: tmz: "leaving"
[2010/01/19 12:41:39] @ tmz joined channel #puppet
[2010/01/19 12:41:52] @ Guest20255 is now known as Filbert
[2010/01/19 12:45:24] <himanshu> --onetime works..thanks. Also, what is the best way to figure out if puppet client is done with updates from some remote host?
[2010/01/19 12:46:17] <himanshu> 1 possibility is that I can check status of puppetd and if it is not running, I can figure out client is done with updates(fetching all required configs from master)
[2010/01/19 12:46:29] <Volcane> it can send reports at the end of a run thats about the only way - apart from when used with --onetime just checking if its running
[2010/01/19 12:47:25] <himanshu> how it send reports?
[2010/01/19 12:48:18] <Volcane> wiki:PuppetReporting
[2010/01/19 12:48:18] <gepetto> Volcane: wiki: wiki:PuppetReporting is http://reductivelabs.com/trac/puppet/wiki/PuppetReporting
[2010/01/19 12:48:26] <himanshu> ohk thanks'
[2010/01/19 12:49:29] @ vizzord joined channel #puppet
[2010/01/19 12:51:43] @ Quit: mattwynne: Remote closed the connection
[2010/01/19 12:52:10] @ suchu joined channel #puppet
[2010/01/19 12:53:25] @ mattwynne joined channel #puppet
[2010/01/19 12:54:35] @ Quit: mattwynne: Remote closed the connection
[2010/01/19 12:57:20] <xerxas1> Hi all !
[2010/01/19 12:57:30] @ Quit: alban2: Read error: 110 (Connection timed out)
[2010/01/19 12:57:33] <xerxas1> does some knows how to do sth like this :
[2010/01/19 12:57:34] <xerxas1> http://www.mail-archive.com/puppet-users@googlegroups.com/msg06985.html
[2010/01/19 12:57:46] <xerxas1> creating a config file from a template that uses exported resources
[2010/01/19 12:58:01] <xerxas1> that for example iterates over a type of exported resources
[2010/01/19 12:58:36] <xerxas1> for example I want to generate a sudoers that iterates over all users that are tagged as admin
[2010/01/19 12:58:48] @ Quit: dan__t: Remote closed the connection
[2010/01/19 12:58:59] <xerxas1> or generate a /etc/hosts based on puppet's managed hosts
[2010/01/19 12:59:06] <xerxas1> or known_host
[2010/01/19 12:59:11] @ dan__t joined channel #puppet
[2010/01/19 12:59:30] <xerxas1> or a list of apt sources based on the machines that instanciate a repo
[2010/01/19 13:01:31] @ Quit: ppickfor: Nick collision from services.
[2010/01/19 13:01:32] @ ppickfor1 joined channel #puppet
[2010/01/19 13:01:36] @ ppickfor1 is now known as ppickfor
[2010/01/19 13:03:59] @ poison joined channel #puppet
[2010/01/19 13:05:26] @ lak joined channel #puppet
[2010/01/19 13:08:24] @ Quit: Newsome: Read error: 60 (Operation timed out)
[2010/01/19 13:10:54] @ lilmatt_ joined channel #puppet
[2010/01/19 13:10:55] @ Quit: lilmatt: Read error: 54 (Connection reset by peer)
[2010/01/19 13:12:04] @ Quit: bug:
[2010/01/19 13:18:34] @ Quit: themurph: Read error: 110 (Connection timed out)
[2010/01/19 13:21:46] @ Quit: mikepea:
[2010/01/19 13:24:08] <tessier> I sure hope this new version of factor fixes http://projects.reductivelabs.com/issues/2074 or I'll have to pull it off of our systems. :(
[2010/01/19 13:24:16] @ ambroff joined channel #puppet
[2010/01/19 13:28:57] @ jes5 joined channel #puppet
[2010/01/19 13:30:10] @ ppickfor_ joined channel #puppet
[2010/01/19 13:33:38] @ Quit: GhostOfRickJame1: Read error: 110 (Connection timed out)
[2010/01/19 13:33:46] <BarnacleBob> ohadlevy_, whenever you wake up. have you tried foreman reporting with 25.4 yet? i'm getting 100% out of sync now with 25.4
[2010/01/19 13:37:21] @ Quit: omry|work: Read error: 104 (Connection reset by peer)
[2010/01/19 13:39:37] @ suchu_ joined channel #puppet
[2010/01/19 13:42:47] @ jimi_c-ph joined channel #puppet
[2010/01/19 13:44:04] <jimi_c-ph> hey all, I see that early last year there was discussion on proper handling of arch when using up2date/yum. was that ever finalized?
[2010/01/19 13:45:01] @ Quit: suchu: Read error: 60 (Operation timed out)
[2010/01/19 13:45:17] <jimi_c-ph> i'm running into an issue where I need to ensure an i386 rpm is installed on a 64bit rhel 4, and it's not liking the rpm.arch format for up2date
[2010/01/19 13:45:51] <himanshu> I am passing array to some definition and expects definition to execute one by one for each array instance but it just concatenates everything :(
[2010/01/19 13:46:36] <himanshu> I am using ${name} in definition to retrieve individual elements of array but unfortunately getting concatenated string :(
[2010/01/19 13:47:06] <BarnacleBob> himanshu,
[2010/01/19 13:47:10] <BarnacleBob> one sec
[2010/01/19 13:47:18] @ Quit: xerxas1: Read error: 110 (Connection timed out)
[2010/01/19 13:47:23] <himanshu> I have also followed wiki: resource-collections to get example,,still not working for me
[2010/01/19 13:47:38] @ GhostOfRickJames joined channel #puppet
[2010/01/19 13:47:38] <Volcane> himanshu: you can only pass it in as resource title: foo{[arry,here,only]: }
[2010/01/19 13:48:05] <BarnacleBob> himanshu, http://pastie.org/785185
[2010/01/19 13:48:13] <BarnacleBob> oh sorry
[2010/01/19 13:48:20] <himanshu> let me check..thanks
[2010/01/19 13:48:46] <BarnacleBob> himanshu, had a typo. http://pastie.org/785185 it uses $name in the define
[2010/01/19 13:49:21] <himanshu> you are using $name only
[2010/01/19 13:49:44] <himanshu> "/tmp/$name"
[2010/01/19 13:49:50] <himanshu> is that correct?
[2010/01/19 13:49:58] <Volcane> "$name" and "${name}" is the same
[2010/01/19 13:50:10] <Volcane> "$foobar" and "${foo}bar" isnt
[2010/01/19 13:50:10] <BarnacleBob> the {} just disambiguate the variable
[2010/01/19 13:52:07] @ jfreeman joined channel #puppet
[2010/01/19 13:52:47] <ashp> lak: hey you awake?
[2010/01/19 13:52:55] <lak> mostly
[2010/01/19 13:53:21] <ashp> wasn't .2 supposed to rename all the alias in host{} to host_alias
[2010/01/19 13:53:25] <ashp> it's in the release notes in the announcement
[2010/01/19 13:53:30] <ashp> but I tried under .3 today and got:
[2010/01/19 13:53:30] <lak> yeah
[2010/01/19 13:53:30] <ashp> 5:11 <ashp> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter 'host_alias' for type 'Host' at /etc/puppet/modules/testing/dns/manifests/hosts.pp:36 on node hlslinutil1.law.harvar
[2010/01/19 13:53:46] <himanshu> whats wrong with this: http://pastie.org/785197
[2010/01/19 13:53:58] @ Quit: agagag: Read error: 104 (Connection reset by peer)
[2010/01/19 13:54:08] @ agagag joined channel #puppet
[2010/01/19 13:54:24] <lak> ashp: and your server's running 0.25.2?
[2010/01/19 13:54:35] <ashp> 0.25.3
[2010/01/19 13:54:52] <ashp> -sh-3.2# rpm -qa | grep puppet
[2010/01/19 13:54:52] <ashp> puppet-0.25.3-1.el5
[2010/01/19 13:54:52] <ashp> puppet-server-0.25.3-1.el5
[2010/01/19 13:56:42] <himanshu> Karl: can you check this and let me know if I am using array list properly: http://pastie.org/785197
[2010/01/19 13:57:08] @ Quit: zombied_: "Page closed"
[2010/01/19 13:58:08] <jimi_c-ph> ^ anyone see my question above?
[2010/01/19 13:58:38] <BarnacleBob> himanshu, you are
[2010/01/19 13:59:10] <himanshu> strange when I run, it just concatenates:(
[2010/01/19 13:59:20] <Volcane> himanshu: show your code
[2010/01/19 13:59:23] <Volcane> on pastie
[2010/01/19 13:59:39] <himanshu> http://pastie.org/785197
[2010/01/19 13:59:45] @ Quit: hamish: Read error: 60 (Operation timed out)
[2010/01/19 14:00:10] @ jaredrhine joined channel #puppet
[2010/01/19 14:01:22] <Volcane> himanshu: put in there notify{"Installing ${name}": } and hsow us logs from --test
[2010/01/19 14:01:31] <himanshu> I get following error: Jan 19 13:38:58 localhost puppetd[14102]: (//Node[shuttle_app_node]/ruby/Exec[Install ruby gems]) Failed to call refresh on Exec[Install ruby gems]: /opt/ruby-enterprise-1.8.7-2009.10/bin/ruby /opt/ruby-enterprise-1.8.7-2009.10/bin/gem install passengerrakerailsfastthreadrackmysqlsqlite3-ruby --source yumrepo.theweave/gems/ returned 1 instead of 0 at /etc/puppet/modules/ruby/manifests/init.pp:
[2010/01/19 14:01:37] <himanshu> ohk sure let me try
[2010/01/19 14:02:11] @ mindless joined channel #puppet
[2010/01/19 14:03:06] <himanshu> should I put this notify in definition ?
[2010/01/19 14:03:24] <Volcane> yes
[2010/01/19 14:03:34] @ tim|macbook joined channel #puppet
[2010/01/19 14:04:59] @ hamish_ joined channel #puppet
[2010/01/19 14:07:48] @ zombied_ joined channel #puppet
[2010/01/19 14:08:27] <zombied_> Did the puppet resource type "user" used to be "account"?
[2010/01/19 14:08:44] @ suchu joined channel #puppet
[2010/01/19 14:09:06] <jimi_c-ph> am I the only one here using puppet to manage rhel 4? I find that hard to believe...
[2010/01/19 14:09:20] <zombied_> I use it for RHEL 4
[2010/01/19 14:09:25] <zombied_> Well, CentOS 4, but close enough
[2010/01/19 14:09:30] <lak> zombied_: no, it's always been user
[2010/01/19 14:09:39] <lak> jimi_c-ph: lots are managing rhel4
[2010/01/19 14:10:05] <zombied_> lak: Hrmmm, because in the puppet type reference doc I can't find an account type, but one of my puppets is using it
[2010/01/19 14:10:06] @ Quit: lilmatt_: Read error: 104 (Connection reset by peer)
[2010/01/19 14:10:16] <jimi_c-ph> zombied_: have you run into any arch issues using package? if so, how did you get around them?
[2010/01/19 14:10:19] <lak> zombied_: that's probably a defined resource type
[2010/01/19 14:10:26] <lak> somewhere in your manifests
[2010/01/19 14:10:38] @ lilmatt joined channel #puppet
[2010/01/19 14:11:12] <zombied_> ah, someone created it
[2010/01/19 14:11:17] <zombied_> Why they didn't just use user I don't know
[2010/01/19 14:11:37] <himanshu> Volcane: I am getting sytax error when I place notify statement
[2010/01/19 14:12:05] <jimi_c-ph> I need to ensure a 32bit package is installed on a 74bit rhel 4 instance, but up2date doesn't like the rpm.arch syntax
[2010/01/19 14:12:12] <Volcane> himanshu: update your code lets see
[2010/01/19 14:12:16] <Volcane> himanshu: the pastie
[2010/01/19 14:12:30] <zombied_> I don't use puppet for package management, only config
[2010/01/19 14:12:31] <jimi_c-ph> 64bit, that should be, damn small iPhone keyboard...
[2010/01/19 14:12:33] <zombied_> Sorry
[2010/01/19 14:12:51] <himanshu> sorry my syntax mistake, let me try again
[2010/01/19 14:12:57] @ suchu__ joined channel #puppet
[2010/01/19 14:13:32] @ Quit: lak:
[2010/01/19 14:14:12] <zombied_> I'm looking through the logs on my master and it looks like it tries to add an account that already exists, but I know that account was never created manually on the clients
[2010/01/19 14:14:12] @ Quit: gilesw: Read error: 104 (Connection reset by peer)
[2010/01/19 14:14:33] @ gilesw joined channel #puppet
[2010/01/19 14:14:38] @ bug_ joined channel #puppet
[2010/01/19 14:15:13] @ lilmatt_ joined channel #puppet
[2010/01/19 14:15:21] @ Quit: lilmatt: Read error: 104 (Connection reset by peer)
[2010/01/19 14:15:40] @ Quit: agagag: Remote closed the connection
[2010/01/19 14:15:41] @ agagag joined channel #puppet
[2010/01/19 14:16:25] @ happymcplaksin joined channel #puppet
[2010/01/19 14:16:36] @ jusfreeman joined channel #puppet
[2010/01/19 14:16:47] @ happymcplaksin left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2010/01/19 14:21:06] @ dyresen_ joined channel #puppet
[2010/01/19 14:21:07] @ Quit: dyresen: Read error: 104 (Connection reset by peer)
[2010/01/19 14:21:59] @ hexasoft joined channel #puppet
[2010/01/19 14:22:02] <BarnacleBob> himanshu, what version of puppet are you using?
[2010/01/19 14:22:05] <hexasoft> hello
[2010/01/19 14:23:04] <himanshu> 0.24.8
[2010/01/19 14:23:29] @ asbruvik_ joined channel #puppet
[2010/01/19 14:23:30] @ Quit: asbruvik: Read error: 104 (Connection reset by peer)
[2010/01/19 14:23:36] @ mindless left channel #puppet ()
[2010/01/19 14:24:16] <hexasoft> is it possible to make puppetd returns an errcode (in --test mode for example) that reflect the status of the run?
[2010/01/19 14:24:57] @ Quit: tim|macbook:
[2010/01/19 14:24:57] <hexasoft> i.e. to know things like cert problem or timeout problem without needs to parse output
[2010/01/19 14:25:31] <himanshu> volance: updated code on http://pastie.org/785247
[2010/01/19 14:25:39] <Volcane> hexasoft: next version wil have it afaik
[2010/01/19 14:25:58] <BarnacleBob> himanshu, notify is a function
[2010/01/19 14:26:04] <BarnacleBob> himanshu, notify("message")
[2010/01/19 14:26:07] <Volcane> BarnacleBob: nope
[2010/01/19 14:26:13] <BarnacleBob> really?
[2010/01/19 14:26:20] <hexasoft> Volcane: next means0.25.4 ?
[2010/01/19 14:26:39] <Volcane> hexasoft: not 100% sure
[2010/01/19 14:26:44] @ Quit: suchu_: Read error: 110 (Connection timed out)
[2010/01/19 14:26:51] <himanshu> Is there is anything wrong with my code
[2010/01/19 14:27:01] <BarnacleBob> Volcane, oh wow what version did that appear in?
[2010/01/19 14:27:01] <Volcane> himanshu: shall we guess the error message?
[2010/01/19 14:27:07] <Volcane> BarnacleBob: ages ago
[2010/01/19 14:27:19] <himanshu> ye thats what I am more interested in
[2010/01/19 14:27:20] <BarnacleBob> i've been using the stupid fucntions that show up in the server log :)
[2010/01/19 14:27:24] <BarnacleBob> been annoying the crap out of me
[2010/01/19 14:27:37] <hexasoft> Volcane: this should be very useful, especially for those who use puppetd not as daemon at installation stage (in order to handle problems at this particular stage)
[2010/01/19 14:27:38] <Volcane> hexasoft: ah --detailed-exitcodes is already in
[2010/01/19 14:27:43] <hexasoft> oh?
[2010/01/19 14:27:55] <himanshu> getting same error message: install passengerrakerailsfastthreadrackmysqlsqlite3-ruby --source yumrepo.theweave/gems/ returned 1 instead of 0 at /etc/puppet/modules/ruby/manifests/init.pp:49
[2010/01/19 14:28:04] <himanshu> same concatenation of string
[2010/01/19 14:28:24] <Volcane> himanshu: pastie the output from --test
[2010/01/19 14:28:35] <hexasoft> Volcane: I saw this in one patch on mailing list, yes. Not in 0.25.3, I will have to wait for .4 :)
[2010/01/19 14:28:49] <Volcane> hexasoft: its in my 0.25.2
[2010/01/19 14:28:55] <hexasoft> hmmm
[2010/01/19 14:29:02] @ Quit: suchu: Read error: 110 (Connection timed out)
[2010/01/19 14:29:06] <Volcane> hmm
[2010/01/19 14:29:13] <Volcane> no its not but there's bits of it there already
[2010/01/19 14:29:14] <hexasoft> puppetd --test --detailed-exitcodes
[2010/01/19 14:29:14] <hexasoft> invalid option: --detailed-exitcodes
[2010/01/19 14:29:32] <Volcane> oh right, its only in puppet not puppetd
[2010/01/19 14:29:43] @ Chiku joined channel #puppet
[2010/01/19 14:29:56] @ Quit: jfreeman: Read error: 110 (Connection timed out)
[2010/01/19 14:30:10] @ mattwynne joined channel #puppet
[2010/01/19 14:30:12] <Volcane> yeah then i guess in puppetd probably only for 0.26
[2010/01/19 14:30:45] <hexasoft> arf
[2010/01/19 14:31:13] <hexasoft> grmbl
[2010/01/19 14:31:16] <hexasoft> well, time to eat
[2010/01/19 14:39:35] @ Newsome joined channel #puppet
[2010/01/19 14:43:01] @ Quit: mattwynne: Remote closed the connection
[2010/01/19 14:50:20] @ lak joined channel #puppet
[2010/01/19 14:50:58] @ mattwynne joined channel #puppet
[2010/01/19 14:51:25] @ teyo joined channel #puppet
[2010/01/19 14:51:28] @ mmitchell joined channel #puppet
[2010/01/19 14:51:50] <mmitchell> anyone have any tips for installing rubygems on fedora with puppet? we're having lots of troubles :(
[2010/01/19 14:52:30] @ Quit: suchu__: Client Quit
[2010/01/19 14:52:50] <fsweetser> personally, I just avoid that - I turn 'em into rpms, and stick them in a local yum repo
[2010/01/19 14:53:18] @ alban2 joined channel #puppet
[2010/01/19 14:53:32] @ Quit: verwilst: No route to host
[2010/01/19 14:55:01] @ mqr joined channel #puppet
[2010/01/19 14:55:19] @ Quit: devdas: Read error: 113 (No route to host)
[2010/01/19 14:55:52] @ Quit: jusfreeman: Remote closed the connection
[2010/01/19 14:56:22] @ Quit: mattwynne: Remote closed the connection
[2010/01/19 14:56:27] @ cynicismic joined channel #puppet
[2010/01/19 14:58:15] <Volcane> gem2rpm
[2010/01/19 14:58:26] <mmitchell> fsweetser: well i mean just rubygems, not the individual gems. anyone successfully installing rubygems using "package"?
[2010/01/19 14:58:39] <mmitchell> Volcane: oh, is that for getting all gems into an rpm?
[2010/01/19 14:59:19] <Volcane> yes thats the sanest option for RPM based distros i think
[2010/01/19 15:00:20] <zombied_> Volcane: I got a question for you. Why would I get this error followed by the creation of an account?
[2010/01/19 15:00:43] <zombied_> http://pastie.org/785321
[2010/01/19 15:01:13] <zombied_> So the account rparsons doesn't exist. I restart puppet, it says this user is already defined, and then it creates it anyway
[2010/01/19 15:01:15] <fsweetser> mmitchell: What Volcane said. that's the tool that the fedora project is currently using to package up gems into the distro
[2010/01/19 15:01:45] @ themurph joined channel #puppet
[2010/01/19 15:01:53] <Volcane> zombied_: accounts is something you made yourself or someone at your site its not built into puppet
[2010/01/19 15:01:54] <mmitchell> ok so even for the rubygems framework?
[2010/01/19 15:02:20] <fsweetser> yes
[2010/01/19 15:02:20] <zombied_> yeah, it is a home made type
[2010/01/19 15:02:52] <fsweetser> mmitchell: basically you use gem2rpm to create a spec file, which you use to build an rpm
[2010/01/19 15:03:02] <fsweetser> you then install the rpm instead of the gem directly
[2010/01/19 15:03:27] <mmitchell> interesting ok
[2010/01/19 15:03:27] <fsweetser> it lets you avoid using two package managers on the system, which is a big win in the long run
[2010/01/19 15:03:39] @ Quit: p3rror: Remote closed the connection
[2010/01/19 15:03:48] @ p3rror joined channel #puppet
[2010/01/19 15:03:49] <mmitchell> thanks to you both, i'll go check it out
[2010/01/19 15:04:01] <Volcane> sometimes it screws up a bit with native type gems
[2010/01/19 15:04:11] <Volcane> and gem has some dependency methods that rpm doesnt have
[2010/01/19 15:04:27] <Volcane> but it gives you a passable spec file that usually require only slight fiddling if it doesnt just work out hte box
[2010/01/19 15:05:02] @ Jag joined channel #puppet
[2010/01/19 15:05:20] <Jag> Does anyone know what the preferred method is for submitting a patch to facter?
[2010/01/19 15:07:34] <joe-mac> jag: git diff/diff -u pasted to the ticket
[2010/01/19 15:08:41] @ Quit: crdant: Read error: 60 (Operation timed out)
[2010/01/19 15:11:58] <Jag> joe-mac: thanks
[2010/01/19 15:12:03] <joe-mac> np
[2010/01/19 15:16:02] @ Quit: jaredrhine: Read error: 60 (Operation timed out)
[2010/01/19 15:17:06] @ xerxas joined channel #puppet
[2010/01/19 15:20:38] @ crdant joined channel #puppet
[2010/01/19 15:23:57] @ devdas joined channel #puppet
[2010/01/19 15:25:01] @ pheezy_ joined channel #puppet
[2010/01/19 15:25:15] <nasrat> Jag: rake mail_patches
[2010/01/19 15:25:23] <nasrat> see wiki:DevelopmentLifecycle
[2010/01/19 15:25:25] @ Quit: pheezy: Read error: 104 (Connection reset by peer)
[2010/01/19 15:25:31] <nasrat> Jag: what bug/issue?
[2010/01/19 15:25:51] * nasrat pokes gepetto
[2010/01/19 15:25:52] <Jag> nasrat: I already created an issue with patch: http://projects.reductivelabs.com/issues/3087
[2010/01/19 15:27:11] <nasrat> can you also attach the output of vmware -v and cat /etc/vmware-release to the bug
[2010/01/19 15:27:18] <nasrat> in order to aid writing tests
[2010/01/19 15:29:27] <Jag> np
[2010/01/19 15:29:29] <Jag> just added it
[2010/01/19 15:30:33] <jimi_c-ph> how can I specify arch for up2date using a package resource on rhel 4?
[2010/01/19 15:30:41] @ danielbln joined channel #puppet
[2010/01/19 15:35:12] @ francois joined channel #puppet
[2010/01/19 15:37:02] @ Quit: bug_:
[2010/01/19 15:45:10] @ Quit: mmitchell:
[2010/01/19 15:50:38] @ bug joined channel #puppet
[2010/01/19 15:51:37] <zombied_> http://pastie.org/785399 Anything wrong with this crontab.pp that would explain why the weekday option isnt being respected in linuxupdate?
[2010/01/19 15:52:29] <ohlolohlol> zombied_, what version of puppet?
[2010/01/19 15:52:50] <zombied_> 0.24.7
[2010/01/19 15:53:15] <ohlolohlol> you might want to try upgrading, there were some recent bug fixes w.r.t cron resources
[2010/01/19 15:53:24] @ danbeck joined channel #puppet
[2010/01/19 15:54:45] <zombied_> Hrmmm...all my other puppets are working fine with 0.24.7
[2010/01/19 15:57:01] @ Quit: jimi_c-ph: "probably got a phone call..."
[2010/01/19 16:01:56] @ jimi_c-ph joined channel #puppet
[2010/01/19 16:03:09] @ jaredrhine joined channel #puppet
[2010/01/19 16:03:20] @ Quit: danbeck:
[2010/01/19 16:12:47] @ Quit: devdas: Remote closed the connection
[2010/01/19 16:15:15] @ Robbie joined channel #puppet
[2010/01/19 16:16:30] @ Quit: jimi_c-ph: "probably got a phone call..."
[2010/01/19 16:23:21] @ Quit: pheezy_: Read error: 60 (Operation timed out)
[2010/01/19 16:25:50] <BarnacleBob> ohlolohlol, the recent bugfix for cron in 25.4rc1 was only introduced in 25.3
[2010/01/19 16:25:55] <BarnacleBob> just fyi
[2010/01/19 16:26:19] <ohlolohlol> BarnacleBob, ahh
[2010/01/19 16:29:01] @ Quit: jcape: Read error: 110 (Connection timed out)
[2010/01/19 16:29:43] @ mmcgrath joined channel #puppet
[2010/01/19 16:30:07] <mmcgrath> I've started seeing this on some of my hosts today: "-":6: bad hour
[2010/01/19 16:30:15] <mmcgrath> this is with puppet-0.25.3-1.el5
[2010/01/19 16:30:35] <jamesturnbull> mmcgrath: it's a known bug with .3
[2010/01/19 16:30:58] <mmcgrath> any quick work around or should I wait for an update?
[2010/01/19 16:31:06] <jamesturnbull> mmcgrath: I recommend downgrading or moving to .4rc1 or waiting for the .4
[2010/01/19 16:31:13] <mmcgrath> k
[2010/01/19 16:31:55] <jamesturnbull> release which will hopefully be in the next week
[2010/01/19 16:35:35] <jamesturnbull> mmcgrath: or you can port the patch that in .4 #2845
[2010/01/19 16:35:36] <gepetto> jamesturnbull: mmcgrath: #2845 is http://projects.reductivelabs.com/issues/show/2845 "Puppet - Bug #2845: Cron entries using "special" parameter lose their title when changed - ReductiveLabs.com"
[2010/01/19 16:36:01] @ ezmobius joined channel #puppet
[2010/01/19 16:37:33] <tmz> jamesturnbull: I'm going to do that for the EPEL packages. I had thought .4 was coming sooner or I'd have done that as soon as the bug was found. :/
[2010/01/19 16:37:34] @ pheezy joined channel #puppet
[2010/01/19 16:39:41] @ Quit: allsystemsarego: "Leaving"
[2010/01/19 16:43:28] @ Quit: Newsome: "Linux: Now with employee pricing!"
[2010/01/19 16:43:29] <z00dax> tmz: do what ? move to .2 ot 4rc ?
[2010/01/19 16:43:40] <z00dax> s/ ot / or /
[2010/01/19 16:44:05] <z00dax> or add the patch in ?
[2010/01/19 16:44:14] @ magnachef joined channel #puppet
[2010/01/19 16:46:29] <tmz> zombied_: Yeah, build a new 0.25.3 with that patch. (Bad use of pronouns on my part.)
[2010/01/19 16:46:51] <tmz> z00dax: ^^ (sorry zombied_, bad use of tab. :/ )
[2010/01/19 16:47:32] @ jfreeman joined channel #puppet
[2010/01/19 16:47:38] @ Quit: jfreeman: Read error: 104 (Connection reset by peer)
[2010/01/19 16:48:02] @ Quit: toi: Read error: 113 (No route to host)
[2010/01/19 16:49:52] @ jfreeman joined channel #puppet
[2010/01/19 16:52:14] @ danbeck joined channel #puppet
[2010/01/19 16:52:23] @ Djelibeybi joined channel #puppet
[2010/01/19 16:55:57] @ mmcgrath left channel #puppet ()
[2010/01/19 17:00:02] @ devdas joined channel #puppet
[2010/01/19 17:01:47] @ Quit: bug:
[2010/01/19 17:09:02] @ pting joined channel #puppet
[2010/01/19 17:10:17] @ bug joined channel #puppet
[2010/01/19 17:11:49] @ Quit: mvn071: Remote closed the connection
[2010/01/19 17:16:31] @ Quit: ezmobius: "Leaving..."
[2010/01/19 17:20:42] @ Quit: labrown: "Leaving"
[2010/01/19 17:23:10] <hggh> http://pastie.org/785545 puppet does always an stopped -> running on my networking. I'm using debian lenny.
[2010/01/19 17:23:29] @ ezmobius joined channel #puppet
[2010/01/19 17:23:46] <hggh> imho puppet has got an problem to detect if the service networking is running, because the init script does not support an 'status' command
[2010/01/19 17:24:39] <Volcane> yup
[2010/01/19 17:24:58] @ webx joined channel #puppet
[2010/01/19 17:25:40] <webx> I pasted this yesterday, but I got sidetracked and didn't see if anyone responded. When trying to go through the installation instructions for Foreman, I get this set of errors:
[2010/01/19 17:25:48] <webx> http://pastie.org/785549
[2010/01/19 17:26:12] <webx> does anyone know what that means?
[2010/01/19 17:27:36] <hggh> Volcane: ah ok. this is the complete module: http://pastie.org/785545 perhaps a create an exec and subscribe to the file
[2010/01/19 17:27:39] @ Quit: Robbie: Remote closed the connection
[2010/01/19 17:28:21] <Volcane> if u have some way to determine if the network is up you can supply the service types with parameters of how to do it
[2010/01/19 17:31:23] @ Quit: themurph: Read error: 110 (Connection timed out)
[2010/01/19 17:31:53] @ Quit: jfreeman: Remote closed the connection
[2010/01/19 17:32:46] @ Quit: danielbln: "Leaving."
[2010/01/19 17:33:45] <Djelibeybi> webx: ping ohadlevy_ later in the day. He wrote Foreman
[2010/01/19 17:36:32] @ bwood joined channel #puppet
[2010/01/19 17:36:47] <webx> k
[2010/01/19 17:41:19] @ Quit: whaley: Remote closed the connection
[2010/01/19 17:43:18] @ Quit: webx: "..(cyp): [BX] Tabardation - the inability to master use of the <Tab> key. See: retardation"
[2010/01/19 17:43:59] @ Quit: p3rror: "أستودعكم الله"
[2010/01/19 17:44:11] <bwood> In the class 'ubuntu' I have a definition that creates /etc/apt/sources.list and optionally appends repositories to it. In the class 'backup' I would like to call that definition and append a repository. Puppet is complaining about "duplicate definitions"--what is the correct approach?
[2010/01/19 17:47:18] <himanshu> I have some definition X::Y { ....} how can I ensure this definition executes before I call definition Z?
[2010/01/19 17:48:23] @ hacim_ is now known as hacim
[2010/01/19 17:50:30] <bwood> himanshu: look at 'tag' functionality
[2010/01/19 17:50:51] <himanshu> can you give me some link?
[2010/01/19 17:52:40] <z00dax> tmz: ta
[2010/01/19 17:53:00] @ tonyskapunk joined channel #puppet
[2010/01/19 17:54:22] <bwood> himanshu : http://reductivelabs.com/trac/puppet/wiki/UsingTags.
[2010/01/19 17:56:31] @ Quit: jab_doa: "Verlassend"
[2010/01/19 17:57:14] <bwood> bwood: look at Virtual Define-Based Resources http://reductivelabs.com/trac/puppet/wiki/VirtualResources
[2010/01/19 17:59:20] @ Quit: crdant: Read error: 60 (Operation timed out)
[2010/01/19 18:03:09] @ Quit: ppickfor_: Ping timeout: 180 seconds
[2010/01/19 18:07:31] <himanshu> thks
[2010/01/19 18:07:56] @ Quit: danbeck:
[2010/01/19 18:09:43] @ Quit: ssm: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:44] @ Quit: madduck|afk: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:44] @ Quit: barn: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:44] @ Quit: tonyskapunk: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:45] @ Quit: jaredrhine: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:46] @ Quit: cynicismic: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:46] @ Quit: mqr: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:46] @ Quit: teyo: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:47] @ Quit: asbruvik_: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:47] @ Quit: dyresen_: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:48] @ Quit: msf: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:48] @ Quit: vollmer: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:49] @ Quit: Filbert: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:49] @ Quit: ezekiel: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:50] @ Quit: monrad_: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:50] @ Quit: Jenza_: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:51] @ Quit: bsund: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:51] @ Quit: jmccune: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:52] @ Quit: m1nish: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:52] @ Quit: stephbul: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:52] @ Quit: NDBrendan: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:53] @ Quit: opqdonut: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:53] @ Quit: nasrat: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:55] @ Quit: ashp: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:55] @ Quit: markl_: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:56] @ Quit: Jiko: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:57] @ Quit: Shazburg_: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:57] @ Quit: halenger: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:57] @ Quit: Risar: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:58] @ Quit: Jag: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:58] @ Quit: samppah: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:58] @ Quit: Disconnect: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:09:59] @ Quit: vinci: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:10:00] @ Quit: FiXion: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:10:00] @ Quit: sektoid: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:10:01] @ Quit: zipkid: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:10:02] @ Quit: lazzurs: lindbohm.freenode.net irc.freenode.net
[2010/01/19 18:10:03] <himanshu> is it after => ".." no more suported in puppet?
[2010/01/19 18:10:07] <himanshu> i am getting Invalid parameter 'after' for type..
[2010/01/19 18:10:33] @ Disconnect joined channel #puppet
[2010/01/19 18:11:41] @ Filbert joined channel #puppet
[2010/01/19 18:11:41] @ Jenza joined channel #puppet
[2010/01/19 18:11:41] @ Shazburg joined channel #puppet
[2010/01/19 18:11:42] @ Jag joined channel #puppet
[2010/01/19 18:11:42] @ vollmer joined channel #puppet
[2010/01/19 18:11:43] @ lazzurs joined channel #puppet
[2010/01/19 18:11:43] @ asbruvik joined channel #puppet
[2010/01/19 18:11:43] @ stephbul joined channel #puppet
[2010/01/19 18:11:45] @ samppah joined channel #puppet
[2010/01/19 18:11:46] @ monrad joined channel #puppet
[2010/01/19 18:11:47] @ Jiko joined channel #puppet
[2010/01/19 18:11:49] @ sektoid joined channel #puppet
[2010/01/19 18:11:49] @ ezekiel joined channel #puppet
[2010/01/19 18:11:51] @ ashp joined channel #puppet
[2010/01/19 18:11:51] @ zipkid joined channel #puppet
[2010/01/19 18:11:52] @ nasrat joined channel #puppet
[2010/01/19 18:11:52] @ markl joined channel #puppet
[2010/01/19 18:11:59] @ cynicismic joined channel #puppet
[2010/01/19 18:12:09] @ Filbert is now known as Guest65668
[2010/01/19 18:12:12] @ jmccune joined channel #puppet
[2010/01/19 18:12:55] @ Risar joined channel #puppet
[2010/01/19 18:12:55] @ madduck|afk joined channel #puppet
[2010/01/19 18:13:00] @ NDBrendan joined channel #puppet
[2010/01/19 18:13:02] <himanshu> anyone used after in puppet?
[2010/01/19 18:13:08] @ teyo joined channel #puppet
[2010/01/19 18:13:11] @ mqr joined channel #puppet
[2010/01/19 18:13:13] @ bsund joined channel #puppet
[2010/01/19 18:13:14] @ Quit: OMCK: Read error: 60 (Operation timed out)
[2010/01/19 18:13:51] @ OMCK joined channel #puppet
[2010/01/19 18:14:02] @ vinci joined channel #puppet
[2010/01/19 18:14:16] @ tonyskapunk joined channel #puppet
[2010/01/19 18:14:18] @ tim|macbook joined channel #puppet
[2010/01/19 18:14:35] @ Quit: Djelibeybi: "This computer has gone to sleep"
[2010/01/19 18:14:44] @ Quit: devdas: Remote closed the connection
[2010/01/19 18:16:48] @ jaredrhine joined channel #puppet
[2010/01/19 18:16:52] @ ssm joined channel #puppet
[2010/01/19 18:19:13] @ barn joined channel #puppet
[2010/01/19 18:19:56] @ Quit: bug:
[2010/01/19 18:20:50] @ mattwynne joined channel #puppet
[2010/01/19 18:22:05] @ francois left channel #puppet ()
[2010/01/19 18:22:34] @ jcape joined channel #puppet
[2010/01/19 18:24:51] @ dyresen joined channel #puppet
[2010/01/19 18:27:33] @ Quit: tim|macbook:
[2010/01/19 18:27:58] @ msf joined channel #puppet
[2010/01/19 18:28:20] @ Guest65668 is now known as Filbert
[2010/01/19 18:30:09] @ Quit: kaptk2: "Leaving."
[2010/01/19 18:30:11] @ Quit: cynicismic: "leaving"
[2010/01/19 18:30:34] @ Djelibeybi joined channel #puppet
[2010/01/19 18:37:33] @ Quit: magnachef: Read error: 60 (Operation timed out)
[2010/01/19 18:38:13] @ whaley joined channel #puppet
[2010/01/19 18:40:01] @ Quit: vizzord: Client Quit
[2010/01/19 18:40:07] @ halenger joined channel #puppet
[2010/01/19 18:41:34] @ Quit: pheezy: Remote closed the connection
[2010/01/19 18:41:44] @ tonyskapunk1 joined channel #puppet
[2010/01/19 18:45:08] @ Quit: bobbyz: Read error: 110 (Connection timed out)
[2010/01/19 18:45:59] @ Quit: rmiller4pi8: Read error: 110 (Connection timed out)
[2010/01/19 18:47:35] @ Quit: grim_radical_: "Leaving"
[2010/01/19 18:48:31] @ kolla joined channel #puppet
[2010/01/19 18:48:44] @ vzctl__ joined channel #puppet
[2010/01/19 18:49:37] @ crdant joined channel #puppet
[2010/01/19 18:54:10] @ Quit: vzctl_: Read error: 110 (Connection timed out)
[2010/01/19 18:56:20] @ qweqweqwe joined channel #puppet
[2010/01/19 18:57:32] <qweqweqwe> howdy... where is the PUPPET_SERVER variable set in ubuntu? there is no /etc/sysconfig/puppet - or do I need to create this?
[2010/01/19 18:58:15] <Djelibeybi> qweqweqwe: no, that's RHEL/CentOS specific. Set it in /etc/puppet/puppet.conf
[2010/01/19 18:58:26] <qweqweqwe> ah thanks
[2010/01/19 18:58:48] <Djelibeybi> Might want to check the exact syntax for it.
[2010/01/19 18:59:56] <qweqweqwe> thanks, I had done that and it was working, just trying to set up puppet on my own network before I start breaking things at work ;-) (work is rhel)
[2010/01/19 19:00:10] <qweqweqwe> saw the sysconfig thing and thought I'd missed something :-)
[2010/01/19 19:02:21] <tessier> Do people normally create a puppet module for puppet itself to ensure that puppet service is on, puppet is running, latest puppet rpm is installed etc?
[2010/01/19 19:02:40] <tessier> I'm surprised I haven't seen that in the puppet tutorial or the puppet book which I finished last night.
[2010/01/19 19:03:04] <Djelibeybi> qweqweqwe: nowadays I don't use sysconfig/puppet even on my EL boxes. Using puppet.conf means you don't have to user --server on the command line when you're testing.
[2010/01/19 19:03:13] <Djelibeybi> the /etc/sysconfig/puppet settings are only used by the init.d scripts
[2010/01/19 19:03:16] <Djelibeybi> tessier: yes, I do.
[2010/01/19 19:03:17] <tessier> I need to push a new version of factor which I hope will resolve a longstanding bug and need to restart puppetd when I do it.
[2010/01/19 19:03:18] @ Quit: mattwynne: Remote closed the connection
[2010/01/19 19:03:41] <Djelibeybi> tessier: yup, have package { "factor": notify => Package["puppet"] }
[2010/01/19 19:06:46] @ gebi joined channel #puppet
[2010/01/19 19:08:06] @ magnachef_ joined channel #puppet
[2010/01/19 19:08:29] <tessier> Djelibeybi: Yeah...I guess I will make a puppet module to help me push this update...
[2010/01/19 19:10:00] <Djelibeybi> tessier: I also have a cronjob that checks that puppet is running and restarts it if not.
[2010/01/19 19:10:35] <Djelibeybi> tessier: I'm currently considering moving to a pure cron environment, where puppetd does not run continuously
[2010/01/19 19:11:09] <tessier> Djelibeybi: I thought it was a good idea to have puppet run so it can restart your cron if it fails. I just had a case this morning of a machine where cron had died and important stuff didn't happen. Now puppeting cron is on my list of things to do.
[2010/01/19 19:11:39] <tessier> Belt/suspenders. puppetd and crond each checking each other. That's how cfengine recommended it be done and it seems good for puppet too.
[2010/01/19 19:12:08] <tessier> I also had a case where the OOM killer killed the "wrong" thing. Would have been nice if puppet could have restarted it.
[2010/01/19 19:12:13] <tessier> I need to get all of my critical processes in puppet.
[2010/01/19 19:12:59] <ohlolohlol> i would suggest against using puppet to monitor process state
[2010/01/19 19:13:09] @ Quit: bsund: Remote closed the connection
[2010/01/19 19:13:10] <ohlolohlol> check out monit
[2010/01/19 19:13:36] <whack> babysitters are probably better than puppet at doing that, given they can respond more quickly (puppet run interval is usually in terms of minutes, not seconds)
[2010/01/19 19:13:40] <chadh> +1 for monit
[2010/01/19 19:13:40] <whack> daemontools, supervisord, monit, etc.
[2010/01/19 19:14:03] <chadh> particularly for misbehaving daemons (like puppetmasterd :))
[2010/01/19 19:16:21] @ Quit: tyll: Read error: 110 (Connection timed out)
[2010/01/19 19:19:47] @ Djeli joined channel #puppet
[2010/01/19 19:20:01] <Volcane> happy++ puppet+cron user
[2010/01/19 19:20:02] @ GGD_ joined channel #puppet
[2010/01/19 19:20:09] @ Quit: Djelibeybi: Nick collision from services.
[2010/01/19 19:20:16] @ Djeli is now known as Djelibeybi
[2010/01/19 19:21:02] <proton> it's times like these I actually like launchd, keeps puppet running great :)
[2010/01/19 19:21:02] @ Quit: londo_: Read error: 60 (Operation timed out)
[2010/01/19 19:21:08] <proton> and if launchd is broken the whole machine is broken :)
[2010/01/19 19:21:37] @ himynameisthor joined channel #puppet
[2010/01/19 19:22:08] @ londo_ joined channel #puppet
[2010/01/19 19:23:07] <Volcane> started using cron cos it crached in 25.0 but o crashed anymore but just find cron much easier, better on ram etcetc
[2010/01/19 19:23:19] <Volcane> like that i can just do background runonce etc
[2010/01/19 19:23:34] @ Quit: re___:
[2010/01/19 19:29:00] <z00dax> I've used monit in the past, but have moved to running puppet from cron. just works well with other tools
[2010/01/19 19:35:32] @ Quit: Djelibeybi: "Leaving"
[2010/01/19 19:43:42] @ Quit: gebi: Read error: 113 (No route to host)
[2010/01/19 19:44:46] @ Quit: jaredrhine: Read error: 60 (Operation timed out)
[2010/01/19 19:47:46] @ Quit: cwebber:
[2010/01/19 19:49:58] <whack> Volcane: agreed
[2010/01/19 19:50:51] @ bug joined channel #puppet
[2010/01/19 19:53:10] @ bug_ joined channel #puppet
[2010/01/19 19:53:59] @ ppickfor_ joined channel #puppet
[2010/01/19 19:56:58] @ Quit: teyo:
[2010/01/19 19:57:50] @ Quit: bug: Nick collision from services.
[2010/01/19 19:57:52] @ bug_ is now known as bug
[2010/01/19 20:00:33] @ tonyskapunk1 left channel #puppet ()
[2010/01/19 20:09:23] @ Djelibeybi joined channel #puppet
[2010/01/19 20:12:07] @ re_ joined channel #puppet
[2010/01/19 20:13:17] @ magnachef__ joined channel #puppet
[2010/01/19 20:13:49] <ohadlevy_> morning
[2010/01/19 20:14:05] <ohadlevy_> BarnacleBob: not yet, Do you get any errors?
[2010/01/19 20:14:22] <ohadlevy_> webx: pong
[2010/01/19 20:14:30] <ohadlevy_> jbeez: still around?
[2010/01/19 20:15:00] @ Quit: mqr:
[2010/01/19 20:19:31] @ Quit: bug: Read error: 104 (Connection reset by peer)
[2010/01/19 20:23:22] @ Quit: alfism: "http://opensolaris.com/"
[2010/01/19 20:25:33] @ Quit: magnachef_: Read error: 110 (Connection timed out)
[2010/01/19 20:27:15] @ bug joined channel #puppet
[2010/01/19 20:28:06] @ Quit: jcape: Remote closed the connection
[2010/01/19 20:29:24] @ Quit: explody: "Leaving"
[2010/01/19 20:29:43] @ josbal joined channel #puppet
[2010/01/19 20:32:47] <josbal> hey guys
[2010/01/19 20:33:00] <josbal> can anyone help me with a facter query
[2010/01/19 20:33:03] @ Quit: bug:
[2010/01/19 20:33:19] <ohadlevy_> josbal:shoot
[2010/01/19 20:33:39] @ ohadlevy_ is now known as ohadlevy
[2010/01/19 20:34:18] <josbal> i have created a custom fact... but it doesn't seem to be returning the fact value to the puppetmaster
[2010/01/19 20:34:38] <josbal> i can run facter $fact local on the machine and get correct information
[2010/01/19 20:35:06] <josbal> however /var/lib/puppet/yaml/fact/$node.yaml doesn't have the new fact info
[2010/01/19 20:35:18] <ohadlevy> where did you put the custom fact on the puppetmaster?
[2010/01/19 20:35:19] <josbal> so i am unable to use the fact in a condition statement in a manifest
[2010/01/19 20:36:15] <josbal> it is being deployed through customer module: module/plugins/facter/fact.rb
[2010/01/19 20:36:24] <josbal> *custom
[2010/01/19 20:37:13] <ohadlevy> do you see it being distributed to the clients?
[2010/01/19 20:37:20] <josbal> correct
[2010/01/19 20:37:35] <josbal> can run facter $fact on client and returns value
[2010/01/19 20:38:17] <ohadlevy> whats your factpath on the client puppet.conf?
[2010/01/19 20:38:21] <ohadlevy> is that where you facts are?
[2010/01/19 20:39:27] <josbal> correct
[2010/01/19 20:39:39] <josbal> they are in /var/lib/puppet/lib/facter
[2010/01/19 20:40:01] <ohadlevy> and when you run puppetd it says loading custom fact... ?
[2010/01/19 20:40:04] <josbal> and is specified as $vardir/lib/facter in puppet.conf
[2010/01/19 20:40:30] @ Quit: ezmobius: Remote closed the connection
[2010/01/19 20:41:39] <josbal> doesn't seem to comment on facts when running puppetd
[2010/01/19 20:41:49] <josbal> should that be in the logs or on stout
[2010/01/19 20:41:55] <josbal> *stdout
[2010/01/19 20:42:02] <ohadlevy> stdout
[2010/01/19 20:42:13] <ohadlevy> something like:
[2010/01/19 20:42:20] <ohadlevy> info: loading fact customfact
[2010/01/19 20:43:25] <josbal> yeah just found if i run puppetd --verbose it shows its loading the custom fact
[2010/01/19 20:46:20] <Djelibeybi> josbal: is the fact perhaps coming up null/no value when run in the puppetd environment?
[2010/01/19 20:46:26] <Djelibeybi> I had that happen to me.
[2010/01/19 20:46:40] <ohadlevy> josbal: do you relay on other facts in your custom fact?
[2010/01/19 20:46:59] <josbal> no custom fact is standalone
[2010/01/19 20:47:26] @ devdas joined channel #puppet
[2010/01/19 20:47:39] <josbal> Djelibeybi: how can i check this?
[2010/01/19 20:49:16] <Djelibeybi> josbal: it's tricky. The fact is being loaded and you see the output when you run factor. You might want to notify() the value to see what you're getting back during the real run
[2010/01/19 20:49:58] <ohadlevy> Djelibeybi: I'm guessing notify wont show anything if he doesnt see it in the yaml file
[2010/01/19 20:50:10] <Djelibeybi> ohadlevy: yeah, good point. Weird.
[2010/01/19 20:50:36] <ohadlevy> josbal: do you want to pastie your fact?
[2010/01/19 20:51:03] <BarnacleBob> ohadlevy, just this: warning: Value of 'preferred_serialization_format' (pson) is invalid for report, using default (b64_zlib_yaml)
[2010/01/19 20:51:12] <BarnacleBob> on the cleint
[2010/01/19 20:51:14] <BarnacleBob> client
[2010/01/19 20:51:16] <BarnacleBob> server shows nothing
[2010/01/19 20:51:57] <josbal> Djelibeybi: i lost you about notify() - do you mean put a notify into my manifest?
[2010/01/19 20:52:15] <Djelibeybi> josbal: yeah, but as ohadlevy says, if it's not in the yaml, it won't be seen by the server.
[2010/01/19 20:52:20] <ohadlevy> BarnacleBob: ah.. hmm.. maybe they changed the format of the report.. you know some ruby right?
[2010/01/19 20:52:33] <BarnacleBob> ohadlevy, some
[2010/01/19 20:52:57] <ohadlevy> BarnacleBob: can you modify the foreman report to store the report on a file (or print it?)
[2010/01/19 20:53:35] <ohadlevy> BarnacleBob: it would be the value of report.to_yaml var
[2010/01/19 20:53:38] <BarnacleBob> yeah
[2010/01/19 20:54:50] <josbal> ohadlevy: Facter.add("test_home") do setcode do test_home = %x(/bin/grep -e ^test_user: /etc/passwd | awk -F: '{print $6}') test_home.chomp end end
[2010/01/19 20:55:16] <ohadlevy> BarnacleBob: or self.to_yaml
[2010/01/19 20:55:59] @ bodepd joined channel #puppet
[2010/01/19 20:57:28] <BarnacleBob> hrm
[2010/01/19 20:57:36] <BarnacleBob> i can't even verify the report is being called
[2010/01/19 20:57:42] <BarnacleBob> i put a puts self.to_yaml
[2010/01/19 20:58:05] <ohadlevy> BarnacleBob: since its the puppetmaster, you might not see it in the console
[2010/01/19 20:58:24] @ Quit: qweqweqwe: "Leaving"
[2010/01/19 20:58:40] <BarnacleBob> yeah
[2010/01/19 20:58:48] <BarnacleBob> thats the best i can do without some code :)
[2010/01/19 20:59:14] @ Quit: devdas: Read error: 60 (Operation timed out)
[2010/01/19 21:00:06] @ devdas joined channel #puppet
[2010/01/19 21:00:20] <BarnacleBob> go go ruby fu
[2010/01/19 21:00:43] <ohadlevy> BarnacleBob:f=File.new("/tmp/log","w")
[2010/01/19 21:00:48] <ohadlevy> f.write self.to_yaml
[2010/01/19 21:00:50] <ohadlevy> f.close
[2010/01/19 21:00:56] @ cwebber joined channel #puppet
[2010/01/19 21:02:00] <BarnacleBob> i don't think your code is being called
[2010/01/19 21:02:00] <BarnacleBob> well the report that is
[2010/01/19 21:02:00] <ohadlevy> you do have it in puppet.conf right?
[2010/01/19 21:02:06] <ohadlevy> and its in the right place?
[2010/01/19 21:02:38] <ohadlevy> (and you might need to restart your master, as it caches the reports)
[2010/01/19 21:02:50] <BarnacleBob> yeah i'm running master in foreground
[2010/01/19 21:03:19] <ohadlevy> does it say processing report for foreman?
[2010/01/19 21:03:19] <BarnacleBob> nope
[2010/01/19 21:03:19] <ohadlevy> your client sends a report right?
[2010/01/19 21:03:49] <BarnacleBob> i have a single puppetmaster on a seperate host processing reports
[2010/01/19 21:03:49] <BarnacleBob> and when its off i get failures on the client
[2010/01/19 21:03:49] <BarnacleBob> but when its on nothing happens on it
[2010/01/19 21:03:49] <BarnacleBob> but no failures
[2010/01/19 21:03:49] <BarnacleBob> i'll do a paste
[2010/01/19 21:07:22] <BarnacleBob> ohadlevy,
[2010/01/19 21:07:23] <BarnacleBob> http://pastie.org/785823
[2010/01/19 21:07:50] <BarnacleBob> on the server running with --debug --no-daemonize there is no output after the startup stuff
[2010/01/19 21:08:08] <ohadlevy> BarnacleBob: can you also put a trace of your report master with --debug?
[2010/01/19 21:08:19] <ohadlevy> ah
[2010/01/19 21:08:26] <ohadlevy> and your master puppet.conf?
[2010/01/19 21:09:16] <BarnacleBob> ha
[2010/01/19 21:09:22] <BarnacleBob> there is no reports configured
[2010/01/19 21:09:26] <BarnacleBob> wtf happened to them
[2010/01/19 21:09:37] <ohadlevy> you dont manage puppet.conf with puppet ;)
[2010/01/19 21:09:52] <BarnacleBob> i do
[2010/01/19 21:09:54] <BarnacleBob> thats what happened
[2010/01/19 21:09:56] @ Quit: jes5: "Leaving."
[2010/01/19 21:09:59] <BarnacleBob> i changed the role this was in
[2010/01/19 21:10:34] <BarnacleBob> *smack*
[2010/01/19 21:10:43] <BarnacleBob> that happened at the same time as i upgraded to 25.4b
[2010/01/19 21:10:45] <BarnacleBob> bleh
[2010/01/19 21:10:51] <BarnacleBob> sorry to waste your time :)
[2010/01/19 21:11:20] <ohadlevy> BarnacleBob: its ok - i need reminders that people find foreman useful ;)
[2010/01/19 21:12:50] @ jaredrhine joined channel #puppet
[2010/01/19 21:12:51] <josbal> ohadlevy: is there a way i can trace where im falling short with custom facts?
[2010/01/19 21:13:52] <ohadlevy> josbal: my guess that it returns a nil value, so thats why you dont see the fact, try simplifying your fact to something like setcode do "XYZ" end
[2010/01/19 21:14:13] <josbal> ok will try
[2010/01/19 21:15:37] @ Quit: hamish_: "leaving"
[2010/01/19 21:15:45] @ hamish joined channel #puppet
[2010/01/19 21:16:19] <BarnacleBob> woooo hosts checking in
[2010/01/19 21:16:43] @ Quit: cwebber:
[2010/01/19 21:21:02] @ Quit: justdave: "Lost terminal"
[2010/01/19 21:21:02] @ Quit: devdas: Remote closed the connection
[2010/01/19 21:23:00] @ Quit: Djelibeybi: "Leaving"
[2010/01/19 21:26:00] @ Quit: lak:
[2010/01/19 21:26:44] <josbal> ohadlevy: even setting to "XYZ" doesn't return value to puppetmaster
[2010/01/19 21:26:50] @ alexine_dsouza joined channel #puppet
[2010/01/19 21:27:13] <ohadlevy> josbal: did it get resynced to the client?
[2010/01/19 21:27:33] <josbal> yes local facter $fact now shows XYZ
[2010/01/19 21:27:58] @ lak joined channel #puppet
[2010/01/19 21:28:17] @ Quit: lak: Client Quit
[2010/01/19 21:28:48] <ohadlevy> josbal: did you change it on the client or on the master? try changing it on the master and see that it changes on the client
[2010/01/19 21:29:16] <josbal> changed it on the master and did puppetrun to force a run of the client
[2010/01/19 21:31:42] @ justdave joined channel #puppet
[2010/01/19 21:38:01] @ cwebber joined channel #puppet
[2010/01/19 21:38:10] @ Quit: GhostOfRickJames: "Leaving."
[2010/01/19 21:41:30] @ Quit: BarnacleBob: "This computer has gone to sleep"
[2010/01/19 21:43:33] @ devdas joined channel #puppet
[2010/01/19 21:49:32] <jbeez> bodepd: you on? this connect is terrible from the hotel is terrible
[2010/01/19 21:50:05] <bodepd> jbeez: yes
[2010/01/19 21:51:00] <josbal> ohadlevy: this facter stuff really has me stumped
[2010/01/19 21:51:35] <ohadlevy> josbal: it must be something simple, go over the docs step by step :)
[2010/01/19 21:52:15] <josbal> ohadlevy: its always the basics :P will go over it again
[2010/01/19 21:54:45] @ Quit: fission6: Read error: 110 (Connection timed out)
[2010/01/19 21:55:54] <eric0> ohadlevy: got a second for a question on your PuppetScalability CA setup?
[2010/01/19 21:56:03] <ohadlevy> eric0 yep
[2010/01/19 21:56:48] <eric0> have you found a way to get the puppetmaster to send down the whole ca chain along with the signed request from the client? so the client can verify the issuing CA --> root CA automatically?
[2010/01/19 21:57:06] <ohadlevy> yes
[2010/01/19 21:57:12] <ohadlevy> one sec ;)
[2010/01/19 21:57:13] <eric0> this would be the equivalent of ca_file mod_ssl directive, instead of just sending the individual ca cert
[2010/01/19 21:57:22] <ohadlevy> ah sorry
[2010/01/19 21:57:31] <ohadlevy> i place it after the initial puppet request
[2010/01/19 21:58:33] <eric0> you use an out-of-band script to write out $puppet/ssl/certs/ca.pem ?
[2010/01/19 21:59:12] <ohadlevy> I add it as part of my build process
[2010/01/19 21:59:14] <ohadlevy> somehting like:
[2010/01/19 21:59:15] <jamesturnbull> tmz: we're doing rc2 today
[2010/01/19 21:59:24] <ohadlevy> puppetd --tags no such tags
[2010/01/19 21:59:27] <jamesturnbull> tmz: hopefully release will be day or two now
[2010/01/19 21:59:30] <ohadlevy> (which would fail)
[2010/01/19 21:59:35] <ohadlevy> and then append the certificate
[2010/01/19 21:59:49] <gepetto> ::trac:: Downloading Puppet edited @ http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet?version=106
[2010/01/19 22:00:09] <eric0> :~( <--me crying
[2010/01/19 22:00:54] <ohadlevy> yeah, at least its a pub key :-\
[2010/01/19 22:01:27] <eric0> i am trying to figure out where in the code the initial response from the server w/ signed request + ca key happens, did you dig into that at all?
[2010/01/19 22:01:50] <eric0> it should be straightforward to make it send a different file, that has the concatenation of the signing CA cert + root CA
[2010/01/19 22:01:52] <ohadlevy> not really, but I think that apache can probably do it
[2010/01/19 22:02:10] <eric0> apache does do it, that is how "EV certs" from verisign work.
[2010/01/19 22:02:27] <ohadlevy> so if you use puppet with mongrel/passenger - what is the diff?
[2010/01/19 22:02:42] <ohadlevy> or you are talking about apache internally
[2010/01/19 22:03:51] <eric0> yes internally, i mean mod_ssl is capable of it for normal ssl traffic. but the puppet client csr->puppet ca->signed cert routine is a little special
[2010/01/19 22:04:38] <ohadlevy> eric0: I guess the main problem is that it wont work with webrick at all, and I'm not sure if puppet is actually aware that there is a ca chain
[2010/01/19 22:05:34] <eric0> you are right, it is not aware.
[2010/01/19 22:05:53] @ Quit: bwood: "Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"
[2010/01/19 22:05:59] <ohadlevy> do you know if ruby ssl libs are ?
[2010/01/19 22:07:34] @ Mode +o jamesturnbull by ChanServ
[2010/01/19 22:07:39] @ jamesturnbull set topic "Puppet 0.25.4rc2 released - http://bit.ly/7NzkP4 | Log bugs and feature requests at http://tinyurl.com/46ryk7"
[2010/01/19 22:08:12] <ohadlevy> eric0: did you handle the ssl revocation list? do you have uniq serials?
[2010/01/19 22:08:58] @ Quit: GGD_: Client Quit
[2010/01/19 22:09:48] <ohadlevy> jamesturnbull: is the pre/post runs are per resource or per puppet run?
[2010/01/19 22:09:55] <eric0> ohadlevy: i haven't gotten that far yet. but i think that they will be unique because its a combination of (issuer DN + cert serial) that determines revocation
[2010/01/19 22:10:17] <eric0> each puppetmaster has its own Subject name as issuer.
[2010/01/19 22:10:27] <eric0> so revocation should be OK.
[2010/01/19 22:11:11] <ohadlevy> eric0: hmm.. but.. last time I looked at it, the list includes only the serial.. how do you revoke on your master ca?
[2010/01/19 22:14:12] <gepetto> ::trac:: Release Notes edited @ http://reductivelabs.com/trac/puppet/wiki/ReleaseNotes?version=55
[2010/01/19 22:14:12] <gepetto> ::trac:: Release Notes edited @ http://reductivelabs.com/trac/puppet/wiki/ReleaseNotes?version=56
[2010/01/19 22:14:39] <eric0> i think you'd have revoke on the issuing CA, not the master. but that is much less of a concern for me than bootstrapping.
[2010/01/19 22:15:12] <ohadlevy> eric0: i'm not sure, because the certificate will be valid for all other ca's as well, so you need some how to sync the crl
[2010/01/19 22:15:24] <ohadlevy> why do you find it a big problem for bootstrapping?
[2010/01/19 22:16:08] <eric0> because i want the normal puppet client bootstrap to work, not fail with cert validation until i (manually|out-of-band) put the whole chain on the host
[2010/01/19 22:16:41] <ohadlevy> eric0: EC2 or normal kickstart/preseed clients?
[2010/01/19 22:17:07] <jamesturnbull> ohadlevy: per tranaction
[2010/01/19 22:17:13] <jamesturnbull> ohadlevy: so per run in your parlance
[2010/01/19 22:17:24] <jamesturnbull> ohadlevy: way cool huh?
[2010/01/19 22:17:29] <eric0> ohadlevy: for the most part i am spreading puppet onto existing machines
[2010/01/19 22:17:50] <eric0> real hosts though, not EC2
[2010/01/19 22:18:08] <ohadlevy> jamesturnbull: not bad - I'm sure many will come with cool usage cases
[2010/01/19 22:18:42] <ohadlevy> eric0: its not too hard to make a simple script which bundles all actions in one go, just make sure you keep the order correct
[2010/01/19 22:19:51] <jamesturnbull> ohadlevy: it's primarily for the Ubuntu keys to integrate etckeeper
[2010/01/19 22:20:08] @ pinoyskull joined channel #puppet
[2010/01/19 22:21:20] <ohadlevy> jamesturnbull: what would be the difference to running it before and after puppet runs? (besides the fact you need run puppet from a cron in this case)
[2010/01/19 22:23:43] @ Quit: re_:
[2010/01/19 22:24:26] <ohadlevy> eric0: something like http://gist.github.com/281572
[2010/01/19 22:24:46] @ re_ joined channel #puppet
[2010/01/19 22:26:03] <eric0> yeah fair 'nuff.
[2010/01/19 22:26:36] <eric0> just seems like the underlying ssl libs support it and there's just an option we need to enable to make things work, but i could be grossly wrong about that.
[2010/01/19 22:26:54] <ohadlevy> eric0: we can double check with masterzen
[2010/01/19 22:27:03] <jamesturnbull> ohadlevy: how do you mean?
[2010/01/19 22:27:25] @ Mode -o jamesturnbull by ChanServ
[2010/01/19 22:27:33] <ohadlevy> jamesturnbull: as a puppet cron user, I have a script which starts puppet, what would be the diff i run my pre before puppet and post after puppet in that script?
[2010/01/19 22:27:35] @ fission61 joined channel #puppet
[2010/01/19 22:28:13] <jamesturnbull> ohadlevy: well unmless you coded a link to the exit status of the script then your script could pass or fail without impacting the run
[2010/01/19 22:28:27] <jamesturnbull> ohadlevy: in this case you can link the succes of a run to some external execution
[2010/01/19 22:28:52] @ lwhalen joined channel #puppet
[2010/01/19 22:30:13] <jamesturnbull> brb
[2010/01/19 22:30:44] <josbal> ohadlevy: i have confirmed that im doing things correctly
[2010/01/19 22:30:59] <lwhalen> hey all, does anyone have any 25.3 RPMs kicking around?
[2010/01/19 22:31:00] <ohadlevy> josbal: so you mean it works? ;)
[2010/01/19 22:31:39] <josbal> ohadlevy: i have found on the client im am testing the correct fact and value is listed state.yaml file but this info isn't getting back to the puppetmaster
[2010/01/19 22:32:25] <ohadlevy> is it listed on the puppetmaster at /var/lib/puppet/yaml/nodes/hostname?
[2010/01/19 22:34:08] <josbal> ohadlevy: yeah the state.yaml file on the client and the /var/lib/puppet/yaml/nodes/hostname file differ in content
[2010/01/19 22:34:29] <ohadlevy> right, but do you see the fact in there?
[2010/01/19 22:35:19] <josbal> no, the fact isn't in there
[2010/01/19 22:43:30] @ rmiller4pi8 joined channel #puppet
[2010/01/19 22:44:26] @ Djelibeybi joined channel #puppet
[2010/01/19 22:45:37] @ jcape joined channel #puppet
[2010/01/19 23:01:21] @ GhostOfRickJames joined channel #puppet
[2010/01/19 23:07:59] @ Quit: pinoyskull: "Leaving"
[2010/01/19 23:13:07] <lwhalen> are there any gotchas when upgrading from 24.8 to 25.3?
[2010/01/19 23:13:24] @ magnachef_ joined channel #puppet
[2010/01/19 23:14:40] @ Quit: Djelibeybi: "Leaving"
[2010/01/19 23:15:19] @ Quit: devdas: Remote closed the connection
[2010/01/19 23:16:59] @ re_ left channel #puppet ()
[2010/01/19 23:19:07] @ Quit: magnachef__: Read error: 60 (Operation timed out)
[2010/01/19 23:21:19] @ Quit: alban2: Read error: 113 (No route to host)
[2010/01/19 23:22:13] <lwhalen> ok, building my own 0.25.3 RPMs was... relatively painless :-)
[2010/01/19 23:22:19] <lwhalen> I'm happy to share, if anyone wants them
[2010/01/19 23:22:49] <lwhalen> used the specfile straight from the tarballs, the only change I made was the version number. Build great on a CentOS 5.4 x86_64 VM
[2010/01/19 23:24:41] <lwhalen> the only gotcha (so far) is this depreciation notice: NOTICE: Files found in modules without specifying 'modules' in file path will be deprecated in the next major release. Please fix module 'rsyslog' when no 0.24.x clients are present
[2010/01/19 23:25:09] <lwhalen> which path does that refer to?
[2010/01/19 23:26:01] <lwhalen> is that the source => array? Currently my config file is sourced with this: "puppet:///rsyslog/rsyslog.conf"
[2010/01/19 23:26:20] <lwhalen> do I need to change that to "puppet:///modules/rsyslog/rsyslog.conf" or "puppet:///rsyslog/modules/rsyslog.conf"
[2010/01/19 23:26:23] <lwhalen> ?
[2010/01/19 23:33:45] @ Quit: siezer: Read error: 104 (Connection reset by peer)
[2010/01/19 23:35:50] @ lak joined channel #puppet
[2010/01/19 23:36:05] <lwhalen> all hail, lak!
[2010/01/19 23:36:16] <lak> hah!
[2010/01/19 23:36:20] <lwhalen> :-)
[2010/01/19 23:36:26] <lwhalen> so, quick question for you if you've got a minute
[2010/01/19 23:37:11] <lwhalen> I just upgraded from 24.8 to 25.3 (REALLY looking forward to the regex node definitions), and I'm getting this polite message in my puppetmaster logs: NOTICE: Files found in modules without specifying 'modules' in file path will be deprecated in the next major release. Please fix module 'rsyslog' when no 0.24.x clients are present
[2010/01/19 23:37:50] <lwhalen> is that referring to whereever I define a File in a manifest? i.e. my path for rsyslog.conf is currently this "puppet:///rsyslog/rsyslog.conf"
[2010/01/19 23:37:59] <lak> lwhalen: yep
[2010/01/19 23:38:02] <lwhalen> do I need to change that to "puppet:///modules/rsyslog/rsyslog.conf" or "puppet:///rsyslog/modules/rsyslog.conf"?
[2010/01/19 23:38:10] <lak> the former
[2010/01/19 23:38:15] <lwhalen> alright, cool
[2010/01/19 23:38:28] <lwhalen> but only after I get rid of 24.8 clients site-wide?
[2010/01/19 23:38:54] <lak> yeah
[2010/01/19 23:39:07] <lak> gotta go, baby time
[2010/01/19 23:39:08] @ Quit: lak: Client Quit
[2010/01/19 23:46:06] @ BarnacleBob joined channel #puppet
[2010/01/19 23:54:22] @ bodepd left channel #puppet ()

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