Sunday, 2009-06-28

[2009/06/28 00:00:20] @ Log started by gepetto
[2009/06/28 00:00:20] @ SXd714_TSL joined channel #puppet
[2009/06/28 00:05:06] @ Quit: SXd714_TSL: Client Quit
[2009/06/28 00:07:02] <jamesturnbull> n3kl: wiki:ModuleOrganisation
[2009/06/28 00:07:04] <gepetto> jamesturnbull: n3kl: wiki:ModuleOrganisation is http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
[2009/06/28 00:09:35] <n3kl> Awesome! Thank you
[2009/06/28 00:22:54] @ lak joined channel #puppet
[2009/06/28 00:29:14] @ Quit: bgupta: Read error: 104 (Connection reset by peer)
[2009/06/28 00:29:27] @ bgupta joined channel #puppet
[2009/06/28 00:40:27] @ Quit: agaffney: Read error: 110 (Connection timed out)
[2009/06/28 00:48:01] @ Quit: yarihm: Read error: 110 (Connection timed out)
[2009/06/28 00:49:12] @ Quit: maryN: Read error: 110 (Connection timed out)
[2009/06/28 00:50:07] @ maryN joined channel #puppet
[2009/06/28 01:08:04] @ Quit: mfoster: "Leaving."
[2009/06/28 01:09:02] @ Quit: egerlach_: verne.freenode.net irc.freenode.net
[2009/06/28 01:09:11] @ Quit: FUF-: verne.freenode.net irc.freenode.net
[2009/06/28 01:09:15] @ Quit: plathrop-away: verne.freenode.net irc.freenode.net
[2009/06/28 01:09:18] @ Quit: unpaidbill: verne.freenode.net irc.freenode.net
[2009/06/28 01:09:20] @ Quit: axisys: verne.freenode.net irc.freenode.net
[2009/06/28 01:09:24] @ Quit: imeyer: verne.freenode.net irc.freenode.net
[2009/06/28 01:09:28] @ Quit: pjjw: verne.freenode.net irc.freenode.net
[2009/06/28 01:09:32] @ Quit: pietro_: verne.freenode.net irc.freenode.net
[2009/06/28 01:09:41] @ Quit: chrysn: verne.freenode.net irc.freenode.net
[2009/06/28 01:09:45] @ Quit: mattw: verne.freenode.net irc.freenode.net
[2009/06/28 01:10:29] @ pietro joined channel #puppet
[2009/06/28 01:10:42] @ egerlach joined channel #puppet
[2009/06/28 01:10:43] @ chrysn joined channel #puppet
[2009/06/28 01:10:49] @ FUF joined channel #puppet
[2009/06/28 01:10:51] @ axisys joined channel #puppet
[2009/06/28 01:10:52] @ plathrop-away joined channel #puppet
[2009/06/28 01:11:03] @ imeyer joined channel #puppet
[2009/06/28 01:11:26] @ magnachef_ joined channel #puppet
[2009/06/28 01:21:19] @ mattw joined channel #puppet
[2009/06/28 01:23:13] @ pjjw joined channel #puppet
[2009/06/28 01:28:33] @ Quit: lak:
[2009/06/28 01:37:45] @ agaffney joined channel #puppet
[2009/06/28 01:46:47] @ Quit: Bass10: Connection timed out
[2009/06/28 01:55:48] @ randybias is now known as randybias|away
[2009/06/28 02:15:20] @ Demosthenes joined channel #puppet
[2009/06/28 02:21:13] @ randybias|away is now known as randybias
[2009/06/28 02:22:41] @ Quit: monzie: Read error: 104 (Connection reset by peer)
[2009/06/28 02:27:04] @ Quit: randybias: "Leaving..."
[2009/06/28 02:27:32] @ randybias joined channel #puppet
[2009/06/28 02:43:13] @ randybias is now known as randybias|away
[2009/06/28 02:55:02] @ Djelibeybi joined channel #puppet
[2009/06/28 03:10:05] @ socalzx9r joined channel #puppet
[2009/06/28 03:10:08] @ Quit: friendly12345: Remote closed the connection
[2009/06/28 03:17:43] @ Quit: Djelibeybi: "Leaving"
[2009/06/28 03:21:59] @ Quit: bobbyz: "Leaving"
[2009/06/28 03:46:39] @ pinocchio joined channel #puppet
[2009/06/28 03:48:01] <jamesturnbull> !pinochio status
[2009/06/28 03:48:02] @ shood_ joined channel #puppet
[2009/06/28 03:48:13] <jamesturnbull> !pinocchio status
[2009/06/28 03:48:40] <jamesturnbull> pinocchio: status
[2009/06/28 03:48:41] @ Quit: shood: Read error: 104 (Connection reset by peer)
[2009/06/28 04:19:09] <phantez> gepetto: seen lak
[2009/06/28 04:19:09] <gepetto> phantez: lak was last seen 2 hours, 50 minutes and 36 seconds ago, quitting IRC ()
[2009/06/28 04:20:35] @ Quit: maryN: Read error: 110 (Connection timed out)
[2009/06/28 04:20:59] @ maryN joined channel #puppet
[2009/06/28 04:21:07] @ Quit: ezmobius: Read error: 110 (Connection timed out)
[2009/06/28 04:30:36] @ Quit: scylla: "Leaving"
[2009/06/28 04:35:03] <jamesturnbull> phantez: he's moving house this week - might be better to email him
[2009/06/28 04:35:10] @ keyur joined channel #puppet
[2009/06/28 04:38:20] @ keyur-m joined channel #puppet
[2009/06/28 04:38:34] @ keyur-m left channel #puppet ("Leaving")
[2009/06/28 04:43:24] @ jmarki joined channel #puppet
[2009/06/28 04:45:38] @ Quit: keyur: "Leaving"
[2009/06/28 04:54:49] <phantez> jamesturnbull: okay, thanks ;)
[2009/06/28 04:58:40] @ tuf_ joined channel #puppet
[2009/06/28 05:06:10] @ Quit: tuf_:
[2009/06/28 05:08:33] @ Djelibeybi joined channel #puppet
[2009/06/28 05:10:25] @ pleemans joined channel #puppet
[2009/06/28 05:32:45] @ Quit: Djelibeybi: "This computer has gone to sleep"
[2009/06/28 05:34:34] @ nasrat joined channel #puppet
[2009/06/28 05:39:12] <nasrat> jamesturnbull: ping
[2009/06/28 05:49:05] @ Djelibeybi joined channel #puppet
[2009/06/28 05:49:07] @ Quit: Djelibeybi: Remote closed the connection
[2009/06/28 05:54:11] @ Quit: plathrop-away: Read error: 104 (Connection reset by peer)
[2009/06/28 05:55:56] @ friendly12345 joined channel #puppet
[2009/06/28 06:02:13] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/28 06:05:17] <nasrat> grr TimeoutError
[2009/06/28 06:07:26] @ Quit: maryN: Read error: 110 (Connection timed out)
[2009/06/28 06:07:43] @ maryN joined channel #puppet
[2009/06/28 06:16:12] @ Quit: magnachef_: Read error: 110 (Connection timed out)
[2009/06/28 06:18:41] @ magnachef_ joined channel #puppet
[2009/06/28 06:57:53] @ Quit: maryN: Read error: 110 (Connection timed out)
[2009/06/28 07:15:50] @ kolla joined channel #puppet
[2009/06/28 07:26:44] @ Quit: friendly12345: "Leaving."
[2009/06/28 07:30:29] @ Quit: kolla: Read error: 104 (Connection reset by peer)
[2009/06/28 07:47:32] @ D-CoDe joined channel #puppet
[2009/06/28 07:55:17] @ Quit: jmarki: Read error: 104 (Connection reset by peer)
[2009/06/28 07:55:48] @ Quit: authentic: Read error: 110 (Connection timed out)
[2009/06/28 07:57:42] @ Bass10 joined channel #puppet
[2009/06/28 08:11:38] @ jmarki joined channel #puppet
[2009/06/28 08:26:18] @ mfoster joined channel #puppet
[2009/06/28 08:32:44] @ martha1 joined channel #puppet
[2009/06/28 08:33:57] <jamesturnbull> nasrat: pong
[2009/06/28 08:35:43] @ alban2 joined channel #puppet
[2009/06/28 08:36:07] @ Quit: alban2: Client Quit
[2009/06/28 08:38:51] @ alex___ joined channel #puppet
[2009/06/28 08:39:32] @ scylla joined channel #puppet
[2009/06/28 08:47:40] @ Quit: nmalik: Remote closed the connection
[2009/06/28 08:47:48] @ nmalik joined channel #puppet
[2009/06/28 08:59:17] @ martha1 is now known as martha
[2009/06/28 09:07:18] @ Quit: alex___: Remote closed the connection
[2009/06/28 09:11:17] @ Quit: Bass10: Read error: 110 (Connection timed out)
[2009/06/28 09:39:22] @ lak joined channel #puppet
[2009/06/28 09:50:26] @ Quit: lak:
[2009/06/28 10:04:55] @ lak joined channel #puppet
[2009/06/28 10:12:40] <hacim> weird puppetd --genconfig doesn't print anything
[2009/06/28 10:21:21] @ Quit: lak:
[2009/06/28 10:24:51] @ Quit: scylla: "Leaving"
[2009/06/28 10:31:24] @ nd33r joined channel #puppet
[2009/06/28 10:34:39] <hacim> does puppetd --no-daemonize work for folks? when I run it, it gets put in the background
[2009/06/28 10:44:12] @ pleemans joined channel #puppet
[2009/06/28 10:52:37] @ authentic joined channel #puppet
[2009/06/28 11:13:22] @ rmiller4pi81 joined channel #puppet
[2009/06/28 11:14:30] @ Quit: rmiller4pi8: Read error: 104 (Connection reset by peer)
[2009/06/28 11:19:24] @ Quit: Omahn: Remote closed the connection
[2009/06/28 11:19:26] @ Omahn joined channel #puppet
[2009/06/28 11:21:01] @ Quit: nd33r:
[2009/06/28 11:29:13] @ Quit: walrus: Read error: 113 (No route to host)
[2009/06/28 11:55:00] @ Quit: tecto:
[2009/06/28 12:02:48] @ Quit: pleemans: "Ex-Chat"
[2009/06/28 12:13:21] @ bwingenroth joined channel #puppet
[2009/06/28 12:17:41] @ Quit: ctso: Read error: 104 (Connection reset by peer)
[2009/06/28 12:18:50] @ ctso joined channel #puppet
[2009/06/28 12:23:49] @ maryN joined channel #puppet
[2009/06/28 12:27:13] @ Quit: bwingenroth:
[2009/06/28 12:46:22] @ mfournier joined channel #puppet
[2009/06/28 13:05:17] @ pleemans joined channel #puppet
[2009/06/28 13:07:45] @ Quit: pleemans: Remote closed the connection
[2009/06/28 13:24:52] @ madrescher joined channel #puppet
[2009/06/28 13:31:03] @ randybias|away is now known as randybias
[2009/06/28 13:37:04] @ pleemans joined channel #puppet
[2009/06/28 13:56:10] @ randybias is now known as randybias|away
[2009/06/28 13:57:57] @ cwebber joined channel #puppet
[2009/06/28 14:05:32] @ kolla joined channel #puppet
[2009/06/28 14:05:57] @ randybias|away is now known as randybias
[2009/06/28 14:07:12] @ Quit: randybias: "Leaving..."
[2009/06/28 14:09:06] @ Quit: D-CoDe: "Leaving."
[2009/06/28 14:26:41] @ mvn071 joined channel #puppet
[2009/06/28 14:31:58] <hacim> i'm noticing that if I do: puppetd --server servername.org --verbose --test its actually not contacting that server specifically
[2009/06/28 14:33:25] <hacim> nor setting [puppetd] server= in the config
[2009/06/28 14:34:18] @ sazma joined channel #puppet
[2009/06/28 14:34:29] <sazma> jamesturnbull, ping
[2009/06/28 14:37:34] @ Quit: kolla: Remote closed the connection
[2009/06/28 14:37:48] @ kolla joined channel #puppet
[2009/06/28 14:39:00] @ Quit: kolla: Remote closed the connection
[2009/06/28 14:40:23] <hacim> i'm getting this error:
[2009/06/28 14:40:24] <hacim> err: Could not call puppetca.getcert: #<RuntimeError: HTTP-Error: 400 Bad Request>
[2009/06/28 14:40:27] <hacim> err: Could not request certificate: Certificate retrieval failed: HTTP-Error: 400 Bad Request
[2009/06/28 14:42:03] @ Quit: madrescher: Remote closed the connection
[2009/06/28 14:43:35] @ madrescher joined channel #puppet
[2009/06/28 14:44:05] @ Quit: Demosthenes: Read error: 110 (Connection timed out)
[2009/06/28 14:44:09] <hacim> any ideas?
[2009/06/28 14:46:34] <|Mike|> did you generate the certificate ?
[2009/06/28 14:47:53] <hacim> |Mike|: just ran puppetmasterd
[2009/06/28 14:47:59] <hacim> |Mike|: and then a puppetd
[2009/06/28 14:50:08] <hacim> this is using 0.24.8
[2009/06/28 14:50:54] <|Mike|> puppetca --sign pclient.example.com
[2009/06/28 14:51:16] <|Mike|> did you do that aswell?
[2009/06/28 14:52:20] <hacim> no, it doesn't even get to that point
[2009/06/28 14:52:26] <hacim> ie. the master doesn't have a pending cert to sign
[2009/06/28 14:52:33] <hacim> because the client is getting that above error
[2009/06/28 14:55:23] <pietro> hacim: are you proxying the request?
[2009/06/28 14:55:38] <hacim> ah I had some corrupted crap in my local puppet
[2009/06/28 15:01:22] @ rmiller4pi8 joined channel #puppet
[2009/06/28 15:01:25] @ Quit: rmiller4pi81: Read error: 104 (Connection reset by peer)
[2009/06/28 15:12:30] @ Quit: londo: Remote closed the connection
[2009/06/28 15:13:22] @ londo joined channel #puppet
[2009/06/28 15:20:51] @ Quit: jtimberman:
[2009/06/28 15:22:44] @ Demosthenes joined channel #puppet
[2009/06/28 15:26:08] @ jtimberman joined channel #puppet
[2009/06/28 15:31:07] @ Quit: londo: Remote closed the connection
[2009/06/28 15:34:02] @ londo joined channel #puppet
[2009/06/28 15:43:25] @ Quit: nasrat:
[2009/06/28 15:47:55] @ martha left channel #puppet ()
[2009/06/28 15:50:34] <n3kl> I have a module named common, with a manifests folder, and in there an init.pp. I think this is pretty standard. According to the documentation, if I want, I can create a file named linux.pp and create a class inside there called linux, then use include common::linux, regardless of what is in init.pp. However, when I include common::linux, the client stats that the class cannont be found. WHy?>
[2009/06/28 15:51:15] <n3kl> init.pp for the common module is pretty much empty, I have the class "common" defined in init.pp, but nothing in the class.
[2009/06/28 15:52:16] <agaffney> n3kl: I think you'll need to import linux.pp inside init.pp
[2009/06/28 15:52:22] <tobias-> n3kl: you must import linux.pp
[2009/06/28 15:52:25] <agaffney> init.pp is the only file that is automatically read inside a module
[2009/06/28 15:52:37] <n3kl> can I just do like import "*"
[2009/06/28 15:52:43] <tobias-> yes
[2009/06/28 15:52:53] <tobias-> if it's in the same directory
[2009/06/28 15:53:03] <agaffney> not sure that's a good idea
[2009/06/28 15:53:10] <agaffney> it'll try to re-import init.pp which may cause problems
[2009/06/28 15:53:36] <n3kl> The docment I am reading makes it sound like it will auto look for the class linux inside of linux.pp.
[2009/06/28 15:56:34] <agaffney> either the document is wrong or you're not reading it properly
[2009/06/28 15:56:40] <agaffney> what are you reading?
[2009/06/28 15:57:19] <n3kl> http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation Under module importging, the paragrah that reads lets's say your autofs module has a class...
[2009/06/28 15:57:24] @ Quit: jmarki: Remote closed the connection
[2009/06/28 15:59:30] <n3kl> I could be reading it wrong.
[2009/06/28 15:59:51] @ Quit: jtimberman: "Quitters never win [at irc]."
[2009/06/28 16:00:26] <n3kl> perhaps instead of naming my class linux, I need to name it common::linux?
[2009/06/28 16:00:26] <agaffney> n3kl: and did you define the parent class in the module's init.pp?
[2009/06/28 16:00:56] <n3kl> the parrent meaning module class right? I have this in init.pp: class common {}
[2009/06/28 16:01:00] <agaffney> yes, you'd need to name it common::linux
[2009/06/28 16:01:09] <agaffney> puppet has no way to know it's a child of common
[2009/06/28 16:01:59] <n3kl> Ahh, okay. I will try
[2009/06/28 16:03:16] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/06/28 16:03:27] @ madrescher joined channel #puppet
[2009/06/28 16:03:51] <n3kl> Sweet, I think it processed
[2009/06/28 16:04:00] <n3kl> Thank you
[2009/06/28 16:18:23] <n3kl> So is it okay to group a few modules together using a class to include them? Like a desktop class to import the various other modules that a desktop would have
[2009/06/28 16:21:15] @ Quit: pleemans: Read error: 104 (Connection reset by peer)
[2009/06/28 16:21:26] <agaffney> it's "okay" to do whatever works
[2009/06/28 16:21:36] <tobias-> :)
[2009/06/28 16:21:52] <agaffney> it's all a matter of personal preference
[2009/06/28 16:23:57] <n3kl> Alright, I will stop asking silly questions. Thanks you all for your help
[2009/06/28 16:25:54] <tobias-> n3kl: it's more fun to read something rather than just connection time outs or connection resets, joins, quits..
[2009/06/28 16:26:14] <tobias-> keep asking silly questions :)
[2009/06/28 16:27:58] <n3kl> heh ;)
[2009/06/28 16:28:05] @ pleemans joined channel #puppet
[2009/06/28 16:40:49] <jamesturnbull> sazma: pong
[2009/06/28 16:41:46] <jamesturnbull> n3kl: I have a book that answers lots of silly questions - http://tinyurl.com/pupbook - in case I forgot to pitch it :P
[2009/06/28 16:42:44] @ randybias joined channel #puppet
[2009/06/28 16:44:22] <agaffney> not a bad book
[2009/06/28 16:44:28] <agaffney> it was thinner than I expected :P
[2009/06/28 16:44:47] <agaffney> although, I can't really point out anything that was missed or overlooked in it
[2009/06/28 16:51:56] @ fujin joined channel #puppet
[2009/06/28 16:53:21] <jamesturnbull> agaffney: 2nd edition at the end of the year that'll be bigger
[2009/06/28 16:53:33] <jamesturnbull> agaffney: the first book was an intro - I only had 200 pages to work with
[2009/06/28 16:55:13] <agaffney> hmm
[2009/06/28 16:55:23] <agaffney> not sure if I'll pick up the second edition
[2009/06/28 16:55:30] <agaffney> since I already have an established setup that's working well
[2009/06/28 16:55:47] <agaffney> I got the book after I'd already had my setup running for 2 weeks
[2009/06/28 16:58:10] <jamesturnbull> agaffney: the 2nd edition will be a full-sized book that covers everything including exported resources and the other advanced examples I didn't have space for
[2009/06/28 16:58:45] <jamesturnbull> agaffney: but not expecting people to automatically buy it :)
[2009/06/28 16:59:55] <agaffney> heh
[2009/06/28 17:00:06] <agaffney> I'll certainly read it if you send me one ;)
[2009/06/28 17:00:23] <jamesturnbull> yeah won't get on the New York Times bestseller list like that
[2009/06/28 17:00:26] @ nasrat joined channel #puppet
[2009/06/28 17:00:33] @ Quit: nasrat: Remote closed the connection
[2009/06/28 17:00:35] @ Quit: fujin: Read error: 104 (Connection reset by peer)
[2009/06/28 17:00:39] <agaffney> heh
[2009/06/28 17:00:49] <agaffney> is that all you care about? pfft
[2009/06/28 17:01:03] <jamesturnbull> agaffney: you don't know many authors do you? :P
[2009/06/28 17:03:14] <jamesturnbull> agaffney: we're all shallow and self-centered
[2009/06/28 17:05:12] <agaffney> heh, noted
[2009/06/28 17:09:00] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/28 17:14:10] @ Quit: randybias: "Leaving..."
[2009/06/28 17:25:59] @ Quit: mvn071: Remote closed the connection
[2009/06/28 17:28:09] @ fbe joined channel #puppet
[2009/06/28 17:35:55] @ d3vilb0x joined channel #puppet
[2009/06/28 17:45:23] @ ekes joined channel #puppet
[2009/06/28 17:45:33] @ r7 joined channel #puppet
[2009/06/28 17:48:20] @ Djelibeybi joined channel #puppet
[2009/06/28 17:49:01] <Djelibeybi> Good morning all. Does anyone have some examples of using the Puppetdoc syntax in site.pp/nodes.pp? I get the module bit.
[2009/06/28 17:54:59] <jamesturnbull> Djelibeybi: masterzen does
[2009/06/28 17:56:31] <Djelibeybi> jamesturnbull: linky? Also, are there any more examples beyond the PuppetManifestDocumentation wiki page?
[2009/06/28 17:57:09] <jamesturnbull> Djelibeybi: again Brice has done his whole repo somewhere ... hmmm http://www.masterzen.fr/puppet/rdoc/index.html
[2009/06/28 17:57:50] <Djelibeybi> That's the output (which is awesome). I'm looking for examples of how to create the source. :)
[2009/06/28 17:58:24] <Djelibeybi> Though, it looks like it's just for modules, which is OK
[2009/06/28 17:58:32] @ r7 left channel #puppet ()
[2009/06/28 18:00:43] <duritong> Djelibeybi: it's rdoc
[2009/06/28 18:00:59] <jamesturnbull> Djelibeybi: I don't see why it won't work in nodes.pp - it's just RDoc
[2009/06/28 18:01:00] @ randybias joined channel #puppet
[2009/06/28 18:01:22] <Djelibeybi> jamesturnbull: I'm just wondering what the various heading/sectiony bits would be
[2009/06/28 18:01:39] <Djelibeybi> The example starts with "Class: users" for example.
[2009/06/28 18:01:43] <Djelibeybi> What would site.pp have?
[2009/06/28 18:01:54] <Djelibeybi> It's Monday morning. My brain hasn't fully started yet
[2009/06/28 18:02:39] * Djelibeybi heads off to google RDoc instead
[2009/06/28 18:05:54] <jamesturnbull> Djelibeybi: Node: node
[2009/06/28 18:06:21] <Djelibeybi> jamesturnbull: yeah, that helps for nodes.pp (where we define basenode and other fun things)
[2009/06/28 18:06:29] @ fbe_ joined channel #puppet
[2009/06/28 18:06:34] <Djelibeybi> jamesturnbull: I suspect site.pp just doesn't have that. I have the RDoc example, so I'll work from that
[2009/06/28 18:06:36] @ Quit: fbe: Read error: 104 (Connection reset by peer)
[2009/06/28 18:09:24] <jamesturnbull> Djelibeybi: ask masterzen when he appears ... and feel free to document anything you discover
[2009/06/28 18:11:47] <jamesturnbull> Djelibeybi: but looking at the commit - it appears you can easily document site.pp
[2009/06/28 18:11:57] @ mfoster left channel #puppet ()
[2009/06/28 18:12:12] <Djelibeybi> jamesturnbull: linky to commit for inspiration?
[2009/06/28 18:12:23] <jamesturnbull> Djelibeybi: commit:dc192b00dc2c44b6174cb4a84663e8ad4e561d3c
[2009/06/28 18:12:34] <jamesturnbull> Djelibeybi: http://projects.reductivelabs.com/projects/puppet/repository/revisions/dc192b00dc2c44b6174cb4a84663e8ad4e561d3c
[2009/06/28 18:12:41] <jamesturnbull> gepetto: we're going to have words later
[2009/06/28 18:13:01] <Djelibeybi> lol
[2009/06/28 18:13:12] @ ezmobius joined channel #puppet
[2009/06/28 18:19:22] @ Quit: nwp: Remote closed the connection
[2009/06/28 18:23:05] <Djelibeybi> Hmm.. puppetdoc hates my site.pp, but generates stuff for nodes.pp.
[2009/06/28 18:25:30] @ Quit: mfournier: Read error: 113 (No route to host)
[2009/06/28 18:25:51] <agaffney> would puppet barf on a ssh_authorized_keys where the user's homedir doesn't exist?
[2009/06/28 18:26:14] <agaffney> I've got a LDAP auth setup (against AD) and have homedirs automatically created with pam_mkhomedir
[2009/06/28 18:26:29] <agaffney> so until a user logs into a box, they have no homedir and no place to put .ssh/authorized_keys
[2009/06/28 18:26:44] @ mfoster1 joined channel #puppet
[2009/06/28 18:29:18] <jamesturnbull> agaffney: that'd barf I suspect
[2009/06/28 18:29:31] <jamesturnbull> agaffney: you can require a home directory
[2009/06/28 18:31:20] <Djelibeybi> Ok, puppetdoc hates me. I'm now getting errors! Yayfun.
[2009/06/28 18:31:27] <agaffney> can I make the ssh_authorized_keys dependent on the homedir existing?
[2009/06/28 18:32:26] * Djelibeybi goes to check masterzen's github repo for inspiration
[2009/06/28 18:33:22] <agaffney> jamesturnbull: if I create a File[/home/foo] with ensure=>"directory", that will automatically create it, won't it?
[2009/06/28 18:33:29] <Djelibeybi> Damn, no manifests in his github. Denied!
[2009/06/28 18:33:34] <pietro> does anyone know which versions of rails work with puppetmaster?
[2009/06/28 18:33:51] <pietro> i'm currently using 2.1 and i'm thinking about upgrading to 2.2 or 2.3
[2009/06/28 18:38:49] * agaffney wonders if there are RPMs for puppet for RHEL2
[2009/06/28 18:38:55] <agaffney> did ruby even exist back then? :P
[2009/06/28 18:42:31] @ egerlach_ joined channel #puppet
[2009/06/28 18:43:23] @ Quit: egerlach: Read error: 60 (Operation timed out)
[2009/06/28 18:43:53] @ randybias is now known as randybias|away
[2009/06/28 18:45:02] @ randybias|away is now known as randybias
[2009/06/28 18:48:33] @ cwebber_ joined channel #puppet
[2009/06/28 18:49:33] @ WALoeIII joined channel #puppet
[2009/06/28 18:51:56] <Djelibeybi> jamesturnbull: do you know if there are any best practice "coding standards" for Puppet manifests? Essentially around formatting/documentation
[2009/06/28 18:54:20] <agaffney> there is
[2009/06/28 18:54:29] <agaffney> it's mentioned in a style guide article on the wiki
[2009/06/28 18:54:32] @ Quit: cwebber: Read error: 110 (Connection timed out)
[2009/06/28 18:55:06] <Djelibeybi> agaffney: ta, I'll go googling
[2009/06/28 18:56:12] <jamesturnbull> Djelibeybi: wiki:PuppetBestPractise
[2009/06/28 18:56:18] <jamesturnbull> Djelibeybi: wiki:PuppetBestPractice
[2009/06/28 18:56:21] <gepetto> jamesturnbull: Djelibeybi: wiki:PuppetBestPractice is http://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice
[2009/06/28 18:58:01] <Djelibeybi> jamesturnbull: ta. also found the style guide, which is what I was after.
[2009/06/28 18:58:06] * Djelibeybi is busy making Puppet all purty.
[2009/06/28 19:05:14] @ Quit: Demosthenes: Read error: 60 (Operation timed out)
[2009/06/28 19:09:31] @ randybias is now known as randybias|away
[2009/06/28 19:10:41] <jamesturnbull> Djelibeybi: feel free to edit/update if you think you have good ideas etc
[2009/06/28 19:10:54] <Djelibeybi> jamesturnbull: at the moment, I'm just aiming for consistency. :)
[2009/06/28 19:11:07] <Djelibeybi> Opinion poll, though.
[2009/06/28 19:11:28] @ egerlach joined channel #puppet
[2009/06/28 19:11:29] <Djelibeybi> Do you think it's OK to have resources for a specific host? I.e., things like host-specific mount{} types?
[2009/06/28 19:11:41] <Djelibeybi> Or should I be wrapping that up into a custom definition?
[2009/06/28 19:12:01] <jamesturnbull> Djelibeybi: I'd write a definition
[2009/06/28 19:12:06] <jamesturnbull> Djelibeybi: more extensible
[2009/06/28 19:12:40] <Djelibeybi> jamesturnbull: yeah, that's what I'm leaning towards as well. Particularly, as there is a lot of repetitive stuff, which I can wrap into $case blocks inside the define
[2009/06/28 19:18:35] @ Quit: egerlach: Read error: 60 (Operation timed out)
[2009/06/28 19:18:47] @ egerlach joined channel #puppet
[2009/06/28 19:26:34] @ Quit: egerlach_: Read error: 110 (Connection timed out)
[2009/06/28 19:29:32] @ nd33r joined channel #puppet
[2009/06/28 19:33:59] @ bwingenroth joined channel #puppet
[2009/06/28 19:34:34] @ ragelink^mac joined channel #puppet
[2009/06/28 19:35:08] @ ragelink^mac left channel #puppet ()
[2009/06/28 19:35:22] @ randybias|away is now known as randybias
[2009/06/28 19:39:30] @ puppet joined channel #puppet
[2009/06/28 19:39:46] <Djelibeybi> Hmm.. I really need a verbose option on puppetdoc to find out why it's refusing to actually generate any docs
[2009/06/28 19:40:08] @ Quit: bwingenroth:
[2009/06/28 19:40:12] <|Mike|> -v !
[2009/06/28 19:41:42] <Djelibeybi> Well, that worked and yet provided absolutely no useful information.
[2009/06/28 19:42:14] @ Quit: puppet: Client Quit
[2009/06/28 19:44:11] * Djelibeybi is missing something.
[2009/06/28 19:44:19] <Djelibeybi> If I run puppetdoc on a single file, like so:
[2009/06/28 19:44:22] @ QMan joined channel #puppet
[2009/06/28 19:44:28] <Djelibeybi> # puppetdoc /etc/puppet/manifests/uat.pp
[2009/06/28 19:44:41] <Djelibeybi> It works fine, but only produces text (to be expected)
[2009/06/28 19:44:48] <Djelibeybi> If I try to run it like either:
[2009/06/28 19:44:52] <Djelibeybi> # puppetdoc /etc/puppet/manifests/
[2009/06/28 19:44:58] <Djelibeybi> # puppetdoc /etc/puppet/modules/
[2009/06/28 19:45:02] <Djelibeybi> It does absolutely nothing
[2009/06/28 19:46:05] @ Bass10 joined channel #puppet
[2009/06/28 19:48:08] @ Quit: nd33r:
[2009/06/28 20:07:21] @ randybias is now known as randybias|away
[2009/06/28 20:17:30] @ Quit: Maliuta: "Leaving"
[2009/06/28 20:29:57] @ Quit: WALoeIII:
[2009/06/28 20:33:13] @ WALoeIII joined channel #puppet
[2009/06/28 20:33:28] @ rmiller4pi81 joined channel #puppet
[2009/06/28 20:39:58] @ Quit: Bass10: Success
[2009/06/28 20:50:11] @ Demosthenes joined channel #puppet
[2009/06/28 20:51:25] @ Quit: rmiller4pi8: Read error: 110 (Connection timed out)
[2009/06/28 21:09:33] @ Pax joined channel #puppet
[2009/06/28 21:11:30] <Pax> Hi all... has anyone else seen this problem? puppetmasterd[30722]: Could not call:
[2009/06/28 21:11:31] <Pax> Cannot allocate memory - fork(2)
[2009/06/28 21:12:32] <Pax> we use Mongrel to proxy puppetmasterd, but the puppetmaster is still dying, and taking down the server as well.
[2009/06/28 21:18:14] @ bremenbeck joined channel #puppet
[2009/06/28 21:20:17] @ randybias|away is now known as randybias
[2009/06/28 21:42:37] @ n0ts__ joined channel #puppet
[2009/06/28 21:48:11] @ jtimberman joined channel #puppet
[2009/06/28 21:48:46] @ Quit: madrescher: Read error: 113 (No route to host)
[2009/06/28 21:49:48] @ Quit: maryN: "Leaving"
[2009/06/28 21:51:30] @ madrescher joined channel #puppet
[2009/06/28 21:52:53] @ Quit: axisys: Read error: 54 (Connection reset by peer)
[2009/06/28 21:53:21] @ axisys joined channel #puppet
[2009/06/28 21:56:37] @ Quit: n0ts_: Read error: 110 (Connection timed out)
[2009/06/28 22:10:36] <Pax> has anyone got any experiance running puppet for 500+ Servers?
[2009/06/28 22:20:51] @ nwp joined channel #puppet
[2009/06/28 22:21:59] <rmiller4pi81> Pax: can't fork usually implies OOM
[2009/06/28 22:22:21] <rmiller4pi81> i don't have 500, but i have 200 and it's working pretty well
[2009/06/28 22:24:18] <agaffney> Pax: with that many, you'll probably want multiple puppetmasters
[2009/06/28 22:24:31] <agaffney> Pax: you should probably use a splay, too
[2009/06/28 22:24:39] <agaffney> so you don't have 500 clients hitting at the same time
[2009/06/28 22:25:15] @ Quit: magnachef_: Read error: 110 (Connection timed out)
[2009/06/28 22:25:18] <proton> unless you start all 500 clients simultaneously you won't get them hitting at the same time...
[2009/06/28 22:25:37] <ctso> but why not have them randomize anyway
[2009/06/28 22:28:25] @ alex2 joined channel #puppet
[2009/06/28 22:29:40] @ bwingenroth joined channel #puppet
[2009/06/28 22:33:24] <Pax> how could you set up a splay?
[2009/06/28 22:33:41] <ctso> checkout wiki:ConfigurationReference
[2009/06/28 22:33:47] <gepetto> ctso: wiki:ConfigurationReference is http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference
[2009/06/28 22:33:47] <ctso> bah.
[2009/06/28 22:33:47] <Pax> or multiple puppetmasters? Round robin DNS?
[2009/06/28 22:33:47] <bremenbeck> hey thanks agaffney - I have a similar issue to Pax our's keeps OOM'ing out also - we have just recently upgraded ruby and that stops the cluster from failing once a day and is now up for a week before it fails. ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
[2009/06/28 22:33:55] <ctso> then just search for splay
[2009/06/28 22:34:02] <ctso> there's an option for turning it on and an option for adjusting the splaytime
[2009/06/28 22:34:15] <bremenbeck> awesome - thanks guys - that has to be worth a shot!
[2009/06/28 22:34:26] <Pax> aww fantastic!
[2009/06/28 22:36:46] @ Quit: d3vilb0x:
[2009/06/28 22:38:35] @ Quit: ezmobius: Read error: 60 (Operation timed out)
[2009/06/28 22:39:06] <agaffney> bremenbeck: there's apparently some ruby memory leak in RHEL5
[2009/06/28 22:39:23] <agaffney> it's been said to affect puppetd, but I can imagine it would effect puppetmasterd, too
[2009/06/28 22:39:35] <agaffney> bremenbeck: you can try cron'ing a puppetmasterd restart
[2009/06/28 22:40:30] <bremenbeck> yeah we had one of those... but were so excited by the new ruby we let it slide. thanks for the tips!
[2009/06/28 22:41:19] <rmiller4pi81> new ruby is good; mod_passenger is good too
[2009/06/28 22:41:30] <bremenbeck> do you recommend another ruby other than stock rhel we should be using?
[2009/06/28 22:45:07] <bremenbeck> so our sysadms are keen on stock, but I have an eye to 1.9.1-p129 any thoughts as to if this will help our OOM - if it does that would rock!
[2009/06/28 22:45:39] <agaffney> bremenbeck: a cron'd restart will help
[2009/06/28 22:45:55] <bremenbeck> cool - we should reinstate that for sure for now
[2009/06/28 22:54:09] <bremenbeck> hi team - some updates from our admins if this may help: http://pastie.org/527626
[2009/06/28 22:56:47] @ bwingenroth_ joined channel #puppet
[2009/06/28 22:58:23] <agaffney> bremenbeck: how does splay not work? in 0.24.8, splay picks a time when the client starts up and uses that splay for every connection
[2009/06/28 22:58:39] <agaffney> in older versions (0.24.4 for example), it would do a random splay for each connection
[2009/06/28 22:58:59] <agaffney> the newer behavior keeps connections at a consistent interval
[2009/06/28 22:59:22] <agaffney> also, you implied it was the puppetmaster dying from OOM
[2009/06/28 22:59:24] <agaffney> that says it's the clients
[2009/06/28 22:59:32] <agaffney> which is the known issue with RHEL5's ruby
[2009/06/28 23:00:05] <bremenbeck> we are on 0.24.8 this is all great info
[2009/06/28 23:00:07] @ pinoyskull joined channel #puppet
[2009/06/28 23:00:34] <bremenbeck> the OOMs are much less frequent than they were previously - this is all good stuff - thanks so much for taking the time
[2009/06/28 23:01:25] <bremenbeck> so the finger is pointing at the ruby version - I hear you - thanks again - great pointers!
[2009/06/28 23:01:58] <Pax> what about serving /etc/puppet off NFS and serving multiple puppetmasters from behind an software slb?
[2009/06/28 23:02:36] <agaffney> Pax: you might be better using something like SVN
[2009/06/28 23:04:01] <Pax> agaffney: Just check in and out the whole kit and kaboodle?
[2009/06/28 23:05:40] <jamesturnbull> Pax: or Git - love Git for this
[2009/06/28 23:06:16] @ randybias is now known as randybias|away
[2009/06/28 23:06:33] <ctso> jamesturnbull: what kind of certificate set up would you have with multi-puppetmaster? that's the only thing that worries me
[2009/06/28 23:07:07] <agaffney> Pax: I like to use SVN for distributing mass configs
[2009/06/28 23:07:14] <jamesturnbull> ctso: there is a wiki page and a thread from nigelk at Google on the -user list about this
[2009/06/28 23:07:18] <agaffney> I keep my /etc/puppet in SVN (only used on one server) and my DNS configs
[2009/06/28 23:08:37] @ Quit: QMan:
[2009/06/28 23:08:57] <n3kl> What do I wiki to find out how to restart a service?
[2009/06/28 23:09:14] <ctso> ah.. i see it
[2009/06/28 23:09:21] @ rmiller4pi8 joined channel #puppet
[2009/06/28 23:09:32] <ctso> notify it
[2009/06/28 23:09:39] <jamesturnbull> n3kl: wiki:TypeReference
[2009/06/28 23:10:14] <gepetto> jamesturnbull: n3kl: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2009/06/28 23:10:15] <ctso> or have it subscribe
[2009/06/28 23:10:15] <ctso> to whatever should cause the restart
[2009/06/28 23:10:16] <bremenbeck> agaffney: thanks so much for your input tonight - you have given us lots to think about - so great that you took the time, much appreciated!
[2009/06/28 23:12:41] @ magnachef__ joined channel #puppet
[2009/06/28 23:12:55] @ Quit: bwingenroth: Read error: 110 (Connection timed out)
[2009/06/28 23:12:58] <n3kl> Cool, thank you
[2009/06/28 23:16:08] @ maxagaz joined channel #puppet
[2009/06/28 23:16:49] <Pax> hey guys, thanks a bunch for the help it gave me some stuff to think about!
[2009/06/28 23:16:57] @ Pax left channel #puppet ("Leaving")
[2009/06/28 23:17:34] @ PhabX joined channel #puppet
[2009/06/28 23:19:02] @ randybias|away is now known as randybias
[2009/06/28 23:21:11] @ eythian joined channel #puppet
[2009/06/28 23:21:40] @ bremenbeck left channel #puppet ()
[2009/06/28 23:22:01] <n3kl> Can you group nodes?
[2009/06/28 23:22:02] <eythian> Hi, I want to test to see if a variable is not defined (so I can throw an error.) Can I just do 'if ! $variable { error }'?
[2009/06/28 23:23:58] @ D-CoDe joined channel #puppet
[2009/06/28 23:27:15] @ Quit: rmiller4pi81: Read error: 110 (Connection timed out)
[2009/06/28 23:34:14] @ Quit: magnachef__: Read error: 110 (Connection timed out)
[2009/06/28 23:34:16] @ magnachef_ joined channel #puppet
[2009/06/28 23:34:49] @ Quit: maxagaz: Remote closed the connection
[2009/06/28 23:44:32] @ randybias is now known as randybias|away
[2009/06/28 23:49:04] @ randybias|away is now known as randybias
[2009/06/28 23:57:41] @ joe-mac joined channel #puppet

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