Thursday, 2010-07-01

[2010/07/01 00:01:24] @ Log started by gepetto
[2010/07/01 00:01:24] @ Quit: aaronky: Read error: Connection reset by peer
[2010/07/01 00:01:42] @ aaronky_ joined channel #puppet
[2010/07/01 00:01:46] @ p3rror joined channel #puppet
[2010/07/01 00:02:15] @ Quit: yannL: *.net *.split
[2010/07/01 00:02:15] @ Quit: bobinabottle: *.net *.split
[2010/07/01 00:02:15] @ Quit: cbuckley_: *.net *.split
[2010/07/01 00:02:15] @ Quit: felipe`: *.net *.split
[2010/07/01 00:02:16] @ Quit: ricky: *.net *.split
[2010/07/01 00:02:16] @ Quit: nico: *.net *.split
[2010/07/01 00:02:16] @ Quit: londo_: *.net *.split
[2010/07/01 00:02:16] @ Quit: goraxe: *.net *.split
[2010/07/01 00:02:16] @ Quit: cparedes: *.net *.split
[2010/07/01 00:02:16] @ Quit: abien: *.net *.split
[2010/07/01 00:02:16] @ Quit: thefish: *.net *.split
[2010/07/01 00:02:17] @ Quit: dispalt: *.net *.split
[2010/07/01 00:02:17] @ Quit: mpxm: *.net *.split
[2010/07/01 00:02:17] @ Quit: choc: *.net *.split
[2010/07/01 00:02:17] @ Quit: RedPepper: *.net *.split
[2010/07/01 00:02:28] @ Quit: Hollow: Ping timeout: 265 seconds
[2010/07/01 00:02:36] @ Hollow joined channel #puppet
[2010/07/01 00:04:37] @ yannL joined channel #puppet
[2010/07/01 00:04:37] @ bobinabottle joined channel #puppet
[2010/07/01 00:04:37] @ cbuckley_ joined channel #puppet
[2010/07/01 00:04:37] @ thefish joined channel #puppet
[2010/07/01 00:04:37] @ felipe` joined channel #puppet
[2010/07/01 00:04:37] @ ricky joined channel #puppet
[2010/07/01 00:04:37] @ nico joined channel #puppet
[2010/07/01 00:04:37] @ londo_ joined channel #puppet
[2010/07/01 00:04:37] @ cparedes joined channel #puppet
[2010/07/01 00:04:37] @ goraxe joined channel #puppet
[2010/07/01 00:04:37] @ abien joined channel #puppet
[2010/07/01 00:04:37] @ dispalt joined channel #puppet
[2010/07/01 00:04:37] @ mpxm joined channel #puppet
[2010/07/01 00:04:37] @ choc joined channel #puppet
[2010/07/01 00:04:37] @ RedPepper joined channel #puppet
[2010/07/01 00:04:55] @ Quit: ecolitan: Excess Flood
[2010/07/01 00:05:00] @ Quit: felipe`: Max SendQ exceeded
[2010/07/01 00:05:00] @ ecolitan joined channel #puppet
[2010/07/01 00:05:44] @ Quit: espent_: Read error: Connection reset by peer
[2010/07/01 00:05:44] @ espent joined channel #puppet
[2010/07/01 00:06:38] @ ash joined channel #puppet
[2010/07/01 00:07:04] @ Quit: twisla: Ping timeout: 260 seconds
[2010/07/01 00:07:20] @ twisla joined channel #puppet
[2010/07/01 00:09:29] @ Quit: rcrowley: Quit: rcrowley
[2010/07/01 00:09:36] @ yure joined channel #puppet
[2010/07/01 00:10:59] @ ash left channel #puppet ()
[2010/07/01 00:14:36] @ ckauhaus joined channel #puppet
[2010/07/01 00:15:23] @ Quit: gniks: Quit: Leaving.
[2010/07/01 00:17:49] @ Quit: mfournier: Ping timeout: 248 seconds
[2010/07/01 00:18:00] @ Quit: Djelibeybi: Quit: Leaving
[2010/07/01 00:18:09] @ Quit: m1nish: Ping timeout: 240 seconds
[2010/07/01 00:21:02] @ Quit: pinoyskull: Quit: Leaving
[2010/07/01 00:23:47] @ lkoranda joined channel #puppet
[2010/07/01 00:32:56] @ themroc_parti is now known as themroc
[2010/07/01 00:39:46] <alcy> Folsk, I have a query regarding using runit (alternative init mechanism) as a service provider.
[2010/07/01 00:39:56] <alcy> I meant folks
[2010/07/01 00:41:25] <alcy> Question is when using runit as a service provider, it will look into /etc/sv/ directory for the service....but this in turn would involve configuring runit through puppet to ensure files exist in /etc/sv
[2010/07/01 00:41:54] <alcy> ...as opposed to the usual init method
[2010/07/01 00:45:09] <alcy> anyone
[2010/07/01 00:45:34] <henk> alcy: you said 'question is' but you asked none, did you?
[2010/07/01 00:46:15] <alcy> errm, question is my line of reasoning correct ?
[2010/07/01 00:46:56] <henk> what line of reasoning? runit expects files in /etc/sv/ so you need to drop files you want to be used by runit there? yes, of course it is.
[2010/07/01 00:47:50] <henk> i don't see a line of reasoning there though, it's a pretty simple and straightforward consequence. drop files for $program where $program looks. everything else would be just stupid, wouldn't it?
[2010/07/01 00:48:42] @ mfournier joined channel #puppet
[2010/07/01 00:49:21] <alcy> to be more specfic, if a module installs a package X, then, if using runit as a service provider for package X, I will have to manually provide the ./run script for package X, place it in its dir using another puppet recipe which will do ensure=>/path/run, right ?
[2010/07/01 00:50:05] @ ceren joined channel #puppet
[2010/07/01 00:50:25] <henk> that depends on the package and the software installing the package imho
[2010/07/01 00:52:19] <alcy> lets say apache. I do ensure=>package{}, then service{apache: provider=runit}. Now first apt will install apache. But obviously apt won't provide any run script for apache automatically in apache's service directory. Right ?
[2010/07/01 00:52:50] <henk> ensure => package{}? never seen that, what does it do?
[2010/07/01 00:52:59] <alcy> uh sorry
[2010/07/01 00:53:06] <alcy> package { ensure=>present} !!
[2010/07/01 00:53:21] @ kc7zzv joined channel #puppet
[2010/07/01 00:53:36] <alcy> package <name> {ensure=.present} !!
[2010/07/01 00:53:40] <alcy> =>
[2010/07/01 00:54:19] <henk> yes, probably.
[2010/07/01 00:54:52] <Volcane> alcy: you know the answer to this obviously
[2010/07/01 00:54:59] <Volcane> alcy: package doesnt provide the run script, therefor you do
[2010/07/01 00:55:32] <Volcane> alcy: the perils of replacing your OS init system is that you get to do a lot more work
[2010/07/01 00:55:53] @ Quit: shug: Quit: Leaving
[2010/07/01 00:57:04] <alcy> Volcane: And I just wanted to know if Puppet could do that for me ( thing is, I didn't know puppet could use runit as a service provider, but when I did get to know, I was so excited I thought maybe this will be covered too...which is a stupid line of reasoning clearly) :D
[2010/07/01 00:58:04] <Volcane> alcy: you're asking if puppet can make init scripts for you?
[2010/07/01 00:58:54] @ felipe` joined channel #puppet
[2010/07/01 00:58:55] <alcy> Volcane: I am too ashamed to even think of answering that.
[2010/07/01 00:59:20] <Volcane> heh
[2010/07/01 00:59:27] @ jmd joined channel #puppet
[2010/07/01 00:59:28] <Volcane> well i am not sure i understand your question :)
[2010/07/01 01:00:50] @ fbe joined channel #puppet
[2010/07/01 01:01:22] <alcy> Volcane: been going through a lot of things, flooded with juvenile ideas and thoughts, I hope the after-effects of that ain't that offending to you :)
[2010/07/01 01:01:34] <Volcane> lol
[2010/07/01 01:07:21] @ Quit: blahdeblah: Ping timeout: 252 seconds
[2010/07/01 01:07:44] @ blahdeblah joined channel #puppet
[2010/07/01 01:10:28] @ TREllis joined channel #puppet
[2010/07/01 01:12:48] @ Quit: kc7zzv: Quit: kc7zzv
[2010/07/01 01:15:14] @ Quit: tecto_: Ping timeout: 240 seconds
[2010/07/01 01:18:25] @ m1nish joined channel #puppet
[2010/07/01 01:20:10] @ Quit: blahdeblah: Ping timeout: 276 seconds
[2010/07/01 01:21:25] @ Quit: freshtonic: Quit: freshtonic
[2010/07/01 01:22:53] @ blahdeblah joined channel #puppet
[2010/07/01 01:23:56] @ tecto_ joined channel #puppet
[2010/07/01 01:24:00] @ Quit: tecto_: Changing host
[2010/07/01 01:24:00] @ tecto_ joined channel #puppet
[2010/07/01 01:28:29] <zipkid> i'm having a wierd thing. on a freshly installed client i have this http://pastie.org/1026340
[2010/07/01 01:29:21] @ MattyM joined channel #puppet
[2010/07/01 01:29:39] <Volcane> it probably checks at startup if it can find the mysql binaries
[2010/07/01 01:30:00] <zipkid> hmmmmmm....
[2010/07/01 01:30:41] <zipkid> that is annoying.....
[2010/07/01 01:33:03] @ allsystemsarego joined channel #puppet
[2010/07/01 01:33:15] @ Quit: blahdeblah: Ping timeout: 265 seconds
[2010/07/01 01:34:40] <zipkid> indeed... now mysql is installed it works.... DavidS!!!!
[2010/07/01 01:35:00] <Volcane> heh
[2010/07/01 01:35:14] @ Quit: tecto_: Ping timeout: 240 seconds
[2010/07/01 01:39:14] @ itguru joined channel #puppet
[2010/07/01 01:40:56] @ tecto_ joined channel #puppet
[2010/07/01 01:44:09] @ Quit: m1nish: Ping timeout: 240 seconds
[2010/07/01 01:44:24] <zipkid> ah, Thx Volcane ....
[2010/07/01 01:46:00] <Volcane> np
[2010/07/01 01:46:21] <Volcane> same problem as the cron provider etc
[2010/07/01 01:46:40] <zipkid> is there a 'solution' for this?
[2010/07/01 01:47:11] @ Quit: Olly_: Remote host closed the connection
[2010/07/01 01:47:17] <Volcane> install mysql :P
[2010/07/01 01:47:25] <Volcane> i think there's a way to write the provider better, not sure
[2010/07/01 01:47:31] @ Quit: p3rror: Read error: Connection reset by peer
[2010/07/01 01:47:35] <zipkid> Via puppet, which refuses to run without mysql....
[2010/07/01 01:47:49] <Volcane> yeah, luke says thats a bug int he provider
[2010/07/01 01:48:09] @ Quit: ceren: Quit: ceren
[2010/07/01 01:48:32] <zipkid> the provider should not complain as long as it has not been calles explicitly....
[2010/07/01 01:48:37] <zipkid> called
[2010/07/01 01:49:01] <Volcane> yeah unfort there's a stage where it tries to figure out what are possibly usable providers on a system
[2010/07/01 01:49:23] <Volcane> to try and determine if it can even realize all the resources in the compiled catalog
[2010/07/01 01:49:24] @ Quit: tecto_: Ping timeout: 245 seconds
[2010/07/01 01:49:38] @ ceren joined channel #puppet
[2010/07/01 01:49:45] <Volcane> but apparently there's a better way, dont know much of provider internals
[2010/07/01 01:50:34] <zipkid> i understand the 'problem' but this is kinda rediculous....
[2010/07/01 01:50:47] <Volcane> yeah
[2010/07/01 01:53:13] <zipkid> to work around this automatically i'd need to set up separate environments for bootstrapping and configuring.... (actually.... that might not be such a bad idea....)
[2010/07/01 01:53:38] <zipkid> Hmmm.... You bring out good ideas Volcane ! :-)
[2010/07/01 01:54:35] <Volcane> zipkid: yup, thats what i do now - a bootstrap environment
[2010/07/01 01:54:50] @ tecto_ joined channel #puppet
[2010/07/01 01:54:50] @ Quit: tecto_: Changing host
[2010/07/01 01:54:50] @ tecto_ joined channel #puppet
[2010/07/01 01:55:11] @ Quit: jmd: Quit: Page closed
[2010/07/01 02:00:02] @ m1nish joined channel #puppet
[2010/07/01 02:02:44] @ Quit: monachus: Ping timeout: 265 seconds
[2010/07/01 02:15:23] @ Quit: itguru: Remote host closed the connection
[2010/07/01 02:19:51] @ giskard joined channel #puppet
[2010/07/01 02:21:45] <alcy> has someone used puppet on ARM architecture ? The debian package is listed as being for all architectures. Wpuld be great to setup a minimalistic Beagleboard powered Puppet !
[2010/07/01 02:26:52] <ptman> alcy, I'm running puppet on debian on a sheevaplug
[2010/07/01 02:27:00] <ptman> it's slow, but it works
[2010/07/01 02:33:44] <alcy> tman: awesome. I forgot about its arch...but I think there were some parallels between the Sheevaplug & Beagleboard...
[2010/07/01 02:34:01] <alcy> ptman: awesome. I forgot about its arch...but I think there were some parallels between the Sheevaplug & Beagleboard...
[2010/07/01 02:34:41] <alcy> which distro are you using on it btw ?
[2010/07/01 02:34:49] <alcy> oh debian
[2010/07/01 02:35:46] <alcy> I had been avoiding to install debian on the beagleboard, but seems the time is just right (although I'll see first if its available on Angstrom)
[2010/07/01 02:35:58] <alcy> puppet on Angstrom I mean
[2010/07/01 02:38:03] @ Djelibeybi joined channel #puppet
[2010/07/01 02:41:44] @ Quit: bobinabottle: Quit: bobinabottle
[2010/07/01 02:41:54] @ Quit: m1nish: Ping timeout: 252 seconds
[2010/07/01 02:45:58] @ Quit: duritong: Ping timeout: 276 seconds
[2010/07/01 02:47:09] @ verwilst joined channel #puppet
[2010/07/01 02:48:16] @ monachus joined channel #puppet
[2010/07/01 02:56:08] <matti> :)
[2010/07/01 02:56:18] @ Quit: jeffmccune: Quit: jeffmccune
[2010/07/01 02:56:48] @ Quit: Djelibeybi: Quit: Leaving
[2010/07/01 02:56:54] @ Quit: alk`: Ping timeout: 260 seconds
[2010/07/01 02:58:46] @ m1nish joined channel #puppet
[2010/07/01 03:00:49] @ Ramonster joined channel #puppet
[2010/07/01 03:01:18] <floess_chris> when you create a file resource and want it to be a link, is the source=>"/path/to/file", the actual file or the link?
[2010/07/01 03:01:53] <floess_chris> I'm guessing, that source is the actual file
[2010/07/01 03:02:07] @ duritong joined channel #puppet
[2010/07/01 03:02:39] <nico> floess_chris: ensure => link ?
[2010/07/01 03:02:44] <nico> but check the docs
[2010/07/01 03:03:00] @ evanb joined channel #puppet
[2010/07/01 03:04:32] <floess_chris> nico: it wasn't clear in the docs, at least not in the "types guide", got any other place worth checking for reference?
[2010/07/01 03:05:17] <zipkid> name = the link yoiu want, ensure => "the file it points to"
[2010/07/01 03:05:47] @ macfly joined channel #puppet
[2010/07/01 03:06:36] <floess_chris> zipkid: thanks
[2010/07/01 03:08:06] @ mikepea joined channel #puppet
[2010/07/01 03:13:11] @ TREllis_ joined channel #puppet
[2010/07/01 03:14:45] @ Quit: TREllis: Ping timeout: 240 seconds
[2010/07/01 03:14:50] @ floess_chris is now known as flooose
[2010/07/01 03:15:55] @ Djelibeybi joined channel #puppet
[2010/07/01 03:25:28] @ Quit: evanb: Ping timeout: 265 seconds
[2010/07/01 03:39:12] @ Quit: Djelibeybi: Quit: Leaving
[2010/07/01 03:54:21] @ evanb joined channel #puppet
[2010/07/01 03:55:21] @ ohadlevy joined channel #puppet
[2010/07/01 03:56:10] @ Quit: ohadlevy: Client Quit
[2010/07/01 03:56:58] @ ohadlevy joined channel #puppet
[2010/07/01 03:57:49] @ Welsh_Dwarf joined channel #puppet
[2010/07/01 04:05:14] @ magickal1_ joined channel #puppet
[2010/07/01 04:08:51] @ Quit: magickal1: Ping timeout: 252 seconds
[2010/07/01 04:08:55] @ rohanpm left channel #puppet ("Ex-Chat")
[2010/07/01 04:12:15] @ Quit: ohadlevy: Ping timeout: 240 seconds
[2010/07/01 04:12:51] @ Quit: AdrianBroher: Quit: Leaving
[2010/07/01 04:18:28] @ AdrianBroher joined channel #puppet
[2010/07/01 04:30:08] @ ohadlevy joined channel #puppet
[2010/07/01 04:34:27] @ Olly_ joined channel #puppet
[2010/07/01 04:36:42] @ Quit: Welsh_Dwarf: Read error: Connection reset by peer
[2010/07/01 04:36:49] @ Quit: lkoranda: Quit: Ex-Chat
[2010/07/01 04:41:37] @ Quit: skeeziks: Quit: ZNC - http://znc.sourceforge.net
[2010/07/01 04:44:13] @ skeeziks joined channel #puppet
[2010/07/01 04:44:20] @ glarizza joined channel #puppet
[2010/07/01 04:44:24] @ beata_ joined channel #puppet
[2010/07/01 04:46:28] @ Quit: yure: Remote host closed the connection
[2010/07/01 04:50:03] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2010/07/01 04:50:08] @ Quit: evanb: Quit: Colloquy for iPhone - http://colloquy.mobi
[2010/07/01 04:51:54] @ Bass10 joined channel #puppet
[2010/07/01 04:52:25] @ Quit: ohadlevy: Quit: Leaving
[2010/07/01 04:52:43] @ ohadlevy joined channel #puppet
[2010/07/01 04:59:06] <glarizza> A question for clarification: I've got my clients set to use their Hardware Serial Number as a certname, which works well. Theoretically, when I image clients they will automatically regenerate a new cert. Even though they're using the same certname it will technically be a completely different cert than the server has signed - correct?
[2010/07/01 04:59:25] @ ahasenack joined channel #puppet
[2010/07/01 05:00:29] <glarizza> I have a CGI on the server that will call puppetca --clean <certname>, so I have a method to clean them, but I'm trying to come up with the best way for the client or server to recognize that these certifcates do NOT match (and then clean the cert).
[2010/07/01 05:01:45] @ ckauhaus joined channel #puppet
[2010/07/01 05:10:21] @ Quit: ohadlevy: Ping timeout: 265 seconds
[2010/07/01 05:10:34] @ Quit: ahasenack: Remote host closed the connection
[2010/07/01 05:12:16] @ Quit: ckauhaus: Quit: Leaving.
[2010/07/01 05:12:36] @ ckauhaus joined channel #puppet
[2010/07/01 05:13:24] @ shug joined channel #puppet
[2010/07/01 05:16:20] @ ahasenack joined channel #puppet
[2010/07/01 05:21:27] @ malikai joined channel #puppet
[2010/07/01 05:26:40] <beata_> for a custom fact i have facter.add("firefoxMajorVersion") but it looks like it looks like the cap letters are lowercassed is that normal?
[2010/07/01 05:28:24] <Volcane> yeah
[2010/07/01 05:28:48] <beata_> didnt see it mentioned in the custom fact page so was just checking
[2010/07/01 05:29:11] <alcy> ...ok so after some hdd troubles for a client test setup, I am finally trying runit as a service provider but am getting this error http://pastebin.com/m8M9CLbY
[2010/07/01 05:30:34] <alcy> any idea about that ?
[2010/07/01 05:30:49] <Volcane> do you have runit installed on the machine?
[2010/07/01 05:30:58] <alcy> on the client machine, yes
[2010/07/01 05:31:07] @ bjaspan joined channel #puppet
[2010/07/01 05:33:00] <alcy> ...the directory structure for runit (/service, /etc/sv/) all are in place
[2010/07/01 05:33:25] <Volcane> you have /usr/bin/sv right?
[2010/07/01 05:34:41] <alcy> argh. /usr/local/bin/sv :(
[2010/07/01 05:36:57] @ Quit: tecto_: Ping timeout: 240 seconds
[2010/07/01 05:42:20] @ zorzar_ joined channel #puppet
[2010/07/01 05:42:41] @ tecto_ joined channel #puppet
[2010/07/01 05:42:41] @ Quit: tecto_: Changing host
[2010/07/01 05:42:41] @ tecto_ joined channel #puppet
[2010/07/01 05:44:27] @ Quit: bjaspan: Quit: bjaspan
[2010/07/01 05:46:01] @ Quit: zorzar: Ping timeout: 276 seconds
[2010/07/01 05:55:52] <QuackNL> !yip
[2010/07/01 05:57:07] <malikai> QuackNL: not enough chars in that password
[2010/07/01 05:57:15] @ Quit: magickal1_: Ping timeout: 240 seconds
[2010/07/01 05:58:04] @ Quit: n0ts: Ping timeout: 260 seconds
[2010/07/01 06:02:41] @ n0ts joined channel #puppet
[2010/07/01 06:02:47] @ _lucid joined channel #puppet
[2010/07/01 06:03:08] @ Quit: glarizza: Quit: glarizza
[2010/07/01 06:07:43] @ Quit: alcy: Ping timeout: 252 seconds
[2010/07/01 06:09:30] @ Quit: Bogdar: Remote host closed the connection
[2010/07/01 06:11:48] @ bjaspan joined channel #puppet
[2010/07/01 06:12:41] @ magickal1_ joined channel #puppet
[2010/07/01 06:13:37] @ lkoranda joined channel #puppet
[2010/07/01 06:14:40] @ santhosh joined channel #puppet
[2010/07/01 06:21:27] @ Quit: pheezy: Remote host closed the connection
[2010/07/01 06:22:20] @ Quit: JD_: Remote host closed the connection
[2010/07/01 06:22:22] @ JD_ joined channel #puppet
[2010/07/01 06:22:37] @ santhosh left channel #puppet ()
[2010/07/01 06:25:58] @ Quit: shug: Quit: Leaving
[2010/07/01 06:27:34] @ Quit: bug: Quit: bug
[2010/07/01 06:29:38] @ bug joined channel #puppet
[2010/07/01 06:30:45] @ bjaspan_ joined channel #puppet
[2010/07/01 06:31:09] @ Quit: tecto_: Ping timeout: 248 seconds
[2010/07/01 06:31:09] @ bjaspan__ joined channel #puppet
[2010/07/01 06:31:11] @ Quit: bjaspan_: Read error: Connection reset by peer
[2010/07/01 06:31:42] @ cliff-hm joined channel #puppet
[2010/07/01 06:31:45] @ Quit: bjaspan__: Remote host closed the connection
[2010/07/01 06:31:50] @ bjaspan_ joined channel #puppet
[2010/07/01 06:32:26] @ Quit: bjaspan: Ping timeout: 265 seconds
[2010/07/01 06:32:26] @ bjaspan_ is now known as bjaspan
[2010/07/01 06:36:35] @ tecto_ joined channel #puppet
[2010/07/01 06:38:57] <_lucid> i am running ubuntu; should puppetmasterd be started with sudo?
[2010/07/01 06:40:12] @ herdingcat joined channel #puppet
[2010/07/01 06:40:56] @ pheezy joined channel #puppet
[2010/07/01 06:42:17] <jY> yes
[2010/07/01 06:51:35] @ reyjrar joined channel #puppet
[2010/07/01 06:51:50] @ Quit: malikai: Quit: Leaving.
[2010/07/01 06:52:13] @ Quit: bjaspan: Ping timeout: 264 seconds
[2010/07/01 06:52:20] @ Quit: tecto_: Ping timeout: 265 seconds
[2010/07/01 06:56:00] <_lucid> it makes sense the client/node would need to run as root...
[2010/07/01 06:56:12] @ Quit: flooose: Remote host closed the connection
[2010/07/01 07:00:56] @ Quit: ckauhaus: Quit: Leaving.
[2010/07/01 07:01:52] @ bjaspan joined channel #puppet
[2010/07/01 07:04:42] @ rcrowley joined channel #puppet
[2010/07/01 07:05:04] @ Quit: bjaspan: Remote host closed the connection
[2010/07/01 07:05:09] @ bjaspan joined channel #puppet
[2010/07/01 07:05:32] @ ajbourg joined channel #puppet
[2010/07/01 07:08:02] @ flakrat joined channel #puppet
[2010/07/01 07:08:34] @ Quit: Ramonster: Ping timeout: 276 seconds
[2010/07/01 07:12:08] @ Quit: herdingcat: Quit: Leaving
[2010/07/01 07:12:57] @ Quit: flakrat: Ping timeout: 240 seconds
[2010/07/01 07:15:02] <joschi> jY: why should puppetmasterd need to run with root privileges?
[2010/07/01 07:15:48] @ Ramonster joined channel #puppet
[2010/07/01 07:17:12] @ flakrat joined channel #puppet
[2010/07/01 07:21:16] @ ckauhaus joined channel #puppet
[2010/07/01 07:22:49] @ jdcasey joined channel #puppet
[2010/07/01 07:24:23] <_lucid> the puppetmasted, on my shiny new unbuntu server, balks w/permission issues. i am thinking i messed up the install ...
[2010/07/01 07:24:48] <_lucid> puppetmasted = puppetmasterd
[2010/07/01 07:25:39] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2010/07/01 07:26:29] <_lucid> oh sorry. it appears to start up ok when i sudo puppetmasterd --verbose --no-daemonize or puppetmasterd --mkusesrs
[2010/07/01 07:27:01] @ Quit: flakrat: Ping timeout: 264 seconds
[2010/07/01 07:28:28] <gebi> _lucid: apt-get install puppetmaster; /etc/init.d/puppetmaster start ?
[2010/07/01 07:29:00] @ joe-mac joined channel #puppet
[2010/07/01 07:31:48] <_lucid> gebi: yep... while sudo su ...
[2010/07/01 07:32:12] <_lucid> doh
[2010/07/01 07:39:38] @ cliff-hm joined channel #puppet
[2010/07/01 07:40:47] @ flakrat joined channel #puppet
[2010/07/01 07:42:25] @ blkwolf joined channel #puppet
[2010/07/01 07:45:45] @ jab_doa joined channel #puppet
[2010/07/01 07:46:33] @ Quit: flakrat: Ping timeout: 240 seconds
[2010/07/01 07:50:35] @ sijis_afk is now known as sijis
[2010/07/01 07:51:37] <_lucid> hmm.... doing the sudo apt-get was not a smart thing... still trying to clean that up.
[2010/07/01 07:52:58] <jason^> is there anything to differentiate a "template node" from a normal node?
[2010/07/01 07:55:10] @ Quit: mboyd: Ping timeout: 265 seconds
[2010/07/01 07:59:14] @ tonyskapunk joined channel #puppet
[2010/07/01 07:59:38] @ Quit: Ramonster: Quit: Computer has gone to sleep
[2010/07/01 08:00:09] @ Quit: tonyskapunk: Remote host closed the connection
[2010/07/01 08:00:25] @ tonyskapunk joined channel #puppet
[2010/07/01 08:01:21] @ Quit: m1nish: Quit: Leaving
[2010/07/01 08:07:12] @ dbruce_ is now known as dbruce
[2010/07/01 08:08:03] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2010/07/01 08:14:23] @ Quit: jdcasey: Remote host closed the connection
[2010/07/01 08:14:47] @ jdcasey joined channel #puppet
[2010/07/01 08:16:47] @ Ramonster joined channel #puppet
[2010/07/01 08:20:46] @ Quit: magickal1_: Quit: Leaving
[2010/07/01 08:23:20] <nimrod10> hello guys ! Do you know if you can force the provider dpkg to install a deb package from a puppet:// URL ?
[2010/07/01 08:23:57] <ptman> nimrod10, why would you want to do that?
[2010/07/01 08:24:19] <ptman> nimrod10, read up on reprepro and put up your own debian repository
[2010/07/01 08:24:43] <nimrod10> I want to install a deb package from the puppet master using apt/aptitude or dpkg
[2010/07/01 08:26:33] <gebi> cp the .deb file to /var/cache/apt/archives and execute dpkg -i <file.deb>
[2010/07/01 08:26:35] <nimrod10> the idea was to get a a deb and install it, tried with file (source) and then doing a dpkg install locally but apparently puppet can't server deb packages from the filebucket
[2010/07/01 08:26:51] <gebi> huch?
[2010/07/01 08:27:30] <nimrod10> it gives me this error : Failed to retrieve current state of resource: undefined method `closed?' for nil:NilClass Could not retrieve file metadata for puppet://packagename
[2010/07/01 08:27:55] <gebi> have you tried the same with a plain file?
[2010/07/01 08:28:13] <nimrod10> yes it works with plain files, I've tried it before
[2010/07/01 08:28:46] @ Quit: jbooth: Quit: leaving
[2010/07/01 08:28:47] <nimrod10> that error message is not particularly useful for debugging :(
[2010/07/01 08:28:49] @ Quit: agagag: Ping timeout: 264 seconds
[2010/07/01 08:29:47] <gebi> and if you just remove the .deb ending *g*?
[2010/07/01 08:29:54] @ Quit: ecolitan: Remote host closed the connection
[2010/07/01 08:30:16] <nimrod10> hmm , haven't tried that. Let me do that now
[2010/07/01 08:30:25] @ bjaspan_ joined channel #puppet
[2010/07/01 08:31:30] <ptman> nimrod10, have you tried puppet:///packagename? what is the exact url you used?
[2010/07/01 08:31:50] <ptman> notice the three slashes
[2010/07/01 08:32:31] <nimrod10> tried it without the .deb , still the same error
[2010/07/01 08:33:05] <ptman> pastebin the code
[2010/07/01 08:33:06] <nimrod10> ptman, I've used the URL source => "puppet://riak/files/$riak_deb"
[2010/07/01 08:33:11] <ptman> ah
[2010/07/01 08:33:33] <ptman> seriously, try putting up your own debian repository
[2010/07/01 08:33:33] <nimrod10> and I define the $riak_deb before the file resource
[2010/07/01 08:33:36] <ptman> it's not hard
[2010/07/01 08:33:44] @ Quit: bjaspan: Ping timeout: 260 seconds
[2010/07/01 08:33:44] @ bjaspan_ is now known as bjaspan
[2010/07/01 08:33:48] <ptman> and it automates different architectures and debian releases
[2010/07/01 08:33:52] <nimrod10> this package does not come in the debian repo :)
[2010/07/01 08:34:06] <nimrod10> it is packaged by the riak devs
[2010/07/01 08:34:18] <Berge> nimrod10: That's why you'd want to put up a reposiroty.
[2010/07/01 08:34:24] <Berge> repository, even
[2010/07/01 08:34:24] <ptman> yes, exactly, that's why you put up your own repository using reprepro where you can put whatever packages you like
[2010/07/01 08:35:16] <nimrod10> ok ptman don't know that much about reprepro , I'll give it a read. For the moment I think I'll endup doing a wget exec instead of serving the file via puppet filebucket
[2010/07/01 08:35:17] @ Ambiguity joined channel #puppet
[2010/07/01 08:35:36] @ hexa joined channel #puppet
[2010/07/01 08:35:44] @ rmiller4pi8 joined channel #puppet
[2010/07/01 08:36:09] <hexa> hi all any ideas on how I can remove a node completely ? removing it from the node.pp doesn't seem to work I still see it in munin/nagios for example...
[2010/07/01 08:36:22] <nimrod10> ptman, how much disk space roughly do you use for your own repo ?
[2010/07/01 08:36:29] <hexa> I removed all files I could find in /var/lib and the certs but... still there
[2010/07/01 08:38:11] @ jbooth_ joined channel #puppet
[2010/07/01 08:38:29] @ jnewland joined channel #puppet
[2010/07/01 08:38:54] @ Quit: jbooth_: Client Quit
[2010/07/01 08:39:10] @ jbooth_ joined channel #puppet
[2010/07/01 08:39:33] @ jbooth_ is now known as jbooth
[2010/07/01 08:40:48] <blkwolf> henk: you'll want to remove it from storeconfigs if your using puppet to auto populate nagios (assuming your using storeconfigs)
[2010/07/01 08:41:42] @ thekad-afk is now known as thekad
[2010/07/01 08:42:12] <hexa> blkwolf, humm how can I remove it from storeconfig ? i'm actually not sure where the sqllite db is stored.. options are default and all I see is ./puppet/state/clientconfigs.sqlite3 is that it ?
[2010/07/01 08:42:37] <joe-mac> and then you'll need to find /etc/nagios3 -name '*node*' -exec rm -f {} \; && /etc/init.d/nagios restart
[2010/07/01 08:43:04] <joe-mac> replace node with the fqdn
[2010/07/01 08:43:06] <blkwolf> hexa: there is a script in one of the forums. I need to find it again myself
[2010/07/01 08:43:19] <joe-mac> remnode_from_storedconfigs.rb should be in the checkout
[2010/07/01 08:43:26] <hexa> blkperl, I found : http://projects.puppetlabs.com/issues/1886
[2010/07/01 08:43:41] <blkwolf> thats it
[2010/07/01 08:43:42] <hexa> but it's just that i'm not sure where my db is...
[2010/07/01 08:43:58] <hexa> is ./puppet/state/clientconfigs.sqlite the default for storeconfig?
[2010/07/01 08:44:00] <blkwolf> if your using the defaults, the script should work
[2010/07/01 08:44:24] <hexa> blkwolf, nah it's checking for the db adapter and location in the conf , but it's not configured
[2010/07/01 08:44:28] @ jeffmccune joined channel #puppet
[2010/07/01 08:44:35] <hexa> all I have is storeconfig=yes
[2010/07/01 08:44:44] <hexa> no adapter = sqllite3 and dblocation=...
[2010/07/01 08:45:04] @ Quit: geekatcmu_: Quit: Time to go home
[2010/07/01 08:45:10] <hexa> joe-mac, thx will do
[2010/07/01 08:45:13] <blkwolf> hexa: I'll look for my copy and see what I have configured
[2010/07/01 08:45:29] @ geekatcmu joined channel #puppet
[2010/07/01 08:45:39] <hexa> blkwolf, thx :)
[2010/07/01 08:46:56] <blkwolf> ahhh that's right, I'm using mysql
[2010/07/01 08:47:01] <hexa> haaa k hehe
[2010/07/01 08:47:34] @ Quit: TREllis_: Ping timeout: 240 seconds
[2010/07/01 08:48:18] <hexa> blkwolf, gonna try with clientconfigs.sqlite I guess
[2010/07/01 08:48:37] <blkwolf> hexa: you don't have it defined in puppet.conf?
[2010/07/01 08:48:49] <blkwolf> [puppetmasterd]
[2010/07/01 08:48:49] <blkwolf> storeconfigs = true
[2010/07/01 08:48:49] <blkwolf> dbadapter = sqlite3
[2010/07/01 08:48:49] <blkwolf> dblocation = /var/lib/puppet/storeconfigs.sqlite
[2010/07/01 08:48:51] <hexa> blkwolf: no :(
[2010/07/01 08:49:06] <hexa> [puppetmasterd]
[2010/07/01 08:49:06] <hexa> storeconfigs=true
[2010/07/01 08:49:13] @ Quit: Ramonster: Quit: So long, thanx for all the fish
[2010/07/01 08:49:27] <hexa> maybe I can specify it and it will have to recreate it
[2010/07/01 08:49:34] <blkwolf> that would work
[2010/07/01 08:49:48] @ TREllis joined channel #puppet
[2010/07/01 08:49:50] <blkwolf> you may want to look into mysql then, better performance
[2010/07/01 08:50:23] <hexa> yeah it's still a small setup
[2010/07/01 08:51:47] <hexa> could not open database: unable to open database fil
[2010/07/01 08:51:48] <hexa> damm
[2010/07/01 08:52:33] <blkwolf> did ya restart puppetmaster?
[2010/07/01 08:52:36] <hexa> yep
[2010/07/01 08:52:37] @ MaxBube joined channel #puppet
[2010/07/01 08:53:00] @ alcy joined channel #puppet
[2010/07/01 08:53:47] <hexa> blkwolf, ok I had to touch it
[2010/07/01 08:54:02] <blkwolf> heh was just going to say that
[2010/07/01 08:54:57] <hexa> QLite3::SQLException: unable to open database file: CREATE TABLE "resources" .. lol
[2010/07/01 08:55:01] <hexa> it's not my day
[2010/07/01 08:55:25] <blkwolf> hmm make sure it's owned by puppet
[2010/07/01 08:55:37] <hexa> blkwolf, it is.. -rw-rw---- 1 puppet puppet 0 2010-07-01 11:53 storeconfigs.sqlite
[2010/07/01 08:55:37] <blkwolf> with write access
[2010/07/01 08:57:11] @ Quit: verwilst: Quit: Ex-Chat
[2010/07/01 08:57:44] <hexa> event chmod 777 wont work .. weird
[2010/07/01 08:57:57] @ sebas891 joined channel #puppet
[2010/07/01 08:58:13] @ Quit: themroc: Remote host closed the connection
[2010/07/01 08:58:19] <hexa> Hi sebas891 :)
[2010/07/01 08:59:05] <sebas891> hey hexa
[2010/07/01 08:59:46] <sebas891> you'll see that the folks here are great! hexa
[2010/07/01 08:59:47] @ shug joined channel #puppet
[2010/07/01 09:00:06] <hexa> sebas891, :) indeed
[2010/07/01 09:00:27] <hexa> if only puppet itself was so kind hehe
[2010/07/01 09:01:23] <blkwolf> hexa: everything I can find, it should work as long as it's writable. maybe change the directory for a sec as an experiment.. /etc/puppet/storeconfigs.sqlite
[2010/07/01 09:01:52] @ Log started by gepetto
[2010/07/01 09:01:52] @ Joined channel #puppet
[2010/07/01 09:01:52] @ Topic is "Dashboard 1.0.0 released: http://bit.ly/cxZUas | Puppet 0.25.5 released: http://bit.ly/beIuIm | http://docs.puppetlabs.com | Bugs & Feature Requests: http://bit.ly/ddjhPk"
[2010/07/01 09:01:52] @ Topic set by jamesturnbull!~jamesturn@pelin.lovedthanlost.net on Mon May 17 18:32:40 -0700 2010
[2010/07/01 09:01:56] @ Mode +cnt by gibson.freenode.net
[2010/07/01 09:02:07] @ Quit: JD_: Remote host closed the connection
[2010/07/01 09:02:09] @ JD_ joined channel #puppet
[2010/07/01 09:02:15] <hexa> blkwolf trying..
[2010/07/01 09:02:45] <jamesturnbull> gepetto: seen ohadlevy
[2010/07/01 09:02:45] <gepetto> jamesturnbull: ohadlevy was last seen 3 hours, 52 minutes and 24 seconds ago, quitting IRC (Ping timeout: 265 seconds)
[2010/07/01 09:02:56] <barn> will you two get a room! (:
[2010/07/01 09:03:16] @ Quit: mellen: Ping timeout: 260 seconds
[2010/07/01 09:03:31] <masterzen> hexa: this is a rails + sqlite3 bug
[2010/07/01 09:03:53] <hexa> masterzen, it is ? ... any ideas on a fix?
[2010/07/01 09:04:00] <blkwolf> mysqld <eg>
[2010/07/01 09:04:05] <hexa> same in /etc/puppet...
[2010/07/01 09:04:07] <masterzen> hexa: I'm looking for the ticket
[2010/07/01 09:04:13] <hexa> masterzen, k thx :)
[2010/07/01 09:04:42] <masterzen> hexa: #2815
[2010/07/01 09:04:42] <gepetto> masterzen: hexa: #2815 is http://projects.puppetlabs.com/issues/show/2815 "Puppet - Bug #2815: Sqlite no longer working in Debian Etch? - Puppet Labs"
[2010/07/01 09:06:21] @ joergherzinger joined channel #puppet
[2010/07/01 09:06:23] @ mellen joined channel #puppet
[2010/07/01 09:06:27] <hexa> masterzen, it's werid because I had already a sqllite db in /var/lib/puppet/state/clientconfigs.sqlite3 .. would you know if it could have been my storeconfig or something else?
[2010/07/01 09:06:45] <hexa> masterzen, I didn't have an adapter /location set explicitly
[2010/07/01 09:07:04] <masterzen> hexa: it uses $vardir/clientstat or sth by default
[2010/07/01 09:07:15] <masterzen> hexa: your issue looks like the bug I pointed to you
[2010/07/01 09:07:29] <hexa> masterzen, ok :) thx a lot
[2010/07/01 09:07:32] @ Quit: sebas891: Quit: Leaving.
[2010/07/01 09:07:35] <masterzen> hexa: upgrade rails or sqlite
[2010/07/01 09:07:58] <hexa> masterzen, well I will try to clean my existing db 1st
[2010/07/01 09:08:48] @ Quit: lkoranda: Quit: Ex-Chat
[2010/07/01 09:09:08] <blkwolf> hmmmm I need a module to sync a local working directory with github
[2010/07/01 09:11:23] @ Quit: markus: Quit: markus
[2010/07/01 09:11:31] @ gniks joined channel #puppet
[2010/07/01 09:12:08] @ jmd_ joined channel #puppet
[2010/07/01 09:14:50] @ thekad is now known as thekad-afk
[2010/07/01 09:16:19] @ Quit: jeffmccune: Quit: jeffmccune
[2010/07/01 09:16:35] <alcy> jamesturnbull: I am trying to edit the LDAP_Nodes page on wiki according to the workaround posted for bug #1389, but not sure how to highlight the code part of it ?
[2010/07/01 09:16:36] <gepetto> alcy: jamesturnbull: #1389 is http://projects.puppetlabs.com/issues/show/1389 "Puppet - Bug #1389: puppetmaster completely ignores any found external nodes if any nodes are found in manifests first. - Puppet Labs"
[2010/07/01 09:20:00] @ labrown joined channel #puppet
[2010/07/01 09:20:10] <alcy> [pre] [/pre]
[2010/07/01 09:25:58] <gepetto> ::redmine:: Wiki edit: Ldap_Nodes (#3) @ http://projects.reductivelabs.com/projects/1/wiki/Ldap_Nodes?version=3 (by Alcy PupMaster)
[2010/07/01 09:28:49] @ dandiep joined channel #puppet
[2010/07/01 09:28:51] @ jeffmccune joined channel #puppet
[2010/07/01 09:28:59] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2010/07/01 09:29:53] @ Quit: ajbourg: Quit: ajbourg
[2010/07/01 09:30:03] @ dandiep_ joined channel #puppet
[2010/07/01 09:30:15] @ Quit: jab_doa: Quit: Verlassend
[2010/07/01 09:31:38] @ Quit: jeffmccune: Remote host closed the connection
[2010/07/01 09:31:38] @ alk` joined channel #puppet
[2010/07/01 09:32:09] @ jeffmccune joined channel #puppet
[2010/07/01 09:32:49] @ Quit: jeffmccune: Remote host closed the connection
[2010/07/01 09:33:19] @ Quit: dandiep: Ping timeout: 252 seconds
[2010/07/01 09:33:20] @ jeffmccune joined channel #puppet
[2010/07/01 09:33:34] @ alcy_ joined channel #puppet
[2010/07/01 09:34:02] @ Quit: jeffmccune: Remote host closed the connection
[2010/07/01 09:34:40] @ alcy_ left channel #puppet ()
[2010/07/01 09:34:42] @ jeffmccune joined channel #puppet
[2010/07/01 09:34:44] @ Quit: jeffmccune: Client Quit
[2010/07/01 09:35:37] @ Quit: alcy: Ping timeout: 252 seconds
[2010/07/01 09:35:42] @ cliff-hm joined channel #puppet
[2010/07/01 09:36:18] @ Quit: jmd_: Quit: Page closed
[2010/07/01 09:37:58] @ alcy joined channel #puppet
[2010/07/01 09:38:23] @ Quit: beata_: Quit: Lost terminal
[2010/07/01 09:40:14] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2010/07/01 09:45:15] @ Quit: TREllis: Quit: leaving
[2010/07/01 09:45:17] @ wilco joined channel #puppet
[2010/07/01 09:45:20] @ alcy left channel #puppet ()
[2010/07/01 09:48:04] @ Quit: Bevo: Ping timeout: 260 seconds
[2010/07/01 09:48:23] @ Bevo joined channel #puppet
[2010/07/01 09:48:32] @ thekad-afk is now known as thekad
[2010/07/01 09:49:43] @ jab_doa joined channel #puppet
[2010/07/01 09:54:12] @ mboyd joined channel #puppet
[2010/07/01 09:54:14] @ Quit: alk`: Quit: Lost terminal
[2010/07/01 09:56:05] @ cliff-hm joined channel #puppet
[2010/07/01 09:56:20] @ Quit: bjaspan: Quit: bjaspan
[2010/07/01 09:59:08] @ Quit: joergherzinger: Remote host closed the connection
[2010/07/01 09:59:36] @ notbrien joined channel #puppet
[2010/07/01 10:00:25] @ bjaspan joined channel #puppet
[2010/07/01 10:04:36] @ Quit: shug: Quit: Leaving
[2010/07/01 10:08:05] @ Hypnoz joined channel #puppet
[2010/07/01 10:12:50] @ Quit: mfournier: Ping timeout: 265 seconds
[2010/07/01 10:14:21] @ Quit: carlasouza: Quit: rebooot
[2010/07/01 10:15:22] @ flakrat joined channel #puppet
[2010/07/01 10:16:41] @ Quit: _lucid: Ping timeout: 252 seconds
[2010/07/01 10:19:05] @ markus joined channel #puppet
[2010/07/01 10:19:30] @ carlasouza joined channel #puppet
[2010/07/01 10:19:49] @ Quit: fbe: Ping timeout: 264 seconds
[2010/07/01 10:22:08] @ Quit: cliff-hm: Ping timeout: 260 seconds
[2010/07/01 10:22:50] @ cliff-hm joined channel #puppet
[2010/07/01 10:22:55] @ mqr joined channel #puppet
[2010/07/01 10:23:26] @ mqr_ joined channel #puppet
[2010/07/01 10:23:29] @ Quit: markus: Read error: Connection reset by peer
[2010/07/01 10:25:08] @ Quit: bug: Quit: bug
[2010/07/01 10:26:57] @ Quit: mqr: Ping timeout: 240 seconds
[2010/07/01 10:29:06] @ mattock joined channel #puppet
[2010/07/01 10:30:25] @ bug joined channel #puppet
[2010/07/01 10:31:35] @ jaredrhine joined channel #puppet
[2010/07/01 10:38:54] <sijis> could you do something like, if app/rpm-exists(), use this source file (or execute this block of code)?
[2010/07/01 10:39:54] @ yakub joined channel #puppet
[2010/07/01 10:40:53] @ plathrop-away is now known as plathrop
[2010/07/01 10:41:46] @ mstanislav joined channel #puppet
[2010/07/01 10:44:34] <jbooth> sijis: ?
[2010/07/01 10:46:03] <sijis> i'd like to know if a certain package is installed on the sserver
[2010/07/01 10:46:19] <sijis> if and it is.. do something, otherwise, it would execute something else
[2010/07/01 10:46:35] <sijis> i'm modifying the init.pp file in this test module im playing with
[2010/07/01 10:46:58] <jbooth> You can only know that by creating a custom fact to tell you if said package exists or not.
[2010/07/01 10:47:18] <jbooth> Or to put it another way: your approach is not following 'the puppet way'
[2010/07/01 10:47:42] @ markus joined channel #puppet
[2010/07/01 10:47:57] <sijis> jbooth: yeah, that's what i thought i'd have to do
[2010/07/01 10:48:11] @ Quit: mqr_: Read error: Connection reset by peer
[2010/07/01 10:48:12] @ mqr joined channel #puppet
[2010/07/01 10:48:44] <sijis> i was thinking maybe using exec() would be of help.. but, as i understand, it not proper and can lead to higher system utilization
[2010/07/01 10:48:44] @ Quit: MaxBube: Remote host closed the connection
[2010/07/01 10:49:07] <jbooth> I'd start with describing what you're trying to accomplish and then trying to fit that to puppet
[2010/07/01 10:49:35] <jbooth> it sounds very much like you're coming from a "shell scripts configuration system" and that's not really similar to the puppet way
[2010/07/01 10:50:23] @ Quit: mqr: Read error: Connection reset by peer
[2010/07/01 10:51:22] @ mqr joined channel #puppet
[2010/07/01 10:51:34] <mstanislav> sijis: why not just do an unless statement with your package manager?
[2010/07/01 10:51:54] @ Quit: markus: Ping timeout: 240 seconds
[2010/07/01 10:51:54] @ mqr is now known as markus
[2010/07/01 10:52:01] <RS-232> sijis: sounds to me that repackaging the app, with a post install script of your own, could be a solution for your problem.
[2010/07/01 10:52:44] @ mfournier joined channel #puppet
[2010/07/01 10:52:45] <RS-232> and you could then use puppet to make sure that package is installed where ever you need it.
[2010/07/01 10:53:27] @ mqr joined channel #puppet
[2010/07/01 10:53:27] @ Quit: markus: Read error: Connection reset by peer
[2010/07/01 10:53:28] @ mqr is now known as markus
[2010/07/01 10:53:36] <sijis> i'm trying to make my sshd_config a template. in some servers i use openssh-server and in others, i use a 3rd party ssh product which interacts with AD called centrify.
[2010/07/01 10:54:03] <Volcane> so on those servers when you reinstall them
[2010/07/01 10:54:03] <sijis> i'd like to know if its using centrify or sshd and using either sshd-config or sshd_config-centrify (for example)
[2010/07/01 10:54:08] <Volcane> how does puppet know which to install for you?
[2010/07/01 10:54:20] <sijis> i'm not installing he package via puppet
[2010/07/01 10:54:27] <Volcane> there's the problem.
[2010/07/01 10:54:27] <sijis> that's done once the server is built.
[2010/07/01 10:54:45] <Volcane> fix that, and puppet will know if its openssh or not
[2010/07/01 10:54:49] @ \ask joined channel #puppet
[2010/07/01 10:55:00] @ Quit: jdcasey: Remote host closed the connection
[2010/07/01 10:55:43] <sijis> Volcane: how would puppet know? and what about servers already up and running?
[2010/07/01 10:56:08] @ MPSimmon1 joined channel #puppet
[2010/07/01 10:56:12] <Volcane> sijis: you'd tell it either via node files, an external classifier, ldap etc, point is puppets model is that its the authority of what goes on a machine
[2010/07/01 10:56:14] @ Quit: \ask: Client Quit
[2010/07/01 10:56:23] <mstanislav> sijis: create an exec statement, create an onlyif or unless statement that checks, and copy the correct config based on that...
[2010/07/01 10:56:26] <Volcane> sijis: and when you rebuild machines, you get the base OS on the machine and let puppet do the rest
[2010/07/01 10:56:28] <sijis> i only had 2 thoughts in mind. either in the node definition say, this uses 'openssh' or other and then use that to dictate which config it gets, or create two seperate modules
[2010/07/01 10:56:36] @ \ask joined channel #puppet
[2010/07/01 10:57:01] <Volcane> sijis: if you've captured all the needs in puppet, then you classify the nodes and if you've done it right on your existing machines nothing should change puppet must do the intentended setup
[2010/07/01 10:57:45] <Volcane> sijis: thats the puppet model yes, the node blocks tells it what to do, and what to do is defined in modules. people have 100s of odules and assign them to nodes
[2010/07/01 10:57:49] @ pyco joined channel #puppet
[2010/07/01 10:58:00] <pyco> hi
[2010/07/01 10:58:53] @ stefan__ joined channel #puppet
[2010/07/01 10:59:03] @ Quit: MattyM: Remote host closed the connection
[2010/07/01 10:59:45] @ Quit: markus: Ping timeout: 240 seconds
[2010/07/01 10:59:53] <sijis> Volcane: i have a several modules defined for nodes. i thought it would be smarter to keep in simpler and just include this ssh module that would check for openssh or centrify and do things accordingly
[2010/07/01 11:00:00] @ Quit: mikepea: Quit: mikepea
[2010/07/01 11:00:25] <sijis> i just don't want to have to login to every server, check for the package and then update the node definition
[2010/07/01 11:00:25] <Volcane> sijis: that just provide a chicken and egg for new machines though - you'll always be setting up ssh by hand then
[2010/07/01 11:00:27] <jbooth> sijis: That isn't simpler in the long run
[2010/07/01 11:00:51] <jbooth> sijis: You'll have versions drift or similar and then your code may break or do strange things. Or what if one machine ends up with both installed but only one running?
[2010/07/01 11:01:09] <Volcane> it really is worth the bit of time to ssh for loop over your mmachines to capture this information
[2010/07/01 11:01:26] <Volcane> the alternative is to write a fact AND write the modules, which sound like even more work
[2010/07/01 11:02:20] @ markus joined channel #puppet
[2010/07/01 11:02:38] <sijis> maybe i'm not getting it. but if i define puppet to install either ssh/centrify on the server, it would then 'know' what it has?
[2010/07/01 11:03:58] <Volcane> yes, cos you told it
[2010/07/01 11:04:01] <sijis> jbooth: good point. i've never thought if both were installed on the server. however, centrify requires that openssh-server be removed, otherwise it won't install
[2010/07/01 11:04:04] <Volcane> when you said 'please install openssh'
[2010/07/01 11:04:18] <Volcane> ie. include openssh vs include othersshserver
[2010/07/01 11:04:39] <Volcane> and in openssh you'd set it up with a template
[2010/07/01 11:04:44] @ gmcquillan joined channel #puppet
[2010/07/01 11:04:45] <Volcane> while in othersshserver you wouldnt
[2010/07/01 11:07:05] <sijis> Volcane: that's sorta my point, i don't want to include openssh or include openotherssh. i just wanted to do 'include openssh' and from there. the module would say. ahh. you have openssh, so use this file, otherwise use this other one
[2010/07/01 11:07:19] <Volcane> then make a fact
[2010/07/01 11:07:32] <sijis> the onlyifnot looks interesting though, from what mstanislav mentioned
[2010/07/01 11:07:48] <sijis> Volcane: yeah, i was looking that way. was hoping there was an alternative
[2010/07/01 11:07:57] @ WALoeIII joined channel #puppet
[2010/07/01 11:08:07] <Volcane> sijis: exec's should be avoided. you may as well use big ugly bash scripts
[2010/07/01 11:08:36] <sijis> Volcane: yeah, i know. i still want to avoid it
[2010/07/01 11:08:38] <blkwolf> sijis: why not standardize on one version for all your machines? if you got with ceintrify you can tell the puppet module to ensure that the openssh package is removed before installing the centrify version
[2010/07/01 11:08:43] <Volcane> your problem is extremely common and catered for by puppet if you just used it as intended :)
[2010/07/01 11:08:51] <RS-232> Volcane: don't diss bash :-P
[2010/07/01 11:09:18] <sijis> blkwolf: i can't. some servers aren't on the domain (aka DMZ) and there is no access
[2010/07/01 11:09:23] @ zorzar_ is now known as zorzar
[2010/07/01 11:09:51] @ notbrien_ joined channel #puppet
[2010/07/01 11:09:52] <spinr> can I include a class defintion from a different module?
[2010/07/01 11:10:18] <RS-232> sijis: is the config file named exactly the same for both sshd?
[2010/07/01 11:10:33] <sijis> Volcane: to summarize, you are basically saying, create 2 modules and be done, no?
[2010/07/01 11:10:54] <sijis> RS-232: they are in different path but almost identical
[2010/07/01 11:10:58] @ Quit: markus: Read error: Connection reset by peer
[2010/07/01 11:11:04] <RS-232> sijis: ... because if they look for other locations or names, you could just provide both config files, and the starting sshd would find out itself
[2010/07/01 11:11:21] <Volcane> sijis: think of it from the point of view of a clean box, if you wanted to do a lot of manual work to get it to a state where you can start using puppet - you'd still want to 2 modules but then you can have a fact to do the right thing
[2010/07/01 11:11:24] @ Quit: jaredrhine: Ping timeout: 265 seconds
[2010/07/01 11:11:37] @ markus joined channel #puppet
[2010/07/01 11:11:45] @ Quit: notbrien: Ping timeout: 240 seconds
[2010/07/01 11:11:45] @ notbrien_ is now known as notbrien
[2010/07/01 11:11:55] <Volcane> sijis: but if you think of a blank box, and you want to put some software on it, somewhere a list needs to exist and somewhere a set of instructions.
[2010/07/01 11:11:59] <Volcane> sijis: puppet is that somewhere
[2010/07/01 11:12:31] <Volcane> sijis: so the more information about nodes are in the puppetmaster, the closer you can get to a point where from base OS to 100% working you dont need to do anything but run puppet
[2010/07/01 11:12:41] @ ajbourg joined channel #puppet
[2010/07/01 11:12:48] <sijis> RS-232: the names ofthe file is sshd_config
[2010/07/01 11:13:08] <Volcane> sijis: as for 2 modules, on if you're configuring a and b, you should have an a and b module else its just too confusing. writing modules is trivial - there is even a thing called scaffold from jamesturnbull that does all the hard work for you
[2010/07/01 11:14:15] <RS-232> sijis: well, if opensshd looks for it in /etc/ssh/sshd_config and the 3rd party server starts looking elsewhere (for example /opt/BigCompany/sshd/sshd_config ) then there is no problem: make no template and provide both config files using source => "puppet:///..."
[2010/07/01 11:14:38] <RS-232> it's not pretty, but it's easy
[2010/07/01 11:15:05] <Volcane> you can also make an abstraction - say a module called ssh, which expects a varialbe $ssh_type = openssh or other
[2010/07/01 11:15:06] <sijis> RS-232: so if it matches on of those paths, it will use that template?
[2010/07/01 11:15:19] <Volcane> based on the varialbe it will include the right module for you who will then be used to configure ssh
[2010/07/01 11:15:19] @ Quit: kambiz: Excess Flood
[2010/07/01 11:15:35] <Volcane> but as you're thinking writing 2 modules is too much work, 3 is probably an impossiblity
[2010/07/01 11:15:36] @ kambiz joined channel #puppet
[2010/07/01 11:15:58] <sijis> Volcane: i just really wanted to do 1 module.
[2010/07/01 11:16:06] @ ohadlevy joined channel #puppet
[2010/07/01 11:16:11] <Volcane> sijis: well no1 says you have to listen to us :)
[2010/07/01 11:16:16] @ agagag joined channel #puppet
[2010/07/01 11:16:16] @ Quit: markus: Ping timeout: 260 seconds
[2010/07/01 11:16:32] <sijis> Volcane: haha. but you guys have more experience than me.
[2010/07/01 11:16:39] <RS-232> sijis: no, with the source parameter you provide the file as it is. it doesn't use template.
[2010/07/01 11:16:39] <Volcane> sijis: and my solution can be 1 module. ssh::openssh and ssh::other
[2010/07/01 11:16:42] <sijis> and its good ot get some feedback on ideas/approaches to solutions
[2010/07/01 11:16:55] <blkwolf> sijis: I run into the same kind of problem with my dmz servers. what I do is create a seperate class in my template file for those locations and then modify each module if needed based on that: http://pastebin.com/A9zT5XfT
[2010/07/01 11:16:58] <Volcane> include ssh will look for this magic variable, and then include "ssh::$ssh_type"
[2010/07/01 11:19:37] <RS-232> sijis: besides puppet, can both sshd packages exist on the same machine, without conflicting files, so that you could start one, stop it, and start the other? If so, then there is no need to tell them apart, and you can just treat them as two packages that have nothing to do with eachother.
[2010/07/01 11:20:15] <RS-232> and you can provide both config files on all machines.
[2010/07/01 11:20:20] <sijis> RS-232: only one or the other could exist
[2010/07/01 11:20:43] <RS-232> sijis: ok, there goes my quick-n-dirty solution
[2010/07/01 11:20:50] <sijis> RS-232: :)
[2010/07/01 11:20:55] @ jdcasey joined channel #puppet
[2010/07/01 11:21:17] <RS-232> sijis: but I have another one:
[2010/07/01 11:21:22] <sijis> blkwolf: i like your idea... similar to Volcane's sshd::openssh, sshd::3rdparty
[2010/07/01 11:22:06] <joe-mac> what does the pay-for sshd give you?
[2010/07/01 11:22:16] @ Quit: jdcasey: Remote host closed the connection
[2010/07/01 11:22:17] <blkwolf> sijis: http://pastebin.com/Fn2qb1 that's the rsyslog module. then in your node just include either dmzserver or baseserver
[2010/07/01 11:22:42] <RS-232> sijis: provide /etc/ssh/sshd_config.openssh and /etc/ssh/sshd_config.3rdparty, and maintain a symlink /etc/ssh/sshd_config to the one you want to use.
[2010/07/01 11:22:56] <sijis> blkwolf: pasteID expired/deleted?
[2010/07/01 11:22:59] @ lak joined channel #puppet
[2010/07/01 11:23:12] <blkwolf> http://pastebin.com/Fn2qb1eR
[2010/07/01 11:23:13] <blkwolf> woops
[2010/07/01 11:23:16] <RS-232> as you set up the sshd package manually anyway, you can easily set up the symlink then.
[2010/07/01 11:23:44] @ mikepea joined channel #puppet
[2010/07/01 11:24:09] <sijis> joe-mac: provides AD authentication and some GPO type functionality
[2010/07/01 11:24:17] <joe-mac> o i c
[2010/07/01 11:24:34] <RS-232> sijis: but after about a year, you'll regret that solution and wish you would have listened to the people here who tell you to use a real solution :-)
[2010/07/01 11:24:40] <sijis> im' tyring to remove the GPO type functionality, since puppet gives me more flexibility
[2010/07/01 11:24:53] <sijis> and a way to centralize it in 1 location
[2010/07/01 11:25:20] <sijis> RS-232: haha. we've had it for 2 yrs. only been playing with puppet for ~4 months
[2010/07/01 11:26:28] <sijis> blkwolf: yeah, i may dome soething liek that.
[2010/07/01 11:26:33] <sijis> thanks
[2010/07/01 11:26:37] @ Quit: ohadlevy: Ping timeout: 240 seconds
[2010/07/01 11:26:50] <blkwolf> I think something like this should work for the centris part: http://pastebin.com/p8YmziMs though I'm sure someone can correct me if my syntax is wrong
[2010/07/01 11:27:09] @ markus joined channel #puppet
[2010/07/01 11:27:09] @ bjaspan_ joined channel #puppet
[2010/07/01 11:28:03] <sijis> blkwolf: then the class ssh:dmz would have the opposite.
[2010/07/01 11:28:34] @ Quit: bjaspan: Ping timeout: 240 seconds
[2010/07/01 11:28:34] @ bjaspan_ is now known as bjaspan
[2010/07/01 11:28:46] <blkwolf> ssh:dmz should only need "openssh-server": ensure => installed I'm assuming you don't have centrist installed on those servers
[2010/07/01 11:29:13] <sijis> i don't
[2010/07/01 11:29:27] @ ohadlevy joined channel #puppet
[2010/07/01 11:29:46] <sijis> thanks all for the tips/suggestion/help.
[2010/07/01 11:29:59] <sijis> i gotta step away for a bit.
[2010/07/01 11:34:14] @ plathrop is now known as plathrop-away
[2010/07/01 11:35:56] <dan__t> hrm can I do an if defined(Class["classname"]) inside a template?
[2010/07/01 11:37:13] <jbooth> dan__t: In general yes you can accomplish that, but you'd need to use ruby to do so.
[2010/07/01 11:37:22] <dan__t> damnit.
[2010/07/01 11:37:22] <jbooth> the DLS defined() isn't straight-available as ruby.
[2010/07/01 11:37:31] <dan__t> Fine, I'll just define a bool in the class.
[2010/07/01 11:37:38] @ _lucid joined channel #puppet
[2010/07/01 11:37:45] <jbooth> Shrug, just peek inside the defined.rb and see how they do it
[2010/07/01 11:37:48] <jbooth> It isn't likely to be hard
[2010/07/01 11:37:50] <ohadlevy> dan__t: maybe you can check for tags
[2010/07/01 11:38:20] <ohadlevy> dan__t: e.g. if tags.include("classname") ...
[2010/07/01 11:38:34] <dan__t> hmmm
[2010/07/01 11:38:38] <dan__t> I'm not familiar with that.
[2010/07/01 11:40:19] @ robinbowes_nb joined channel #puppet
[2010/07/01 11:40:45] <_lucid> A node is getting: "err: Could not retrieve catalog from remote server: certificate verify failed" ... i think the certs are different ... i am looking for a way to remove/clear/rebuild them on the n
[2010/07/01 11:40:50] <_lucid> n = node
[2010/07/01 11:42:46] @ Quit: mstanislav: Quit: leaving
[2010/07/01 11:42:52] <jbooth> Nuke /var/lib/puppet/ssl/
[2010/07/01 11:42:56] <jbooth> it'll regenerate
[2010/07/01 11:42:58] @ mstanislav joined channel #puppet
[2010/07/01 11:43:14] <jbooth> You may also need to puppetca --clean on the server against that node
[2010/07/01 11:43:32] <jbooth> alternately worth considering: date is sane on both client/server?
[2010/07/01 11:43:37] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2010/07/01 11:43:53] @ Quit: alban2: Ping timeout: 260 seconds
[2010/07/01 11:46:26] @ Quit: tecto: Quit: tecto
[2010/07/01 11:47:25] @ alban2 joined channel #puppet
[2010/07/01 11:47:27] @ alban21 joined channel #puppet
[2010/07/01 11:50:25] @ Quit: ohadlevy: Ping timeout: 260 seconds
[2010/07/01 11:51:33] @ Quit: rcrowley: Quit: rcrowley
[2010/07/01 11:52:16] @ Quit: lak: Quit: lak
[2010/07/01 11:56:02] <_lucid> jbooth: check the date. there was no ssl in /var/lib/ssl ... did the puppetca --clean for that node ... ty .. i am thinking the ssl might be in a different location, the node is using a gem... doing a find now.
[2010/07/01 11:57:02] @ Quit: alban2: Quit: Leaving.
[2010/07/01 11:59:36] <_lucid> jbooth: am i looking for .pem files?
[2010/07/01 11:59:49] @ Quit: hexa: Ping timeout: 245 seconds
[2010/07/01 12:00:03] <jbooth> /var/lib/puppet
[2010/07/01 12:00:08] <jbooth> not /var/lib/ssl
[2010/07/01 12:00:17] <jbooth> Hmm
[2010/07/01 12:00:21] <jbooth> /var/puppet/ssl maybe?
[2010/07/01 12:00:40] <mackn> older versions used /var/puppet if i remember right
[2010/07/01 12:00:42] <jbooth> alternately just run puppetd --generate and grep for ssl
[2010/07/01 12:01:05] <jbooth> mackn: Current versions still do, it is just everyone who packages it resets that to be /var/lib/puppet like it should be for FHS
[2010/07/01 12:01:11] <jbooth> (at least under linux)
[2010/07/01 12:01:14] <mackn> ah
[2010/07/01 12:01:31] <mackn> maybe older packages didn't do that then...
[2010/07/01 12:01:32] @ toi joined channel #puppet
[2010/07/01 12:01:34] <mackn> heh
[2010/07/01 12:01:53] <mackn> is this on the puppetmaster or client? i'm too lazy to read scrollback
[2010/07/01 12:02:49] <_lucid> test
[2010/07/01 12:02:50] <mackn> ssl stuff on the master is stored in /etc/puppet/ssl
[2010/07/01 12:03:04] <_lucid> this is on a node
[2010/07/01 12:03:14] <mackn> ok.. i guess i'll read scrollback..
[2010/07/01 12:03:26] @ nick_ joined channel #puppet
[2010/07/01 12:03:59] <_lucid> ah.. the home dir for the user has .puppet/ssl
[2010/07/01 12:04:01] @ nick_ is now known as Guest64255
[2010/07/01 12:04:07] <mackn> what user
[2010/07/01 12:04:16] <mackn> that's wacky
[2010/07/01 12:04:17] <mackn> heh
[2010/07/01 12:04:38] @ Quit: bug: Quit: bug
[2010/07/01 12:05:00] @ Guest64255 left channel #puppet ()
[2010/07/01 12:06:18] @ tecto joined channel #puppet
[2010/07/01 12:06:18] @ Quit: tecto: Changing host
[2010/07/01 12:06:18] @ tecto joined channel #puppet
[2010/07/01 12:06:30] <jbooth> Yeah puppet having a user-level fall back at all is strange to me
[2010/07/01 12:06:41] <jbooth> I mean I guess you could use it to configure your account too, but...
[2010/07/01 12:06:41] <_lucid> mackn: i am not certain. but the file ssl file location could be because of the node using a gem
[2010/07/01 12:07:22] <_lucid> jbooth: the cert verify failed error message went away
[2010/07/01 12:07:31] <_lucid> after i cleared the ssl dir .. .ty
[2010/07/01 12:10:53] <mackn> like magic
[2010/07/01 12:11:37] <jbooth> SSL working is always like magic.
[2010/07/01 12:12:10] <hMz> anyone faimliar with this one?
[2010/07/01 12:12:11] <hMz> err: Could not call: undefined method `to_sym' for ["production", "production"]:Array
[2010/07/01 12:12:54] @ Quit: bjaspan: Remote host closed the connection
[2010/07/01 12:12:59] @ bjaspan joined channel #puppet
[2010/07/01 12:13:17] <_lucid> --sign the node on the server .... now the node is getting err: Could not request certificate: Connection refused - connect(2
[2010/07/01 12:14:52] @ kaptk2 joined channel #puppet
[2010/07/01 12:15:14] <agaffney> can a subclass set variables in the parent class?
[2010/07/01 12:16:49] @ Quit: robinbowes_nb: Ping timeout: 264 seconds
[2010/07/01 12:16:57] <jbooth> hMz: Pastie the blurb with ["prod","prod"]?
[2010/07/01 12:17:25] <jbooth> agaffney: I don't think you can do that reliably
[2010/07/01 12:17:53] <jbooth> agaffney: But in general I try to avoid that becuase it ends up in variable-scoping-purgatory.
[2010/07/01 12:19:29] @ robinbowes_nb joined channel #puppet
[2010/07/01 12:19:44] <mackn> _lucid: is this a new install of master and node? or did you have it running previously
[2010/07/01 12:20:19] <_lucid> mackn: its a new master ... old node.
[2010/07/01 12:20:24] <hMz> jbooth: thats the only relative line in the log
[2010/07/01 12:20:45] <mackn> i think he wants the actual manifest lines
[2010/07/01 12:20:53] <hMz> i dont know whats spitting that out
[2010/07/01 12:20:57] <hMz> it showed up after upgrading to 0.25.5
[2010/07/01 12:21:01] <agaffney> jbooth: yeah, I know, but it's the only "sane" way to do what I'm thinking
[2010/07/01 12:21:02] <hMz> i'm not using environments at all
[2010/07/01 12:21:07] <jbooth> I indeed mean the actual manifest lines
[2010/07/01 12:21:15] <hMz> and i have 30klines of manifests ;P
[2010/07/01 12:21:27] <mackn> both client and master upgraded to 25.5?
[2010/07/01 12:21:35] <jbooth> hMz: Does any mention production in an array like that? Grep it.
[2010/07/01 12:21:54] <hMz> mack: 0.25 server/0.24.8 client. doing the staggered upgrade now
[2010/07/01 12:21:58] <mackn> nod
[2010/07/01 12:22:10] <mackn> hrmm
[2010/07/01 12:23:01] @ bug joined channel #puppet
[2010/07/01 12:23:13] <hMz> grepping for an array or just "production" ?
[2010/07/01 12:23:22] <mackn> i'd just grep for production
[2010/07/01 12:23:30] <hMz> kuz i have zero arrays with production in it
[2010/07/01 12:23:38] <mackn> do you use external nodes
[2010/07/01 12:23:41] <mackn> or...
[2010/07/01 12:23:42] <hMz> ldap
[2010/07/01 12:24:01] <hMz> although.
[2010/07/01 12:24:04] <hMz> good call
[2010/07/01 12:24:22] <hMz> ok, nothing has the environment attribute set (whew)
[2010/07/01 12:24:28] <mackn> heh
[2010/07/01 12:25:17] <hMz> so the only thing with production in it are resource names
[2010/07/01 12:25:34] <hMz> i have a define with the name "production" for my puppet::server setup
[2010/07/01 12:25:55] <hMz> and a case that utilizes that to setup some directory information
[2010/07/01 12:25:57] @ mmcgrath joined channel #puppet
[2010/07/01 12:26:02] <mackn> which version of ruby are you running out of curiosity
[2010/07/01 12:26:18] <hMz> 1.8.7p22
[2010/07/01 12:27:13] <jbooth> And you get that error on the client?
[2010/07/01 12:27:54] <jbooth> Grep for production against your client's .yaml catalog wherever it is in /var/lib/puppet/...
[2010/07/01 12:27:59] <jbooth> I know it moved between 0.24 and 0.25
[2010/07/01 12:28:50] <mmcgrath> Is there anything like $libdir in puppet that I can reference /usr/lib/ vs /usr/lib64 automatically without having to do if's based on arch?
[2010/07/01 12:30:16] <hMz> jbooth: thats in the puppetmaster log
[2010/07/01 12:30:29] <hMz> jbooth: i grep'd against the manifest src
[2010/07/01 12:30:35] @ TREllis joined channel #puppet
[2010/07/01 12:30:41] <hMz> i can check the client yaml file
[2010/07/01 12:31:08] <hMz> there all i see is a bunch of "environment: &id001 production"
[2010/07/01 12:31:19] @ Quit: giskard: Remote host closed the connection
[2010/07/01 12:31:33] <hMz> oh wow
[2010/07/01 12:31:57] <hMz> some of these files actually have environment defined all weird with spaces.
[2010/07/01 12:35:06] <_lucid> hmmm... passed the connection refused. puppetmasterd was not running... doh... now the node gets err: Could not retrieve catalog from remote server: hostname was not match with the server certificate
[2010/07/01 12:35:43] <mackn> whats the 'hostname' of the master?
[2010/07/01 12:35:49] <mackn> and what name are you using to connect to the master
[2010/07/01 12:35:52] <mackn> (is there a cname)
[2010/07/01 12:36:10] <mackn> basically does the ssl cert on the master have the ccoorect name
[2010/07/01 12:36:12] <_lucid> i've not defined a cname... i put the host name in /etc/hosts
[2010/07/01 12:36:51] <_lucid> looking at the ssl cert on the master now...
[2010/07/01 12:37:06] <mackn> the name you use to connect to the puppetmaster should match the name on the cert
[2010/07/01 12:37:41] <jbooth> hMz: smells fishy, but no instant conclusion here. Maybe report it as an issue if you can pin enough down as to what's causing it.
[2010/07/01 12:37:55] @ ckauhaus joined channel #puppet
[2010/07/01 12:37:58] <jbooth> hMz: For kicks, put a client in a non-default environment (aka: not production) and see if you get duplicated other envs
[2010/07/01 12:38:25] @ Quit: TREllis: Quit: leaving
[2010/07/01 12:39:34] @ Quit: \ask: Remote host closed the connection
[2010/07/01 12:39:56] <_lucid> ugg... looking for the cert on puppetmaster
[2010/07/01 12:40:07] <mackn> /etc/puppet/ssl probably
[2010/07/01 12:40:15] <mackn> or whrever your puppet.conf is
[2010/07/01 12:40:28] @ \ask joined channel #puppet
[2010/07/01 12:40:57] <_lucid> puppet.conf... ty .... /var/lib/puppet/ssl
[2010/07/01 12:41:12] @ rcrowley joined channel #puppet
[2010/07/01 12:41:22] <mackn> oh right.. i moved all of mine in to /etc/puppet cuz of svn hah
[2010/07/01 12:42:51] @ Quit: bug: Quit: bug
[2010/07/01 12:43:28] <pheezy> puppet --configprint ssldir will always tell you where it is
[2010/07/01 12:44:22] @ Quit: rcrowley: Client Quit
[2010/07/01 12:44:57] @ OpenMedia joined channel #puppet
[2010/07/01 12:47:34] @ bgupta joined channel #puppet
[2010/07/01 12:48:59] <_lucid> mackn: cert name does not match... ty
[2010/07/01 12:52:14] <hMz> so i have duplicate everything
[2010/07/01 12:52:17] <hMz> in those yamls
[2010/07/01 12:52:18] @ ggh joined channel #puppet
[2010/07/01 12:52:21] <hMz> facts and all
[2010/07/01 12:54:01] @ Quit: lutter: Quit: Leaving.
[2010/07/01 12:56:13] @ Quit: mattock: Ping timeout: 248 seconds
[2010/07/01 12:56:57] @ Transformer joined channel #puppet
[2010/07/01 12:57:57] @ Quit: blkwolf: Ping timeout: 252 seconds
[2010/07/01 12:59:12] @ jmd_ joined channel #puppet
[2010/07/01 12:59:55] @ Quit: Transformer: Excess Flood
[2010/07/01 13:00:32] @ Quit: jmd_: Client Quit
[2010/07/01 13:01:18] @ FlappyTardiOs joined channel #puppet
[2010/07/01 13:01:34] @ huun_avaFlappy joined channel #puppet
[2010/07/01 13:01:38] <FlappyTardiOs> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: Second-best sex? Tell that to a Linux programmer who's got a slice of pizza in one hand, his hideously empurpled member in the other and a Natalie Portman tribute website firmly plastered across Firefox...
[2010/07/01 13:01:38] @ Cmonk_ittscoo joined channel #puppet
[2010/07/01 13:02:00] @ os_roc joined channel #puppet
[2010/07/01 13:02:02] @ tabnix joined channel #puppet
[2010/07/01 13:02:03] <Cmonk_ittscoo> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: Linux is illegal! You are breaking the law, and hurting yourself and your family with your ILLEGAL SOFTWARE. Your ip has been noted and is being forwarded to the SPA with a reccomendation that they investigate your CRIMINAL ACTIVITY. Please destroy all your unpatriotic linux software before you are arrested!
[2010/07/01 13:02:08] <huun_avaFlappy> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: HEY BABE WHO WOULD WIN PIRATES.... OR NINJA??? ALSO NOTE I DID NOT USE AN S BECAUSE NINJA IS JAPANESE AND THEY DONT HAVE PLURALS DO YOU LIKE JAPAN
[2010/07/01 13:02:13] <os_roc> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: I'm not trying to brag or anything, but yeah, I smoke weed. I don't give a damn what anyone says regarding marijuana laws. Go ahead, trace my ip. Tell the cops where I live, I should be able to put whatever i want in my body, may it be marijuana, a 10 year olds childs semi erect penis, or cocaine. The government doesn't have any right telling us what is "ok" to consume.
[2010/07/01 13:02:14] <tabnix> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: Haha. Whatever. I'm in an animation college, and when I was in high school girls used to BEG for picture from me, and it was the most attention I got in school. Now everyone draws so it's not a big deal. If someone compliments you, take it, because chances are I'm better than you, and would mock you when you left the room.
[2010/07/01 13:02:32] <eric0> oboy.
[2010/07/01 13:02:43] @ FunNuour joined channel #puppet
[2010/07/01 13:02:53] <thekad> wtf?
[2010/07/01 13:03:19] <jhunter> do current versions of puppet support an '--enablerepo=foo' contruct when defining a package?
[2010/07/01 13:03:21] <jbooth> Smells like some noob scriptkiddie testing their botnet.
[2010/07/01 13:03:26] * jhelwig sighs...
[2010/07/01 13:03:27] <jhunter> heh yep
[2010/07/01 13:03:32] @ OqpnsTardiharry joined channel #puppet
[2010/07/01 13:03:46] @ plathrop-away is now known as plathrop
[2010/07/01 13:03:49] <OqpnsTardiharry> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: girl, you must be herbal essences because masturbating with you is a totally organic experience
[2010/07/01 13:04:00] @ nodetardi joined channel #puppet
[2010/07/01 13:04:10] @ Killedouter_cmpp joined channel #puppet
[2010/07/01 13:04:11] <Killedouter_cmpp> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: Also, what’s with posting your own blog to digg? “Hey, I shamlessly advertise my own ridiculous existance on the intarweb! Please blogroll me and dl my podcast!”
[2010/07/01 13:04:17] @ Alabama_Moir joined channel #puppet
[2010/07/01 13:04:18] <Alabama_Moir> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: 420 BONG TOKE PARTY WEED BOB MARLEY SPLIFF CHEEBA TOKE BONG MARLEY JOINT WE$D YEAH BOWL PACK WEED SMOKE YEAH NIGGER LEGALIZE SMOKE POT DANK WEED BUDS FRUIT OF LIFE KOTTONMOUTH KINGZZZZZZ BONGHITS ONEHITS DUGOUT BUBBLER STEAMROLLER ZIG-ZAG PHAT BAG SINSEMILLA HEMP SMOKE GRASS GAS OR ASS NOONE RIDES FOR FREE PAPERZ LIGHTARZ LEGALIZ0RZ WHIPITS
[2010/07/01 13:04:29] <nodetardi> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: Anyone who says "F/OSS" is a tool. Free software hates Open Source because Open Source is the little sell out movement that doesn't give a fuck about the ideals. It's like True vs. Nu metal. Stop associating Free Software even remotely with Open Source because those of us in the Free Software movement probably hate you.
[2010/07/01 13:04:33] @ tabbysuns joined channel #puppet
[2010/07/01 13:04:34] <jhunter> ew
[2010/07/01 13:05:35] @ outeriejej joined channel #puppet
[2010/07/01 13:05:47] @ pearlamg joined channel #puppet
[2010/07/01 13:05:48] <pearlamg> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: i claim to be liberal, and for the most part part i am...but i can't help it that i just do not like black people. i want to but whenever i see one on the street or something i can only think "Nigger!" i want to like them and every once in awhile i meet a nice black person but most of them just seem to be stupid niggers.
[2010/07/01 13:06:05] @ Quit: FlappyTardiOs: Ping timeout: 252 seconds
[2010/07/01 13:06:10] <outeriejej> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: Michael Jackson touched my junk liberally. he slept with me in bed and he couldnt keep his offensive hands off of me. he was performing many red flag touches. i couldnt believe what the fuck was going on. i told michael the city would not approve of the King of Pop touching an underage kid in bed
[2010/07/01 13:06:12] <tabbysuns> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: your fuckin gay you should be shot and put in a gas chamber you fuckin peice of trailer trash....you put your moms dick back in your mouth and shut the fuck up the song fuckin rules
[2010/07/01 13:06:27] @ Quit: os_roc: Ping timeout: 252 seconds
[2010/07/01 13:06:27] @ Quit: tabnix: Ping timeout: 252 seconds
[2010/07/01 13:06:27] @ Quit: Cmonk_ittscoo: Ping timeout: 252 seconds
[2010/07/01 13:06:27] @ Quit: huun_avaFlappy: Ping timeout: 252 seconds
[2010/07/01 13:06:30] @ Quit: yannL: Read error: Connection reset by peer
[2010/07/01 13:07:11] @ Quit: FunNuour: Ping timeout: 252 seconds
[2010/07/01 13:08:17] @ Quit: OqpnsTardiharry: Ping timeout: 252 seconds
[2010/07/01 13:08:39] @ Quit: Alabama_Moir: Ping timeout: 252 seconds
[2010/07/01 13:08:39] @ Quit: Killedouter_cmpp: Ping timeout: 252 seconds
[2010/07/01 13:08:58] @ lak joined channel #puppet
[2010/07/01 13:09:01] @ Quit: nodetardi: Ping timeout: 252 seconds
[2010/07/01 13:10:07] @ Quit: pearlamg: Ping timeout: 252 seconds
[2010/07/01 13:10:29] @ Quit: outeriejej: Ping timeout: 252 seconds
[2010/07/01 13:10:29] @ Quit: tabbysuns: Ping timeout: 252 seconds
[2010/07/01 13:10:54] @ Quit: ggh: Ping timeout: 240 seconds
[2010/07/01 13:11:16] @ TabbyOuter joined channel #puppet
[2010/07/01 13:11:18] <TabbyOuter> !ops | ``BIKCMP` has` a` mess age` for `YOU-!: low level format your hdd at once before you lose data
[2010/07/01 13:14:13] <jhelwig> This only happening here, or is anyone seeing the spam in other channels, too? (I'm only noticing it here, out of the channels I'm in.)
[2010/07/01 13:14:20] <Whoop> Only here
[2010/07/01 13:14:28] <Whoop> Assholes
[2010/07/01 13:14:32] <pheezy> anyone know if you can have different external node classifiers per environment
[2010/07/01 13:14:33] @ Quit: \ask: Remote host closed the connection
[2010/07/01 13:15:32] @ Quit: pheezy: Remote host closed the connection
[2010/07/01 13:15:37] @ Quit: TabbyOuter: Ping timeout: 252 seconds
[2010/07/01 13:16:34] @ pheezy joined channel #puppet
[2010/07/01 13:21:53] <|Mike|> wtf
[2010/07/01 13:22:35] <|Mike|> O well, lets ignoer messages containing '!ops'
[2010/07/01 13:23:53] @ jdcasey joined channel #puppet
[2010/07/01 13:25:18] @ \ask joined channel #puppet
[2010/07/01 13:25:49] @ lutter joined channel #puppet
[2010/07/01 13:25:51] @ thrain][ joined channel #puppet
[2010/07/01 13:27:03] @ Mode +o Volcane by ChanServ
[2010/07/01 13:27:24] <Volcane> if u see it again and i am not paying attention, pls priv msg me and i'll sort it out
[2010/07/01 13:28:49] <|Mike|> Volcane: okay.
[2010/07/01 13:38:13] @ Quit: ckauhaus: Quit: Leaving.
[2010/07/01 13:38:41] @ Quit: robinbowes_nb: Ping timeout: 260 seconds
[2010/07/01 13:38:50] <gepetto> ::redmine:: Wiki edit: Release_Notes (#22) @ http://projects.reductivelabs.com/projects/1/wiki/Release_Notes?version=22 (by James Turnbull)
[2010/07/01 13:40:08] @ Quit: tecto: Quit: tecto
[2010/07/01 13:42:33] @ Quit: mboyd: Ping timeout: 240 seconds
[2010/07/01 13:53:24] @ rmayr joined channel #puppet
[2010/07/01 13:54:11] <_lucid> are modules server or node side?
[2010/07/01 13:54:28] <mackn> ?
[2010/07/01 13:54:32] @ nottings joined channel #puppet
[2010/07/01 13:54:46] <_lucid> i mean where do they reside.. where are they installed?
[2010/07/01 13:55:47] @ bug joined channel #puppet
[2010/07/01 13:57:24] @ Quit: labrown: Quit: Leaving
[2010/07/01 13:58:09] <geekatcmu> server
[2010/07/01 13:58:23] @ Quit: reyjrar: Quit: Leaving.
[2010/07/01 13:58:36] <geekatcmu> However, any custom facts/plugins need to propagate to the clients. Usually.
[2010/07/01 13:58:45] @ Quit: rmayr: Ping timeout: 260 seconds
[2010/07/01 13:59:27] @ Quit: ajbourg: Quit: ajbourg
[2010/07/01 14:00:23] @ rmayr joined channel #puppet
[2010/07/01 14:01:42] <nottings> Anyone know of a way to rake reports for dashboard by some means other than cronjob?
[2010/07/01 14:02:11] <nottings> I'm managing about 500 servers and raking all those reports takes about 25 minutes of every hour
[2010/07/01 14:02:23] <joe-mac> rake reports? i thought you set reports = dashboard and it just works?
[2010/07/01 14:02:27] <jamesturnbull> nottings: the report processor not working for you?
[2010/07/01 14:02:33] <nottings> I guess not...
[2010/07/01 14:02:44] <nottings> if I disable the cron, dash board doesn't ever get updated
[2010/07/01 14:02:46] <Volcane> nottings: you can set your nodes to send them directly to the server
[2010/07/01 14:02:57] <Volcane> nottings: ie. post them str8 into dashboard
[2010/07/01 14:03:24] <jamesturnbull> nottings: see the section about Live report aggregation in the README
[2010/07/01 14:03:30] <jamesturnbull> nottings: or here - http://github.com/reductivelabs/puppet-dashboard
[2010/07/01 14:03:31] <nottings> well, I tried libdir=/opt/puppet-dashboard/lib/puppet
[2010/07/01 14:03:34] <geekatcmu> That never worked for me, probably because I'm using Passenger and HTTPS.
[2010/07/01 14:03:37] <nottings> and started master with --reports dashboard
[2010/07/01 14:03:41] <nottings> but that didn't help
[2010/07/01 14:03:42] <geekatcmu> I gave up and switched to foreman.
[2010/07/01 14:03:57] @ Quit: MPSimmon1: Quit: Leaving.
[2010/07/01 14:04:52] <jamesturnbull> nottings: if that doesn't work you can symlink the report processor in the dashboard to the reports directory in Puppet
[2010/07/01 14:05:46] <nottings> what is the name of the report processor?
[2010/07/01 14:05:50] <mackn> i have reports = puppet_dashboard and it works like magic
[2010/07/01 14:06:16] <nottings> mackn: really!? I get an error when I try that
[2010/07/01 14:06:44] <jamesturnbull> nottings: puppet_dashboard.rb
[2010/07/01 14:06:52] <jamesturnbull> nottings: then add reports = puppet_dashboard
[2010/07/01 14:07:20] * jamesturnbull notes in 2.6 there is an inbuilt HTTP reports processor that will make this way easier
[2010/07/01 14:07:37] <nottings> nice, i'll give this a try. thanks
[2010/07/01 14:07:44] <joe-mac> jamesturnbull: what do you mean?
[2010/07/01 14:07:48] <mackn> i just threw the puppet_dashboard.rb file under puppet/resports/
[2010/07/01 14:07:49] <joe-mac> by inbuild HTTP procesotr?
[2010/07/01 14:07:51] <mackn> reports too
[2010/07/01 14:08:02] <mstyne> jamesturnbull: is 'Statler' a holding pen for things to be completed? or does that represent an upcoming release
[2010/07/01 14:08:11] <geekatcmu> each dashboard-like product won't have to re-invent the wheel for loading in reports.
[2010/07/01 14:08:40] <joe-mac> o i c
[2010/07/01 14:08:51] <jamesturnbull> joe-mac: what geekatcmu said - basically it makes an HTTP POST as YAML of the report data
[2010/07/01 14:11:38] <nottings> symlinked puppet_dashboard and added puppet_dashboard to reports = now I'm getting "No report named 'puppet dashboard'
[2010/07/01 14:11:41] @ Quit: docelic_: Ping timeout: 265 seconds
[2010/07/01 14:12:39] <jamesturnbull> mstyne: it's a future release - probably 2.7
[2010/07/01 14:12:56] <jamesturnbull> mstyne: though some tickets will certainly be actioned earlier in the 2.6.x releases
[2010/07/01 14:13:03] <mstyne> groovy, thanks
[2010/07/01 14:13:16] <jamesturnbull> nottings: symlinked puppet_dashboard.rb?
[2010/07/01 14:13:30] <nottings> yes
[2010/07/01 14:13:41] @ Quit: gebi: Ping timeout: 260 seconds
[2010/07/01 14:13:47] <jamesturnbull> nottings: restart puppet masteer?
[2010/07/01 14:13:51] <nottings> yep
[2010/07/01 14:13:56] <jamesturnbull> tarnation
[2010/07/01 14:14:02] <jamesturnbull> ReinH: hello?
[2010/07/01 14:14:42] <nottings> lrwxrwxrwx 1 root root 52 Jul 1 16:10 puppet_dashboard.rb -> /opt/puppet-dashboard/lib/puppet/puppet_dashboard.rb
[2010/07/01 14:14:55] <_lucid> geekatcmu: ty
[2010/07/01 14:15:01] <jamesturnbull> nottings: and reports = puppet_dashboard ?
[2010/07/01 14:15:10] <nottings> plus a couple others
[2010/07/01 14:15:31] <nottings> reports = log,store,puppet_dashboard
[2010/07/01 14:15:32] <gepetto> ::redmine:: Wiki edit: Release_Notes (#23) @ http://projects.reductivelabs.com/projects/1/wiki/Release_Notes?version=23 (by James Turnbull)
[2010/07/01 14:16:05] @ fbe joined channel #puppet
[2010/07/01 14:16:06] <nottings> are store and dashboard conflicting perhaps?
[2010/07/01 14:16:15] <jamesturnbull> nottings: shouldn't do - what version?
[2010/07/01 14:16:33] <nottings> 0.25.5
[2010/07/01 14:17:32] @ tecto joined channel #puppet
[2010/07/01 14:18:29] <jamesturnbull> nottings: Let me get ReinH - maybe he knows what's going wrong
[2010/07/01 14:19:16] <mstyne> jamesturnbull: definitely looking forward to that http report type
[2010/07/01 14:19:23] @ Quit: rmayr: Ping timeout: 276 seconds
[2010/07/01 14:19:27] <jamesturnbull> mstyne: yeah me too
[2010/07/01 14:19:31] <mstyne> we're currently doing essentially the same thing with a wonky ruby script I cooked up
[2010/07/01 14:19:35] * mstyne is *not* a ruby dude
[2010/07/01 14:19:42] @ adrian_broher joined channel #puppet
[2010/07/01 14:20:26] * jamesturnbull wasn't a ruby dude but now seems to spend a lot of time writing Ruby code
[2010/07/01 14:20:35] <mstyne> heh
[2010/07/01 14:20:36] * jamesturnbull though the developers laugh at me a ot
[2010/07/01 14:20:43] <jamesturnbull> lot even
[2010/07/01 14:21:10] <mstyne> yeah, I'm sure if anyone with a clue were to check out this custom report there would be much hatorade to be had
[2010/07/01 14:23:10] <jamesturnbull> mstyne: http://pastie.org/1027303
[2010/07/01 14:23:33] <jamesturnbull> mstyne: you can drop that in now - just replace Puppet[:reporturl] with your required URL
[2010/07/01 14:23:57] <mstyne> ha! that's basically my custom report
[2010/07/01 14:24:12] <mstyne> minus a couple implementation specific things
[2010/07/01 14:25:12] @ bjaspan_ joined channel #puppet
[2010/07/01 14:25:24] <mstyne> I don't feel so bad now
[2010/07/01 14:25:52] @ docelic_ joined channel #puppet
[2010/07/01 14:26:59] @ Quit: bjaspan: Ping timeout: 240 seconds
[2010/07/01 14:26:59] @ bjaspan_ is now known as bjaspan
[2010/07/01 14:27:43] @ Quit: bjaspan: Client Quit
[2010/07/01 14:28:33] <ReinH> nottings: hi there
[2010/07/01 14:28:57] <ReinH> nottings: so you're having trouble getting dashboard reporting to work?
[2010/07/01 14:29:50] @ Quit: stefan__: Read error: Connection reset by peer
[2010/07/01 14:30:03] <nottings> ReinH: yes I am
[2010/07/01 14:30:25] @ Quit: nexx: Quit: quit
[2010/07/01 14:30:33] <nottings> I'm getting error report 'puppet_dashboard' not found
[2010/07/01 14:31:16] <nottings> maybe stupid question, or maybe the solution... but does reports = puppet_dashboard go under [puppetmaster] or [puppetd] ?
[2010/07/01 14:34:07] @ Quit: pyco: Quit: Verlassend
[2010/07/01 14:36:16] @ Quit: rsquared: Ping timeout: 264 seconds
[2010/07/01 14:36:48] <ReinH> nottings: puppetmaster
[2010/07/01 14:36:55] @ rcrowley joined channel #puppet
[2010/07/01 14:36:58] <nottings> ok, that's where it is
[2010/07/01 14:37:01] @ Quit: _lucid: Ping timeout: 252 seconds
[2010/07/01 14:37:04] <ReinH> puppetd needs report=true
[2010/07/01 14:37:10] <ReinH> so that it actually sends reports
[2010/07/01 14:37:19] @ Quit: allsystemsarego: Quit: Leaving
[2010/07/01 14:37:20] <ReinH> nottings: but the "report 'puppet_dashboard' not found" is a different error
[2010/07/01 14:37:31] <ReinH> that indicates that it can't find the processor called "puppet_dashboard"
[2010/07/01 14:37:58] <ReinH> which is in a file called lib/puppet/puppet_dashboard.rb and has to be moved into your libdir
[2010/07/01 14:38:21] <ReinH> the easiest way to do it is to symlink it to /var/lib/puppet/reports (assuming your $vardir is the default)
[2010/07/01 14:38:23] <nottings> well, it is already there
[2010/07/01 14:38:29] <ReinH> ah.
[2010/07/01 14:38:31] <ReinH> well then.
[2010/07/01 14:38:34] <nottings> and I also specified libdir = /opt/puppet-dashboard/lib/puppet
[2010/07/01 14:38:59] <ReinH> nottings: I'm afraid that specifying libdir may not work as expected :(
[2010/07/01 14:39:03] <ReinH> I'd recommend leaving libdir alone
[2010/07/01 14:39:07] <nottings> ok
[2010/07/01 14:39:22] <nottings> ...trying again
[2010/07/01 14:39:36] <nottings> same thing
[2010/07/01 14:40:00] @ Quit: kolla: Remote host closed the connection
[2010/07/01 14:41:21] @ Quit: fbe: Quit: Leaving
[2010/07/01 14:41:27] <ReinH> nottings: where are you putting puppet_dashboard.rb (symlinking)?
[2010/07/01 14:42:05] <nottings> in the reports directory
[2010/07/01 14:42:14] <ReinH> nottings: as a sanity check, what else is in there?
[2010/07/01 14:42:36] <nottings> directories for each node containing the reports
[2010/07/01 14:43:18] <Volcane> nottings: full path to 'reports directory' ?
[2010/07/01 14:43:29] <nottings> ' /var/lib/puppet/reports
[2010/07/01 14:44:04] <Volcane> u want /var/lib/puppet/lib/puppet/reports/foo.rb
[2010/07/01 14:44:15] <Volcane> if things are on defaults
[2010/07/01 14:44:44] <Volcane> its totally obvious directory, no1 would get that wrong </sarcasm> :)
[2010/07/01 14:44:46] <nottings> hmmmm.... i definitely dont' have that
[2010/07/01 14:45:36] @ jaredrhine joined channel #puppet
[2010/07/01 14:45:48] <nottings> mv'd symlink per your path and retrying...
[2010/07/01 14:46:04] <Volcane> nottings: basically if libdir in puppet is set to '/var/lib/puppet/lib' then puppet will do "require 'puppet/reports/puppet_dashboard'" which gets appended to the lib directory to make the full path
[2010/07/01 14:46:56] <Volcane> i just put the stuff in the ruby libdir, but i maintain my own rpms so maybe a bit diff
[2010/07/01 14:47:28] @ rsquared joined channel #puppet
[2010/07/01 14:47:45] <nottings> hmmm, i moved the symlink to /var/lib/puppet/lib/puppet/reports, but I'm still getting "no report named 'puppet_dashboard'
[2010/07/01 14:48:11] <nottings> how can I see what puppet thinks is my libdir?
[2010/07/01 14:48:18] @ robinbowes_nb joined channel #puppet
[2010/07/01 14:49:05] <Volcane> puppetmasterd --genconfig|grep libdir
[2010/07/01 14:49:11] <Volcane> as root, on the master
[2010/07/01 14:49:46] <Volcane> ReinH: erm, it does load it from that libdir right? I'm sure ppl here said that
[2010/07/01 14:49:54] <nottings> ok, as you suspected, my libdir is /var/lib/puppet/lib
[2010/07/01 14:50:03] <nottings> still, moving the symlink had no positive effect
[2010/07/01 14:50:13] <Volcane> you restarted the master right?
[2010/07/01 14:50:24] <nottings> yep
[2010/07/01 14:51:40] <nottings> owership of puppet_dashboard.rb is root... should it be puppet instead maybe?
[2010/07/01 14:51:49] <nottings> and I mean the target, no the symlink
[2010/07/01 14:52:07] <mackn> root should work
[2010/07/01 14:52:33] <mackn> assuming it's readable
[2010/07/01 14:52:38] <nottings> yep
[2010/07/01 14:53:18] <pheezy> successful puppet roll out from 0-100 hosts!
[2010/07/01 14:53:26] * mackn claps
[2010/07/01 14:53:30] * pheezy cracks a beer
[2010/07/01 14:53:31] @ radkin joined channel #puppet
[2010/07/01 14:54:05] @ Quit: robinbowes_nb: Ping timeout: 248 seconds
[2010/07/01 14:54:42] @ Quit: radkin: Remote host closed the connection
[2010/07/01 14:55:04] @ robinbowes_nb joined channel #puppet
[2010/07/01 14:57:05] @ fredden joined channel #puppet
[2010/07/01 15:00:06] @ Quit: adrian_broher: Quit: Verlassend
[2010/07/01 15:00:29] @ Quit: lak: Quit: lak
[2010/07/01 15:02:09] @ Quit: notbrien: Quit: notbrien
[2010/07/01 15:02:12] @ Quit: pheezy: Remote host closed the connection
[2010/07/01 15:03:15] @ littleidea joined channel #puppet
[2010/07/01 15:03:35] <nottings> wow id10t error
[2010/07/01 15:03:35] <nottings> thanks for you help guys
[2010/07/01 15:03:45] <nottings> i put the symlik in /var/lib/puppet/lib/puppet/reports/puppet_dashboard instead of /var/lib/puppet/lib/puppet/reports/.
[2010/07/01 15:05:02] <Volcane> nice
[2010/07/01 15:05:21] <nottings> it's working beautifully now though
[2010/07/01 15:05:50] <nottings> might want to add that little tidbit about appending 'puppet/reports/' to the lib dir though ;-) i would have never figured that out
[2010/07/01 15:06:01] <nottings> ** to the documentation that is
[2010/07/01 15:06:42] <nottings> is there anyway to purpge old data from the database? i.e. data that is over 31 days old ? my database is over over 5GB now
[2010/07/01 15:07:01] <nottings> loading the page sometimes takes 5 minutes b/c of all the sql stuff it's doing on the backend
[2010/07/01 15:07:49] <nottings> well, that and I'm sure webrick doesn't help much ;)
[2010/07/01 15:08:15] * Volcane 's only installed dashboard quick enough to notice it wont render right in FF - thats as far as my experience goes, ReinH probably your best bet
[2010/07/01 15:13:42] @ thrain][ left channel #puppet ()
[2010/07/01 15:20:08] <geekatcmu> IIRC, there's a rake task you can run to do that.
[2010/07/01 15:20:18] <geekatcmu> Or am I stuck with my head in Foreman-space?
[2010/07/01 15:20:18] @ rodnet joined channel #puppet
[2010/07/01 15:20:49] @ \ask_ joined channel #puppet
[2010/07/01 15:21:18] @ Quit: rodnet: Client Quit
[2010/07/01 15:22:33] @ Quit: nottings: Quit: Page closed
[2010/07/01 15:25:10] @ Quit: \ask: Ping timeout: 276 seconds
[2010/07/01 15:25:56] @ SpamapS joined channel #puppet
[2010/07/01 15:26:08] <SpamapS> anybody have a good template for haproxy?
[2010/07/01 15:26:34] <ReinH> woops, he left
[2010/07/01 15:26:41] <mackn> heh
[2010/07/01 15:26:50] <ReinH> there's rake reports:purge, and we're also changing the way reports are stored for 1.1
[2010/07/01 15:27:05] <ReinH> (store YAML files as files, not as blob in the db)
[2010/07/01 15:27:07] <SpamapS> or even better, is there somewhere that people share puppet modules/templates/etc ?
[2010/07/01 15:27:07] <ReinH> ugh, blobs :(
[2010/07/01 15:27:22] <ReinH> so 1.1 should have a massive speed-up
[2010/07/01 15:27:41] <ReinH> albeit at the cost of a rather expensive migration run
[2010/07/01 15:28:12] <Volcane> SpamapS: forge.puppetlabs.com
[2010/07/01 15:28:14] <ReinH> SpamapS: forge.puppetlabs.com is the new Puppet module site
[2010/07/01 15:28:15] <ReinH> doh
[2010/07/01 15:28:20] <ReinH> Volcane: too quick for me
[2010/07/01 15:29:16] <SpamapS> ugh
[2010/07/01 15:29:21] <SpamapS> module list sorted by author?
[2010/07/01 15:30:51] <mackn> ^F
[2010/07/01 15:31:09] <Volcane> big search box, top right.
[2010/07/01 15:31:12] <SpamapS> haha
[2010/07/01 15:31:16] <SpamapS> you guys solved my problem totally
[2010/07/01 15:31:17] <SpamapS> ;)
[2010/07/01 15:31:27] <SpamapS> I was more just commenting, like.. who actually would browse by author?
[2010/07/01 15:31:43] <Volcane> yeah its a bit odd :)
[2010/07/01 15:33:38] <SpamapS> ultimately this looks pretty good. :)
[2010/07/01 15:34:08] @ Quit: mfournier: Ping timeout: 252 seconds
[2010/07/01 15:36:52] @ Quit: kaptk2: Quit: Leaving.
[2010/07/01 15:37:45] @ Quit: flakrat: Ping timeout: 240 seconds
[2010/07/01 15:40:32] @ freshtonic joined channel #puppet
[2010/07/01 15:44:21] @ Djelibeybi joined channel #puppet
[2010/07/01 15:44:58] @ giskard joined channel #puppet
[2010/07/01 15:49:33] @ Quit: jab_doa: Quit: Verlassend
[2010/07/01 15:49:40] @ _lucid joined channel #puppet
[2010/07/01 15:57:12] <ReinH> SpamapS: wewt
[2010/07/01 15:57:26] <ReinH> I will pass that on to the developer
[2010/07/01 15:57:30] <ReinH> who is sitting right next to me
[2010/07/01 15:58:37] <gniks> is ever file in manifests that ends in a .pp automatically imported?
[2010/07/01 16:01:15] <Djelibeybi> gniks: no
[2010/07/01 16:02:08] <gniks> k
[2010/07/01 16:04:31] @ Wandrewvious joined channel #puppet
[2010/07/01 16:04:39] @ Quit: Wandrewvious: Client Quit
[2010/07/01 16:06:33] @ Quit: stanlly: Quit: puff
[2010/07/01 16:06:52] @ Quit: jdcasey: Remote host closed the connection
[2010/07/01 16:08:35] @ Quit: WALoeIII: Ping timeout: 276 seconds
[2010/07/01 16:09:03] @ gwar9999 joined channel #puppet
[2010/07/01 16:15:36] @ Quit: Djelibeybi: Quit: Leaving
[2010/07/01 16:17:14] <gwar9999> Hello all... I have a define that populates groups dynamically per host (http://pastie.org/1027435). However, if groups are present the first time puppet runs (that is, $groups = ['foo', 'bar']) the catalog fails to compile. If I remove the $groups the catalog compiles and all is happy. If I then re-add the groups and run puppet the groups are added as expected. It's only the first time puppet runs, when $groups are present that the catalog
[2010/07/01 16:22:10] @ Quit: giskard: Remote host closed the connection
[2010/07/01 16:23:27] <mackn> prolly need to throw a require in there somewhere
[2010/07/01 16:23:56] <mackn> hrmm..
[2010/07/01 16:24:23] <mackn> looking at the pastie
[2010/07/01 16:25:00] <BLZbubba> what is the easiest way to convert the facter uniqueid to hex in a template?
[2010/07/01 16:25:03] <BLZbubba> er
[2010/07/01 16:25:06] <BLZbubba> from hex to base 10
[2010/07/01 16:26:34] @ Quit: rmiller4pi8: Ping timeout: 260 seconds
[2010/07/01 16:27:20] <mackn> number.hex?
[2010/07/01 16:27:35] <mackn> err wait..
[2010/07/01 16:27:45] <mackn> hex to decimal right?
[2010/07/01 16:27:46] <mackn> heh
[2010/07/01 16:28:09] @ ezmobius joined channel #puppet
[2010/07/01 16:30:56] @ tecto_ joined channel #puppet
[2010/07/01 16:30:56] @ Quit: tecto_: Changing host
[2010/07/01 16:30:56] @ tecto_ joined channel #puppet
[2010/07/01 16:31:12] <Volcane> uniqueid.hex
[2010/07/01 16:32:27] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/07/01 16:34:52] @ Mode -o Volcane by Volcane
[2010/07/01 16:42:29] <BLZbubba> uniqueid is already hex, need it to be decimal
[2010/07/01 16:42:45] <BLZbubba> i am using it for the mysql id, but apparently hex works because it seems to start up ok
[2010/07/01 16:43:24] <mackn> yeah .hex converts it from hex
[2010/07/01 16:44:22] <BLZbubba> cool
[2010/07/01 16:44:27] <BLZbubba> is that in the erb file?
[2010/07/01 16:44:38] <BLZbubba> or the puppet class
[2010/07/01 16:44:42] <BLZbubba> i'm guessing erb
[2010/07/01 16:44:45] <mackn> it's ruby so
[2010/07/01 16:46:06] <gwar9999> I wonder if I can wrap my pastie snippet that checks for the existence of a dummy file (that I can place down when puppet is installed). If it exists, don't invoke the dynamic users and delete the file (such that the next time it runs it would realize them). Does that seem possible?
[2010/07/01 16:46:48] <mackn> that just sounds like the wrong way to do it :)
[2010/07/01 16:47:25] @ lak joined channel #puppet
[2010/07/01 16:48:59] <mackn> whats the actual error you get when you run it the first time and it refuses to compile
[2010/07/01 16:52:19] @ sijis is now known as sijis_afk
[2010/07/01 16:52:20] <gwar9999> I figured as much :) I believe I was getting a 400 failed to compile catalog because of the groups. I don't have the exact message handy.
[2010/07/01 16:53:28] <mackn> can you paste where you defined one of the virtual resources?
[2010/07/01 16:54:43] <gwar9999> Found this in my puppetmaster log: Failed to realize virtual resources Group[foo, bar] on node <host>
[2010/07/01 16:55:12] @ Quit: littleidea: Quit: littleidea
[2010/07/01 16:55:26] <gwar9999> The group definitions are tiny, just a gid + ensure
[2010/07/01 16:55:31] <mackn> ah ok
[2010/07/01 16:55:38] <mackn> hrmm
[2010/07/01 16:56:15] <gwar9999> They key is they work after puppet runs once, it's like it can't compile because something else hasn't occurred yet, but that's just my best theory.
[2010/07/01 16:56:24] <mackn> yeah
[2010/07/01 16:56:35] <mackn> sort of difficult to figure out without seeing the whole manifest heh
[2010/07/01 16:56:47] <mackn> or at least..more of it
[2010/07/01 16:57:59] @ Quit: robinbowes_nb: Ping timeout: 276 seconds
[2010/07/01 16:58:07] @ p3rror joined channel #puppet
[2010/07/01 16:58:47] <gwar9999> unfortunately, the manifest is quite large and I doubt I can post it all.
[2010/07/01 16:59:42] <mackn> how large is your groups array? wondering if you can just stick one in there and see if that works instead of however many you have
[2010/07/01 17:00:26] @ Quit: alban21: *.net *.split
[2010/07/01 17:00:27] @ Quit: skeeziks: *.net *.split
[2010/07/01 17:00:27] @ Quit: macfly: *.net *.split
[2010/07/01 17:00:27] @ Quit: QMan: *.net *.split
[2010/07/01 17:00:27] @ Quit: flakrat_: *.net *.split
[2010/07/01 17:00:27] @ Quit: seanos: *.net *.split
[2010/07/01 17:00:27] @ Quit: jsman: *.net *.split
[2010/07/01 17:00:27] @ Quit: filler: *.net *.split
[2010/07/01 17:00:28] @ Quit: juniper: *.net *.split
[2010/07/01 17:00:28] @ Quit: tim|mac: *.net *.split
[2010/07/01 17:00:29] @ Quit: Berge: *.net *.split
[2010/07/01 17:00:29] @ Quit: ssm: *.net *.split
[2010/07/01 17:00:29] @ Quit: hamish: *.net *.split
[2010/07/01 17:00:29] @ Quit: Mandus: *.net *.split
[2010/07/01 17:00:29] @ Quit: mstyne: *.net *.split
[2010/07/01 17:00:29] @ Quit: nasrat: *.net *.split
[2010/07/01 17:00:29] @ Quit: Bosse: *.net *.split
[2010/07/01 17:00:29] @ Quit: barn: *.net *.split
[2010/07/01 17:00:29] @ Quit: dixond: *.net *.split
[2010/07/01 17:00:30] @ Quit: lisa: *.net *.split
[2010/07/01 17:00:33] <mackn> wondering if there's one group in the array causing problems or.... i dunno...
[2010/07/01 17:01:01] <gwar9999> it only has 2 groups.
[2010/07/01 17:01:07] <mackn> heh
[2010/07/01 17:01:28] <mackn> how does groups get defined
[2010/07/01 17:01:30] <mackn> actually
[2010/07/01 17:01:32] <mackn> scratch that
[2010/07/01 17:03:46] @ standa joined channel #puppet
[2010/07/01 17:03:58] <mackn> i sorta wanna say throw a require => in there
[2010/07/01 17:04:50] <mackn> but
[2010/07/01 17:04:53] <mackn> i don't think you can easily do that
[2010/07/01 17:05:02] <mackn> since you're using an array
[2010/07/01 17:05:25] <mackn> not sure you can require => Group[$groups]..
[2010/07/01 17:05:34] <mackn> although..
[2010/07/01 17:05:36] <mackn> if it's virtual..
[2010/07/01 17:05:42] <mackn> now i'm giving myself a headache
[2010/07/01 17:06:04] <mackn> i'm sure realize must imply require
[2010/07/01 17:06:47] @ Quit: ezmobius: Quit: Leaving...
[2010/07/01 17:07:50] @ Quit: lak: Quit: lak
[2010/07/01 17:08:01] <gwar9999> you're not the only w/ a headache over this. Sorry for infecting you as well since it's been bugging me all day. It seems to simple and it works... eventually.
[2010/07/01 17:10:08] @ Quit: dandiep_: Read error: Connection reset by peer
[2010/07/01 17:10:09] @ Quit: tecto_: Ping timeout: 240 seconds
[2010/07/01 17:10:42] @ dandiep_ joined channel #puppet
[2010/07/01 17:11:53] @ alban21 joined channel #puppet
[2010/07/01 17:11:53] @ skeeziks joined channel #puppet
[2010/07/01 17:11:53] @ macfly joined channel #puppet
[2010/07/01 17:11:53] @ QMan joined channel #puppet
[2010/07/01 17:11:53] @ flakrat_ joined channel #puppet
[2010/07/01 17:11:53] @ seanos joined channel #puppet
[2010/07/01 17:11:53] @ jsman joined channel #puppet
[2010/07/01 17:11:53] @ filler joined channel #puppet
[2010/07/01 17:11:53] @ juniper joined channel #puppet
[2010/07/01 17:11:53] @ tim|mac joined channel #puppet
[2010/07/01 17:11:53] @ Berge joined channel #puppet
[2010/07/01 17:11:53] @ hamish joined channel #puppet
[2010/07/01 17:11:53] @ Mandus joined channel #puppet
[2010/07/01 17:11:53] @ mstyne joined channel #puppet
[2010/07/01 17:11:53] @ nasrat joined channel #puppet
[2010/07/01 17:11:53] @ lisa joined channel #puppet
[2010/07/01 17:11:53] @ Bosse joined channel #puppet
[2010/07/01 17:11:53] @ barn joined channel #puppet
[2010/07/01 17:11:53] @ dixond joined channel #puppet
[2010/07/01 17:12:28] @ Quit: juniper: Ping timeout: 248 seconds
[2010/07/01 17:12:54] @ juniper joined channel #puppet
[2010/07/01 17:15:36] @ tecto_ joined channel #puppet
[2010/07/01 17:15:36] @ Quit: tecto_: Changing host
[2010/07/01 17:15:36] @ tecto_ joined channel #puppet
[2010/07/01 17:15:43] @ Quit: Ambiguity: Ping timeout: 258 seconds
[2010/07/01 17:16:19] @ Quit: \ask_: Ping timeout: 276 seconds
[2010/07/01 17:16:44] @ Quit: Berge: Ping timeout: 248 seconds
[2010/07/01 17:17:24] @ Berge joined channel #puppet
[2010/07/01 17:17:48] @ Quit: seanos: Ping timeout: 248 seconds
[2010/07/01 17:18:18] @ seanos joined channel #puppet
[2010/07/01 17:20:44] @ \ask joined channel #puppet
[2010/07/01 17:22:07] @ Quit: jaredrhine: Ping timeout: 265 seconds
[2010/07/01 17:25:39] @ plathrop is now known as plathrop-away
[2010/07/01 17:27:40] @ thekad is now known as thekad-afk
[2010/07/01 17:39:28] @ Quit: ahasenack: Quit: Leaving
[2010/07/01 17:44:04] <jrottenberg> Hello !
[2010/07/01 17:44:20] <jrottenberg> I'm experiencing the bug here : http://projects.puppetlabs.com/issues/3498
[2010/07/01 17:44:52] <mackn> k
[2010/07/01 17:45:03] <jrottenberg> I'm not sure to understand what is causing that extra comment, do you know what is wrong (how wee configured puppet versus bug in nagios_service) ?
[2010/07/01 17:50:06] @ thekad-afk is now known as thekad
[2010/07/01 17:53:30] @ plathrop-away is now known as plathrop
[2010/07/01 18:04:10] @ mboyd joined channel #puppet
[2010/07/01 18:04:16] @ Quit: mboyd: Remote host closed the connection
[2010/07/01 18:04:36] @ mboyd joined channel #puppet
[2010/07/01 18:05:20] @ plathrop is now known as plathrop-away
[2010/07/01 18:07:56] @ Quit: p3rror: Read error: Connection reset by peer
[2010/07/01 18:08:07] @ AimanA joined channel #puppet
[2010/07/01 18:08:58] @ Quit: dandiep_: Ping timeout: 276 seconds
[2010/07/01 18:11:05] @ Quit: alban21: *.net *.split
[2010/07/01 18:11:05] @ Quit: skeeziks: *.net *.split
[2010/07/01 18:11:05] @ Quit: macfly: *.net *.split
[2010/07/01 18:11:05] @ Quit: QMan: *.net *.split
[2010/07/01 18:11:06] @ Quit: flakrat_: *.net *.split
[2010/07/01 18:11:06] @ Quit: jsman: *.net *.split
[2010/07/01 18:11:06] @ Quit: filler: *.net *.split
[2010/07/01 18:11:06] @ Quit: tim|mac: *.net *.split
[2010/07/01 18:11:06] @ Quit: hamish: *.net *.split
[2010/07/01 18:11:06] @ Quit: Mandus: *.net *.split
[2010/07/01 18:11:07] @ Quit: mstyne: *.net *.split
[2010/07/01 18:11:07] @ Quit: nasrat: *.net *.split
[2010/07/01 18:11:07] @ Quit: Bosse: *.net *.split
[2010/07/01 18:11:07] @ Quit: barn: *.net *.split
[2010/07/01 18:11:07] @ Quit: dixond: *.net *.split
[2010/07/01 18:11:07] @ Quit: lisa: *.net *.split
[2010/07/01 18:14:29] @ Quit: jnewland: Read error: Connection reset by peer
[2010/07/01 18:15:48] @ Quit: Hypnoz: Ping timeout: 260 seconds
[2010/07/01 18:22:49] @ alban21 joined channel #puppet
[2010/07/01 18:22:49] @ skeeziks joined channel #puppet
[2010/07/01 18:22:49] @ macfly joined channel #puppet
[2010/07/01 18:22:49] @ QMan joined channel #puppet
[2010/07/01 18:22:50] @ flakrat_ joined channel #puppet
[2010/07/01 18:22:50] @ jsman joined channel #puppet
[2010/07/01 18:22:50] @ filler joined channel #puppet
[2010/07/01 18:22:50] @ tim|mac joined channel #puppet
[2010/07/01 18:22:50] @ hamish joined channel #puppet
[2010/07/01 18:22:50] @ Mandus joined channel #puppet
[2010/07/01 18:22:50] @ mstyne joined channel #puppet
[2010/07/01 18:22:50] @ nasrat joined channel #puppet
[2010/07/01 18:22:50] @ lisa joined channel #puppet
[2010/07/01 18:22:50] @ Bosse joined channel #puppet
[2010/07/01 18:22:50] @ barn joined channel #puppet
[2010/07/01 18:22:50] @ dixond joined channel #puppet
[2010/07/01 18:24:10] @ Quit: markus: Quit: markus
[2010/07/01 18:28:32] @ thekad is now known as thekad-afk
[2010/07/01 18:32:45] @ Quit: gmcquillan: Quit: gmcquillan
[2010/07/01 18:34:02] @ jaredrhine joined channel #puppet
[2010/07/01 18:35:14] @ nicklewis joined channel #puppet
[2010/07/01 18:48:20] @ Quit: Bass10: Quit: Leaving
[2010/07/01 18:56:37] @ Quit: _lucid: Ping timeout: 252 seconds
[2010/07/01 19:03:11] @ ssm joined channel #puppet
[2010/07/01 19:04:31] @ Djelibeybi joined channel #puppet
[2010/07/01 19:07:57] @ Demosthenes joined channel #puppet
[2010/07/01 19:20:33] @ p3rror joined channel #puppet
[2010/07/01 19:24:03] @ bjaspan joined channel #puppet
[2010/07/01 19:26:05] @ Quit: bjaspan: Client Quit
[2010/07/01 19:28:43] @ mqr joined channel #puppet
[2010/07/01 19:33:03] @ bjaspan joined channel #puppet
[2010/07/01 19:41:47] @ Quit: bjaspan: Quit: bjaspan
[2010/07/01 19:41:54] @ Ambiguity joined channel #puppet
[2010/07/01 19:42:51] @ Quit: mqr: Ping timeout: 240 seconds
[2010/07/01 19:44:06] @ Quit: p3rror: Remote host closed the connection
[2010/07/01 19:49:26] @ Quit: \ask: Ping timeout: 265 seconds
[2010/07/01 19:54:42] @ Quit: Djelibeybi: Quit: Leaving
[2010/07/01 19:58:23] @ mapu joined channel #puppet
[2010/07/01 20:37:57] @ ohadlevy joined channel #puppet
[2010/07/01 20:38:56] @ n3kl joined channel #puppet
[2010/07/01 20:38:59] <n3kl> Hola!
[2010/07/01 20:41:00] <n3kl> So, I have made my first attempt at a define, and it failing miserabely. The following is contained in the github module's init.pp: http://pastie.org/1027636
[2010/07/01 20:41:38] <n3kl> Its failing on line 33, where I call gitrepo: Syntax error at '}'; expected '}' at
[2010/07/01 20:42:13] @ bjaspan joined channel #puppet
[2010/07/01 20:42:17] <n3kl> $gitrepos is an array, but even if I call gitrepo { "blag" } it fails. Is this because I need to pass arguments or something?
[2010/07/01 20:48:37] @ Quit: ohadlevy: Ping timeout: 264 seconds
[2010/07/01 20:51:33] <eric0> n3kl: at a minimum you need a : when you call it "gitrepo { $gitrepos: }"
[2010/07/01 20:52:15] <eric0> that's how the parameter is automatically accessible inside the define as $name -- it needs to be a namevar like any other puppet resource
[2010/07/01 20:52:51] <eric0> i don't know if the array stuff will work like you expect, enough people report trouble in array handling that i steer clear
[2010/07/01 20:52:59] @ AimanA is now known as HouseAway
[2010/07/01 20:53:14] @ Quit: mapu: Ping timeout: 265 seconds
[2010/07/01 20:54:00] <n3kl> I think I am seeing that trouble. How else might I accomplish running the same code for multiple items? I assume the default would be to just call the define multiple times.
[2010/07/01 20:57:40] <n3kl> That worked, thank you for the help
[2010/07/01 20:58:41] <eric0> it might just be some syntax junk like you need "gitrepo { [ $gitrepos ]: }"
[2010/07/01 20:59:07] <eric0> in general yes you can call a define multiple times by passing it an array. i'm not sure about the extlookup interaction there, i've just done it with a manual list myself
[2010/07/01 21:04:09] @ dandiep_ joined channel #puppet
[2010/07/01 21:04:20] @ Quit: toi: Ping timeout: 276 seconds
[2010/07/01 21:05:56] @ wilmoore joined channel #puppet
[2010/07/01 21:08:59] <dagdamor> wondering if someone feels like helping. I puppetmaster (lenny w/ backports puppet packages) happily pulling the strings of a few clients however, when I run puppetd on the puppetmaster attempts to access fileserver resources result in the following error (repeated for each file):
[2010/07/01 21:09:21] <dagdamor> urk, I have a puppetmaster...
[2010/07/01 21:10:37] <dagdamor> err: //ssh::server/File[/etc/ssh/sshd_config]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/modules/ssh/sshd_config Could not retrieve file metadata for puppet:///modules/ssh/sshd_config
[2010/07/01 21:11:56] <dagdamor> sorry for the spam. I've had some suggest it could be a pluginsync problem but that's not joy. I've done barely any modification of puppet.conf, fileserver.conf from the package defaults
[2010/07/01 21:21:13] @ Quit: OpenMedia: Quit: Leaving.
[2010/07/01 21:21:21] @ alcy joined channel #puppet
[2010/07/01 21:29:11] @ Quit: dreacu666: Ping timeout: 240 seconds
[2010/07/01 21:32:52] @ Quit: jaredrhine: Ping timeout: 265 seconds
[2010/07/01 21:38:02] @ jaredrhine joined channel #puppet
[2010/07/01 21:38:48] @ littleidea joined channel #puppet
[2010/07/01 21:43:30] @ dreacu666 joined channel #puppet
[2010/07/01 21:44:33] @ Quit: nicklewis: Ping timeout: 252 seconds
[2010/07/01 21:46:54] @ Quit: Demosthenes: Quit: leaving
[2010/07/01 21:48:37] @ PaulWay[w] joined channel #puppet
[2010/07/01 21:49:11] <PaulWay[w]> Hi all!
[2010/07/01 21:49:36] <PaulWay[w]> Is there a variable something like '$modulename' that's set to the module name?
[2010/07/01 21:49:51] <PaulWay[w]> So I can just pick up in a define which module something's instantiating from?
[2010/07/01 21:50:06] <PaulWay[w]> Does that make any sense at all or is my coffee dose too high?
[2010/07/01 21:50:08] <PaulWay[w]> :-)
[2010/07/01 21:53:44] @ Quit: tecto_: Ping timeout: 276 seconds
[2010/07/01 21:57:01] <jamesturnbull> PaulWay[w]: there is in 2.6 but not currently - I think it's ticket #1545
[2010/07/01 21:57:02] <gepetto> jamesturnbull: PaulWay[w]: #1545 is http://projects.puppetlabs.com/issues/show/1545 "Puppet - Feature #1545: The module name should be available as a variable - Puppet Labs"
[2010/07/01 21:57:19] <PaulWay[w]> jamesturnbull: Ooooh, nice.
[2010/07/01 21:57:27] <PaulWay[w]> Hmmmm.
[2010/07/01 21:58:12] <PaulWay[w]> I'm trying to write a file definition that I want to pull files from puppet:///$modulename/ or similar.
[2010/07/01 21:58:13] @ tecto_ joined channel #puppet
[2010/07/01 21:58:13] @ Quit: tecto_: Changing host
[2010/07/01 21:58:13] @ tecto_ joined channel #puppet
[2010/07/01 21:58:39] <PaulWay[w]> I guess I can supply $modulename in the calling parameters for the moment.
[2010/07/01 22:00:36] @ Quit: dreacu666: Read error: Connection reset by peer
[2010/07/01 22:01:35] @ dreacu666 joined channel #puppet
[2010/07/01 22:03:46] @ mqr joined channel #puppet
[2010/07/01 22:04:33] @ Quit: gniks: Quit: Leaving.
[2010/07/01 22:05:35] <gepetto> ::redmine:: Wiki edit: Release_Notes (#24) @ http://projects.reductivelabs.com/projects/1/wiki/Release_Notes?version=24 (by James Turnbull)
[2010/07/01 22:05:35] <gepetto> ::redmine:: Wiki edit: Release_Notes (#25) @ http://projects.reductivelabs.com/projects/1/wiki/Release_Notes?version=25 (by James Turnbull)
[2010/07/01 22:09:24] @ Quit: dandiep_: Ping timeout: 245 seconds
[2010/07/01 22:12:13] @ Quit: bug: Quit: bug
[2010/07/01 22:14:51] <bdd> ERROR OpenSSL::SSL::SSLError: SSL_accept returned=1 errno=0 state=SSLv3 read client certificate A: sslv3 alert bad certificate
[2010/07/01 22:15:10] <bdd> client machine brand new. it doesn't have anything. even puppet.conf
[2010/07/01 22:15:25] <bdd> running puppetd --test --verbose
[2010/07/01 22:16:11] <bdd> getting the same error explanation on the client as well.
[2010/07/01 22:16:56] <bdd> cleaned hosts previous certificate files with puppetca --clean f.q.d.n
[2010/07/01 22:17:06] @ monzie joined channel #puppet
[2010/07/01 22:17:27] <bdd> have no clue about what to try now. and ideas?
[2010/07/01 22:17:36] <bdd> s/and/any/
[2010/07/01 22:19:59] <alcy> errm, why is there no puppet.conf ?!
[2010/07/01 22:20:09] <bdd> alcy don't need one :)
[2010/07/01 22:20:26] <bdd> should work with default values
[2010/07/01 22:21:09] <bdd> hit to server named "puppet", submit csr, get crt, get catalog, exec puppet locally. say goodbye.
[2010/07/01 22:22:36] @ bug joined channel #puppet
[2010/07/01 22:23:07] @ Quit: fapestniegd: Ping timeout: 265 seconds
[2010/07/01 22:23:10] @ nicklewis joined channel #puppet
[2010/07/01 22:23:32] <bdd> ideas?
[2010/07/01 22:24:29] <alcy> ...maybe try --debug as well ?
[2010/07/01 22:24:57] <alcy> ...might spring up something
[2010/07/01 22:25:47] <bdd> alcy: well. no. it only displays autorequired things
[2010/07/01 22:28:44] <PaulWay[w]> bdd: Are you using a proxy anywhere?
[2010/07/01 22:29:29] <PaulWay[w]> I've seen similar issues where a proxy was doing naughty SSL intercept things.
[2010/07/01 22:31:32] <bdd> PaulWay[w]: i see it hitting to puppet.
[2010/07/01 22:31:56] <bdd> there was an HTTP_PROXY environment variable.
[2010/07/01 22:32:02] <bdd> removed it but the result is same.
[2010/07/01 22:33:51] <bdd> this is really weird. sigh :(
[2010/07/01 22:33:53] @ gniks joined channel #puppet
[2010/07/01 22:37:11] @ Quit: fredden: Quit: Leaving
[2010/07/01 22:38:09] @ jameswhite joined channel #puppet
[2010/07/01 22:38:52] @ Quit: alcy: Quit: Page closed
[2010/07/01 22:40:54] <PaulWay[w]> bdd: It may be hitting puppet but the certificate is being mangled by a transparent proxy.
[2010/07/01 22:40:59] <PaulWay[w]> Or something else. I don't know :-)
[2010/07/01 22:42:02] <gepetto> ::redmine:: Wiki edit: Release_Notes (#26) @ http://projects.reductivelabs.com/projects/1/wiki/Release_Notes?version=26 (by James Turnbull)
[2010/07/01 22:43:31] @ alcy joined channel #puppet
[2010/07/01 22:47:53] @ Quit: jameswhite: Ping timeout: 265 seconds
[2010/07/01 22:51:22] @ Quit: bug: Quit: bug
[2010/07/01 22:53:11] @ Quit: alban21: Quit: Leaving.
[2010/07/01 22:55:01] @ mfournier joined channel #puppet
[2010/07/01 23:02:01] @ jameswhite joined channel #puppet
[2010/07/01 23:04:51] @ yannL joined channel #puppet
[2010/07/01 23:06:44] @ Quit: jameswhite: Ping timeout: 260 seconds
[2010/07/01 23:08:34] <bdd> oh. i guess i'll go and blame the machine
[2010/07/01 23:09:12] <bdd> this is f*ing weird. another vm cloned from the same image is problem free.
[2010/07/01 23:09:17] @ Quit: ceren: Quit: ceren
[2010/07/01 23:09:30] <bdd> it's time to use my CS degree. i'm rebooting the machine.
[2010/07/01 23:10:57] <bdd> hah!
[2010/07/01 23:11:13] <bdd> reboot and everyting is solved! OMGWTFBBQ!
[2010/07/01 23:18:09] @ dagdamor left channel #puppet ()
[2010/07/01 23:18:19] @ shug joined channel #puppet
[2010/07/01 23:18:39] @ gebi joined channel #puppet
[2010/07/01 23:19:40] @ nexx joined channel #puppet
[2010/07/01 23:19:59] @ jab_doa joined channel #puppet
[2010/07/01 23:23:07] <PaulWay[w]> bdd: well, that's a good sign.
[2010/07/01 23:23:08] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.")
[2010/07/01 23:26:11] @ Quit: aaronky_: Read error: Connection reset by peer
[2010/07/01 23:26:14] @ aaronky joined channel #puppet
[2010/07/01 23:30:27] @ dandiep joined channel #puppet
[2010/07/01 23:31:22] <bdd> this a good read to explain the situation. http://blog.ksplice.com/2010/06/attack-of-the-cosmic-rays/
[2010/07/01 23:33:07] <nevyn> bdd: no track down the bit and use dd to fix it in memory.
[2010/07/01 23:33:42] @ Quit: shug: Quit: Leaving
[2010/07/01 23:36:40] <bdd> nevyn: i blamed the bit for manufacturing weapons of mass destruction and just "free'd" it.
[2010/07/01 23:36:47] <bdd> everything is safe now
[2010/07/01 23:40:17] <gepetto> ::redmine:: Wiki edit: Release_Notes (#27) @ http://projects.reductivelabs.com/projects/1/wiki/Release_Notes?version=27 (by Igal Koshevoy)
[2010/07/01 23:40:54] <blkperl> someones up late ;)
[2010/07/01 23:43:13] @ Quit: gniks: Quit: Leaving.
[2010/07/01 23:44:50] @ ceren joined channel #puppet
[2010/07/01 23:46:31] @ ecolitan joined channel #puppet
[2010/07/01 23:47:55] @ Quit: Legooolas: Read error: Operation timed out
[2010/07/01 23:51:44] @ ckauhaus joined channel #puppet
[2010/07/01 23:53:43] @ rmayr joined channel #puppet
[2010/07/01 23:55:13] @ mattock joined channel #puppet
[2010/07/01 23:55:38] @ bettycho joined channel #puppet
[2010/07/01 23:57:00] @ pmorillo joined channel #puppet

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