| [2011/11/08 00:04:13] @ Log started by gepetto | ||
| [2011/11/08 00:04:13] <Elwell> Ownage: sounds useful - what was it? | ||
| [2011/11/08 00:04:22] <Elwell> (diagram) | ||
| [2011/11/08 00:08:16] @ skm joined channel #puppet | ||
| [2011/11/08 00:10:20] @ sdog joined channel #puppet | ||
| [2011/11/08 00:11:43] @ ckauhaus joined channel #puppet | ||
| [2011/11/08 00:12:09] @ Quit: sdog: Changing host | ||
| [2011/11/08 00:12:09] @ sdog joined channel #puppet | ||
| [2011/11/08 00:12:26] @ Quit: bmahe: Quit: Leaving | ||
| [2011/11/08 00:12:32] @ pmorillon joined channel #puppet | ||
| [2011/11/08 00:15:03] @ Quit: KaZeR_W: Remote host closed the connection | ||
| [2011/11/08 00:17:03] @ willemb joined channel #puppet | ||
| [2011/11/08 00:17:33] <willemb> Hi. I need some help, please. On one freebsd host, puppet runs return this: "err: Could not retrieve catalog from remote server: Error 400 on SERVER: No support for http method POST" | ||
| [2011/11/08 00:18:17] <willemb> followed by a warning about not using a cache on failed catalog, and another error that it could not retrieve the catalog, thus skipping the run | ||
| [2011/11/08 00:18:18] <fragfutter> willemb: client version? server version? | ||
| [2011/11/08 00:18:31] <willemb> 2.7.3 on the client | ||
| [2011/11/08 00:18:43] <fragfutter> and 2.6 on the server... | ||
| [2011/11/08 00:19:50] <willemb> you are right | ||
| [2011/11/08 00:19:59] <willemb> my other puppetmasters are running 2.7.1 | ||
| [2011/11/08 00:20:00] <willemb> thanks | ||
| [2011/11/08 00:20:12] <fragfutter> just got my magic glassball back from repairs. looks like it is working. | ||
| [2011/11/08 00:20:21] @ Quit: duerF: Quit: Leaving | ||
| [2011/11/08 00:20:46] @ lkoranda joined channel #puppet | ||
| [2011/11/08 00:20:59] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/08 00:22:57] @ jaytaph joined channel #puppet | ||
| [2011/11/08 00:23:23] @ Quit: skm: Ping timeout: 244 seconds | ||
| [2011/11/08 00:23:58] @ skm joined channel #puppet | ||
| [2011/11/08 00:24:19] <willemb> fragfutter: wonderful, now it works on that client, but the server cannot do puppet runs against itself any more :-) | ||
| [2011/11/08 00:24:48] <willemb> well spotted, thanks | ||
| [2011/11/08 00:25:06] @ Quit: blentz: Read error: Connection reset by peer | ||
| [2011/11/08 00:28:15] @ KaZeR_W joined channel #puppet | ||
| [2011/11/08 00:31:01] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/11/08 00:31:24] @ Stenbryggen joined channel #puppet | ||
| [2011/11/08 00:36:14] <Elwell> willemb: I got bitten by similar - dag (now rpmforge) is newer than EPEL | ||
| [2011/11/08 00:36:23] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/11/08 00:37:15] @ SirHopcount joined channel #puppet | ||
| [2011/11/08 00:38:51] <willemb> Elwell: puppetmaster is debian | ||
| [2011/11/08 00:39:04] @ trickyf joined channel #puppet | ||
| [2011/11/08 00:39:57] @ iw_work joined channel #puppet | ||
| [2011/11/08 00:40:54] @ Quit: trickyf: Client Quit | ||
| [2011/11/08 00:41:29] <SirHopcount> Hi, quick question. The Puppet style guide says that lines should not exceed 80 character. I have no problem with that but I can't seem to find how to split a line (like \ in bash). Could someone explain how I do this in a manifest. | ||
| [2011/11/08 00:45:39] <willemb> Elwell: I see my activerecord gems are not the same version... | ||
| [2011/11/08 00:46:04] @ trickyf joined channel #puppet | ||
| [2011/11/08 00:47:16] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/08 00:48:35] @ ezryx joined channel #puppet | ||
| [2011/11/08 00:49:08] @ Quit: iw_work: Ping timeout: 245 seconds | ||
| [2011/11/08 00:49:09] @ Razique joined channel #puppet | ||
| [2011/11/08 00:49:23] @ verwilst joined channel #puppet | ||
| [2011/11/08 00:50:20] @ Quit: p3rror: Ping timeout: 244 seconds | ||
| [2011/11/08 00:50:34] <SirHopcount> seems multi-line is supported with \ Found more info about it in issue 5022. Language guide does touch this subject but only about multi-line comments. | ||
| [2011/11/08 00:50:48] @ Quit: SirHopcount: Quit: Leaving | ||
| [2011/11/08 00:51:03] <bkero> nevyn: out of curiosity, how did you find me? | ||
| [2011/11/08 00:51:27] <nevyn> bkero: helpful | ||
| [2011/11/08 00:51:57] <nevyn> bkero: google -> github -> bkero -> bk[tab] in #puppet | ||
| [2011/11/08 00:53:07] @ jbraeuer joined channel #puppet | ||
| [2011/11/08 00:54:32] @ nul0op joined channel #puppet | ||
| [2011/11/08 01:01:19] @ Quit: lovemj: Ping timeout: 258 seconds | ||
| [2011/11/08 01:07:16] @ Quit: Kazuhiro: Quit: Leaving. | ||
| [2011/11/08 01:07:18] @ Quit: ckauhaus: Ping timeout: 240 seconds | ||
| [2011/11/08 01:08:12] @ mpdude joined channel #puppet | ||
| [2011/11/08 01:09:52] @ Quit: sdog: Quit: Leaving. | ||
| [2011/11/08 01:10:03] @ sdog joined channel #puppet | ||
| [2011/11/08 01:11:45] <Andorka> http://docs.puppetlabs.com/references/stable/type.html#router | ||
| [2011/11/08 01:11:52] <Andorka> telnet)://user:pass:enable@host/. | ||
| [2011/11/08 01:11:54] <Andorka> :D | ||
| [2011/11/08 01:12:43] @ Quit: sdog: Changing host | ||
| [2011/11/08 01:12:43] @ sdog joined channel #puppet | ||
| [2011/11/08 01:14:26] @ artkrz joined channel #puppet | ||
| [2011/11/08 01:19:18] @ Quit: sdog: Ping timeout: 240 seconds | ||
| [2011/11/08 01:19:28] @ BartVB joined channel #puppet | ||
| [2011/11/08 01:19:41] @ sdog joined channel #puppet | ||
| [2011/11/08 01:20:32] @ Quit: sdog: Changing host | ||
| [2011/11/08 01:20:32] @ sdog joined channel #puppet | ||
| [2011/11/08 01:25:35] @ Quit: choonming: Remote host closed the connection | ||
| [2011/11/08 01:25:57] @ Quit: silfreed: Quit: Leaving | ||
| [2011/11/08 01:26:31] @ silfreed_ joined channel #puppet | ||
| [2011/11/08 01:28:32] @ danikov joined channel #puppet | ||
| [2011/11/08 01:29:49] <willemb> One of my 6 puppetmasters seem to be in a bad state. almost all his clients are long lost and the log says: "Report storereports failed: undefined method `values' for nil:NilClass" | ||
| [2011/11/08 01:30:09] <willemb> and a lot of "Could not retrieve catalog from remote server: execution expired" | ||
| [2011/11/08 01:30:23] <willemb> some seem to work, so maybe things are extremely slow? | ||
| [2011/11/08 01:31:18] <Beens> willemb: are u on ec2? | ||
| [2011/11/08 01:31:28] <Beens> if not delete the file /usr/lib/ruby/1.8/facter/ec2.rb and everything will work again | ||
| [2011/11/08 01:32:07] <willemb> I am not on ec2. Hosting it all myself | ||
| [2011/11/08 01:32:16] <Beens> then delete the file ;-) | ||
| [2011/11/08 01:32:24] <willemb> where does that file come from, and why would it only be a problem on one host? | ||
| [2011/11/08 01:32:37] <Beens> can you run 'facter'? | ||
| [2011/11/08 01:33:20] <willemb> I can | ||
| [2011/11/08 01:33:30] @ Kazuhiro joined channel #puppet | ||
| [2011/11/08 01:34:19] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/11/08 01:35:07] <Beens> willemb: i had the same problem yesterday | ||
| [2011/11/08 01:35:08] <willemb> why? | ||
| [2011/11/08 01:35:32] <willemb> my problem has definately been active since yesterday | ||
| [2011/11/08 01:35:56] <Beens> try to remove or move the file /usr/lib/ruby/1.8/facter/ec2.rb to a tmp directory | ||
| [2011/11/08 01:36:01] <Beens> and you will see it works | ||
| [2011/11/08 01:36:40] <Beens> 17:07 < R1ck> connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("169.254.169.254")}, 16) = -1 EINPROGRESS (Operation now in progress) | ||
| [2011/11/08 01:36:48] <Beens> it connects to 169.254.169.254 for ec2 shit | ||
| [2011/11/08 01:36:52] <Beens> and that times out | ||
| [2011/11/08 01:37:03] <willemb> How did you figure it out? | ||
| [2011/11/08 01:37:52] <willemb> Because it doesn't seem to solve my problem, but following the same steps might sort me out | ||
| [2011/11/08 01:38:25] <willemb> and do you want me to do that on the master or the clients? | ||
| [2011/11/08 01:38:37] <fragfutter> client | ||
| [2011/11/08 01:38:59] <fragfutter> but i think it will only act up if zeroconf is enabled | ||
| [2011/11/08 01:39:48] <willemb> someone just figured out that we have a couple of instances of duplicated ip's on the network. maybe that's what is making it so damn slow | ||
| [2011/11/08 01:39:48] <bkero> nevyn: ah good call :) | ||
| [2011/11/08 01:40:18] @ Kazuhiro left channel #puppet () | ||
| [2011/11/08 01:41:07] <willemb> thanks, fragfutter | ||
| [2011/11/08 01:44:06] @ Quit: olof: Ping timeout: 240 seconds | ||
| [2011/11/08 01:45:13] @ Quit: mat_: Read error: No route to host | ||
| [2011/11/08 01:47:08] @ mat_ joined channel #puppet | ||
| [2011/11/08 01:47:09] @ Quit: mat_: Changing host | ||
| [2011/11/08 01:47:09] @ mat_ joined channel #puppet | ||
| [2011/11/08 01:47:28] @ Quit: sarkis: Ping timeout: 248 seconds | ||
| [2011/11/08 01:49:39] @ lovemj joined channel #puppet | ||
| [2011/11/08 01:49:59] @ ckauhaus joined channel #puppet | ||
| [2011/11/08 01:51:04] @ vorlon2261 joined channel #puppet | ||
| [2011/11/08 01:51:24] @ duerF joined channel #puppet | ||
| [2011/11/08 01:51:44] @ lbt joined channel #puppet | ||
| [2011/11/08 01:51:44] @ Quit: lbt: Changing host | ||
| [2011/11/08 01:51:44] @ lbt joined channel #puppet | ||
| [2011/11/08 01:52:09] <vorlon2261> Hey guys... | ||
| [2011/11/08 01:52:27] <vorlon2261> Has anyone had any trouble with the new Ubuntu facter package on 11.04? (1.5.8-2ubuntu2.1) | ||
| [2011/11/08 01:52:44] <vorlon2261> Specifically the ec2 fact trying to contact a seemingly random IP address? | ||
| [2011/11/08 01:53:09] <vorlon2261> Said IP address being 169.254.169.254 | ||
| [2011/11/08 01:53:20] <fragfutter> its a zeroconf ip, not random. | ||
| [2011/11/08 01:53:35] <fragfutter> if you are not on an ec2 system, try removing /usr/lib/ruby/1.8/facter/ec2.rb | ||
| [2011/11/08 01:53:57] <vorlon2261> Yeah... That will work to remove the ec2 fact... | ||
| [2011/11/08 01:54:23] <vorlon2261> (Since I'm not on ec2 I don't care, but I'd rather not have to do it on every host :) | ||
| [2011/11/08 01:54:33] <fragfutter> use puppet to do it ;) | ||
| [2011/11/08 01:54:55] <fragfutter> https://bugs.launchpad.net/ubuntu/+source/facter/+bug/885998 | ||
| [2011/11/08 01:54:58] <vorlon2261> I would if Puppet was working... But given a dodgy release of facter, I'm a bit stuffed :) | ||
| [2011/11/08 01:55:25] <vorlon2261> Thankfully its only in my test environment :) | ||
| [2011/11/08 01:55:43] <vorlon2261> Thanks for the bug reference... | ||
| [2011/11/08 01:58:09] @ sdog1 joined channel #puppet | ||
| [2011/11/08 01:58:57] @ Quit: sdog: Read error: No route to host | ||
| [2011/11/08 02:00:00] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/08 02:01:18] @ krish joined channel #puppet | ||
| [2011/11/08 02:02:28] @ Quit: pmorillon: Ping timeout: 245 seconds | ||
| [2011/11/08 02:04:45] @ pmorillon joined channel #puppet | ||
| [2011/11/08 02:05:03] @ jongrocho joined channel #puppet | ||
| [2011/11/08 02:07:31] <nevyn> jamesturnbull: sigh. you have no idea how hard I had to argue for puppet voer bladelogic | ||
| [2011/11/08 02:08:30] <Andorka> /usr/lib/ruby/gems/1.8/gems/facter-1.6.2/lib/facter/ec2.rb hehe | ||
| [2011/11/08 02:11:34] @ densebits joined channel #puppet | ||
| [2011/11/08 02:11:52] <willemb> that bug is ubuntu only though. does not explain my problems on debian | ||
| [2011/11/08 02:12:57] <willemb> or why it works fine on 5 of my 6 puppetmasters | ||
| [2011/11/08 02:14:02] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/08 02:14:27] <willemb> puppetruns mostly return err: Could not retrieve plugin: execution expired | ||
| [2011/11/08 02:15:08] <densebits> Hello every one. Quick question... How do I go about setting up puppet with rvm and ruby 1.9.x? Every thing I've seen refers to 1.8.x+ or without rvm. | ||
| [2011/11/08 02:15:32] @ jon6000 joined channel #puppet | ||
| [2011/11/08 02:17:19] <Andorka> willemb: maintainers of packages for ubuntu and debian is same | ||
| [2011/11/08 02:17:25] <Andorka> http://packages.ubuntu.com/oneiric-updates/puppet | ||
| [2011/11/08 02:17:33] <Andorka> http://packages.debian.org/squeeze-backports/puppet | ||
| [2011/11/08 02:17:44] <Andorka> check yourself | ||
| [2011/11/08 02:18:08] <Andorka> i think packages is identical | ||
| [2011/11/08 02:18:15] <Andorka> sorry my english :( | ||
| [2011/11/08 02:19:08] <willemb> No problem with english. I still don't think that is it. since we are using 2.7.1, and removing the ec2.rb file does not help | ||
| [2011/11/08 02:19:21] <vorlon2261> willemb, I got this URL for the bug in Ubuntu from fragfutter: https://bugs.launchpad.net/ubuntu/+source/facter/+bug/885998 | ||
| [2011/11/08 02:20:26] @ Quit: IndyMichaelB: Remote host closed the connection | ||
| [2011/11/08 02:20:42] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/08 02:23:15] @ Quit: Smackware: Read error: Connection reset by peer | ||
| [2011/11/08 02:26:44] @ sdog joined channel #puppet | ||
| [2011/11/08 02:26:46] @ Quit: sdog: Changing host | ||
| [2011/11/08 02:26:46] @ sdog joined channel #puppet | ||
| [2011/11/08 02:26:54] @ Quit: sdog1: Quit: Leaving. | ||
| [2011/11/08 02:28:45] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/08 02:31:15] @ Quit: sdog: Read error: No route to host | ||
| [2011/11/08 02:31:19] @ sdog joined channel #puppet | ||
| [2011/11/08 02:33:18] <Raboo> i don't understand how i can get a list of which variables i can edit with augeas | ||
| [2011/11/08 02:33:23] <Raboo> augtool print /files/etc/snmp/snmpd.conf/ | ||
| [2011/11/08 02:33:32] <Raboo> it's blank | ||
| [2011/11/08 02:34:20] <Dominic> Raboo: are you running augtool as root? snmpd.conf might be locked down. Check "print /augeas//error" for any parse or permissions errors, it might list snmpd.conf. | ||
| [2011/11/08 02:34:39] <Raboo> yes i am root | ||
| [2011/11/08 02:34:43] @ mpdude_ joined channel #puppet | ||
| [2011/11/08 02:35:48] <fragfutter> Raboo: then there is no lens available for this file | ||
| [2011/11/08 02:36:03] <Raboo> [root@deployment templates]# augtool print /files/etc/ssh/sshd_config/PermitRootLogin | ||
| [2011/11/08 02:36:06] <Raboo> also empty | ||
| [2011/11/08 02:36:32] <Raboo> fragfutter never mind | ||
| [2011/11/08 02:36:35] <Raboo> 11:31 -!- sdog [~sdog@91.183.49.188] has joined #puppet | ||
| [2011/11/08 02:36:40] <Raboo> o | ||
| [2011/11/08 02:36:45] <Raboo> augtool> print /files/etc/ssh/sshd_config/ | ||
| [2011/11/08 02:36:48] <Raboo> that worked | ||
| [2011/11/08 02:37:14] <Raboo> so no snmpd | ||
| [2011/11/08 02:37:58] @ Quit: ecolitan: Read error: No route to host | ||
| [2011/11/08 02:38:02] <KaZeR_W> hi there. i have a kind of egg and chicken issue here | ||
| [2011/11/08 02:38:18] <fragfutter> the egg was first. | ||
| [2011/11/08 02:38:21] <Raboo> trow the egg and eat the chicken | ||
| [2011/11/08 02:38:29] <KaZeR_W> ahah thanks :) | ||
| [2011/11/08 02:38:36] @ Quit: mpdude: Ping timeout: 260 seconds | ||
| [2011/11/08 02:39:20] <KaZeR_W> running puppet on rhel4.6, the 'service' check seems a bit broken: /sbin/service puppet status returns "puppetd is stopped" but it doesn't start it (even if i have ensure=>running) | ||
| [2011/11/08 02:39:39] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/08 02:39:56] <KaZeR_W> with hasstatus => false, it detects the pid of the currently running agent, so it doesn't start the service | ||
| [2011/11/08 02:40:04] <KaZeR_W> anyone faced that issue? | ||
| [2011/11/08 02:42:29] <willemb> aha! My problem is definately different. facter works. the fact compiling works. | ||
| [2011/11/08 02:42:47] <willemb> right after the fact compiling, I get err: Could not retrieve catalog from remote server: execution expired | ||
| [2011/11/08 02:42:47] <jon6000> are you using hasstatus => true (default on 2.7 but not before that i believe) | ||
| [2011/11/08 02:43:39] <KaZeR_W> jon6000, i am | ||
| [2011/11/08 02:43:41] @ pmorillon joined channel #puppet | ||
| [2011/11/08 02:44:06] @ Quit: ezryx: Read error: No route to host | ||
| [2011/11/08 02:44:06] @ ezryx_ joined channel #puppet | ||
| [2011/11/08 02:46:40] @ Beens left channel #puppet () | ||
| [2011/11/08 02:46:55] <KaZeR_W> odd.. now it works ensure changed 'stopped' to 'running' | ||
| [2011/11/08 02:48:16] @ Quit: Ownage: Ping timeout: 258 seconds | ||
| [2011/11/08 02:48:30] @ Quit: gebi: Ping timeout: 276 seconds | ||
| [2011/11/08 02:49:27] @ Holocaine joined channel #puppet | ||
| [2011/11/08 02:50:23] @ Quit: hkraal: Remote host closed the connection | ||
| [2011/11/08 02:51:02] @ Quit: kelseyhi1htower: Ping timeout: 258 seconds | ||
| [2011/11/08 02:51:45] @ Quit: jedi4ever: Ping timeout: 276 seconds | ||
| [2011/11/08 02:52:17] @ maes_` joined channel #puppet | ||
| [2011/11/08 02:53:28] @ larstobi joined channel #puppet | ||
| [2011/11/08 02:54:07] <willemb> KaZeR_W: did it actually start it? | ||
| [2011/11/08 02:54:29] @ Quit: maes_: Ping timeout: 258 seconds | ||
| [2011/11/08 02:55:25] @ ocharles_ joined channel #puppet | ||
| [2011/11/08 02:57:01] <KaZeR_W> willemb, yes, it's now running | ||
| [2011/11/08 02:57:22] <KaZeR_W> really odd. i had the same issue on several nodes. and since my classes are under git, i can tell i didn't modify them | ||
| [2011/11/08 03:05:06] <jon6000> Morning, does anyone know if it's OK to use an identical certname on two different nodes (that we wish to be configured identically by puppet) - or can this cause issues? | ||
| [2011/11/08 03:05:27] <jon6000> Reason being I tried running 'puppet agent test' on both nodes after making some changes to our scripts and one node picked them up, the other didn't until I re-ran the 'test' command a couple of times. Investigating the issue, I noticed both nodes had identical certnames.. | ||
| [2011/11/08 03:07:19] @ Quit: iFire: Read error: Operation timed out | ||
| [2011/11/08 03:08:04] @ ezryx joined channel #puppet | ||
| [2011/11/08 03:08:05] @ Quit: ezryx_: Read error: Connection reset by peer | ||
| [2011/11/08 03:08:18] @ Quit: maes_`: Ping timeout: 245 seconds | ||
| [2011/11/08 03:08:22] @ maes_ joined channel #puppet | ||
| [2011/11/08 03:08:40] @ iFire joined channel #puppet | ||
| [2011/11/08 03:09:34] @ Quit: ezryx: Read error: No route to host | ||
| [2011/11/08 03:09:49] @ ezryx joined channel #puppet | ||
| [2011/11/08 03:09:58] @ Quit: vorlon2261: Ping timeout: 255 seconds | ||
| [2011/11/08 03:11:36] @ bronto left channel #puppet () | ||
| [2011/11/08 03:11:51] @ Quit: nul0op: Ping timeout: 260 seconds | ||
| [2011/11/08 03:13:27] @ jonhattan joined channel #puppet | ||
| [2011/11/08 03:17:03] @ Quit: Enf: Quit: Leaving | ||
| [2011/11/08 03:17:38] @ Enf joined channel #puppet | ||
| [2011/11/08 03:17:45] @ Quit: Enf: Remote host closed the connection | ||
| [2011/11/08 03:20:05] @ Quit: garethr: Read error: Operation timed out | ||
| [2011/11/08 03:20:09] @ MartVisser joined channel #puppet | ||
| [2011/11/08 03:21:57] @ Quit: arnihermann: Read error: Operation timed out | ||
| [2011/11/08 03:22:06] @ Quit: zorzar: Ping timeout: 240 seconds | ||
| [2011/11/08 03:22:12] @ Ownage joined channel #puppet | ||
| [2011/11/08 03:22:24] @ Quit: cwebber-irccloud: Ping timeout: 248 seconds | ||
| [2011/11/08 03:22:30] @ Quit: devicenull: Ping timeout: 240 seconds | ||
| [2011/11/08 03:22:31] @ Quit: leepa: Ping timeout: 240 seconds | ||
| [2011/11/08 03:22:53] @ Quit: jnewland: Ping timeout: 245 seconds | ||
| [2011/11/08 03:22:54] @ Quit: cparedes: Ping timeout: 240 seconds | ||
| [2011/11/08 03:22:56] @ Quit: lusis: Ping timeout: 248 seconds | ||
| [2011/11/08 03:22:56] @ Quit: WALoeIII: Ping timeout: 260 seconds | ||
| [2011/11/08 03:22:57] @ Quit: Espen-_o: Ping timeout: 248 seconds | ||
| [2011/11/08 03:23:01] @ Quit: tswicegood: Ping timeout: 256 seconds | ||
| [2011/11/08 03:23:01] @ Quit: Tribaal: Ping timeout: 256 seconds | ||
| [2011/11/08 03:23:02] @ Quit: avandendorpe: Ping timeout: 256 seconds | ||
| [2011/11/08 03:23:14] @ Quit: patcon: Ping timeout: 258 seconds | ||
| [2011/11/08 03:23:36] @ Quit: ocharles_: Ping timeout: 276 seconds | ||
| [2011/11/08 03:23:51] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/08 03:29:50] <Raboo> will this loop every run? http://pastie.org/2830327 | ||
| [2011/11/08 03:35:16] @ Quit: densebits: Changing host | ||
| [2011/11/08 03:35:16] @ densebits joined channel #puppet | ||
| [2011/11/08 03:37:12] @ zorzar joined channel #puppet | ||
| [2011/11/08 03:38:26] @ Espen-_o joined channel #puppet | ||
| [2011/11/08 03:39:16] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/08 03:39:19] @ st33v joined channel #puppet | ||
| [2011/11/08 03:39:44] @ Quit: Holocaine: | ||
| [2011/11/08 03:43:11] @ canuck joined channel #puppet | ||
| [2011/11/08 03:43:43] @ garethr joined channel #puppet | ||
| [2011/11/08 03:44:41] @ smooth_p joined channel #puppet | ||
| [2011/11/08 03:45:15] <smooth_p> hey does defining a class (class_a) within another class(class_b) automagically include class_a ? | ||
| [2011/11/08 03:45:32] <smooth_p> or only when explicitly included | ||
| [2011/11/08 03:45:33] @ arnihermann joined channel #puppet | ||
| [2011/11/08 03:45:58] <smooth_p> e.g class_b { class_b } | ||
| [2011/11/08 03:46:04] <smooth_p> err | ||
| [2011/11/08 03:46:06] <smooth_p> e.g class_b { class_a } | ||
| [2011/11/08 03:46:20] <smooth_p> does class_a get included into class_b | ||
| [2011/11/08 03:46:20] @ canuck left channel #puppet () | ||
| [2011/11/08 03:46:32] <smooth_p> without me defining an include within class_b | ||
| [2011/11/08 03:48:06] @ sitaktif joined channel #puppet | ||
| [2011/11/08 03:48:17] @ ocharles_ joined channel #puppet | ||
| [2011/11/08 03:49:43] <sitaktif> Is there any builtin way to ensure packages are installed with a particular version of pip? | ||
| [2011/11/08 03:53:22] @ densebits left channel #puppet ("Leaving") | ||
| [2011/11/08 03:57:07] <erthad> hiall | ||
| [2011/11/08 03:57:22] <erthad> is there a way to set puppet variable from inside custom function? | ||
| [2011/11/08 03:58:18] @ Vide80 joined channel #puppet | ||
| [2011/11/08 03:58:47] <erthad> smooth_p: I don't think so -- it is only defined but might require to be explicitely include | ||
| [2011/11/08 03:59:01] <Vide80> hi.. in an autoload enabled module, if you call a variable by its full scope name, puppet autoload the class, I guess | ||
| [2011/11/08 03:59:40] @ WALoeIII joined channel #puppet | ||
| [2011/11/08 04:01:18] <Vide80> to answer myself: no, it doesn't, I found an include in the class that explains the phenomenon :) | ||
| [2011/11/08 04:01:21] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/08 04:03:24] @ Quit: jaytaph: Ping timeout: 258 seconds | ||
| [2011/11/08 04:03:25] @ st33v left channel #puppet () | ||
| [2011/11/08 04:03:32] @ jaytaph joined channel #puppet | ||
| [2011/11/08 04:05:23] <smooth_p> erthad: ok | ||
| [2011/11/08 04:06:24] @ ezryx joined channel #puppet | ||
| [2011/11/08 04:06:49] @ jaymurtii joined channel #puppet | ||
| [2011/11/08 04:09:04] @ Quit: Espen-_o: Quit: Connection closed for inactivity | ||
| [2011/11/08 04:10:35] @ cparedes joined channel #puppet | ||
| [2011/11/08 04:12:07] @ Quit: mpdude_: Remote host closed the connection | ||
| [2011/11/08 04:12:32] @ mpdude joined channel #puppet | ||
| [2011/11/08 04:12:47] @ pmorillon joined channel #puppet | ||
| [2011/11/08 04:13:01] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/08 04:13:21] @ Quit: Punisher: Remote host closed the connection | ||
| [2011/11/08 04:13:56] @ Punisher joined channel #puppet | ||
| [2011/11/08 04:16:08] @ frostynova joined channel #puppet | ||
| [2011/11/08 04:16:18] @ tr41n_ joined channel #puppet | ||
| [2011/11/08 04:16:28] @ Quit: Punisher: Remote host closed the connection | ||
| [2011/11/08 04:17:01] @ Punisher joined channel #puppet | ||
| [2011/11/08 04:18:24] @ Quit: evilsushi: Ping timeout: 248 seconds | ||
| [2011/11/08 04:19:11] @ cliff-hm joined channel #puppet | ||
| [2011/11/08 04:20:00] @ Quit: Punisher: Remote host closed the connection | ||
| [2011/11/08 04:20:31] @ punisher joined channel #puppet | ||
| [2011/11/08 04:21:58] @ punisher is now known as Punisher | ||
| [2011/11/08 04:22:07] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/11/08 04:23:59] @ ckauhaus joined channel #puppet | ||
| [2011/11/08 04:24:39] @ Punisher is now known as punisher | ||
| [2011/11/08 04:26:07] <duritong> /win 13 | ||
| [2011/11/08 04:26:12] <duritong> bleh | ||
| [2011/11/08 04:26:13] @ Quit: cliff-hm: Ping timeout: 245 seconds | ||
| [2011/11/08 04:26:41] @ punisher left channel #puppet () | ||
| [2011/11/08 04:30:26] @ illsci joined channel #puppet | ||
| [2011/11/08 04:33:18] @ Ababcus joined channel #puppet | ||
| [2011/11/08 04:33:43] @ Quit: nokia3510: Ping timeout: 245 seconds | ||
| [2011/11/08 04:34:39] <willemb> Ok, my situation has changd a bit. now puppet runs on clients return this:err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class stunnel4 for dediXXXX on node dediXXXX | ||
| [2011/11/08 04:34:50] @ Quit: krish: Ping timeout: 258 seconds | ||
| [2011/11/08 04:34:52] <willemb> the missing class is different on different hosts. | ||
| [2011/11/08 04:35:23] <willemb> and even different on subsequent runs on the sam box | ||
| [2011/11/08 04:38:20] <_rc> are your classes in modules? | ||
| [2011/11/08 04:38:29] <willemb> yes | ||
| [2011/11/08 04:38:45] <_rc> structured in a way the autoloader can handle? | ||
| [2011/11/08 04:39:06] <_rc> http://docs.puppetlabs.com/guides/modules.html#module-autoloading | ||
| [2011/11/08 04:39:15] <willemb> I have 6 puppetmasters. if i tell a broken node to use a different puppetmaster, it works fine, so I think that should be fine | ||
| [2011/11/08 04:40:15] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/08 04:40:49] <countskm> just saw a new puppet cookbook out - looks interesting http://tinyurl.com/cd2wavs | ||
| [2011/11/08 04:42:35] @ ckauhaus joined channel #puppet | ||
| [2011/11/08 04:42:48] @ Quit: ocharles_: | ||
| [2011/11/08 04:43:22] <d3c> I have a custom fact that uses gem to build the path to gemdir (`gem env gemdir`). however, this fails on new nodes since they do not have gem installed. can I make a custom fact dependant on a class (gem::install)? | ||
| [2011/11/08 04:43:43] @ kelseyhightower joined channel #puppet | ||
| [2011/11/08 04:44:00] <willemb> far as I know, catalogue is compiled before classes are applied | ||
| [2011/11/08 04:44:50] <d3c> willemb: so what to do in this case? I can't use `gem env gemdiv` inside catalog. and I can't use `gem env gemdir` in a custom fact since gem won't be available. | ||
| [2011/11/08 04:45:47] <d3c> right? or could I maybe check in the fact if gem is available (and if not, what then?) | ||
| [2011/11/08 04:45:49] <willemb> make your fact detect if the dir exists. if it doesn't, return something like false. then make your manifest smart about it | ||
| [2011/11/08 04:47:09] <willemb> My problem just went away after rebooting the puppetmster. but now I suspect that it was just too busy | ||
| [2011/11/08 04:48:00] @ Quit: Fritti: Remote host closed the connection | ||
| [2011/11/08 04:48:09] <willemb> are 400 nodes too many for a puppetmaster? | ||
| [2011/11/08 04:48:12] @ Quit: ghaskins: Quit: This computer has gone to sleep | ||
| [2011/11/08 04:50:30] <d3c> willemb: how about doing a run first in a special environment that installs low level stuff like gem etc? | ||
| [2011/11/08 04:50:53] @ krish joined channel #puppet | ||
| [2011/11/08 04:50:54] <d3c> willemb: I mean, I don't really like the hacky way of returning false or something, then looking for that in manifests | ||
| [2011/11/08 04:51:24] <rocket_> ok how do I ensure a service only starts after a certain file is in place? | ||
| [2011/11/08 04:51:51] <d3c> rocket_: require its configuration file/class | ||
| [2011/11/08 04:54:02] @ Quit: AshishH: Remote host closed the connection | ||
| [2011/11/08 04:54:04] <willemb> d3c: how do you get puppet installed in the first place? | ||
| [2011/11/08 04:54:55] <willemb> you could default to some specific path if it is unable to detect the current one | ||
| [2011/11/08 04:55:08] <willemb> I would have set it as a parameter in that case, I guess | ||
| [2011/11/08 04:55:57] <d3c> willemb: problem is that gem dir is version specific, e.g. /usr/lib/ruby/gems/1.8 | ||
| [2011/11/08 04:57:46] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/08 04:58:46] <d3c> willemb: the 'how would I install puppet in the first place'-argument doesn't really make sense to me. then I might as well install everything before puppet ;-) I think I'll see what environments can do. I mean, create an initial environment that installs stuff like gem. actually, that is, stuff required by facts. | ||
| [2011/11/08 04:59:47] @ raphdg joined channel #puppet | ||
| [2011/11/08 04:59:51] <_rc> I'd recode your fact to cope with not having gem available | ||
| [2011/11/08 05:00:58] <d3c> _rc: doesn't really make sense when we're talking about a gemdir fact. everything that depends on that fact would be wrong then? | ||
| [2011/11/08 05:01:54] @ Quit: rsnhyperion: Quit: rsnhyperion | ||
| [2011/11/08 05:02:32] @ Quit: krish: Read error: Operation timed out | ||
| [2011/11/08 05:08:30] <d3c> will factsync=false disable the loading of facts? I need to somehow do this | ||
| [2011/11/08 05:09:08] @ BManojlovic joined channel #puppet | ||
| [2011/11/08 05:10:41] @ lamba joined channel #puppet | ||
| [2011/11/08 05:10:53] @ krish joined channel #puppet | ||
| [2011/11/08 05:12:13] <lamba> lo all. I've got a pretty dumb error i suspect. | ||
| [2011/11/08 05:12:32] @ Stenbryggen joined channel #puppet | ||
| [2011/11/08 05:12:42] <lamba> ona new install, i ran the puppet server and the client. requested a cert on the client, and signed it on the server. | ||
| [2011/11/08 05:12:47] <lamba> at this point i saw this error : | ||
| [2011/11/08 05:12:49] <lamba> err: Could not request certificate: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A | ||
| [2011/11/08 05:13:08] <lamba> now when starting the client its giving err: Could not run Puppet configuration client: Could not retrieve local facts: No such file or directory - getcwd | ||
| [2011/11/08 05:13:18] <lamba> got myself into a bit of a mess i think | ||
| [2011/11/08 05:14:43] @ blentz joined channel #puppet | ||
| [2011/11/08 05:15:12] <krish> lamba: puppet --configprint | grep factpath | ||
| [2011/11/08 05:15:19] <lamba> on the client ? | ||
| [2011/11/08 05:16:11] <Raboo> can anyone tell me if this augeas changes will run every time puppet executes or not? http://pastie.org/2830327 | ||
| [2011/11/08 05:16:17] <willemb> d3c: our machines all start off as clones of a masterbuild, with everything we know we will ALWAYS want already installed | ||
| [2011/11/08 05:16:25] <lamba> missing argument: --confiprint | ||
| [2011/11/08 05:16:29] <lamba> configprint* | ||
| [2011/11/08 05:17:59] <lamba> ok. think i got round that issue. i was running it from inside a dir that id deleted from elsewhere. now im getting err: Could not retrieve catalog from remote server: hostname was not match with the server certificate | ||
| [2011/11/08 05:18:18] <krish> lamba: where ar eu getting the error : couldnt receive local facts | ||
| [2011/11/08 05:18:36] <lamba> on the client | ||
| [2011/11/08 05:18:40] <krish> ok nice | ||
| [2011/11/08 05:18:44] <krish> thats fine | ||
| [2011/11/08 05:18:47] <krish> good progress | ||
| [2011/11/08 05:18:51] <lamba> i was at least. looks like its stopped now that the getcwd error has also gone | ||
| [2011/11/08 05:18:54] @ hal-j1 is now known as hal-j | ||
| [2011/11/08 05:19:05] <krish> lamba: http://srikrishnadas.wordpress.com/2011/10/30/puppet-cheat-sheet/ | ||
| [2011/11/08 05:19:15] <lamba> im using --server on the client, does that need to match the hostname ? as in should i use the hostname and not the ip ? | ||
| [2011/11/08 05:19:29] @ zwi joined channel #puppet | ||
| [2011/11/08 05:19:43] @ nul0op joined channel #puppet | ||
| [2011/11/08 05:19:50] <krish> you've changed the client hostname after it first time got its certs signed from puppetmaster | ||
| [2011/11/08 05:19:59] <krish> lamba: check the link :D | ||
| [2011/11/08 05:20:06] @ ja-s joined channel #puppet | ||
| [2011/11/08 05:20:17] @ Quit: zwi: Client Quit | ||
| [2011/11/08 05:20:34] @ cliff-hm joined channel #puppet | ||
| [2011/11/08 05:20:36] @ Quit: maes_: Ping timeout: 276 seconds | ||
| [2011/11/08 05:21:06] <Dominic> Raboo: it probably won't rewrite the file each time, I reckon it should see no changes need to be made. | ||
| [2011/11/08 05:21:16] <Dominic> Raboo: try it and see | ||
| [2011/11/08 05:22:15] @ zwi joined channel #puppet | ||
| [2011/11/08 05:22:17] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/08 05:22:51] @ themurph joined channel #puppet | ||
| [2011/11/08 05:24:18] @ hal-j1 joined channel #puppet | ||
| [2011/11/08 05:24:40] <lamba> krish what do i need to delete on the server and client to start the whole ssl shebang again ? this is a testing setup so its no great loss | ||
| [2011/11/08 05:24:59] <lamba> oh its on that url ;p durr | ||
| [2011/11/08 05:25:07] <krish> :) | ||
| [2011/11/08 05:26:12] <krish> lamba: between step 3 and step 4 .. you could run puppetca --list clienthostname on puppetmaster | ||
| [2011/11/08 05:26:19] <krish> and if u find the old cert | ||
| [2011/11/08 05:26:22] <krish> clean it | ||
| [2011/11/08 05:26:29] <krish> puppetca --clean clienthostname | ||
| [2011/11/08 05:26:39] <krish> or puppet cert --clean clienthostname | ||
| [2011/11/08 05:26:40] <lamba> roger. | ||
| [2011/11/08 05:26:43] <krish> then proceed to step 4 | ||
| [2011/11/08 05:26:57] * krish should update his blog.. fscking lazy i am. | ||
| [2011/11/08 05:28:50] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/08 05:29:05] <Raboo> i wanna get a blog, like a unix/tech blog | ||
| [2011/11/08 05:29:32] <Raboo> and put it on a blogspace where all the "fashion" and "party" blogs just for fun | ||
| [2011/11/08 05:30:01] @ maes_ joined channel #puppet | ||
| [2011/11/08 05:30:09] <lamba> hmmm, no luck | ||
| [2011/11/08 05:30:36] <lamba> ping puppet on the client does ping the server ip, im fairly sure the hosts files are ok | ||
| [2011/11/08 05:31:02] <krish> can u pastie ur hosts | ||
| [2011/11/08 05:31:07] <lamba> just keep getting err: Could not request certificate: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A | ||
| [2011/11/08 05:31:09] <krish> remove actual domain names | ||
| [2011/11/08 05:31:31] <krish> lamba: u have to follow a particular order | ||
| [2011/11/08 05:31:34] @ nokia3510 joined channel #puppet | ||
| [2011/11/08 05:31:42] @ Quit: Vide80: Ping timeout: 240 seconds | ||
| [2011/11/08 05:32:24] <lamba> i started puppetmasterd, i start puppet on client. i get that error ? | ||
| [2011/11/08 05:32:35] <lamba> normlly i can then see the request and --sign it on the server. | ||
| [2011/11/08 05:34:59] <krish> lamba: stop puppetmaster | ||
| [2011/11/08 05:35:09] <krish> kill puppet process on client | ||
| [2011/11/08 05:35:22] <krish> got to /var/lib/puppet/ssl | ||
| [2011/11/08 05:35:26] <krish> do and rm -rf * | ||
| [2011/11/08 05:35:32] <krish> on client that is ^ | ||
| [2011/11/08 05:35:36] <krish> then go to server | ||
| [2011/11/08 05:35:44] <krish> puppet cert --list clienthostname | ||
| [2011/11/08 05:35:48] <krish> tell me what that says? | ||
| [2011/11/08 05:36:18] <lamba> no cert found | ||
| [2011/11/08 05:38:01] @ hkraal joined channel #puppet | ||
| [2011/11/08 05:38:04] <Raboo> Dominic i did get a epic fail | ||
| [2011/11/08 05:38:26] <krish> lamba did u change hostname on client? | ||
| [2011/11/08 05:38:34] @ illsci left channel #puppet () | ||
| [2011/11/08 05:38:56] <Raboo> Dominic it edited the file before the package was installed :) | ||
| [2011/11/08 05:39:06] @ astrostl joined channel #puppet | ||
| [2011/11/08 05:39:15] <Dominic> Raboo: then add a require | ||
| [2011/11/08 05:39:44] <lamba> possibly. its a longish story, but the server and client use to talk. the server got restored from backup, and so did the client. the ssl certs are very likely broken. i dont mind wiping the whole puppet setup on both and starting again but i suspect some of the puppet ssl certs were in that backup, and now no longer match the hostnames. | ||
| [2011/11/08 05:40:01] @ hal-j joined channel #puppet | ||
| [2011/11/08 05:40:01] <lamba> the hostnames havnt changed, but the fqdn have, since restore time | ||
| [2011/11/08 05:40:04] @ Quit: hal-j1: Read error: No route to host | ||
| [2011/11/08 05:40:19] @ bretm joined channel #puppet | ||
| [2011/11/08 05:40:33] <lamba> a mess, i know. | ||
| [2011/11/08 05:41:28] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/11/08 05:42:30] @ Quit: blentz: Ping timeout: 240 seconds | ||
| [2011/11/08 05:43:40] @ rsnhyperion joined channel #puppet | ||
| [2011/11/08 05:44:01] @ ghaskins joined channel #puppet | ||
| [2011/11/08 05:44:10] @ Quit: adimania: Ping timeout: 260 seconds | ||
| [2011/11/08 05:48:03] <Raboo> Dominic i did, it worked after that.. but it was a funny epic fail.. anyhow it did not re-edit the file every execution | ||
| [2011/11/08 05:48:52] <lamba> still says the hostname does not match the cert for the ca. it wont show me what hostname its expecitng though because its just a pem file from what ic an tell. | ||
| [2011/11/08 05:48:58] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/08 05:49:14] <lamba> thats after removing the whole of /var/lib/puppet/ssl on both server and client, | ||
| [2011/11/08 05:50:04] @ Quit: jonhattan: Remote host closed the connection | ||
| [2011/11/08 05:50:08] @ iw_work joined channel #puppet | ||
| [2011/11/08 05:50:13] @ adimania joined channel #puppet | ||
| [2011/11/08 05:50:23] @ helloo joined channel #puppet | ||
| [2011/11/08 05:50:27] <helloo> HLO EVERY 1 | ||
| [2011/11/08 05:51:04] <Andorka> EHLO | ||
| [2011/11/08 05:51:13] <helloo> HOW DO U DO.. | ||
| [2011/11/08 05:51:20] <helloo> M FROM PAKISTAN.. | ||
| [2011/11/08 05:52:05] <Andorka> i just wanna kill u | ||
| [2011/11/08 05:53:21] <helloo> hey yy?? did i do anything wrong to u sir? | ||
| [2011/11/08 05:53:53] @ Quit: themurph: Quit: themurph | ||
| [2011/11/08 05:54:06] @ Quit: matchaw_: Ping timeout: 240 seconds | ||
| [2011/11/08 05:54:31] @ themurph joined channel #puppet | ||
| [2011/11/08 05:54:31] @ Quit: themurph: Client Quit | ||
| [2011/11/08 05:55:28] <KaZeR_W> helloo, caps is usually considered rude | ||
| [2011/11/08 05:55:43] <Raboo> lol | ||
| [2011/11/08 05:55:54] <helloo> o o... | ||
| [2011/11/08 05:56:01] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/08 05:56:04] <helloo> sryy | ||
| [2011/11/08 05:56:06] <Raboo> o_0 | ||
| [2011/11/08 05:56:44] <helloo> hey raboo ..hlo from my side | ||
| [2011/11/08 05:56:54] <helloo> u ppl no the best thig abt mirc.. | ||
| [2011/11/08 05:57:28] <helloo> if u feel lonly , u may come up here, enjoy the tym n the best thing is that no body knows othr,, | ||
| [2011/11/08 05:57:33] @ st33v joined channel #puppet | ||
| [2011/11/08 05:58:10] * cthulhup thinks that helloo is DevOps_Borat | ||
| [2011/11/08 05:58:55] @ gniks joined channel #puppet | ||
| [2011/11/08 05:58:57] @ ckauhaus joined channel #puppet | ||
| [2011/11/08 05:59:13] @ Quit: jaytaph: Read error: Connection reset by peer | ||
| [2011/11/08 05:59:13] @ jaytaph_ joined channel #puppet | ||
| [2011/11/08 06:02:15] @ Quit: IndyMichaelB: Ping timeout: 260 seconds | ||
| [2011/11/08 06:02:39] <KaZeR_W> i'm trying the dashboard for the first time, and i'm also quite new to rails. the doc says "Start the Dashboard web server." . isn't that 'rails server' ? | ||
| [2011/11/08 06:03:12] @ mcarpent joined channel #puppet | ||
| [2011/11/08 06:03:20] @ matchaw_ joined channel #puppet | ||
| [2011/11/08 06:03:24] <helloo> m nt sure | ||
| [2011/11/08 06:05:03] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/08 06:06:12] @ Mode +o jamesturnbull by ChanServ | ||
| [2011/11/08 06:06:14] @ Mode +b helloo!*@* by jamesturnbull | ||
| [2011/11/08 06:06:16] @ helloo has been kicked from #puppet by jamesturnbull (helloo) | ||
| [2011/11/08 06:07:16] <jamesturnbull> KaZeR_W: which doc are you reading? | ||
| [2011/11/08 06:08:18] @ Quit: elementai: Remote host closed the connection | ||
| [2011/11/08 06:08:26] @ Quit: willemb: Quit: leaving | ||
| [2011/11/08 06:08:45] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/08 06:09:20] @ elementai joined channel #puppet | ||
| [2011/11/08 06:09:20] <walkeran> savid: ping. You sent me a message last night, and I was already gone for the day. Let me know if you didn't get your issue solved yet | ||
| [2011/11/08 06:09:23] @ lwhalen joined channel #puppet | ||
| [2011/11/08 06:09:41] @ Quit: IndyMichaelB: Read error: Connection reset by peer | ||
| [2011/11/08 06:09:53] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/08 06:11:13] @ blentz joined channel #puppet | ||
| [2011/11/08 06:11:55] @ sduchesneau joined channel #puppet | ||
| [2011/11/08 06:12:41] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/11/08 06:13:28] @ mcarpent joined channel #puppet | ||
| [2011/11/08 06:17:01] <sascha_> dumb question maybe. I'm looking at implementing Hiera and I'm a complete puppet newb. If puppet really does all the work on the master, does that mean that Hiera only needs installing on the master? | ||
| [2011/11/08 06:17:08] @ Quit: kermit: Quit: Leaving. | ||
| [2011/11/08 06:17:24] @ kermit joined channel #puppet | ||
| [2011/11/08 06:19:02] @ themurph joined channel #puppet | ||
| [2011/11/08 06:20:52] <ohadlevy> sascha_: yes | ||
| [2011/11/08 06:21:25] <ohadlevy> jamesturnbull: finally this channel was getting interesting | ||
| [2011/11/08 06:21:40] <sascha_> thanks | ||
| [2011/11/08 06:21:56] <jamesturnbull> sascha_: yep | ||
| [2011/11/08 06:22:06] <jamesturnbull> ohadlevy: it's always interesting | ||
| [2011/11/08 06:22:21] <jamesturnbull> ohadlevy: it's just a little quiet because Volcane is on a plane | ||
| [2011/11/08 06:22:25] @ jl000 joined channel #puppet | ||
| [2011/11/08 06:22:25] <ohadlevy> jamesturnbull: gepetto would have someone to chat with | ||
| [2011/11/08 06:22:33] <ohadlevy> jamesturnbull: lol, where are you taking him? | ||
| [2011/11/08 06:22:46] @ Quit: localhost: Remote host closed the connection | ||
| [2011/11/08 06:22:51] <jamesturnbull> ohadlevy: Guant^H^H^H I mean Portland | ||
| [2011/11/08 06:23:04] <jamesturnbull> ohadlevy: he's coming to the US for a visit | ||
| [2011/11/08 06:23:04] <ohadlevy> jamesturnbull: i might be in your area next month | ||
| [2011/11/08 06:23:17] <jamesturnbull> ohadlevy: oh cool! you should come say hi | ||
| [2011/11/08 06:23:18] @ Quit: blahdeblah: Ping timeout: 245 seconds | ||
| [2011/11/08 06:23:35] <jamesturnbull> ohadlevy: we'll truth serum you for all RH's secret plans of world domination | ||
| [2011/11/08 06:23:39] <ohadlevy> jamesturnbull: sounds good :) | ||
| [2011/11/08 06:23:39] <jamesturnbull> I mean buy you beer | ||
| [2011/11/08 06:23:52] @ marrusl joined channel #puppet | ||
| [2011/11/08 06:23:58] <ohadlevy> hey, we are an open company :) | ||
| [2011/11/08 06:24:18] @ localhost joined channel #puppet | ||
| [2011/11/08 06:24:26] @ ldlework joined channel #puppet | ||
| [2011/11/08 06:24:52] @ uphillian joined channel #puppet | ||
| [2011/11/08 06:26:55] @ Quit: gaveen: Ping timeout: 252 seconds | ||
| [2011/11/08 06:27:02] @ themadcanudist joined channel #puppet | ||
| [2011/11/08 06:27:05] @ kolla joined channel #puppet | ||
| [2011/11/08 06:27:18] @ Quit: frostynova: Ping timeout: 240 seconds | ||
| [2011/11/08 06:27:25] @ Quit: Jenza: Ping timeout: 240 seconds | ||
| [2011/11/08 06:28:03] @ frostynova joined channel #puppet | ||
| [2011/11/08 06:28:05] @ Quit: lamba: Disconnected by services | ||
| [2011/11/08 06:28:18] @ lamba joined channel #puppet | ||
| [2011/11/08 06:28:22] @ Jenza joined channel #puppet | ||
| [2011/11/08 06:28:55] <lamba> kolla: | ||
| [2011/11/08 06:28:57] <lamba> oops ;p | ||
| [2011/11/08 06:29:08] @ Quit: themurph: Ping timeout: 245 seconds | ||
| [2011/11/08 06:29:09] @ Quit: ldlework: Ping timeout: 258 seconds | ||
| [2011/11/08 06:29:45] @ ldlework joined channel #puppet | ||
| [2011/11/08 06:30:02] <lamba> whoever was helping me a minute ago with the ssl handshaking issues. it turned out to be the timeout in /usr/lib/ruby/site_rugby/1.8/puppet/network/http/webrick.rb the sleep line of 0.1 was too low causing the ssl handshake to timeout. - all working now. | ||
| [2011/11/08 06:30:06] @ Quit: lamba: Client Quit | ||
| [2011/11/08 06:30:45] <jamesturnbull> ohadlevy: lol | ||
| [2011/11/08 06:31:40] @ gorusw joined channel #puppet | ||
| [2011/11/08 06:32:03] @ Chesther joined channel #puppet | ||
| [2011/11/08 06:32:45] @ gorusw is now known as hansi | ||
| [2011/11/08 06:33:00] @ cruzfox joined channel #puppet | ||
| [2011/11/08 06:33:18] @ Quit: ckauhaus: Ping timeout: 245 seconds | ||
| [2011/11/08 06:34:09] @ Quit: cthulhup: Quit: WeeChat 0.3.6 | ||
| [2011/11/08 06:42:21] <robinbowes> Question: is it possible to apply a sub-set of a puppet manifest manually? | ||
| [2011/11/08 06:42:44] <robinbowes> eg. puppetd --test --only-these-classes=snmpd | ||
| [2011/11/08 06:42:51] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/08 06:43:15] <oatsport1> Hello, is it possible to start a service only if some file exists? | ||
| [2011/11/08 06:43:31] <oatsport1> That file is'nt processed by puppet | ||
| [2011/11/08 06:44:16] <robinbowes> jamesturnbull: Volcane - on a plane???? | ||
| [2011/11/08 06:44:40] <misc> oatsport1: using a exec and "unless" ? | ||
| [2011/11/08 06:45:47] @ Quit: adimania: Ping timeout: 260 seconds | ||
| [2011/11/08 06:46:19] @ lborda joined channel #puppet | ||
| [2011/11/08 06:46:25] @ Quit: doo: Remote host closed the connection | ||
| [2011/11/08 06:47:03] <gepetto> ::redmine:: Wiki edit: Advanced_Puppet_Pattern (#15) @ http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern?version=15 (by Todd Wells) | ||
| [2011/11/08 06:47:06] <walkeran> robinbowes: You can use "puppet agent -t --tags snmpd" to run the catalog and only use resources that are tagged with snmpd | ||
| [2011/11/08 06:47:44] <oatsport1> misc: a fresh installed server: puppet installs an apache package (with default settings) and start that apache. But with default settings wrong websites are delievered. | ||
| [2011/11/08 06:47:45] @ samkottler joined channel #puppet | ||
| [2011/11/08 06:47:59] @ bogdan_ is now known as Bogdar | ||
| [2011/11/08 06:48:07] @ choonming joined channel #puppet | ||
| [2011/11/08 06:48:22] <walkeran> robinbowes: Not as finegrained as being able to say "only this specific class", but, since resources get autotagged with the class name, that SHOULD do the trick, assuming it doesn't do any more than you are wanting | ||
| [2011/11/08 06:48:33] <robinbowes> That's close enough - thanks | ||
| [2011/11/08 06:48:35] <oatsport1> Apache should start only if some virtual host configuration is present. | ||
| [2011/11/08 06:49:00] <misc> oatsport1: wouldn't that be a ordering issue ? | ||
| [2011/11/08 06:50:25] <oatsport1> misc: but the configuration of all virtual hosts are outside of puppet. So I can't fix it by ordering. | ||
| [2011/11/08 06:50:27] @ gniks joined channel #puppet | ||
| [2011/11/08 06:50:32] @ Quit: gniks: Changing host | ||
| [2011/11/08 06:50:32] @ gniks joined channel #puppet | ||
| [2011/11/08 06:51:02] <misc> oatsport1: you can at least make sure the default config file are removed | ||
| [2011/11/08 06:51:43] @ kangman joined channel #puppet | ||
| [2011/11/08 06:52:12] <oatsport1> misc: I don't get it. | ||
| [2011/11/08 06:52:22] @ iamchrisf joined channel #puppet | ||
| [2011/11/08 06:52:36] <misc> oatsport1: the problem is the default configuration no ? | ||
| [2011/11/08 06:52:56] @ Quit: sdog: Remote host closed the connection | ||
| [2011/11/08 06:53:07] <KaZeR_W> <jamesturnbull> -> the readme shipping with the dashboard for example | ||
| [2011/11/08 06:53:13] <walkeran> oatsport1: IMO, if you are managing those config files outside of puppet, then don't use puppet to start the service | ||
| [2011/11/08 06:53:27] @ Quit: BLZbubba: Changing host | ||
| [2011/11/08 06:53:27] @ BLZbubba joined channel #puppet | ||
| [2011/11/08 06:53:56] @ Quit: bobra: Read error: Connection reset by peer | ||
| [2011/11/08 06:53:59] <misc> oatsport1: in fact, the problem is to start apache before the vhosts are in place, no ? | ||
| [2011/11/08 06:54:37] @ themurph joined channel #puppet | ||
| [2011/11/08 06:55:48] @ doo joined channel #puppet | ||
| [2011/11/08 06:56:02] <oatsport1> Hmm, I will think about the problem. | ||
| [2011/11/08 06:56:37] @ lak joined channel #puppet | ||
| [2011/11/08 06:56:38] @ Quit: lak: Changing host | ||
| [2011/11/08 06:56:38] @ lak joined channel #puppet | ||
| [2011/11/08 06:57:31] <walkeran> oatsport1: The other thing you could do is specify a start parameter for the service, which does some magic to determine if "the correct config" is there or not when starting the service | ||
| [2011/11/08 06:58:10] @ Quit: Vasik|work: Remote host closed the connection | ||
| [2011/11/08 06:58:23] <oatsport1> walkeran: that sounds good to me. | ||
| [2011/11/08 06:58:41] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/08 06:59:25] <walkeran> oatsport1: Like start => "test -f /etc/apache2/myfile.conf && /etc/init.d/apache2 start" ... or something along those lines | ||
| [2011/11/08 07:00:13] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/08 07:01:49] @ Quit: smooth_p: Ping timeout: 240 seconds | ||
| [2011/11/08 07:02:56] @ Quit: chewie_: Quit: leaving | ||
| [2011/11/08 07:04:08] @ kangman_ joined channel #puppet | ||
| [2011/11/08 07:05:07] @ bobra joined channel #puppet | ||
| [2011/11/08 07:06:00] @ amh-mw joined channel #puppet | ||
| [2011/11/08 07:06:21] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/08 07:07:01] @ Quit: kangman: Ping timeout: 258 seconds | ||
| [2011/11/08 07:08:38] @ smooth_p joined channel #puppet | ||
| [2011/11/08 07:08:41] <ashp> oh it's going to be one of these days | ||
| [2011/11/08 07:08:42] @ marrusl joined channel #puppet | ||
| [2011/11/08 07:08:43] @ Quit: themurph: Ping timeout: 245 seconds | ||
| [2011/11/08 07:08:50] <ashp> i got the old ssl cert failed because the time is out of sync between client/server | ||
| [2011/11/08 07:08:59] <ashp> except in this case i'm running puppet on the puppetmaster itself :/ | ||
| [2011/11/08 07:09:22] @ sc001 joined channel #puppet | ||
| [2011/11/08 07:09:39] <walkeran> ashp: One would assume that the time is synced between your master and your agent, then, eh? :D Yeah, that sounds like a bummer! | ||
| [2011/11/08 07:10:06] @ Quit: jaytaph_: Quit: jaytaph_ | ||
| [2011/11/08 07:10:13] @ Quit: n1x0n: Ping timeout: 240 seconds | ||
| [2011/11/08 07:10:56] @ n1x0n joined channel #puppet | ||
| [2011/11/08 07:12:37] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/08 07:13:22] <ashp> I hate dealing with ssl, shit always goes wrong. | ||
| [2011/11/08 07:13:35] <ashp> It's generating the certs with "puppet.sys.domain.com" which is the hostname | ||
| [2011/11/08 07:13:37] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/08 07:13:42] <ashp> then it attempts just to connect to "puppet" for some reason | ||
| [2011/11/08 07:13:44] <ashp> and fails | ||
| [2011/11/08 07:14:20] <amh-mw> Any hints on what direction to head when you get "Could not find indirection 'run'"? http://projects.puppetlabs.com/issues/4629#note-15 and 16 suggest that upgrading to 2.6 solves the problem, but I'm currently prototyping using puppet to upgrade from 0.25 to 2.6 -- chicken/egg | ||
| [2011/11/08 07:14:29] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/08 07:14:44] @ ckauhaus joined channel #puppet | ||
| [2011/11/08 07:18:31] <amh-mw> @ashp host { puppet: host_aliases => $servername, ip => $serverip, name => "puppet" } | ||
| [2011/11/08 07:20:00] @ Quit: kangman_: Remote host closed the connection | ||
| [2011/11/08 07:20:24] @ kangman joined channel #puppet | ||
| [2011/11/08 07:21:00] @ kangman_ joined channel #puppet | ||
| [2011/11/08 07:22:57] <ranamalo> has anyone else seen this error: Failed to generate additional resources using 'eval_generate: Could not intern_multiple from pson: source did not contain any PSON! | ||
| [2011/11/08 07:23:57] @ jaytaph joined channel #puppet | ||
| [2011/11/08 07:25:02] @ Quit: kangman: Ping timeout: 258 seconds | ||
| [2011/11/08 07:27:14] <ashp> oh man, what the hell | ||
| [2011/11/08 07:27:17] <ashp> "stack level too deep" | ||
| [2011/11/08 07:27:19] <ashp> that's a new error | ||
| [2011/11/08 07:27:35] @ riha left channel #puppet () | ||
| [2011/11/08 07:28:16] <walkeran> ashp: I've gotten that one before... downgrade your rack gem | ||
| [2011/11/08 07:28:25] @ geekbri joined channel #puppet | ||
| [2011/11/08 07:28:28] <walkeran> ashp: Err... rails | ||
| [2011/11/08 07:29:54] @ sdog joined channel #puppet | ||
| [2011/11/08 07:30:06] @ Quit: sdog: Changing host | ||
| [2011/11/08 07:30:06] @ sdog joined channel #puppet | ||
| [2011/11/08 07:30:40] @ soh joined channel #puppet | ||
| [2011/11/08 07:30:50] <ashp> Oh for .. :/ | ||
| [2011/11/08 07:32:56] @ n8 joined channel #puppet | ||
| [2011/11/08 07:34:42] @ _plg joined channel #puppet | ||
| [2011/11/08 07:34:50] @ themurph joined channel #puppet | ||
| [2011/11/08 07:35:19] <_plg> hi, is there a way of automating the creation process in foreman* | ||
| [2011/11/08 07:35:20] <_plg> ? | ||
| [2011/11/08 07:35:51] <_plg> install by pbx the image Y in the 10 nodes (n1,n2..n10) | ||
| [2011/11/08 07:37:00] <ohadlevy> _plg: stacker was designed for that | ||
| [2011/11/08 07:37:27] @ Quit: BartVB: Quit: Leaving. | ||
| [2011/11/08 07:37:39] @ negronjl joined channel #puppet | ||
| [2011/11/08 07:38:11] <ohadlevy> _plg: ohadlevy.fedorapeople.org/stacker.ogv | ||
| [2011/11/08 07:38:46] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/11/08 07:39:07] <_plg> how do i see this ? | ||
| [2011/11/08 07:39:15] <walkeran> Grrr, chrome... y u no like ogg videos?! Heloooo VLC | ||
| [2011/11/08 07:39:15] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/08 07:39:53] @ jedi4ever joined channel #puppet | ||
| [2011/11/08 07:40:15] @ themurph_away joined channel #puppet | ||
| [2011/11/08 07:40:32] <_plg> even VLC on mac | ||
| [2011/11/08 07:40:34] <_plg> ... | ||
| [2011/11/08 07:40:51] <_plg> something about drac | ||
| [2011/11/08 07:40:51] <walkeran> VLC does not support the audio or video format "drac" :S | ||
| [2011/11/08 07:40:53] @ Quit: themurph_away: Client Quit | ||
| [2011/11/08 07:41:11] @ Quit: themurph: Ping timeout: 252 seconds | ||
| [2011/11/08 07:41:38] <walkeran> USE="+dirac" emerge vlc ... /me twiddles thumbs | ||
| [2011/11/08 07:43:08] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/08 07:44:28] @ neonflux joined channel #puppet | ||
| [2011/11/08 07:45:51] <ohadlevy> _plg: yeah, sorry, i need to record it again | ||
| [2011/11/08 07:46:06] * ohadlevy just released foreman 0.4 | ||
| [2011/11/08 07:46:58] @ ghg joined channel #puppet | ||
| [2011/11/08 07:47:19] <duritong> screenshots? | ||
| [2011/11/08 07:47:19] <matchaw_> Anyone know if there is a type for hosts.allow? | ||
| [2011/11/08 07:47:25] @ dan__t joined channel #puppet | ||
| [2011/11/08 07:48:25] <amh-mw> matchaw_: augeas? | ||
| [2011/11/08 07:49:01] <ohadlevy> duritong: not yet, but i think it deserve the title UI that doesnt SUCK | ||
| [2011/11/08 07:49:07] <matchaw_> amh-mw: Yes augeas should work but wanted to know if there is a puppet type for it. It seems there is a ticket open for it Feature #1556 | ||
| [2011/11/08 07:49:07] <gepetto> matchaw_: amh-mw: #1556 is http://projects.puppetlabs.com/issues/show/1556 "Puppet - Feature #1556: A type and provider for editing /etc/hosts.allow. It has a status of In Topic Branch Pending Review and is assigned to Kelsey Hightower" | ||
| [2011/11/08 07:51:34] @ jonhattan joined channel #puppet | ||
| [2011/11/08 07:51:56] @ Razique left channel #puppet () | ||
| [2011/11/08 07:52:21] <agwells0714> How can I see what classes puppetmasterd will give out to a specific node? | ||
| [2011/11/08 07:52:35] @ Quit: ChikuLinu__: Read error: Connection reset by peer | ||
| [2011/11/08 07:52:57] @ ChikuLinu__ joined channel #puppet | ||
| [2011/11/08 07:53:21] @ Quit: dan__t: Ping timeout: 276 seconds | ||
| [2011/11/08 07:53:32] @ cjz joined channel #puppet | ||
| [2011/11/08 07:54:00] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/08 07:54:09] <gepetto> ::redmine:: Wiki edit: Puppet_Windows (#57) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows?version=57 (by Josh Cooper) | ||
| [2011/11/08 07:55:01] <_plg> member:ohadlevy: I was watching it in a colleague pc on mplayer. it seems interesting. We had no sound though | ||
| [2011/11/08 07:55:31] <walkeran> agwells0714: Once you've run the puppet agent (AFAIK, even if you run in noop mode), there will be placed a $libdir/classes.txt file (ie: /var/lib/puppet/classes.txt) on the agent ... that's the best way I know how to find out, but there may be a better way | ||
| [2011/11/08 07:56:11] @ jaytaph_ joined channel #puppet | ||
| [2011/11/08 07:57:15] <_plg> member:ohadlevy: have to watch it with more attention, but how exactly do you define the nodes for deploy? you have a pool of machines and it selects the free ones? | ||
| [2011/11/08 07:57:26] @ Quit: Meier: Quit: Leaving. | ||
| [2011/11/08 07:57:49] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/11/08 07:57:55] @ Quit: cruzfox: Read error: Connection reset by peer | ||
| [2011/11/08 07:58:30] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com | ||
| [2011/11/08 07:58:31] @ Quit: danikov: Quit: danikov | ||
| [2011/11/08 07:58:36] @ Quit: jaytaph: Read error: Operation timed out | ||
| [2011/11/08 07:59:45] <agwells0714> okay, that works | ||
| [2011/11/08 08:00:16] @ sumsuch joined channel #puppet | ||
| [2011/11/08 08:00:30] @ Quit: jaytaph_: Ping timeout: 240 seconds | ||
| [2011/11/08 08:00:49] <ashp> hm, i wonder if there's an easy way to write a fact based on your puppetmaster | ||
| [2011/11/08 08:01:01] <ashp> as I want to do different /etc/hosts stuff based on which puppetmaster you're checking in against | ||
| [2011/11/08 08:01:11] <amh-mw> ashp: host { puppet: host_aliases => $servername, ip => $serverip, name => "puppet" } | ||
| [2011/11/08 08:01:22] <amh-mw> ashp: $servername and $serverip are your puppetmaster | ||
| [2011/11/08 08:01:35] <ashp> ohhhh | ||
| [2011/11/08 08:01:41] <ashp> I was looking in facter :) | ||
| [2011/11/08 08:01:46] <ashp> nice, thanks | ||
| [2011/11/08 08:02:44] <gwmngilfen> ashp, the above is better, but more generally you can also use generate() function calls, as they run on the master at catalog compile time | ||
| [2011/11/08 08:02:55] @ Quit: ralfgro_: Ping timeout: 255 seconds | ||
| [2011/11/08 08:04:04] <ashp> i always forget about generate, this is just a kludgy dns workaround as our infrastructure is .. non-existant, basically | ||
| [2011/11/08 08:04:07] <ashp> so i am kludging some stuff around | ||
| [2011/11/08 08:04:14] @ Quit: octane-: Quit: octane- | ||
| [2011/11/08 08:04:27] @ ralfgro_ joined channel #puppet | ||
| [2011/11/08 08:04:35] <amh-mw> ashp: same here, i use an awful bootstrapping script instead of real kickstarting ;) | ||
| [2011/11/08 08:04:46] @ Quit: _plg: Remote host closed the connection | ||
| [2011/11/08 08:05:02] @ _plg joined channel #puppet | ||
| [2011/11/08 08:05:10] <ashp> i got dragged into some terrible project instead of fixing infrastructure | ||
| [2011/11/08 08:05:25] <ashp> i should really get on with making a deployment pipeline for this horrible project rather than having to deal with 3248923 environments myself | ||
| [2011/11/08 08:05:53] @ iFire` joined channel #puppet | ||
| [2011/11/08 08:06:03] @ andreaturli joined channel #puppet | ||
| [2011/11/08 08:06:20] @ Quit: iFire: Ping timeout: 256 seconds | ||
| [2011/11/08 08:06:35] @ chewie71 joined channel #puppet | ||
| [2011/11/08 08:07:44] @ xover1 joined channel #puppet | ||
| [2011/11/08 08:07:57] @ jsurfer joined channel #puppet | ||
| [2011/11/08 08:08:03] <chewie71> I'm trying to configure puppetmaster to run in Passenger on Ubuntu. I followed all the steps in the install guide, but when I browse to https://puppet:8140, I get the Passenger error screen with this error..."no such file to load -- puppet/network/http_server/rack" | ||
| [2011/11/08 08:08:12] <xover1> I am receiving this error, what does it mean? | ||
| [2011/11/08 08:08:12] <xover1> Could not retrieve information from source(s) puppet:///modules/ssh/authorized_keys at /etc/puppet/modules/ssh/manifests/init.pp:5 | ||
| [2011/11/08 08:09:04] <fragfutter> xover1: you forgot to configure the puppet fileserver | ||
| [2011/11/08 08:09:28] <chewie71> I see that "require" line in the config.ru file mentioning that path (puppet/network/http_server/rack)....but I don't know where it's trying to find that path....or why it's missing. | ||
| [2011/11/08 08:12:26] <amh-mw> xover1: fragfutter: Doesn't the modules file share exist by default? I use it heavily with 0.25.5 and I don't have a section for it in my fileserver.conf. | ||
| [2011/11/08 08:13:22] @ bosszaru joined channel #puppet | ||
| [2011/11/08 08:13:22] @ zwi joined channel #puppet | ||
| [2011/11/08 08:13:26] @ benjiedmund joined channel #puppet | ||
| [2011/11/08 08:14:37] @ Quit: the_ramink: Ping timeout: 255 seconds | ||
| [2011/11/08 08:15:46] @ Quit: raphdg: Remote host closed the connection | ||
| [2011/11/08 08:15:50] @ roog joined channel #puppet | ||
| [2011/11/08 08:16:57] <roog> is there an easy way to test a template (erb) I want to see what the template would look like with the facter facts inserted, but i don't want to push it to puppetmaster and reload all the modules etc | ||
| [2011/11/08 08:18:13] @ newtMcKerr joined channel #puppet | ||
| [2011/11/08 08:19:45] @ Quit: MattyM: Remote host closed the connection | ||
| [2011/11/08 08:20:45] <erthad> is there a way to return false from custom function? I tried to return false and nil and :undef and :undefined and "" from function but all these appear as '0' | ||
| [2011/11/08 08:20:59] <erthad> is it the intended way or am I missing something? | ||
| [2011/11/08 08:22:26] @ Quit: duerF: Quit: Leaving | ||
| [2011/11/08 08:23:01] <xover1> amh-mw: it does | ||
| [2011/11/08 08:23:49] @ labrown joined channel #puppet | ||
| [2011/11/08 08:24:34] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/08 08:24:34] <chewie71> Anyone know why Passenger would give me this error.... "no such file to load -- puppet/network/http_server/rack" ? | ||
| [2011/11/08 08:24:38] @ Quit: wollviech: Ping timeout: 240 seconds | ||
| [2011/11/08 08:26:33] @ wollviech joined channel #puppet | ||
| [2011/11/08 08:27:43] <xover1> where have I gone wrong with this cofig? | ||
| [2011/11/08 08:27:51] <xover1> /etc/puppet/modules is supposed to be enabled by default | ||
| [2011/11/08 08:29:23] @ kenperkins joined channel #puppet | ||
| [2011/11/08 08:29:30] <agwells0714> what is your modules folder structure look like? | ||
| [2011/11/08 08:29:41] <xover1> is this incorrect? | ||
| [2011/11/08 08:29:42] <xover1> http://pastebin.com/ujf64TWg | ||
| [2011/11/08 08:30:07] @ dksaarth joined channel #puppet | ||
| [2011/11/08 08:30:18] <agwells0714> xover1: can you please do a tree or ls of your module's directory | ||
| [2011/11/08 08:30:46] <fragfutter> missing files in line 18 | ||
| [2011/11/08 08:31:04] <dksaarth> hi guys - is there anyway to pass a node's name into a defined function ? I want to do something like: node 'my-node' inherits basenode { | ||
| [2011/11/08 08:31:04] <dksaarth> custom_function($node_name) | ||
| [2011/11/08 08:31:04] <dksaarth> } | ||
| [2011/11/08 08:31:18] <hobbeswalsh> xover1: should be /etc/puppet/modules/ssh/files/authorized_keys | ||
| [2011/11/08 08:31:29] <dksaarth> where my custom function would receive 'my-node' | ||
| [2011/11/08 08:31:30] <amh-mw> dksaarth: $fqdn? | ||
| [2011/11/08 08:31:40] <agwells0714> xover1: yup hobbeswalsh got it | ||
| [2011/11/08 08:31:52] <xover1> sure | ||
| [2011/11/08 08:31:52] <xover1> http://pastebin.com/nfRGENMk | ||
| [2011/11/08 08:32:05] <dksaarth> mmm im not sure my fqdn is all right - running network here with just hostnames defined in /etc/hots | ||
| [2011/11/08 08:32:06] <xover1> oh | ||
| [2011/11/08 08:32:08] <dksaarth> /etc/hosts i mean | ||
| [2011/11/08 08:33:05] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 08:33:09] <agwells0714> xover1: put authorized_keys in the directory modules/ssh/files/ | ||
| [2011/11/08 08:33:41] <agwells0714> xover1: and you do not need to fix your source parameter | ||
| [2011/11/08 08:33:54] <xover1> same error | ||
| [2011/11/08 08:33:56] <xover1> Could not retrieve information from source(s) puppet:///modules/ssh/files/authorized_keys at /etc/puppet/modules/ssh/manifests/init.pp:5 | ||
| [2011/11/08 08:34:04] <hobbeswalsh> what version of puppet? | ||
| [2011/11/08 08:34:20] <hobbeswalsh> xover1: don't change your source parameter | ||
| [2011/11/08 08:34:26] <agwells0714> xover1: gah! sources: puppet:///modules/ssh/authorized_keys | ||
| [2011/11/08 08:34:39] <xover1> really! | ||
| [2011/11/08 08:34:43] <hobbeswalsh> really! | ||
| [2011/11/08 08:34:43] <xover1> how does that work? | ||
| [2011/11/08 08:34:52] <agwells0714> yes, really. | ||
| [2011/11/08 08:34:58] <hobbeswalsh> convention over ... what is it again? | ||
| [2011/11/08 08:35:02] <agwells0714> xover1: its just knows... | ||
| [2011/11/08 08:35:05] <hobbeswalsh> the Ruby community is big on convention | ||
| [2011/11/08 08:35:11] <hobbeswalsh> so... it's a convention | ||
| [2011/11/08 08:35:14] @ Quit: leifmadsen: Ping timeout: 256 seconds | ||
| [2011/11/08 08:35:15] <xover1> same error | ||
| [2011/11/08 08:35:33] @ danikov joined channel #puppet | ||
| [2011/11/08 08:35:46] <xover1> great its worked | ||
| [2011/11/08 08:35:49] <xover1> vi crashed | ||
| [2011/11/08 08:35:55] <xover1> left swp file. | ||
| [2011/11/08 08:36:08] @ ckauhaus joined channel #puppet | ||
| [2011/11/08 08:36:09] <xover1> that path confuses me though | ||
| [2011/11/08 08:36:20] @ leifmadsen joined channel #puppet | ||
| [2011/11/08 08:36:41] <hobbeswalsh> xover1: it's a convention | ||
| [2011/11/08 08:36:59] <hobbeswalsh> source => puppet:///modules/foo/file1 means (look in "modules/files/file1" | ||
| [2011/11/08 08:37:19] <agwells0714> xover1: http://docs.puppetlabs.com/guides/modules.html | ||
| [2011/11/08 08:37:22] <hobbeswalsh> content => template("foo/file1.erb") means "look in modules/foo/templates/file1.erb" | ||
| [2011/11/08 08:37:27] <hobbeswalsh> that's all you need to know about it | ||
| [2011/11/08 08:38:00] <hobbeswalsh> I take it back. You need to know more than that by reading the docs linked above :D | ||
| [2011/11/08 08:39:00] @ Quit: alanevans: Read error: Connection reset by peer | ||
| [2011/11/08 08:39:11] <agwells0714> xover1: puppet is the uncle that no one likes, but often take money from him | ||
| [2011/11/08 08:39:15] @ soh joined channel #puppet | ||
| [2011/11/08 08:39:15] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/11/08 08:39:47] @ tilgovi joined channel #puppet | ||
| [2011/11/08 08:39:48] @ Quit: tilgovi: Changing host | ||
| [2011/11/08 08:39:48] @ tilgovi joined channel #puppet | ||
| [2011/11/08 08:39:51] <amh-mw> dksaarth: Feature #2128? | ||
| [2011/11/08 08:39:52] <gepetto> amh-mw: dksaarth: #2128 is http://projects.puppetlabs.com/issues/show/2128 "Puppet - Feature #2128: Allow arbitrary fact as node_name identifier. It has a status of Closed and is assigned to Nick Lewis" | ||
| [2011/11/08 08:40:34] @ kaptk2 joined channel #puppet | ||
| [2011/11/08 08:40:49] @ Quit: kaptk2: Client Quit | ||
| [2011/11/08 08:41:04] <agwells0714> although I might be pretty content with Cobbler+Puppet | ||
| [2011/11/08 08:41:52] @ Quit: bobra: Ping timeout: 248 seconds | ||
| [2011/11/08 08:42:12] @ amh-mw left channel #puppet () | ||
| [2011/11/08 08:42:45] @ the_ramink joined channel #puppet | ||
| [2011/11/08 08:43:42] @ dan__t joined channel #puppet | ||
| [2011/11/08 08:46:04] <lynxman> bodepd: ping, whenever you're around | ||
| [2011/11/08 08:46:31] @ Quit: rutger_: Remote host closed the connection | ||
| [2011/11/08 08:46:31] <dksaarth> thanks amh-mw, think im going to go with fqdn, seems to work | ||
| [2011/11/08 08:46:46] <cliff-hm> What is best way to tell puppet to restart a service. Not just, ensure running, but bounce service ? | ||
| [2011/11/08 08:48:09] <fragfutter> cliff-hm: notify it | ||
| [2011/11/08 08:48:12] @ marczak joined channel #puppet | ||
| [2011/11/08 08:48:16] @ tizzo-afk is now known as tizzo | ||
| [2011/11/08 08:48:37] @ Quit: mpdude: Ping timeout: 240 seconds | ||
| [2011/11/08 08:50:14] @ Quit: pieter_: Quit: Ex-Chat | ||
| [2011/11/08 08:53:02] @ trickyf left channel #puppet () | ||
| [2011/11/08 08:54:11] <bag__> anyone awake that has installed newer Dashboard releases on RHEL/Cent ? | ||
| [2011/11/08 08:54:23] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/11/08 08:54:55] @ gebi joined channel #puppet | ||
| [2011/11/08 08:56:04] <walkeran> bag__: newer than what? :) | ||
| [2011/11/08 08:56:38] <walkeran> bag__: I've installed 1.2.0 on centos, but admittedly don't really remember a whole lot about the setup, and didn't take notes :( | ||
| [2011/11/08 08:56:45] @ Quit: the_ramink: Read error: Connection reset by peer | ||
| [2011/11/08 08:57:02] <bag__> i have 1.0.4 installed on Cent 5 | ||
| [2011/11/08 08:57:17] @ the_ramink joined channel #puppet | ||
| [2011/11/08 08:57:32] <bag__> trying to get 1.2.2 installed on Cent 6 and running into issues | ||
| [2011/11/08 08:58:08] <walkeran> bag__ I guess that's a little newer than I've got, and I'm on CentOS 5... what are your issues, though? | ||
| [2011/11/08 08:58:08] @ Quit: the_ramink: Read error: Connection reset by peer | ||
| [2011/11/08 08:58:23] @ Quit: fir31ight: Remote host closed the connection | ||
| [2011/11/08 08:58:31] <bag__> i followed notes from the bootstrapping guide | ||
| [2011/11/08 08:58:42] @ the_ramink joined channel #puppet | ||
| [2011/11/08 08:58:56] @ Quit: leifmadsen: Ping timeout: 248 seconds | ||
| [2011/11/08 08:59:01] @ Quit: Ownage: Ping timeout: 240 seconds | ||
| [2011/11/08 08:59:13] <bag__> getting 500 error at web interface | ||
| [2011/11/08 08:59:22] @ leifmadsen joined channel #puppet | ||
| [2011/11/08 08:59:22] @ grendzy joined channel #puppet | ||
| [2011/11/08 08:59:43] <bag__> running on passenger/apache | ||
| [2011/11/08 08:59:46] <walkeran> bag__ using passenger or the included webrick server? | ||
| [2011/11/08 08:59:47] <walkeran> ah ok | ||
| [2011/11/08 08:59:57] <walkeran> Anything useful for errors in the apache logs? | ||
| [2011/11/08 08:59:59] <bag__> had it working on webrick.. or at least i had a gui | ||
| [2011/11/08 09:00:02] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 09:00:12] @ Quit: MartVisser: Quit: This computer has gone to sleep | ||
| [2011/11/08 09:00:37] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/08 09:00:39] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/08 09:01:02] <stahnma> bag__: I've done dashboard a lot on rhel/centos whats up? | ||
| [2011/11/08 09:01:29] @ lusis joined channel #puppet | ||
| [2011/11/08 09:02:21] <bag__> nothing much in logs | ||
| [2011/11/08 09:02:40] <bag__> lemme do a pastie with my configs and such | ||
| [2011/11/08 09:04:00] @ alanevans joined channel #puppet | ||
| [2011/11/08 09:06:15] @ wollviec1 joined channel #puppet | ||
| [2011/11/08 09:06:24] @ Quit: wollviech: Ping timeout: 248 seconds | ||
| [2011/11/08 09:08:40] @ Quit: nul0op: Ping timeout: 256 seconds | ||
| [2011/11/08 09:08:55] @ Quit: xover1: Quit: Leaving. | ||
| [2011/11/08 09:09:05] @ fir31ight joined channel #puppet | ||
| [2011/11/08 09:11:47] @ Quit: smooth_p: Read error: Operation timed out | ||
| [2011/11/08 09:12:12] @ Quit: jodok: Quit: jodok | ||
| [2011/11/08 09:14:03] @ Quit: wollviec1: Ping timeout: 260 seconds | ||
| [2011/11/08 09:14:22] @ Quit: marczak: Ping timeout: 258 seconds | ||
| [2011/11/08 09:14:39] <bag__> ok i think i captured all the relevant details : http://pastie.org/2831810 | ||
| [2011/11/08 09:14:56] @ wollviech joined channel #puppet | ||
| [2011/11/08 09:15:48] @ soh joined channel #puppet | ||
| [2011/11/08 09:17:23] @ mpdude joined channel #puppet | ||
| [2011/11/08 09:17:38] @ kelseyhi1htower joined channel #puppet | ||
| [2011/11/08 09:17:43] @ slseed left channel #puppet () | ||
| [2011/11/08 09:17:47] <bag__> currently getting 'No such file or directory - config.ru', Errno::ENOENT | ||
| [2011/11/08 09:19:21] <shortbus-> i'm getting a syntax error with the following manifest, and i can't figure out why. everything looks ok to me, but even though its short, i managed to miss something. can someone point out where i went wrong? http://fpaste.org/cts7/ | ||
| [2011/11/08 09:19:53] @ Quit: d3c: Ping timeout: 260 seconds | ||
| [2011/11/08 09:20:48] @ Quit: kelseyhightower: Ping timeout: 248 seconds | ||
| [2011/11/08 09:22:00] @ Quit: leifmadsen: Remote host closed the connection | ||
| [2011/11/08 09:23:08] <the_ramink> bag__: Directory shoudl be the same as DocumentRoot which is path/to/public | ||
| [2011/11/08 09:23:30] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/08 09:24:04] <walkeran> the_ramink: but... it is.. :P | ||
| [2011/11/08 09:24:12] @ Arendtse1 is now known as Arendtsen | ||
| [2011/11/08 09:24:13] @ lwhalen joined channel #puppet | ||
| [2011/11/08 09:24:30] <walkeran> bag__: I'm not sure on this one, but you are telling it that it's a rack app (on line 113 of your pastie)... I have "RailsBaseURI /"... But, I also have RailsAutoDetect and RackAutoDetect turned on, whereas you have them off | ||
| [2011/11/08 09:24:40] <the_ramink> walkeran: oops wrong part of the config | ||
| [2011/11/08 09:25:51] <_plg> hi again, can I do a puppet apply to a ruby class? I have a small test class but it keeps trowing a syntax error | ||
| [2011/11/08 09:26:17] <_plg> * class -> manifest with a class and node definition | ||
| [2011/11/08 09:28:31] <walkeran> (sorry, me being lazy) #5237 | ||
| [2011/11/08 09:28:31] <gepetto> walkeran: (sorry: #5237 is http://projects.puppetlabs.com/issues/show/5237 "Puppet - Bug #5237: attribute defaults do not work with Ruby dsl classes. It has a status of Accepted and is assigned to -" | ||
| [2011/11/08 09:29:34] <shortbus-> doh. never mind. i missed the >. | ||
| [2011/11/08 09:30:20] <agwells0714> shortbus: yeah those will get ya | ||
| [2011/11/08 09:30:21] @ Quit: dksaarth: Quit: Leaving | ||
| [2011/11/08 09:30:41] <shortbus-> i guess i shouldn't have skipped breakfast this morning. =/ | ||
| [2011/11/08 09:30:59] <agwells0714> shortbus: especially because parameters in classes and defined resources use just the = | ||
| [2011/11/08 09:31:31] @ olglory07 joined channel #puppet | ||
| [2011/11/08 09:32:08] <shortbus-> man, that was driving me nuts. it looked right, and i couldn't figure out why | ||
| [2011/11/08 09:32:17] @ shadoi joined channel #puppet | ||
| [2011/11/08 09:32:32] <bag__> walkeran: i had those Rails directives on my old dashboard install, i thought i tried them on this one.. but i just put those in, and i have a gui... now to test functionality. thanks so far :) | ||
| [2011/11/08 09:33:00] <walkeran> bag__: Awesome! Glad that helped. I don't even know how I managed to pick that out :P | ||
| [2011/11/08 09:33:35] <bag__> i needed a sanity check.. i was flinging crap at the wall, and I hate that feeling :) | ||
| [2011/11/08 09:33:37] @ leifmadsen joined channel #puppet | ||
| [2011/11/08 09:33:47] <walkeran> hah, for sure! | ||
| [2011/11/08 09:33:52] <bag__> are you running the 1.2.x dashboard? | ||
| [2011/11/08 09:33:58] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/08 09:34:19] @ madasi joined channel #puppet | ||
| [2011/11/08 09:34:53] <_plg> member:walkeran: the 5237 was for me? if it was I think it doesn't apply | ||
| [2011/11/08 09:35:16] <walkeran> _plg: Nope, that was for me... I just wanted to look at that issue and I was being lazy | ||
| [2011/11/08 09:35:32] <_plg> oh, ok, sry | ||
| [2011/11/08 09:35:54] <walkeran> _plg: In a roundabout way, though, I was looking into your issue, and trying to set up a quick Ruby DSL test that will apply using "puppet apply" :) | ||
| [2011/11/08 09:35:55] <olglory07> hey I am thinking about deploying the community edition of puppet in my environment, or should I just buy the enterprise version? | ||
| [2011/11/08 09:36:22] @ williemach joined channel #puppet | ||
| [2011/11/08 09:36:54] @ samkottler joined channel #puppet | ||
| [2011/11/08 09:36:58] @ seanh-ansca joined channel #puppet | ||
| [2011/11/08 09:37:05] <olglory07> is the community edition worth the trouble? | ||
| [2011/11/08 09:37:59] <_plg> walkeran: mine example is http://pastebin.com/auA6pz8K | ||
| [2011/11/08 09:38:22] <_plg> I implemented a similar approach in puppet DSL and it worked | ||
| [2011/11/08 09:38:25] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/08 09:38:47] @ multiverse joined channel #puppet | ||
| [2011/11/08 09:40:34] @ olglory07 left channel #puppet ("Leaving...") | ||
| [2011/11/08 09:40:41] <walkeran> olglory07: I can say that ... nevermind, you're gone... | ||
| [2011/11/08 09:40:45] @ olglory07 joined channel #puppet | ||
| [2011/11/08 09:40:53] @ olglory07 left channel #puppet ("Leaving...") | ||
| [2011/11/08 09:40:55] * walkeran sighs | ||
| [2011/11/08 09:42:30] @ Tribaal joined channel #puppet | ||
| [2011/11/08 09:43:04] @ peridot joined channel #puppet | ||
| [2011/11/08 09:43:31] <walkeran> _plg: Hrmm... your test is working fine for me. What's your error? | ||
| [2011/11/08 09:45:20] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/11/08 09:45:21] <_plg> walkeran: my problem is that i never worked with ruby. The file had a .erb extension and not .rb . Sorry, it is working now, thanks for your help anyway | ||
| [2011/11/08 09:45:27] @ johnston joined channel #puppet | ||
| [2011/11/08 09:45:46] <walkeran> _plg : Oh! Yeah, that file extension makes a big difference! ;) No problemo | ||
| [2011/11/08 09:45:59] @ mcarpent joined channel #puppet | ||
| [2011/11/08 09:46:35] @ mrwacky42 joined channel #puppet | ||
| [2011/11/08 09:46:56] @ Quit: Chillax_: Ping timeout: 248 seconds | ||
| [2011/11/08 09:47:38] @ Quit: mrwacky42: Client Quit | ||
| [2011/11/08 09:47:52] @ mrwacky42 joined channel #puppet | ||
| [2011/11/08 09:49:41] @ troutwine joined channel #puppet | ||
| [2011/11/08 09:50:55] @ Quit: tilgovi: Ping timeout: 255 seconds | ||
| [2011/11/08 09:50:57] <multiverse> Hi all! I'm sitting in the Puppet Master training in Seattle! | ||
| [2011/11/08 09:51:36] @ Quit: chewie71: Quit: Page closed | ||
| [2011/11/08 09:51:36] <Theory> awesome, you can relay all our questions to the trainers | ||
| [2011/11/08 09:52:43] <astrostl> if i want to have puppet install a remote rpm, how can i make it not fail on subsequent runs? | ||
| [2011/11/08 09:52:58] @ octane- joined channel #puppet | ||
| [2011/11/08 09:53:56] <_rc> put it in a yum repository and let the package provider do what it's good at | ||
| [2011/11/08 09:54:30] @ ccaum joined channel #puppet | ||
| [2011/11/08 09:54:46] <astrostl> i thought there might be a workaround given that rpm is a supported provider and urls are a supported source | ||
| [2011/11/08 09:54:47] <walkeran> _rc++ | ||
| [2011/11/08 09:55:18] @ Quit: iw_work: Ping timeout: 258 seconds | ||
| [2011/11/08 09:55:48] <peridot> maybe use exec and unless => 'rpm -q rpmname' | ||
| [2011/11/08 09:56:40] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/08 09:57:36] @ Quit: octane-: Ping timeout: 252 seconds | ||
| [2011/11/08 09:58:30] @ samkottler joined channel #puppet | ||
| [2011/11/08 09:59:10] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/11/08 10:00:00] <peridot> I get annoyed sometimes with the sheer number of directories I have to traverse in puppet. | ||
| [2011/11/08 10:00:18] <peridot> cd /etc/puppet/environments/testing/modules/data/lib/puppet/parser/functions...damn | ||
| [2011/11/08 10:00:27] <jamesturnbull> robinbowes: it's like Snakes on a Plane only South African and grumpier | ||
| [2011/11/08 10:01:00] @ Quit: walkeran: Remote host closed the connection | ||
| [2011/11/08 10:01:04] <jamesturnbull> KaZeR_W: sorry had to go to the dentist - yes you can either start the rails server or if you're using dashboard with passenger then apache | ||
| [2011/11/08 10:02:19] @ walkeran joined channel #puppet | ||
| [2011/11/08 10:02:22] * plathrop waves at jamesturnbull | ||
| [2011/11/08 10:03:27] @ SinisterZinster joined channel #puppet | ||
| [2011/11/08 10:03:41] <nate_h> peridot, tab complete is your friend | ||
| [2011/11/08 10:03:45] <nate_h> but ya i know what you mean | ||
| [2011/11/08 10:04:02] @ maes_` joined channel #puppet | ||
| [2011/11/08 10:04:29] <walkeran> peridot: pup-test; cd mo<tab>d<tab>l<tab>p<tab>p<tab>f<tab><enter> :D | ||
| [2011/11/08 10:04:32] @ Quit: maes_: Ping timeout: 248 seconds | ||
| [2011/11/08 10:04:40] * jamesturnbull waves slightly drunkenly back | ||
| [2011/11/08 10:04:45] <plathrop> peridot: I actually went so far as to write a couple shell helpers that put me in the right dir from the top of a module. | ||
| [2011/11/08 10:04:48] @ marczak joined channel #puppet | ||
| [2011/11/08 10:04:55] <jamesturnbull> peridot: yeah me too | ||
| [2011/11/08 10:05:04] <plathrop> cdfact and cdfunc I think. | ||
| [2011/11/08 10:05:12] <SinisterZinster> exit | ||
| [2011/11/08 10:05:25] <jamesturnbull> SinisterZinster: I often wish I could just leave | ||
| [2011/11/08 10:05:35] @ wollviec1 joined channel #puppet | ||
| [2011/11/08 10:05:42] <plathrop> Can't find them, though, I must have left them on my box at the previous employer. | ||
| [2011/11/08 10:06:45] @ SinisterZinster left channel #puppet () | ||
| [2011/11/08 10:06:46] <nate_h> SinisterZinster, hahaha | ||
| [2011/11/08 10:07:49] @ Quit: wollviech: Ping timeout: 240 seconds | ||
| [2011/11/08 10:08:38] <walkeran> //teleport home for lunch | ||
| [2011/11/08 10:08:59] <walkeran> *sigh*... it worked for SinisterZinster :( | ||
| [2011/11/08 10:12:27] @ Quit: jon6000: Ping timeout: 276 seconds | ||
| [2011/11/08 10:14:30] @ tswicegood joined channel #puppet | ||
| [2011/11/08 10:18:23] @ Quit: troutwine: Ping timeout: 258 seconds | ||
| [2011/11/08 10:19:47] @ troutwine joined channel #puppet | ||
| [2011/11/08 10:20:22] @ mpdude joined channel #puppet | ||
| [2011/11/08 10:20:24] @ tremble joined channel #puppet | ||
| [2011/11/08 10:20:32] @ Quit: tremble: Changing host | ||
| [2011/11/08 10:20:32] @ tremble joined channel #puppet | ||
| [2011/11/08 10:21:55] @ cek joined channel #puppet | ||
| [2011/11/08 10:22:06] <cek> Error 400 on SERVER: Cannot append, variable sa_plugins is defined in this scope at. wtf is going on?:/ | ||
| [2011/11/08 10:22:18] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/08 10:22:37] <cek> trying to add an array element like i always did | ||
| [2011/11/08 10:22:51] @ Quit: negronjl: Quit: Bye | ||
| [2011/11/08 10:24:33] <cek> oh, the var is inherited from parent class | ||
| [2011/11/08 10:24:52] <cek> so what should I do now? it doesn't break the graph | ||
| [2011/11/08 10:25:58] <cek> https://gist.github.com/f8f557607e4ad685a55b | ||
| [2011/11/08 10:28:11] @ althara joined channel #puppet | ||
| [2011/11/08 10:28:25] @ mawser joined channel #puppet | ||
| [2011/11/08 10:29:22] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 10:30:07] <cek> or better yet, if that can't be done, propose a nice solution to that problem | ||
| [2011/11/08 10:30:07] @ Quit: mauve: Quit: Leaving | ||
| [2011/11/08 10:31:03] @ jodok joined channel #puppet | ||
| [2011/11/08 10:31:04] @ Quit: jodok: Changing host | ||
| [2011/11/08 10:31:04] @ jodok joined channel #puppet | ||
| [2011/11/08 10:32:12] @ soh joined channel #puppet | ||
| [2011/11/08 10:32:40] <peridot> are there any rules to naming environments? I have two (currently) identical environments, one of which doesn't change anything, and the other which does. The only difference is the name. One has an underscore | ||
| [2011/11/08 10:33:04] <cek> yes, name them production, development, staging | ||
| [2011/11/08 10:33:05] <cek> or stage | ||
| [2011/11/08 10:33:15] @ thisKat joined channel #puppet | ||
| [2011/11/08 10:34:22] <althara> For those of you local to Seattle there is a puppet meetup tonight at 6PM. http://www.meetup.com/Seattle-Puppet-Meetup/events/39536722/ | ||
| [2011/11/08 10:34:58] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/08 10:35:22] @ Quit: troutwine: Ping timeout: 260 seconds | ||
| [2011/11/08 10:37:54] <cjz> jhelwig: any idea when 9983 is scheduled to be reviewed? | ||
| [2011/11/08 10:38:07] <cjz> i see that the fixes have already been committed | ||
| [2011/11/08 10:39:59] <jhelwig> cjz: Before 2.7.7 goes final: https://groups.google.com/forum/#!topic/puppet-dev/rTJPIT4PqUA | ||
| [2011/11/08 10:41:25] <robinbowes> jamesturnbull: Yes, I toyed with a few variatons on that theme (Volcane, snakes, plane) | ||
| [2011/11/08 10:41:40] @ dhogland joined channel #puppet | ||
| [2011/11/08 10:42:24] @ tilgovi joined channel #puppet | ||
| [2011/11/08 10:42:25] @ Quit: tilgovi: Changing host | ||
| [2011/11/08 10:42:25] @ tilgovi joined channel #puppet | ||
| [2011/11/08 10:42:28] @ larstobi joined channel #puppet | ||
| [2011/11/08 10:42:56] @ metcalfc joined channel #puppet | ||
| [2011/11/08 10:43:20] @ iw_work joined channel #puppet | ||
| [2011/11/08 10:43:52] @ ghaskins_ joined channel #puppet | ||
| [2011/11/08 10:45:19] @ __igor__ joined channel #puppet | ||
| [2011/11/08 10:45:19] @ Quit: cek: *.net *.split | ||
| [2011/11/08 10:45:20] @ Quit: tremble: *.net *.split | ||
| [2011/11/08 10:45:21] @ Quit: lusis: *.net *.split | ||
| [2011/11/08 10:45:22] @ Quit: Chesther: *.net *.split | ||
| [2011/11/08 10:45:23] @ Quit: uphillian: *.net *.split | ||
| [2011/11/08 10:45:23] @ Quit: ghaskins: *.net *.split | ||
| [2011/11/08 10:45:24] @ Quit: DJClean: *.net *.split | ||
| [2011/11/08 10:45:26] @ Quit: flipwork_: *.net *.split | ||
| [2011/11/08 10:45:27] @ Quit: madasi: *.net *.split | ||
| [2011/11/08 10:45:27] @ Quit: mogitux: *.net *.split | ||
| [2011/11/08 10:45:28] @ Quit: adrient: *.net *.split | ||
| [2011/11/08 10:45:29] @ Quit: ToKy: *.net *.split | ||
| [2011/11/08 10:45:29] @ Quit: rtyler: *.net *.split | ||
| [2011/11/08 10:45:30] @ Quit: CoolCold: *.net *.split | ||
| [2011/11/08 10:45:30] @ Quit: nate_h: *.net *.split | ||
| [2011/11/08 10:45:31] @ Quit: toobulkeh: *.net *.split | ||
| [2011/11/08 10:45:32] @ Quit: Whoop: *.net *.split | ||
| [2011/11/08 10:45:32] @ Quit: SFox: *.net *.split | ||
| [2011/11/08 10:45:34] @ Quit: tvsutton: *.net *.split | ||
| [2011/11/08 10:45:34] @ Quit: jetole: *.net *.split | ||
| [2011/11/08 10:45:35] @ Quit: lofidellity: *.net *.split | ||
| [2011/11/08 10:45:35] @ Quit: vkdir: *.net *.split | ||
| [2011/11/08 10:45:36] @ Quit: mburns: *.net *.split | ||
| [2011/11/08 10:45:37] @ Quit: chadh: *.net *.split | ||
| [2011/11/08 10:45:39] @ Quit: __igor___: *.net *.split | ||
| [2011/11/08 10:45:39] @ Quit: rosco_: *.net *.split | ||
| [2011/11/08 10:45:40] @ Quit: shrug: *.net *.split | ||
| [2011/11/08 10:45:41] @ Quit: krash3r_: *.net *.split | ||
| [2011/11/08 10:45:43] @ lofidellity joined channel #puppet | ||
| [2011/11/08 10:45:52] @ toobulkeh joined channel #puppet | ||
| [2011/11/08 10:46:20] @ cek joined channel #puppet | ||
| [2011/11/08 10:46:20] @ tremble joined channel #puppet | ||
| [2011/11/08 10:46:20] @ madasi joined channel #puppet | ||
| [2011/11/08 10:46:20] @ lusis joined channel #puppet | ||
| [2011/11/08 10:46:20] @ Chesther joined channel #puppet | ||
| [2011/11/08 10:46:20] @ uphillian joined channel #puppet | ||
| [2011/11/08 10:46:20] @ ghaskins joined channel #puppet | ||
| [2011/11/08 10:46:20] @ mogitux joined channel #puppet | ||
| [2011/11/08 10:46:20] @ adrient joined channel #puppet | ||
| [2011/11/08 10:46:20] @ ToKy joined channel #puppet | ||
| [2011/11/08 10:46:20] @ rtyler joined channel #puppet | ||
| [2011/11/08 10:46:20] @ CoolCold joined channel #puppet | ||
| [2011/11/08 10:46:20] @ nate_h joined channel #puppet | ||
| [2011/11/08 10:46:20] @ Whoop joined channel #puppet | ||
| [2011/11/08 10:46:20] @ SFox joined channel #puppet | ||
| [2011/11/08 10:46:20] @ tvsutton joined channel #puppet | ||
| [2011/11/08 10:46:20] @ jetole joined channel #puppet | ||
| [2011/11/08 10:46:20] @ vkdir joined channel #puppet | ||
| [2011/11/08 10:46:20] @ mburns joined channel #puppet | ||
| [2011/11/08 10:46:20] @ chadh joined channel #puppet | ||
| [2011/11/08 10:46:20] @ rosco_ joined channel #puppet | ||
| [2011/11/08 10:46:21] @ shrug joined channel #puppet | ||
| [2011/11/08 10:46:21] @ krash3r_ joined channel #puppet | ||
| [2011/11/08 10:46:21] @ DJClean joined channel #puppet | ||
| [2011/11/08 10:46:33] @ flipwork joined channel #puppet | ||
| [2011/11/08 10:46:35] @ Quit: ghaskins: Ping timeout: 252 seconds | ||
| [2011/11/08 10:46:42] @ Quit: DJClean: Changing host | ||
| [2011/11/08 10:46:42] @ DJClean joined channel #puppet | ||
| [2011/11/08 10:46:48] @ Quit: IndyMichaelB: Read error: Connection reset by peer | ||
| [2011/11/08 10:47:04] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/08 10:48:11] @ ianbrandt joined channel #puppet | ||
| [2011/11/08 10:48:23] @ illsci joined channel #puppet | ||
| [2011/11/08 10:49:10] <illsci> How can you or what do I google to see how to manipulate values in erb templates using lookupvar? | ||
| [2011/11/08 10:49:22] <illsci> basically I look up a subnet and I want to strip off the .0 and make it a .1 | ||
| [2011/11/08 10:50:30] @ smooth_p joined channel #puppet | ||
| [2011/11/08 10:50:35] <cek> google for ruby language tutorial | ||
| [2011/11/08 10:52:06] <illsci> k | ||
| [2011/11/08 10:52:10] @ Quit: iw_work: Ping timeout: 260 seconds | ||
| [2011/11/08 10:52:41] @ d3c joined channel #puppet | ||
| [2011/11/08 10:53:49] @ iw_work joined channel #puppet | ||
| [2011/11/08 10:54:04] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/08 10:55:31] <peridot> http://www.rubyist.net/~slagell/ruby/strings.html is good for ruby strings | ||
| [2011/11/08 10:55:40] <illsci> yeah im looking at it now.. :) | ||
| [2011/11/08 10:57:18] @ Quit: bretm: Ping timeout: 276 seconds | ||
| [2011/11/08 10:59:50] @ KaiserBeto joined channel #puppet | ||
| [2011/11/08 11:00:23] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/08 11:00:25] <dan__t> hrm. | ||
| [2011/11/08 11:01:04] @ KaiserBeto left channel #puppet () | ||
| [2011/11/08 11:04:02] @ dhogland_ joined channel #puppet | ||
| [2011/11/08 11:04:03] @ Quit: dhogland: Read error: Connection reset by peer | ||
| [2011/11/08 11:04:54] @ Quit: astrostl: | ||
| [2011/11/08 11:05:46] <robinbowes> Hrm, puppet-concat... | ||
| [2011/11/08 11:06:43] @ bretm joined channel #puppet | ||
| [2011/11/08 11:06:52] <ianbrandt> Greetings. I'm trying to bootstrap the install of puppetlabs-stdlib from my recursive Puppet module. I'm thinking I can declare puppe-module-tool as a 'package' with the gem provider. Besides the obvious 'exec', is there a better way to drive 'puppet-module install' from there? | ||
| [2011/11/08 11:07:29] <agwells0714> ianbrandt: use package and change provider to gem | ||
| [2011/11/08 11:07:37] <robinbowes> worked on first 10 servers, server 11: Paramter path failed: File paths must be fully qualified, not 'undef' at /opt/puppet/common/modules/concat/manifests/setup.pp:37 | ||
| [2011/11/08 11:08:06] <agwells0714> oh | ||
| [2011/11/08 11:08:15] <ianbrandt> agwells0714: Right, but I'm not seeing a gem for stdlib itself. | ||
| [2011/11/08 11:08:18] <agwells0714> ianbrandt: skiped over your question there | ||
| [2011/11/08 11:08:58] <ianbrandt> agwells0714: No problem. :) | ||
| [2011/11/08 11:09:40] @ Quit: metcalfc: Ping timeout: 258 seconds | ||
| [2011/11/08 11:09:46] <agwells0714> ianbrandt: whynot just create a module that distributes modules using a resursive file | ||
| [2011/11/08 11:09:48] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 11:10:01] <agwells0714> agwells0714: i would use exec | ||
| [2011/11/08 11:10:05] @ edovale joined channel #puppet | ||
| [2011/11/08 11:10:52] <ianbrandt> agwells0714: Okay, so no way to drive puppet-module-tool directly from a manifest then? | ||
| [2011/11/08 11:10:52] <agwells0714> lol serious brain fart. ianbrant: otherwise I would just use exec | ||
| [2011/11/08 11:10:57] <edovale> folks, I want to have pupet run a curl command back to a notify an ec2 cloudformation wait condition if everything went well or not. | ||
| [2011/11/08 11:11:16] @ soh joined channel #puppet | ||
| [2011/11/08 11:11:28] <agwells0714> ianbrandt: not that I know of | ||
| [2011/11/08 11:11:29] <edovale> is there a function or global variable that retains the status of the current run? | ||
| [2011/11/08 11:11:52] <ianbrandt> agwells0714: Very good. Exec it is. Thanks! | ||
| [2011/11/08 11:13:43] @ Quit: fir31ight: Write error: Broken pipe | ||
| [2011/11/08 11:14:39] @ Quit: jonhattan: Quit: llevaré una chaquete de guns'n'roses | ||
| [2011/11/08 11:15:15] <edovale> is there a way to know if the current run has had any failures from within a manifest? | ||
| [2011/11/08 11:19:38] @ mitchellh joined channel #puppet | ||
| [2011/11/08 11:19:50] @ fir31ight joined channel #puppet | ||
| [2011/11/08 11:19:53] <cek> edovale, nope. you might want to try stages for that or relations, but that's too complicated | ||
| [2011/11/08 11:20:41] <cek> generally, you just create a file on the filesystem with your desired status and implement a fact that outputs its content | ||
| [2011/11/08 11:20:56] @ pednyc joined channel #puppet | ||
| [2011/11/08 11:20:57] <edovale> @cek: yes, I was gonna create a stage that runs last and peg my exec command to it; that should not be too dificult. The problem is that I need to know if there were failures or not during the run to report back accordingly | ||
| [2011/11/08 11:21:36] <cek> edovale, later resources won't run if you had failures of resources they depend on | ||
| [2011/11/08 11:22:16] <edovale> @cek: but if there is no dependency on any other resource then it should run regardless right? | ||
| [2011/11/08 11:22:28] <cek> thus, if you create stage that runs after main, it will only be run if everything else before was ran | ||
| [2011/11/08 11:22:32] <cek> that's how I understood stages | ||
| [2011/11/08 11:23:26] <edovale> @cek: really?? I thought stages were there exactly to circunvent that.. I though they just imposed an order of execution but no dependencies... | ||
| [2011/11/08 11:23:43] <edovale> @cek, if you are right on that then my approach will not work.. | ||
| [2011/11/08 11:24:04] <edovale> @cek: I will test that.. | ||
| [2011/11/08 11:24:39] @ Quit: dnjaramba: | ||
| [2011/11/08 11:24:58] @ hooper joined channel #puppet | ||
| [2011/11/08 11:24:59] <edovale> @cek: anyway, there is no function or variable that I can query to know the status of the current run.. Is this 100% right? | ||
| [2011/11/08 11:26:06] @ Quit: marczak: Ping timeout: 240 seconds | ||
| [2011/11/08 11:26:09] @ jbraeuer joined channel #puppet | ||
| [2011/11/08 11:26:28] <cek> puppet apply -e 'stage{'post': require => Stage[main]} exec { "/bin/big fail!": } class after { notify{"post main stage":}} class {after: stage => post}' | ||
| [2011/11/08 11:26:30] @ Quit: iw_work: Ping timeout: 240 seconds | ||
| [2011/11/08 11:26:56] <cek> warning: /Stage[post]/After/Notify[post main stage]: Skipping because of failed dependencies | ||
| [2011/11/08 11:29:10] @ Quit: jbraeuer: Client Quit | ||
| [2011/11/08 11:32:15] @ Quit: mitchellh: Read error: Connection reset by peer | ||
| [2011/11/08 11:32:26] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 11:32:48] @ mitchellh joined channel #puppet | ||
| [2011/11/08 11:33:07] <edovale> @cek: that sucks!!! | ||
| [2011/11/08 11:33:34] @ aclark joined channel #puppet | ||
| [2011/11/08 11:33:45] <edovale> I wonder how are people calling back to cloud formation after puppet has finished provisioning a newly created instance.. | ||
| [2011/11/08 11:33:52] * aclark waves | ||
| [2011/11/08 11:34:10] @ jab_doa joined channel #puppet | ||
| [2011/11/08 11:34:11] @ Quit: jab_doa: Changing host | ||
| [2011/11/08 11:34:11] @ jab_doa joined channel #puppet | ||
| [2011/11/08 11:34:32] <edovale> @aclark: Is that an answer to my question? | ||
| [2011/11/08 11:35:02] <aclark> edovale: no, it's a salutation directed at the room | ||
| [2011/11/08 11:35:07] @ soh joined channel #puppet | ||
| [2011/11/08 11:35:18] <edovale> @aclark: lol.. sorry.. | ||
| [2011/11/08 11:35:23] <aclark> np :-) | ||
| [2011/11/08 11:35:45] <peridot> edovale: I know foreman has some provisioning capabilities w/puppet, but haven't looked into it. | ||
| [2011/11/08 11:35:47] @ bmahe joined channel #puppet | ||
| [2011/11/08 11:35:48] @ Quit: bmahe: Changing host | ||
| [2011/11/08 11:35:48] @ bmahe joined channel #puppet | ||
| [2011/11/08 11:36:34] <edovale> All I need to do is make a curl call after puppet has finished provisioning my instance with the result of the puppet run.. | ||
| [2011/11/08 11:37:40] @ joshcooper joined channel #puppet | ||
| [2011/11/08 11:37:44] <ohadlevy> edovale: foreman has a nice rest api | ||
| [2011/11/08 11:38:18] @ Chris64 joined channel #puppet | ||
| [2011/11/08 11:38:22] <aclark> i'm trying to figure out when more than ensure => running is required for a service | ||
| [2011/11/08 11:38:32] <aclark> i have an snmpd service not restarting as it should | ||
| [2011/11/08 11:39:01] @ iw_work joined channel #puppet | ||
| [2011/11/08 11:39:36] <aclark> http://dpaste.com/649581/ | ||
| [2011/11/08 11:39:58] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/08 11:40:13] <walkeran> aclark: What version of puppet? Some of the defaults have changed as of 2.7 | ||
| [2011/11/08 11:41:15] * aclark doesn't understand the pattern parameter and wondering if i should throw in some hasrestart, hasstatus | ||
| [2011/11/08 11:41:18] <aclark> walkeran: 2.7.1 | ||
| [2011/11/08 11:42:03] <walkeran> aclark: >= 2.7, I think hasstatus defaults to false ... ether way, I've always found it best to be explicit about those kinds of things, so they don't catch up with me | ||
| [2011/11/08 11:42:29] <walkeran> aclark: But, now that I look at the documentation, I think I might have that backwards | ||
| [2011/11/08 11:42:33] <peridot> my httpd doesn't start after a config change sometimes when it says it has, but it does on the next run... | ||
| [2011/11/08 11:42:34] @ Quit: krish: Quit: Leaving. | ||
| [2011/11/08 11:43:39] <aclark> walkeran: ok so i check the init.d script to see if has both and set to true? | ||
| [2011/11/08 11:43:47] @ roog left channel #puppet () | ||
| [2011/11/08 11:43:56] <walkeran> aclark: You also have to make sure it returns a correct exit code | ||
| [2011/11/08 11:44:11] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/08 11:44:41] <aclark> k | ||
| [2011/11/08 11:44:56] <walkeran> aclark: easiest way is /etc/init.d/whatever status && echo running || echo not running ... make sure that echos the right text based on whether it's running or not | ||
| [2011/11/08 11:45:23] @ pednyc left channel #puppet () | ||
| [2011/11/08 11:46:06] @ Quit: iw_work: Ping timeout: 240 seconds | ||
| [2011/11/08 11:46:06] <aclark> walkeran: what's with the pattern parameter? | ||
| [2011/11/08 11:46:22] <walkeran> aclark: If hasstatus is false, then it uses that to check the process table to see if it's running | ||
| [2011/11/08 11:46:47] <aclark> oic | ||
| [2011/11/08 11:46:48] <aclark> thanks | ||
| [2011/11/08 11:46:52] <walkeran> aclark: And, you don't need to specify pattern if the entry in the proc table is the same as the name of the resource... you're welcome | ||
| [2011/11/08 11:47:00] <aclark> hmmm | ||
| [2011/11/08 11:47:23] <colon_D> can I require => a function? i have a function that needs to run before another one and cant think of a way of doing it without putting them in different classes and requiring that | ||
| [2011/11/08 11:47:46] <walkeran> colon_D: funtions run on the puppetmaster... ordering is enforced on the agent | ||
| [2011/11/08 11:48:21] <walkeran> colon_D: therefore you can't really ensure what order functions are going to be executed in | ||
| [2011/11/08 11:48:36] @ lwhalen joined channel #puppet | ||
| [2011/11/08 11:48:44] <colon_D> ah, ok, I was afraid of that, hehe | ||
| [2011/11/08 11:49:20] <colon_D> i need my apt::key to run before apt::repository | ||
| [2011/11/08 11:49:25] <whack> functions aren't really intended to "do" things, they're mostly for "fetching" things | ||
| [2011/11/08 11:49:38] <whack> colon_D: so do that then, that's not a function | ||
| [2011/11/08 11:49:39] <walkeran> colon_D: Those sound like definitions, not functions | ||
| [2011/11/08 11:49:42] <dan__t> Hrm, wouldn't this be equiv to 'mkdir -p': file { "/tmp/something": ensure => directory, recurse = true } ? | ||
| [2011/11/08 11:49:51] <aclark> walkeran: "process table" comes from ps ? | ||
| [2011/11/08 11:49:56] <walkeran> aclark: Yes | ||
| [2011/11/08 11:49:59] <dan__t> Isn't that what 'recurse' does? | ||
| [2011/11/08 11:50:06] <whack> dan__t: there is no mkdir -p in puppet | ||
| [2011/11/08 11:50:07] <bosszaru> does anyone us multiple CAs ala http://projects.puppetlabs.com/projects/1/wiki/Multiple_Certificate_Authorities in 2.6 ? it's still listed as work in progress | ||
| [2011/11/08 11:50:11] <whack> dan__t: recurse goes down, not up | ||
| [2011/11/08 11:50:25] <whack> dan__t: recurse is useful for purging entire directories or copying entire directory trees | ||
| [2011/11/08 11:50:26] <colon_D> ahh! using the wrong terminology then, ack, thanks whack & walkeran ^^ | ||
| [2011/11/08 11:50:27] <dan__t> hmm | ||
| [2011/11/08 11:50:33] <dan__t> got it. | ||
| [2011/11/08 11:50:38] <whack> colon_D: ahh yeah, custom define different than a function. Confusing sometimes :) | ||
| [2011/11/08 11:50:47] <walkeran> colon_D: In that case, yes you can use require to ensure one runs before the other :) | ||
| [2011/11/08 11:50:48] <dan__t> So I need to assemble the whole dir tree. | ||
| [2011/11/08 11:51:04] <Chris64> just wondered.. what does puppet if one removes a configuration artifact from a client? are there uninstall routines needed to remove e.g. installed software packages? | ||
| [2011/11/08 11:51:05] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/08 11:52:00] <walkeran> dan_t: You can either specify all of the resources separately, or you can write something in Ruby DSL (which is not bad) | ||
| [2011/11/08 11:52:19] @ marrusl joined channel #puppet | ||
| [2011/11/08 11:52:24] <whack> it's really not much typing, especially for things you are doing only once | ||
| [2011/11/08 11:52:25] <walkeran> dan__t: Or, you can create the tree as you want it on your puppet master/fileserver, ans use that as a source, with recurse to copy the whole tree | ||
| [2011/11/08 11:52:40] <cek> Chris64, no such "automatic" routines | ||
| [2011/11/08 11:52:44] <whack> file { ["/", "/usr", "/usr/local", "/usr/local/bin"]: ensure => directory; } | ||
| [2011/11/08 11:52:51] <dan__t> ohh, right. | ||
| [2011/11/08 11:53:07] <whack> it'd be easy to make that be a function | ||
| [2011/11/08 11:53:13] <dan__t> right | ||
| [2011/11/08 11:53:16] <whack> file { alldirectories("/usr/local/bin"): ensure => directory; } | ||
| [2011/11/08 11:53:21] <dan__t> didn't know I could do that, makes perfect sense though. | ||
| [2011/11/08 11:53:25] <cek> Chris64, usually, you just make parameters of your resources dependent on supplied facts | ||
| [2011/11/08 11:54:08] <cek> Now, who can help me resolve this thingie: https://gist.github.com/f8f557607e4ad685a55b - I'd like to append to array var conditionally | ||
| [2011/11/08 11:54:17] <cek> What's "the new way" of doing that? | ||
| [2011/11/08 11:54:48] @ newtMcKerr joined channel #puppet | ||
| [2011/11/08 11:55:04] <colon_D> awesome, require => Apt::Key["12345678"] works :) Must capitalize the A & K :) | ||
| [2011/11/08 11:57:19] <walkeran> cek +> not += | ||
| [2011/11/08 11:58:40] <cek> walkeran, i don't think so | ||
| [2011/11/08 11:58:47] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/08 11:59:05] @ djm68 joined channel #puppet | ||
| [2011/11/08 11:59:08] @ Quit: j^2: Ping timeout: 245 seconds | ||
| [2011/11/08 11:59:12] <walkeran> cek: Ah, sorry then. It was worth a shot :) | ||
| [2011/11/08 11:59:19] @ mitchellh joined channel #puppet | ||
| [2011/11/08 11:59:27] @ troutwine joined channel #puppet | ||
| [2011/11/08 12:00:01] @ metcalfc joined channel #puppet | ||
| [2011/11/08 12:00:35] <aclark> walkeran: could this be a prob? http://dpaste.com/649590/ | ||
| [2011/11/08 12:00:47] <aclark> walkeran: i don't care about snmptrapd… | ||
| [2011/11/08 12:01:00] <walkeran> aclark: It doesn't look at the output of the script at all... just the exit code | ||
| [2011/11/08 12:01:26] <aclark> yeah | ||
| [2011/11/08 12:01:40] <aclark> maybe it averages the two exit codes :-) | ||
| [2011/11/08 12:02:05] <walkeran> aclark: It can only have one exit code ;) | ||
| [2011/11/08 12:02:13] <aclark> right | ||
| [2011/11/08 12:02:31] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/11/08 12:02:57] @ larstobi1 joined channel #puppet | ||
| [2011/11/08 12:02:58] @ Quit: larstobi: Read error: Connection reset by peer | ||
| [2011/11/08 12:03:25] @ Quit: bretm: Ping timeout: 240 seconds | ||
| [2011/11/08 12:06:41] <dan__t> Kinda new to Passenger here. How do I make Puppet bootstrap itself and provide certs for my webserver to find? Is that the right way to go about it? | ||
| [2011/11/08 12:06:58] @ pugnacity joined channel #puppet | ||
| [2011/11/08 12:07:03] <dan__t> maybe exec puppetd --onetime --noop? | ||
| [2011/11/08 12:08:41] <aclark> walkeran: w00t i turned status off and pattern => "snmpd" ; fixed it, thanks again | ||
| [2011/11/08 12:08:59] <walkeran> aclark: Yep! No problem | ||
| [2011/11/08 12:09:31] <aclark> there is nothing more satisfying then when your puppet starts working | ||
| [2011/11/08 12:09:46] <walkeran> 'tis a good feeling :P | ||
| [2011/11/08 12:09:58] @ Djelibeybi joined channel #puppet | ||
| [2011/11/08 12:10:19] <aclark> heh | ||
| [2011/11/08 12:11:23] <the_ramink> dan__t: you can run it from the command line, http://pastie.org/2832675 you can skip the --config bit unless you're using a seperate config for your master | ||
| [2011/11/08 12:11:28] @ Kazuhiro joined channel #puppet | ||
| [2011/11/08 12:12:13] <bag__> anyone have thoughts on using passenger 3.0.x ? | ||
| [2011/11/08 12:12:23] @ stetho joined channel #puppet | ||
| [2011/11/08 12:12:40] <the_ramink> bag__: works fine for me | ||
| [2011/11/08 12:12:44] <dan__t> That's awesome. Thank you. | ||
| [2011/11/08 12:12:51] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/11/08 12:13:12] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 12:13:53] <bag__> ok. just realized i'm running it my production puppetmaster.. i'm rebuilding my puppetmaster server.. i thought getting puppet over passenger would be the least of my concerns.. but i'm failing, yet again :-/ | ||
| [2011/11/08 12:14:15] <joe-mac> bag__: I'm using it with success on el6 for puppet and a sinatra app | ||
| [2011/11/08 12:15:03] <bag__> The directory <tt class="filename">"/etc/puppet/rack"</tt> does not appear to be a valid Ruby on Rails application root. | ||
| [2011/11/08 12:15:34] @ Quit: dhogland_: Remote host closed the connection | ||
| [2011/11/08 12:16:33] <joe-mac> yea, you have config.ru configured wrong, come on this is like docs 101 shit | ||
| [2011/11/08 12:16:35] <joe-mac> rtfm | ||
| [2011/11/08 12:16:45] @ Quit: Chris64: | ||
| [2011/11/08 12:16:49] <joe-mac> out of all the passenger issues people have | ||
| [2011/11/08 12:17:04] <joe-mac> that is not one people generally complain about, because it's not obscure or difficult to troubleshoot | ||
| [2011/11/08 12:18:35] <agwells0714> joe-mac: to read the manual one must find it first. and the puppet docs exists but they are not always easy to find. | ||
| [2011/11/08 12:19:03] <joe-mac> agwells0714: whatever, that's like complaining the puppet docs didn't tell you how to install linux | ||
| [2011/11/08 12:19:12] <bag__> # diff /etc/puppet/rack/config.ru /usr/share/puppet/ext/rack/files/config.ru = same file | ||
| [2011/11/08 12:19:19] <bag__> per docs, that's the config.ru i'm to use | ||
| [2011/11/08 12:19:21] <bag__> perms are fine | ||
| [2011/11/08 12:19:30] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/08 12:20:04] @ simNIX joined channel #puppet | ||
| [2011/11/08 12:20:58] @ Quit: simNIX: Remote host closed the connection | ||
| [2011/11/08 12:21:23] @ Quit: jamesturnbull: Quit: WeeChat 0.3.5 | ||
| [2011/11/08 12:21:23] <agwells0714> bag__: maybe selinux is stepping on your feet? | ||
| [2011/11/08 12:21:54] <bag__> nah, it's off | ||
| [2011/11/08 12:22:07] @ jamesturnbull joined channel #puppet | ||
| [2011/11/08 12:22:12] <gniks> off isn't always "off" for selinux though, so don't be so quick to discount it | ||
| [2011/11/08 12:22:15] <bag__> i didn't see selinux mentioned in the docs either ;) | ||
| [2011/11/08 12:22:51] <Volcane> nothing to document, just disable it :P | ||
| [2011/11/08 12:23:48] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/08 12:23:56] @ aclark left channel #puppet () | ||
| [2011/11/08 12:24:09] @ simNIX joined channel #puppet | ||
| [2011/11/08 12:24:28] <bag__> i know, jab at joe-mac for suggestiong i haven't read any puppet documentation | ||
| [2011/11/08 12:25:27] <agwells0714> joe-mac: would you mind pointing to some documentation for this seutp? | ||
| [2011/11/08 12:26:48] <agwells0714> anyone: link for doc on this setup | ||
| [2011/11/08 12:27:18] @ mitchellh joined channel #puppet | ||
| [2011/11/08 12:27:22] <agwells0714> bueller: | ||
| [2011/11/08 12:27:42] <dan__t> How can I run Puppet against a local collection of modules and manifests. like standalone mode. I think i'd want to do that when bootstrapping a Puppet server itself which is to be managed BY puppet, right? | ||
| [2011/11/08 12:28:02] <Volcane> dan__t: puppet apply site.pp | ||
| [2011/11/08 12:28:19] <dan__t> /path/to/site.pp and it'll take it from there? | ||
| [2011/11/08 12:28:37] <Volcane> yeah complete with node definitions and all | ||
| [2011/11/08 12:28:48] <Volcane> might need to set things like modulepath etc just iwth --foo=bar | ||
| [2011/11/08 12:29:03] @ pugnacity joined channel #puppet | ||
| [2011/11/08 12:29:17] <dan__t> hot. | ||
| [2011/11/08 12:29:18] <dan__t> thank you. | ||
| [2011/11/08 12:29:27] <bag__> agwells0714 - i've found passenger docs http://docs.puppetlabs.com/guides/passenger.html and http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger | ||
| [2011/11/08 12:29:41] @ Quit: larstobi1: Quit: Leaving. | ||
| [2011/11/08 12:29:49] @ larstobi joined channel #puppet | ||
| [2011/11/08 12:30:16] <bag__> i have Passenger 3.0.9 installed on Cent6 and i'm running into issues i didn't encounter on my cent5 passenger config | ||
| [2011/11/08 12:30:28] <bag__> i rolled back to passenger 2.2.5 (?) and had issues | ||
| [2011/11/08 12:30:36] <bag__> checked config.ru, checked its permissions | ||
| [2011/11/08 12:30:46] @ cyflea joined channel #puppet | ||
| [2011/11/08 12:30:59] <bag__> current error is No such file or directory - config/environment.rb | ||
| [2011/11/08 12:31:02] @ samkottler joined channel #puppet | ||
| [2011/11/08 12:32:02] <agwells0714> bag__: did you check if the file exists? | ||
| [2011/11/08 12:33:10] <bag__> only environment.rb file i see is for dashboard | ||
| [2011/11/08 12:33:44] <agwells0714> what ruby do you have installed, and what ruby is the current default to run? | ||
| [2011/11/08 12:34:45] <agwells0714> also, they say you need to have rack 1.0.0 installed, but the puppet docs you linked me to tell you to install the 0.4.0 version. what version did you install? | ||
| [2011/11/08 12:35:26] <bag__> ruby is 1.8.7 from Cent/RHEL repos | ||
| [2011/11/08 12:36:22] <bag__> i have 1.1.0 installed. per doc here, it works (for someone at least) http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger | ||
| [2011/11/08 12:36:41] <bag__> i have 1.0.1 working on my other puppetmaster | ||
| [2011/11/08 12:37:05] <agwells0714> this documentation sucks.... | ||
| [2011/11/08 12:37:30] <agwells0714> feels like a hack job | ||
| [2011/11/08 12:37:49] <agwells0714> as in, lets throw these few projects together | ||
| [2011/11/08 12:38:15] <gniks> i agree | ||
| [2011/11/08 12:38:43] <agwells0714> what is the point of this Passenger ? | ||
| [2011/11/08 12:39:02] <bag__> allow you to serve puppet manifests etc via Apache | ||
| [2011/11/08 12:39:05] <agaffney> to run ruby code under apache/nginx/lighttpd | ||
| [2011/11/08 12:39:22] @ Quit: _plg: Ping timeout: 258 seconds | ||
| [2011/11/08 12:39:45] <agwells0714> and what are you trying to accomplish with this? | ||
| [2011/11/08 12:40:36] @ samrose joined channel #puppet | ||
| [2011/11/08 12:40:47] <agwells0714> https://github.com/puppetlabs/puppet/tree/master/ext/rack | ||
| [2011/11/08 12:42:04] @ Quit: kelseyhi1htower: Quit: leaving | ||
| [2011/11/08 12:42:15] @ maes_ joined channel #puppet | ||
| [2011/11/08 12:42:35] @ fredden joined channel #puppet | ||
| [2011/11/08 12:42:36] @ Quit: fredden: Remote host closed the connection | ||
| [2011/11/08 12:43:04] @ kelseyhightower joined channel #puppet | ||
| [2011/11/08 12:44:24] @ Quit: maes_`: Ping timeout: 260 seconds | ||
| [2011/11/08 12:44:53] <bag__> yea i've seen that agwells | ||
| [2011/11/08 12:45:21] <bag__> my understanding of what's being accomplished is that apache/mongrel/nginx do a much better job of being a webserver that is scalable than webrick | ||
| [2011/11/08 12:45:23] @ bretm joined channel #puppet | ||
| [2011/11/08 12:46:04] @ scsinutz joined channel #puppet | ||
| [2011/11/08 12:46:16] @ scsinutz left channel #puppet () | ||
| [2011/11/08 12:46:28] <agwells0714> back in my day, we just had html and that scaled just fine | ||
| [2011/11/08 12:46:34] @ paxos joined channel #puppet | ||
| [2011/11/08 12:47:10] @ Quit: KaZeR_W: Read error: Connection reset by peer | ||
| [2011/11/08 12:47:34] @ ckauhaus joined channel #puppet | ||
| [2011/11/08 12:49:20] @ Lorax_ is now known as Lorax | ||
| [2011/11/08 12:49:59] @ Quit: troutwine: Quit: leaving | ||
| [2011/11/08 12:50:20] <agwells0714> so, otherwise I don't know how to help you | ||
| [2011/11/08 12:50:43] <agwells0714> as I am not familiar with this project. | ||
| [2011/11/08 12:50:48] @ jim80net joined channel #puppet | ||
| [2011/11/08 12:51:12] @ Kazuhiro left channel #puppet () | ||
| [2011/11/08 12:51:57] <bag__> appreciate the effort | ||
| [2011/11/08 12:52:08] @ illsci left channel #puppet () | ||
| [2011/11/08 12:52:20] @ KaZeR_W joined channel #puppet | ||
| [2011/11/08 12:52:59] @ tily joined channel #puppet | ||
| [2011/11/08 12:53:08] <agwells0714> did you try to install this software via rpm? | ||
| [2011/11/08 12:53:29] @ blahdeblah joined channel #puppet | ||
| [2011/11/08 12:53:44] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/08 12:53:46] <agwells0714> you would need the epel, | ||
| [2011/11/08 12:53:47] <agwells0714> rpm -Uvh http://passenger.stealthymonkeys.com/rhel/5/passenger-release.noarch.rpm | ||
| [2011/11/08 12:55:04] @ Quit: gniks: Read error: Operation timed out | ||
| [2011/11/08 12:55:07] @ stick_zz is now known as stick | ||
| [2011/11/08 12:57:15] @ dhogland joined channel #puppet | ||
| [2011/11/08 12:58:22] @ Quit: rdegges: Quit: Off to code >:) | ||
| [2011/11/08 12:59:28] @ samkottler joined channel #puppet | ||
| [2011/11/08 13:00:58] @ Quit: stetho: Quit: stetho | ||
| [2011/11/08 13:02:52] @ soh joined channel #puppet | ||
| [2011/11/08 13:03:39] <bag__> install docs everywhere use gem version, and it's worked for me in the past... | ||
| [2011/11/08 13:05:07] @ j^2 joined channel #puppet | ||
| [2011/11/08 13:09:48] @ ghanima joined channel #puppet | ||
| [2011/11/08 13:09:54] @ erodriguez joined channel #puppet | ||
| [2011/11/08 13:10:33] @ Quit: basic`: Quit: ZNC - http://znc.in | ||
| [2011/11/08 13:10:33] @ alop joined channel #puppet | ||
| [2011/11/08 13:11:16] @ basic` joined channel #puppet | ||
| [2011/11/08 13:11:23] @ Quit: basic`: Excess Flood | ||
| [2011/11/08 13:12:03] @ basic` joined channel #puppet | ||
| [2011/11/08 13:15:57] @ duerF joined channel #puppet | ||
| [2011/11/08 13:18:02] @ Quit: Chesther: Quit: Leaving. | ||
| [2011/11/08 13:19:48] @ _plg joined channel #puppet | ||
| [2011/11/08 13:22:51] @ Quit: _plg: Client Quit | ||
| [2011/11/08 13:22:53] @ jongrocho joined channel #puppet | ||
| [2011/11/08 13:24:14] @ Quit: iFire`: Remote host closed the connection | ||
| [2011/11/08 13:25:49] @ Quit: idl0r: Ping timeout: 240 seconds | ||
| [2011/11/08 13:27:34] @ iFire joined channel #puppet | ||
| [2011/11/08 13:29:35] <cek> puppet filebucket --verbose --remote get 4644adc3da4973459130c541a100cf28 | ||
| [2011/11/08 13:29:37] <cek> Could not run: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client | ||
| [2011/11/08 13:29:42] <cek> puppet apply works perfectly | ||
| [2011/11/08 13:29:53] <walkeran> cek: puppet apply doesn't use a puppetmaster | ||
| [2011/11/08 13:30:06] <cek> oops, pupet agent i mean | ||
| [2011/11/08 13:30:21] <walkeran> cek: Oh...That's different, then :D | ||
| [2011/11/08 13:30:24] @ Quit: bretm: Quit: Leaving | ||
| [2011/11/08 13:30:35] @ idl0r joined channel #puppet | ||
| [2011/11/08 13:30:54] * walkeran slinks back into the corner and shuts up | ||
| [2011/11/08 13:31:29] <cek> Filebucketed /var/dcc/dcc_conf to puppet with sum 4644adc3da4973459130c541a100cf28 | ||
| [2011/11/08 13:31:29] @ pupito joined channel #puppet | ||
| [2011/11/08 13:31:43] <cek> /var/lib/puppet/bucket/ on puppet master is empty. what could this mean? | ||
| [2011/11/08 13:31:47] @ fredden joined channel #puppet | ||
| [2011/11/08 13:33:33] @ BartVB joined channel #puppet | ||
| [2011/11/08 13:33:40] <pupito> g'day what is the status of puppet and Windows implementation ? | ||
| [2011/11/08 13:33:52] <cek> alrightly, got it locally from /var/lib/puppet/clientbucket/4/6/4/4/a/d/c/3/4644adc3da4973459130c541a100cf28/contents | ||
| [2011/11/08 13:33:59] <stahnma> pupito: it's certainly improving | ||
| [2011/11/08 13:34:07] <stahnma> 2.7.6 has pretty decent windows support as an agent | ||
| [2011/11/08 13:34:16] <stahnma> 2.7.7 (which is in rc) has some fixes too | ||
| [2011/11/08 13:34:46] <cek> why would you want to manage windows with pupppet while having all those ms tools for free? | ||
| [2011/11/08 13:35:07] <stahnma> agwells0714: which documentation is causing issues? I can file a bug to have it updated | ||
| [2011/11/08 13:35:15] <bag__> is there any docs of what's possble with windows/puppet at this time? | ||
| [2011/11/08 13:35:28] <stahnma> bag__: sort of, let me find it | ||
| [2011/11/08 13:35:55] <stahnma> http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows | ||
| [2011/11/08 13:36:17] @ mawser_ joined channel #puppet | ||
| [2011/11/08 13:36:18] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/08 13:36:19] @ Quit: mawser_: Client Quit | ||
| [2011/11/08 13:37:53] @ Holocaine joined channel #puppet | ||
| [2011/11/08 13:38:17] @ Quit: pupito: Ping timeout: 265 seconds | ||
| [2011/11/08 13:38:36] <IndyMichaelB> Can I have a file resource manage a entire directory with a source and purge AND an individual file created in the same directory from a template? I need the purge for other reasons, but I need one file in this location to be sourced from a template | ||
| [2011/11/08 13:38:37] @ Quit: mawser: Ping timeout: 255 seconds | ||
| [2011/11/08 13:39:01] @ apintorso joined channel #puppet | ||
| [2011/11/08 13:39:36] <multiverse> Having fun at puppet training, but wish I had not eaten the turkey sandwich. | ||
| [2011/11/08 13:39:51] <walkeran> IndyMichaelB: Yes, you can definitely do that | ||
| [2011/11/08 13:40:16] <apintorso> Is there a promotional code available for Pro Puppet at apress? | ||
| [2011/11/08 13:40:37] @ bretm joined channel #puppet | ||
| [2011/11/08 13:41:05] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/08 13:42:06] <IndyMichaelB> walkeran: thanks, I'll give that a try | ||
| [2011/11/08 13:42:32] @ Spads_ joined channel #puppet | ||
| [2011/11/08 13:43:04] @ mpdude joined channel #puppet | ||
| [2011/11/08 13:43:06] <walkeran> IndyMichaelB: Puppet will only purge files that it wouldn't be managing... via the source of that file resource, or via any other file resources. You're welcome! | ||
| [2011/11/08 13:44:19] <peridot> How do you make it so tagmail doesn't send you a report when you manually issue the puppet agent command and nothing is updated. It keeps sending me these reports with "Caching catalog for ... and Applying configuration version..." | ||
| [2011/11/08 13:44:24] @ Quit: KaZeR_W: Read error: Connection reset by peer | ||
| [2011/11/08 13:45:00] @ Quit: Spads: Ping timeout: 276 seconds | ||
| [2011/11/08 13:45:16] @ skm joined channel #puppet | ||
| [2011/11/08 13:46:39] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/08 13:46:57] @ Quit: edovale: Ping timeout: 276 seconds | ||
| [2011/11/08 13:47:06] @ Quit: Spads_: Client Quit | ||
| [2011/11/08 13:47:29] @ Spads joined channel #puppet | ||
| [2011/11/08 13:51:58] @ stetho joined channel #puppet | ||
| [2011/11/08 13:53:04] @ samkottler joined channel #puppet | ||
| [2011/11/08 13:53:17] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/08 13:54:31] @ newtMcKerr joined channel #puppet | ||
| [2011/11/08 13:55:37] @ steakknife joined channel #puppet | ||
| [2011/11/08 13:55:53] @ Quit: uphillian: Quit: Leaving. | ||
| [2011/11/08 13:55:55] <joe-mac> peridot: you only send appropriate tags | ||
| [2011/11/08 13:56:29] <peridot> So essentially, I can't use "all" | ||
| [2011/11/08 13:56:46] <steakknife> Is there a way without before / after semantics to run a refreshonly / notify before a resource? (apt-get update before package foo) | ||
| [2011/11/08 13:58:12] <walkeran> steakknife: with the require metaparameter | ||
| [2011/11/08 13:58:31] <whack> steakknife: exec { "apt-get update": refreshonly => true; } package { "foo": require => Exec["apt-get update"]; } ? | ||
| [2011/11/08 13:58:34] <whack> I'm not sure what you're asking | ||
| [2011/11/08 13:59:12] <steakknife> actually that works | ||
| [2011/11/08 13:59:36] <steakknife> realizing that notify implies require, i don't need the notify only require | ||
| [2011/11/08 13:59:42] <steakknife> superthanks | ||
| [2011/11/08 14:01:01] @ Quit: samrose: Quit: Ex-Chat | ||
| [2011/11/08 14:01:46] <whack> steakknife: np :) | ||
| [2011/11/08 14:02:02] <walkeran> Doesn't really seem like that snippet will do what you want. The apt-get update will never be run, as nothing notifies it. | ||
| [2011/11/08 14:02:11] <whack> steakknife: well, notify more implies 'before' with also notifying the resource. | ||
| [2011/11/08 14:02:12] <whack> but yeah | ||
| [2011/11/08 14:02:14] <steakknife> argh. | ||
| [2011/11/08 14:02:29] <steakknife> saw a thread in the forums that suggests calling puppet from puppet. | ||
| [2011/11/08 14:02:35] <whack> steakknife: *blink* | ||
| [2011/11/08 14:02:38] <whack> to dowhat? | ||
| [2011/11/08 14:03:06] @ Quit: thisKat: Quit: Computer has gone to sleep. | ||
| [2011/11/08 14:04:07] <steakknife> whack: The unworkable pseudo code mentioned is the goal. | ||
| [2011/11/08 14:04:37] <walkeran> Yeah... consider me confused, as well | ||
| [2011/11/08 14:04:55] <steakknife> But you obviously understand what is trying to be accomplished and that it's not supported. | ||
| [2011/11/08 14:05:10] <walkeran> Maybe whack does, but I have no idea what you are trying to accomplish :D | ||
| [2011/11/08 14:05:39] <steakknife> Oops, sorry walkeran, you appeared as the same color as whack, my bad. | ||
| [2011/11/08 14:05:47] <walkeran> Oh, that's alright :P | ||
| [2011/11/08 14:06:21] @ Quit: themadcanudist: Ping timeout: 260 seconds | ||
| [2011/11/08 14:06:42] @ Quit: d3c: Ping timeout: 260 seconds | ||
| [2011/11/08 14:06:49] <steakknife> Goal: trigger resource A before resource B, but not depend on explicitly on resource A. | ||
| [2011/11/08 14:07:06] <steakknife> Think apt-get update ; apt-get install blah | ||
| [2011/11/08 14:07:26] <steakknife> Obviously if not doing apt-get install blah, it's pointless. | ||
| [2011/11/08 14:07:37] <steakknife> . . to run apt-get update | ||
| [2011/11/08 14:08:13] <misc> just run the 2 command using && ? | ||
| [2011/11/08 14:08:18] <plathrop> steakknife: But why would you not want to have apt-get install depend on apt-get update? | ||
| [2011/11/08 14:08:28] <steakknife> misc: Nope, it's actually using the package provider. | ||
| [2011/11/08 14:08:34] <dan__t> is there an order of precedence in which resources types are ran in a given class? | ||
| [2011/11/08 14:08:48] <steakknife> and i'd like to preserve the catalog's logic as much as possible. | ||
| [2011/11/08 14:09:10] <plathrop> steakknife: So, what you want is to make sure apt-get update gets run before anything else, but *only* if a package is going to be installeD? | ||
| [2011/11/08 14:09:30] <steakknife> plathrop: precisely. | ||
| [2011/11/08 14:10:00] <steakknife> perhaps there is an apt / aptitude provider feature i'm missing. | ||
| [2011/11/08 14:10:42] <plathrop> No, it's just not really that big of a problem so I don't think there's support for it since the actual practical answer is "just always/often run apt-get update" | ||
| [2011/11/08 14:11:37] <alop> what was the command for testing puppet locally on my own box from my own repo? | ||
| [2011/11/08 14:11:45] <steakknife> plathrop: that's messy. | ||
| [2011/11/08 14:12:07] <plathrop> steakknife: I'm not sure I agree, but I could see how you'd think that. | ||
| [2011/11/08 14:12:32] <the_ramink> steakknife: meh, I just punt on it unless I'm updating apt configs. There is a cron to update nightly which seems often enough for me. | ||
| [2011/11/08 14:12:49] <steakknife> plathrop: how would would it be implemented in a manner that's DRY and keeps the catalog sane? | ||
| [2011/11/08 14:13:34] <plathrop> steakknife: An exec { 'apt-get update': schedule => daily" } in a "pre" stage has served me well | ||
| [2011/11/08 14:13:48] <steakknife> btw, i'm assuming from this thread that http://projects.puppetlabs.com/projects/1/wiki/Apt_Repositories_Patterns might not work. | ||
| [2011/11/08 14:14:11] <steakknife> plathrop: trying to avoid pre for backward compatibility. | ||
| [2011/11/08 14:14:45] @ verwilst joined channel #puppet | ||
| [2011/11/08 14:14:48] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/11/08 14:14:50] <the_ramink> steakknife: stages are dealt with on the master, your clients don't need to know about them. | ||
| [2011/11/08 14:15:04] <plathrop> steakknife: Then you are better off updating your apt index out of band, otherwise you are definitely going to be repeating yourself. | ||
| [2011/11/08 14:15:11] <steakknife> the_ramink: updating the master is not currently an option. | ||
| [2011/11/08 14:15:30] <plathrop> A cron job would work well, as suggested above. | ||
| [2011/11/08 14:15:31] <the_ramink> steakknife: ah, yeah that'll kill that idea | ||
| [2011/11/08 14:16:13] @ Quit: bretm: Ping timeout: 240 seconds | ||
| [2011/11/08 14:16:19] @ Quit: blentz: Read error: Operation timed out | ||
| [2011/11/08 14:16:51] <steakknife> plathrop: i'd like to keep as much as possible in-band so the master can compile the client's catalog sanely. | ||
| [2011/11/08 14:17:12] <plathrop> steakknife: then configure your cron job with puppet :-) | ||
| [2011/11/08 14:17:16] <steakknife> otherwise, i'm just devolving into non-idemptonent hacks. :( | ||
| [2011/11/08 14:17:30] @ Quit: cliff-hm: Ping timeout: 276 seconds | ||
| [2011/11/08 14:17:34] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/08 14:17:35] <steakknife> plathrop: cron isnt running on these boxes. :( | ||
| [2011/11/08 14:18:15] <plathrop> exec { 'apt-get update': schedule => daily } | ||
| [2011/11/08 14:18:47] <steakknife> Is this going to help for fresh deployments and puppet masters < 2.7.x? | ||
| [2011/11/08 14:19:01] @ fronlius joined channel #puppet | ||
| [2011/11/08 14:19:05] <steakknife> this is a test lab, not servers running 24x7. | ||
| [2011/11/08 14:19:09] <plathrop> schedules have been around since 0.25 | ||
| [2011/11/08 14:19:29] <steakknife> if it works and can always run before anything apt. | ||
| [2011/11/08 14:19:34] <plathrop> probably before that, but I remember them then | ||
| [2011/11/08 14:19:45] <steakknife> s/them/anything apt/aptitude/. | ||
| [2011/11/08 14:19:55] <plathrop> It won't always run before anything apt. You are going to have to bend somewhere, dude. | ||
| [2011/11/08 14:19:58] @ nul0op joined channel #puppet | ||
| [2011/11/08 14:20:10] <steakknife> Nope, it's gotta always work. | ||
| [2011/11/08 14:20:26] <the_ramink> is you rmaster 0.25 or .26? | ||
| [2011/11/08 14:20:30] @ mosen joined channel #puppet | ||
| [2011/11/08 14:20:33] <steakknife> 0.26 | ||
| [2011/11/08 14:20:42] <the_ramink> stages are in 2.6 | ||
| [2011/11/08 14:20:44] <alanevans> we're getting some really long catalog compile times, anyone got any suggestions on where to look really quick? | ||
| [2011/11/08 14:20:53] <alanevans> any common gotchas | ||
| [2011/11/08 14:20:57] <plathrop> alanevans: Using an ENC? | ||
| [2011/11/08 14:21:17] <alanevans> no ENC | ||
| [2011/11/08 14:21:28] <plathrop> alanevans: generate() being called a fair amount? | ||
| [2011/11/08 14:21:42] <steakknife> So if stages are an option, then notify / refreshonly will work correctly i'm assuming. | ||
| [2011/11/08 14:22:02] <alanevans> plathrop, no | ||
| [2011/11/08 14:22:32] <plathrop> steakknife: no. If you are going to demand that this *only* run when a package is going to be installed, you will find that won't work. After all, how is puppet supposed to know there's an update if apt-get update hasn't run yet? | ||
| [2011/11/08 14:22:42] @ joshbeci joined channel #puppet | ||
| [2011/11/08 14:23:11] <alanevans> plathrop, will double check on generate tho | ||
| [2011/11/08 14:23:15] <plathrop> steakknife: Your requirements are over-specific. I suggest you either are mistaken about some of them, or they aren't as hard and fast as you think, or you are trolling. | ||
| [2011/11/08 14:23:26] <plathrop> alanevans: those are my first two gotchas. | ||
| [2011/11/08 14:23:29] <rodjek> steakknife: https://gist.github.com/1349478 is pretty much how i do it, you always see apt-get update run, but meh | ||
| [2011/11/08 14:23:30] <steakknife> plathrop: from whether the packages are out-of-date as precached by the package provider iirc | ||
| [2011/11/08 14:23:34] <plathrop> alanevans: Load high on your puppetmaster. | ||
| [2011/11/08 14:24:00] <plathrop> steakknife: the apt(itude) package provider gets its info from apt(itude) | ||
| [2011/11/08 14:24:02] <the_ramink> maybe you could put Package { require => Class['apt::update'] } in site.pp... | ||
| [2011/11/08 14:24:20] <hajile> does anyone know if the file type will filebucket all files in a directory that you recursively remove? Assume that this directory is being acted on for the first time and that none of the files in this directory have been created by puppet. | ||
| [2011/11/08 14:24:24] <plathrop> the_ramink: scoping makes that iffy IIRC | ||
| [2011/11/08 14:24:33] <steakknife> plathrop: i'll look at the provider to see what it does when it sends facts and other stuff up before the catalog is compiled. | ||
| [2011/11/08 14:25:03] <the_ramink> plathrop: yeah I'm not surprised and I wouldn't try it on my system. :) | ||
| [2011/11/08 14:25:06] <plathrop> steakknife: I know for a fact that it gets the info from apt. If you haven't run apt-get update, you will get the pre-update information. | ||
| [2011/11/08 14:25:07] <alanevans> plathrop, yeah pretty high, but not more than the last week and it started getting really bad yesterday, looked through the logs on our SVN not seeing anything obviously major changed | ||
| [2011/11/08 14:25:13] <steakknife> plathrop: thanks, i'll make this workable no matter what. | ||
| [2011/11/08 14:25:18] <hajile> Doing this, for instance.. http://pastebin.com/cPz77HkB | ||
| [2011/11/08 14:25:40] <alanevans> plathrop, puppetmaster = 2.6.12 | ||
| [2011/11/08 14:25:56] <plathrop> alanevans: are you spreading the load using splay or somesuch? Maybe you have more *concurrent* nodes than last week? | ||
| [2011/11/08 14:26:39] <plathrop> hajile: All the files will be bucketed to the default bucket. You have to *try* to force puppet to delete your stuff without backups :-) | ||
| [2011/11/08 14:26:58] <rodjek> steakknife: is there any reason you can't just put 'apt-get update' in prerun_command? | ||
| [2011/11/08 14:27:11] <alanevans> plathrop, apache + mongrel, splay = true | ||
| [2011/11/08 14:27:21] @ Quit: abetterlie: Ping timeout: 260 seconds | ||
| [2011/11/08 14:27:23] <hajile> plathrop: I knew that it would filebucket individual files, just didn't want to screw up and nuke a bunch of repos on a system where someone did something stupid and installed stuff I wasn't aware of. Thanks! | ||
| [2011/11/08 14:27:33] @ cosman2001 joined channel #puppet | ||
| [2011/11/08 14:27:34] @ Quit: cek: Read error: Operation timed out | ||
| [2011/11/08 14:27:50] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/08 14:28:04] <alanevans> i am swinging in the wind here, i can work on manifests but another guy in our env has been doing most of the puppetmaster work but he's on a plane ATM.... | ||
| [2011/11/08 14:28:09] <alanevans> :) | ||
| [2011/11/08 14:28:58] <plathrop> alanevans: well, those are the things I'd check off-the-cuff. After that it's digging in. | ||
| [2011/11/08 14:29:35] <cosman2001> I get this error after updating to 2.7.6: NoMethodError: undefined method `Pathname' for #<Puppet::Type::File:0x2a97559958> | ||
| [2011/11/08 14:29:39] <lindenle> When the package ensure docs say that values can match /./ does that mean I can put a regex in? i.e. ensure => /5.1.1-.*/ ? | ||
| [2011/11/08 14:29:53] <alanevans> plathrop, how can i follow catalog generation? I can get the query string from logs, can I use puppetmasterd on the commandline to watch it? | ||
| [2011/11/08 14:30:46] <plathrop> alanevans: Depending on the version you can use puppet parser I believe... I'm not an expert on that one. | ||
| [2011/11/08 14:31:08] <alanevans> ok i'll look around | ||
| [2011/11/08 14:31:10] <alanevans> thx tho | ||
| [2011/11/08 14:31:17] <plathrop> alanevans: sure. best of luck | ||
| [2011/11/08 14:31:50] <steakknife> rodjek: no point running apt-get update if no packages are set for install or no respositories were changed, or if running on a non-deb platform. | ||
| [2011/11/08 14:33:01] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/11/08 14:33:09] <plathrop> steakknife: you have a chicken-and-egg problem, there. Let's say we have package { 'zsh': ensure => latest; } | ||
| [2011/11/08 14:33:12] <rodjek> ... how do you know there are no packages set to install if you haven't run apt-get update | ||
| [2011/11/08 14:33:26] <plathrop> A new version of the zsh package is available upstream but you have not yet run apt-get update | ||
| [2011/11/08 14:33:29] <rodjek> i don't think you've fully thought your problem through | ||
| [2011/11/08 14:33:37] <plathrop> Puppet has *NO KNOWLEDGE* of that new version of ZSH | ||
| [2011/11/08 14:34:33] @ Quit: jim80net: Read error: Operation timed out | ||
| [2011/11/08 14:34:44] @ stetho_ joined channel #puppet | ||
| [2011/11/08 14:35:05] @ Quit: stetho_: Client Quit | ||
| [2011/11/08 14:35:15] <peridot> Can't you have apt-get update called regularly on the system level? | ||
| [2011/11/08 14:35:17] <steakknife> i'm not done evaluating and may simply hack the provider to find the new versions of zsh without modifying the apt cache. | ||
| [2011/11/08 14:35:18] @ dym joined channel #puppet | ||
| [2011/11/08 14:35:31] <rodjek> ... dear god why? | ||
| [2011/11/08 14:35:36] <plathrop> steakknife: that's basically insane, but go for it. | ||
| [2011/11/08 14:35:38] <dym> Hey - Is anyone using puppett to keep packages to date? | ||
| [2011/11/08 14:35:40] <steakknife> because i'm fucking nuts. | ||
| [2011/11/08 14:35:44] <dym> as in debian packages | ||
| [2011/11/08 14:35:53] <rodjek> can you seriously not afford to waste 10 seconds running apt-get update before your puppet run? | ||
| [2011/11/08 14:36:01] <steakknife> nope. | ||
| [2011/11/08 14:36:06] @ Quit: stetho: Ping timeout: 240 seconds | ||
| [2011/11/08 14:36:18] <steakknife> every second wasted x 10k is a lot of time. | ||
| [2011/11/08 14:36:24] <rodjek> steakknife: sounds like bullshit, but however you want to waste your time | ||
| [2011/11/08 14:36:46] @ Quit: verwilst: Ping timeout: 256 seconds | ||
| [2011/11/08 14:36:53] <steakknife> large test environments have much more churn that webops. | ||
| [2011/11/08 14:36:57] <rodjek> maybe you shouldn't have chosen a distribution with a package manager that requires a local cache | ||
| [2011/11/08 14:37:11] <rodjek> cause now you have to reimplement apt | ||
| [2011/11/08 14:37:14] <steakknife> we're basically redeploying as fast as the deployments and tests can run. | ||
| [2011/11/08 14:37:44] <steakknife> speed is life. | ||
| [2011/11/08 14:37:50] <plathrop> Okay, so not *quite* as insane as you sound, but still pretty nuts. You are solving the wrong problem | ||
| [2011/11/08 14:37:59] <steakknife> okay. lol. | ||
| [2011/11/08 14:38:11] <dym> maybe my question was malformed: Is it possible to use puppet to keep debian package management up to date automagically? | ||
| [2011/11/08 14:38:32] <plathrop> The problem now is not "how do I make puppet do this crazy thing" the problem is "how do I avoid having to update the apt cache" | ||
| [2011/11/08 14:38:37] @ Quit: jab_doa: Quit: Verlassend | ||
| [2011/11/08 14:38:45] <steakknife> i'll fix this myself no problem but thanks for all your help. | ||
| [2011/11/08 14:38:58] @ ja-s left channel #puppet () | ||
| [2011/11/08 14:39:29] @ Quit: Av: Remote host closed the connection | ||
| [2011/11/08 14:39:29] <peridot> dym: http://docs.puppetlabs.com/references/stable/type.html#package | ||
| [2011/11/08 14:39:37] <plathrop> steakknife: the answer to that question is more interesting but I'd probably start by pre-deploying your apt caches when a machine is built, and updating them out-of-band, and not worring about them long-term because the machines don't live that long. | ||
| [2011/11/08 14:39:41] <steakknife> i've a cabal provider that's nearly done that i'll open a ticket for, i hope that's the right process. | ||
| [2011/11/08 14:39:41] @ scsinutz joined channel #puppet | ||
| [2011/11/08 14:39:42] <dym> peridot: cheers - ill look into it | ||
| [2011/11/08 14:40:14] <steakknife> plathrop: actually base images are cached. | ||
| [2011/11/08 14:40:33] <steakknife> plathrop: they get rebuilt automagically. | ||
| [2011/11/08 14:40:59] <plathrop> steakknife: then it sounds like you are solving a non-problem. Run apt-get update ONCE at provisioning time. Your machine churn too fast to care after that. | ||
| [2011/11/08 14:41:05] <steakknife> anyhow, i've got a meeting. thanks gents. | ||
| [2011/11/08 14:41:22] @ steakknife left channel #puppet () | ||
| [2011/11/08 14:41:43] <joshbeci> heh. | ||
| [2011/11/08 14:43:13] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/11/08 14:43:16] @ Quit: ronan_1: Quit: Leaving. | ||
| [2011/11/08 14:43:28] @ syntaxx joined channel #puppet | ||
| [2011/11/08 14:44:14] @ cek joined channel #puppet | ||
| [2011/11/08 14:44:16] <syntaxx> im having problem with my puppet client. i ran the puppetd --daemonize --server <server> and when i check it on the puppetmaster puppetca -l it does'nt show any idea? | ||
| [2011/11/08 14:44:43] @ Quit: cek: Client Quit | ||
| [2011/11/08 14:45:53] @ Log started by gepetto | ||
| [2011/11/08 14:45:53] @ Joined channel #puppet | ||
| [2011/11/08 14:45:53] @ Topic is "Important Security Announcement: http://bit.ly/AltNames | Thanks for coming to PuppetConf! Videos available http://www.youtube.com/user/puppetlabsinc | Puppet 2.7.6 and 2.6.12 available at downloads.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A." | ||
| [2011/11/08 14:45:53] @ Topic set by stahnma!~stahnma@fedora/stahnma on Mon Oct 24 13:04:13 -0700 2011 | ||
| [2011/11/08 14:46:06] @ Mode +Ccnt by verne.freenode.net | ||
| [2011/11/08 14:46:43] @ Log started by gepetto | ||
| [2011/11/08 14:46:43] @ Joined channel #puppet | ||
| [2011/11/08 14:46:43] @ Topic is "Important Security Announcement: http://bit.ly/AltNames | Thanks for coming to PuppetConf! Videos available http://www.youtube.com/user/puppetlabsinc | Puppet 2.7.6 and 2.6.12 available at downloads.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A." | ||
| [2011/11/08 14:46:43] @ Topic set by stahnma!~stahnma@fedora/stahnma on Mon Oct 24 13:04:13 -0700 2011 | ||
| [2011/11/08 14:46:55] <syntaxx> ok thanks | ||
| [2011/11/08 14:46:55] @ Mode +Ccnt by verne.freenode.net | ||
| [2011/11/08 14:46:57] @ Quit: geekbri: Remote host closed the connection | ||
| [2011/11/08 14:47:07] <syntaxx> rodjek, Exiting; no certificate found and waitforcert is disabled | ||
| [2011/11/08 14:48:22] @ Av joined channel #puppet | ||
| [2011/11/08 14:49:01] @ Quit: ldlework: Ping timeout: 240 seconds | ||
| [2011/11/08 14:50:36] @ ronan_1 joined channel #puppet | ||
| [2011/11/08 14:50:50] <hajile> I'm messing with installing a yum module, but I only want to install this module where spacewalk isn't installed.. is there a way for me to easily say "if ( this file exists ) { run through the rest of this class } else { print "spacewalk is installed" and skip the rest of the class } ? | ||
| [2011/11/08 14:50:53] @ scsinutz left channel #puppet () | ||
| [2011/11/08 14:51:41] <hajile> if spacewalk is installed, i don't want the puppet run to fail, i just want to print something to the logs indicating this | ||
| [2011/11/08 14:51:50] <hajile> but not install my yum module | ||
| [2011/11/08 14:52:17] <whack> hajile: you'll need a puppet fact that detects if spacewalk is installed | ||
| [2011/11/08 14:53:25] @ Quit: metcalfc: Ping timeout: 240 seconds | ||
| [2011/11/08 14:53:41] @ nibz is now known as nibalizer | ||
| [2011/11/08 14:53:46] @ dym left channel #puppet () | ||
| [2011/11/08 14:54:14] <lindenle> Hi can someone answer my question about the package ensure regex? | ||
| [2011/11/08 14:54:19] <hajile> gotcha | ||
| [2011/11/08 14:54:22] <hajile> ok thank you | ||
| [2011/11/08 14:54:22] <hajile> ! | ||
| [2011/11/08 14:56:41] @ Quit: Demosthenes: Ping timeout: 258 seconds | ||
| [2011/11/08 14:56:56] @ blentz joined channel #puppet | ||
| [2011/11/08 14:57:30] @ rsnhyperion_ joined channel #puppet | ||
| [2011/11/08 14:58:31] @ Quit: kangman_: Remote host closed the connection | ||
| [2011/11/08 14:58:35] @ Demosthenes joined channel #puppet | ||
| [2011/11/08 14:58:47] @ Quit: rsnhyperion_: Client Quit | ||
| [2011/11/08 14:58:54] <hajile> whack: can this be directly in the manifest or does it have to live in say module/lib/facter/script.rb ? | ||
| [2011/11/08 14:59:36] <whack> it'll have to be in facter | ||
| [2011/11/08 14:59:40] <hajile> cool | ||
| [2011/11/08 15:00:25] @ Quit: BartVB: Quit: Leaving. | ||
| [2011/11/08 15:00:48] @ Quit: rsnhyperion: Ping timeout: 245 seconds | ||
| [2011/11/08 15:01:38] @ grendzy left channel #puppet () | ||
| [2011/11/08 15:02:27] @ Log started by gepetto | ||
| [2011/11/08 15:02:27] @ Joined channel #puppet | ||
| [2011/11/08 15:02:27] @ Topic is "Important Security Announcement: http://bit.ly/AltNames | Thanks for coming to PuppetConf! Videos available http://www.youtube.com/user/puppetlabsinc | Puppet 2.7.6 and 2.6.12 available at downloads.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A." | ||
| [2011/11/08 15:02:27] @ Topic set by stahnma!~stahnma@fedora/stahnma on Mon Oct 24 13:04:13 -0700 2011 | ||
| [2011/11/08 15:02:39] @ Mode +Ccnt by adams.freenode.net | ||
| [2011/11/08 15:03:27] @ j00bar joined channel #puppet | ||
| [2011/11/08 15:03:52] <j00bar> howdy! any suggestions on how in a manifest or in a template to do conditionality based on whether the last number in the hostname is an even number or an odd number? | ||
| [2011/11/08 15:04:07] @ Quit: ronan_1: Read error: Connection reset by peer | ||
| [2011/11/08 15:04:10] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/08 15:04:16] @ Quit: kelseyhightower: Ping timeout: 258 seconds | ||
| [2011/11/08 15:04:26] @ ronan_1 joined channel #puppet | ||
| [2011/11/08 15:05:00] @ Quit: fronlius: Quit: fronlius | ||
| [2011/11/08 15:05:00] <zleslie> How can I troubleshoot puppet agent runs taking longer and longer? I suspect storeconfigs, but even if it does turn out to br storeconfigs, not sure what I can do about it | ||
| [2011/11/08 15:05:06] @ Quit: kermit: Quit: Leaving. | ||
| [2011/11/08 15:05:20] @ kermit joined channel #puppet | ||
| [2011/11/08 15:05:55] @ Quit: Ebron: Quit: leaving | ||
| [2011/11/08 15:09:11] @ tizzo is now known as tizzo-afk | ||
| [2011/11/08 15:09:42] @ zwi joined channel #puppet | ||
| [2011/11/08 15:10:13] @ Log started by gepetto | ||
| [2011/11/08 15:10:13] @ Joined channel #puppet | ||
| [2011/11/08 15:10:13] @ Topic is "Important Security Announcement: http://bit.ly/AltNames | Thanks for coming to PuppetConf! Videos available http://www.youtube.com/user/puppetlabsinc | Puppet 2.7.6 and 2.6.12 available at downloads.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A." | ||
| [2011/11/08 15:10:13] @ Topic set by stahnma!~stahnma@fedora/stahnma on Mon Oct 24 13:04:13 -0700 2011 | ||
| [2011/11/08 15:10:27] @ Mode +Ccnt by card.freenode.net | ||
| [2011/11/08 15:11:56] @ stick is now known as stick_zz | ||
| [2011/11/08 15:12:07] <hajile> thanks for your help whack | ||
| [2011/11/08 15:12:09] <hajile> ! | ||
| [2011/11/08 15:15:19] @ Quit: st33v: Quit: st33v | ||
| [2011/11/08 15:16:45] @ gniks joined channel #puppet | ||
| [2011/11/08 15:20:34] @ SEJeff joined channel #puppet | ||
| [2011/11/08 15:20:39] @ epratt joined channel #puppet | ||
| [2011/11/08 15:20:41] <whack> zleslie: there's ways to make storecofnigs less impactful; --thin_storeconfigs or async_storeconfigs can help | ||
| [2011/11/08 15:21:02] <hajile> whack: any idea how i can print a message from a manifest? | ||
| [2011/11/08 15:21:11] <whack> hajile: notice("Hello") | ||
| [2011/11/08 15:21:14] <the_ramink> j00bar: covert the IP address to a 32 bit int and go from there? | ||
| [2011/11/08 15:21:19] <hajile> nice, thanks | ||
| [2011/11/08 15:21:41] <j00bar> the_ramink: no, i mean, like www-04 would be even, www-13 would be odd | ||
| [2011/11/08 15:21:50] @ marczak joined channel #puppet | ||
| [2011/11/08 15:22:33] <lindenle> Is there anyone here who understands the package resources ensure syntax? I want to specify a majore release of 5.1.1 but dont care bout the build. | ||
| [2011/11/08 15:23:01] @ apintorso left channel #puppet ("http://quassel-irc.org - Chat comfortably. Anywhere.") | ||
| [2011/11/08 15:23:14] <whack> lindenle: I don't think that's supported. | ||
| [2011/11/08 15:23:18] <ghanima> hey hey guys quick question does anyone have any experience with rump | ||
| [2011/11/08 15:23:35] <whack> lindenle: many packaging systems don't support "build" or "iteration" or "release" (all the same thing) anyway | ||
| [2011/11/08 15:23:39] @ kwazar- joined channel #puppet | ||
| [2011/11/08 15:23:41] <lindenle> <whack>: why does it say Values can match /./ | ||
| [2011/11/08 15:23:44] @ Quit: mrwacky42: Ping timeout: 260 seconds | ||
| [2011/11/08 15:23:45] @ Quit: davewongillies: Read error: Operation timed out | ||
| [2011/11/08 15:23:48] @ troutwine joined channel #puppet | ||
| [2011/11/08 15:23:53] <whack> lindenle: it means any string is valid there. | ||
| [2011/11/08 15:23:56] <ghanima> My questions is for tasks that require administrative access do you just exectue the rump command as root or sudo? | ||
| [2011/11/08 15:24:07] <lindenle> whack: I am trying to use the ensure | ||
| [2011/11/08 15:24:10] <whack> ensure => "hello world" or ensure => "1.2.3.4.5.6.-))%@)#%" | ||
| [2011/11/08 15:24:24] <lindenle> whack but it does not do a regex match? | ||
| [2011/11/08 15:24:27] <troutwine> I'd like to add a provider for the package type. How do I accomplish this? | ||
| [2011/11/08 15:24:31] <whack> lindenle: no | ||
| [2011/11/08 15:24:38] <lindenle> bummer | ||
| [2011/11/08 15:24:38] <troutwine> Any documentation around doing such a thing? | ||
| [2011/11/08 15:24:42] @ dym joined channel #puppet | ||
| [2011/11/08 15:24:49] <whack> lindenle: best recommendation is generally to set the specific version you want | ||
| [2011/11/08 15:24:54] <whack> the full version, not part of it. | ||
| [2011/11/08 15:25:03] <dym> When signinig puppet certificates, i get shown a weird hostname for one of my clients - where does puppet get those from? | ||
| [2011/11/08 15:25:05] <lindenle> yeah that is a bit of a pain in this case | ||
| [2011/11/08 15:25:17] @ mrwacky42 joined channel #puppet | ||
| [2011/11/08 15:25:22] <whack> 'part' won't work, If you really really need to, you can write a fact that queries versions available for your package and gives you the latest 'build' of the package you need | ||
| [2011/11/08 15:25:38] <whack> dym: the fqdn or hostname facts, probably | ||
| [2011/11/08 15:25:49] <whack> dym: run 'facter fqdn' maybe | ||
| [2011/11/08 15:26:13] <dym> huh odd | ||
| [2011/11/08 15:26:24] <dym> facter fqdn showed exactly that name. where is that value from? | ||
| [2011/11/08 15:26:26] <whack> you can specify it in the puppet config to with --certname or some other flags. | ||
| [2011/11/08 15:26:30] <whack> dym: it's from facter. | ||
| [2011/11/08 15:26:39] <dym> whats facter? :D | ||
| [2011/11/08 15:27:06] <whack> facter is what puppet uses to find out facts about the system, like hostname, cpu counts, etc | ||
| [2011/11/08 15:27:10] <whack> gems/facter-1.6.1/lib/facter/fqdn.rb | ||
| [2011/11/08 15:27:17] <jamesturnbull> dym: type facter on hte command line and see what comes out | ||
| [2011/11/08 15:27:27] <dym> whack: how do i mod it? | ||
| [2011/11/08 15:27:28] <the_ramink> j00bar: ah I see. Try this. http://pastie.org/2833615 | ||
| [2011/11/08 15:27:29] <dym> the hostname | ||
| [2011/11/08 15:27:36] <whack> https://github.com/puppetlabs/facter/blob/master/lib/facter/hostname.rb | ||
| [2011/11/08 15:27:42] <whack> looks like it gets it from running 'hostname' literally | ||
| [2011/11/08 15:27:57] <dym> cant be true | ||
| [2011/11/08 15:28:06] <dym> since running that manually shows a differen hostname | ||
| [2011/11/08 15:28:21] <jamesturnbull> dym: hence type facter or facter hostname | ||
| [2011/11/08 15:28:28] <whack> fqdn becomes hostname (all leading before the first '.') + domain | ||
| [2011/11/08 15:28:39] <jamesturnbull> gepetto: url me | ||
| [2011/11/08 15:28:40] <the_ramink> j00bar: meh, missing slashing, try this one. http://pastie.org/2833622 | ||
| [2011/11/08 15:28:59] <whack> dym: dym run % facter hostname domain fqdn | ||
| [2011/11/08 15:29:11] @ Quit: zwi: Ping timeout: 258 seconds | ||
| [2011/11/08 15:29:27] <j00bar> the_ramink: neat! thanks! | ||
| [2011/11/08 15:29:40] <dym> whack: the hostname is wrong | ||
| [2011/11/08 15:29:47] <dym> i wonder where facter gets that value from | ||
| [2011/11/08 15:29:56] <whack> dym: I Just told you | ||
| [2011/11/08 15:30:05] <dym> from hostname is incorrect | ||
| [2011/11/08 15:30:07] <lindenle> <whack>: can I use a hash for the package name and version? | ||
| [2011/11/08 15:30:16] <whack> lindenle: maybe? Probably not | ||
| [2011/11/08 15:30:25] <whack> dym: https://github.com/puppetlabs/facter/blob/master/lib/facter/fqdn.rb | ||
| [2011/11/08 15:30:31] <whack> dym: I'm just telling you what the code says. | ||
| [2011/11/08 15:30:48] <whack> https://github.com/puppetlabs/facter/blob/master/lib/facter/hostname.rb | ||
| [2011/11/08 15:34:51] <whack> and I also don't really know what you mean by 'hostname is not the facter $hostname' (me roughly paraphrasing) | ||
| [2011/11/08 15:35:01] <whack> you didn't show what facter is reporting that is different than the hostname output | ||
| [2011/11/08 15:35:23] @ Quit: lborda: Read error: Connection reset by peer | ||
| [2011/11/08 15:35:23] <whack> so I can't really make conjecture about what the problem is, so instead I translate code into english for you as a best effort thing :) | ||
| [2011/11/08 15:36:12] <SEJeff> What is the best way to reference a variable in a manifest? I'm trying to do this: http://fpaste.org/7hkM/ and it doesn't start the service in either case | ||
| [2011/11/08 15:36:15] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 15:36:45] @ tizzo-afk is now known as tizzo | ||
| [2011/11/08 15:36:54] @ davewongillies joined channel #puppet | ||
| [2011/11/08 15:37:13] <whack> SEJeff: that looks right to me | ||
| [2011/11/08 15:37:14] <zleslie> whack: I am using thin now, haddn't heard about async | ||
| [2011/11/08 15:37:28] <whack> zleslie: I've never used async myself, but it might help you | ||
| [2011/11/08 15:37:55] <zleslie> whack: cool, I'll read up | ||
| [2011/11/08 15:38:08] @ thisKat joined channel #puppet | ||
| [2011/11/08 15:38:29] @ poison joined channel #puppet | ||
| [2011/11/08 15:39:29] @ dwalu joined channel #puppet | ||
| [2011/11/08 15:39:53] <dwalu> is anyone familiar with the Options parameter for the ssh_authorized_key type? | ||
| [2011/11/08 15:40:11] @ soh joined channel #puppet | ||
| [2011/11/08 15:40:49] <dwalu> I'm trying to define it as options => 'command="ssh bob"', but puppet is resisting with: Failed to apply catalog: Parameter options failed: Option is not valid. A single option must either be of the form 'option' or 'option="value". Multiple options must be provided as an array | ||
| [2011/11/08 15:40:58] @ zwi joined channel #puppet | ||
| [2011/11/08 15:42:47] @ plathrop is now known as yoyoyoyoyoda | ||
| [2011/11/08 15:42:55] @ yoyoyoyoyoda is now known as plathrop | ||
| [2011/11/08 15:43:00] <epratt> How can I get a template to inline a file using a puppet fileserver? I also need to check if the file is present or not before inlining it. If it is not present, I want to ignore the file but proceed with the rest of the template. | ||
| [2011/11/08 15:43:24] <dwalu> do I need to escape the quotes or something funky? | ||
| [2011/11/08 15:44:51] @ SEJeff left channel #puppet ("Leaving") | ||
| [2011/11/08 15:45:24] @ Quit: johnston: Ping timeout: 265 seconds | ||
| [2011/11/08 15:47:56] <dwalu> ahh, it was a problem with my define | ||
| [2011/11/08 15:48:21] @ Quit: jodok: Quit: jodok | ||
| [2011/11/08 15:50:12] <nate_h> having a weird problem where i'm adding a user to multiple grupos | ||
| [2011/11/08 15:50:18] <nate_h> and it won't add to one of them | ||
| [2011/11/08 15:50:31] <nate_h> so it keeps trying every puppet run | ||
| [2011/11/08 15:50:43] <nate_h> any idea why a single group would fail to add a user to itself? | ||
| [2011/11/08 15:50:52] <nate_h> debug: User[oracle](provider=useradd): Executing '/usr/sbin/usermod -G dba,log,oinstall,oper oracle' | ||
| [2011/11/08 15:50:52] <nate_h> notice: /Stage[main]/Bise_users/User[oracle]/groups: groups changed 'log,oper,dba' to 'dba,log,oinstall,oper' | ||
| [2011/11/08 15:50:55] <nate_h> the other ones work fine | ||
| [2011/11/08 15:51:18] <nate_h> oinstall doesn't | ||
| [2011/11/08 15:51:22] @ tizzo is now known as tizzo-afk | ||
| [2011/11/08 15:51:47] <nate_h> and I confirmed i can delete one of the other memberships and it readds them | ||
| [2011/11/08 15:52:16] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/08 15:52:41] <peridot> does oinstall exist? | ||
| [2011/11/08 15:53:03] <peridot> can you do it from the command line? | ||
| [2011/11/08 15:53:13] <nate_h> peridot, just tried command line, got an error, investigating it | ||
| [2011/11/08 15:53:17] <nate_h> some bullshit about its a primary group | ||
| [2011/11/08 15:54:23] @ samkottler joined channel #puppet | ||
| [2011/11/08 15:55:05] <nate_h> oh that's interesting | ||
| [2011/11/08 15:55:06] <nate_h> a bug | ||
| [2011/11/08 15:56:45] @ justin_donaldson joined channel #puppet | ||
| [2011/11/08 15:57:15] <nate_h> i had oinstall as the users group, and then also as an additional group | ||
| [2011/11/08 15:57:30] @ Quit: countskm: Quit: leaving | ||
| [2011/11/08 15:57:48] <nate_h> so usermod errors beause you can't have it added twice | ||
| [2011/11/08 15:57:49] <epratt> That's expected. It cannot be the primary group of the user AND an additional group. | ||
| [2011/11/08 15:57:50] @ countskm joined channel #puppet | ||
| [2011/11/08 15:57:51] <nate_h> but puppet lets you do it | ||
| [2011/11/08 15:57:54] <nate_h> yep makes sense | ||
| [2011/11/08 15:58:01] <nate_h> just maybe should have a puppet error when you do that | ||
| [2011/11/08 15:58:37] <epratt> Did usermod return a non-zero error code? | ||
| [2011/11/08 16:00:09] @ cruzfox joined channel #puppet | ||
| [2011/11/08 16:00:42] <nate_h> nope, pretty stupid | ||
| [2011/11/08 16:00:45] <troutwine> I wrote up my previous question and posted it here: http://serverfault.com/q/329109/67165 | ||
| [2011/11/08 16:00:54] @ Quit: taihen: Ping timeout: 240 seconds | ||
| [2011/11/08 16:00:55] @ Quit: syntaxx: Quit: Leaving | ||
| [2011/11/08 16:01:49] <hajile> whack: notice("") doesn't seem to display anything in stdout | ||
| [2011/11/08 16:01:50] <epratt> Yeah, if usermod doesn't return a non-zero error code, then puppet cannot know if it failed. | ||
| [2011/11/08 16:01:59] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/08 16:02:14] @ neonflux joined channel #puppet | ||
| [2011/11/08 16:02:21] @ Quit: neonflux: Client Quit | ||
| [2011/11/08 16:02:32] <nate_h> epratt, ya but it could have a syntax check that says you can put the same group in the gid as is in the group list | ||
| [2011/11/08 16:02:33] @ Quit: dhogland: Remote host closed the connection | ||
| [2011/11/08 16:02:39] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/08 16:02:54] <hajile> whack: nevermind. | ||
| [2011/11/08 16:02:55] <hajile> :) | ||
| [2011/11/08 16:03:26] @ Quit: tremble: Ping timeout: 252 seconds | ||
| [2011/11/08 16:03:43] @ Quit: j00bar: Ping timeout: 245 seconds | ||
| [2011/11/08 16:03:48] @ Quit: tilgovi: Remote host closed the connection | ||
| [2011/11/08 16:04:01] @ Quit: sduchesneau: Remote host closed the connection | ||
| [2011/11/08 16:04:01] <epratt> Possibly, but that would require all user providers to also disallow this. I'm not 100% certain that's the case. I know usermod in Linux does not allow it. I do not know that the providers in other OSes will. | ||
| [2011/11/08 16:04:13] <nate_h> true | ||
| [2011/11/08 16:05:36] <nate_h> anyone here going to brouwers tonight? | ||
| [2011/11/08 16:06:43] @ scsinutz joined channel #puppet | ||
| [2011/11/08 16:06:48] @ scsinutz left channel #puppet () | ||
| [2011/11/08 16:06:55] @ iw_work joined channel #puppet | ||
| [2011/11/08 16:07:34] @ taihen joined channel #puppet | ||
| [2011/11/08 16:09:28] @ Quit: multiverse: Ping timeout: 260 seconds | ||
| [2011/11/08 16:11:45] @ metcalfc joined channel #puppet | ||
| [2011/11/08 16:12:17] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/08 16:13:23] @ Quit: sc001: Remote host closed the connection | ||
| [2011/11/08 16:13:41] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/11/08 16:14:42] @ mitchellh joined channel #puppet | ||
| [2011/11/08 16:14:50] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2011/11/08 16:15:52] @ Quit: paxos: Quit: Leaving. | ||
| [2011/11/08 16:16:00] @ epratt left channel #puppet () | ||
| [2011/11/08 16:16:15] @ Quit: troutwine: Quit: leaving | ||
| [2011/11/08 16:16:18] @ paxos joined channel #puppet | ||
| [2011/11/08 16:17:07] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/08 16:18:04] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/08 16:18:39] @ Quit: metcalfc: Remote host closed the connection | ||
| [2011/11/08 16:19:23] @ tremble joined channel #puppet | ||
| [2011/11/08 16:19:24] @ Quit: tremble: Changing host | ||
| [2011/11/08 16:19:24] @ tremble joined channel #puppet | ||
| [2011/11/08 16:19:39] @ kelseyhightower joined channel #puppet | ||
| [2011/11/08 16:20:52] @ Quit: paxos: Read error: Connection reset by peer | ||
| [2011/11/08 16:21:14] @ sc001 joined channel #puppet | ||
| [2011/11/08 16:21:14] @ paxos joined channel #puppet | ||
| [2011/11/08 16:24:39] @ Quit: thisKat: Quit: Computer has gone to sleep. | ||
| [2011/11/08 16:24:55] @ erodriguez joined channel #puppet | ||
| [2011/11/08 16:26:16] @ Quit: kelseyhightower: Ping timeout: 260 seconds | ||
| [2011/11/08 16:27:38] <lindenle> What happens if I pass a hash to a define? | ||
| [2011/11/08 16:27:47] @ Quit: tty234: Read error: Connection reset by peer | ||
| [2011/11/08 16:27:53] <lindenle> wuill the ${name} variable be the keys of the hash? | ||
| [2011/11/08 16:29:39] @ kelseyhightower joined channel #puppet | ||
| [2011/11/08 16:30:08] @ Quit: joshcooper: Ping timeout: 258 seconds | ||
| [2011/11/08 16:30:27] <justintime> Bah, I can't remember what command line dumps all puppet.conf variables to stdout. Anyone? | ||
| [2011/11/08 16:30:38] <nate_h> lindenle, here i'll show you how I like to pass hashes to defines | ||
| [2011/11/08 16:30:49] <lindenle> nate_h: cool thx | ||
| [2011/11/08 16:30:58] @ Djelibeybi joined channel #puppet | ||
| [2011/11/08 16:31:11] @ Quit: paxos: Quit: Leaving. | ||
| [2011/11/08 16:31:18] @ Quit: Djelibeybi: Client Quit | ||
| [2011/11/08 16:33:13] <nate_h> lindenle, http://www.pastie.org/2833858 | ||
| [2011/11/08 16:33:17] @ joshcooper joined channel #puppet | ||
| [2011/11/08 16:33:21] <nate_h> so if you grab the puppetlabs stdlib module | ||
| [2011/11/08 16:33:30] <nate_h> it has a function called keys | ||
| [2011/11/08 16:33:43] <nate_h> so you pass the list of keys as the namevar, and the hash as a param | ||
| [2011/11/08 16:33:47] <nate_h> then you can index it inside | ||
| [2011/11/08 16:34:03] @ Quit: ghanima: Quit: Leaving. | ||
| [2011/11/08 16:36:38] @ matchaw___ joined channel #puppet | ||
| [2011/11/08 16:36:51] @ Quit: j^2: Remote host closed the connection | ||
| [2011/11/08 16:37:04] @ Quit: matchaw_: Ping timeout: 248 seconds | ||
| [2011/11/08 16:38:19] @ Quit: Fecn1: Quit: Leaving. | ||
| [2011/11/08 16:44:00] @ Quit: the_ramink: Ping timeout: 260 seconds | ||
| [2011/11/08 16:45:11] @ Quit: choonming: Read error: Connection timed out | ||
| [2011/11/08 16:46:21] @ Quit: marczak: Ping timeout: 276 seconds | ||
| [2011/11/08 16:47:57] <basic`> is there an easy way to "stage" classes in puppet 0.25.x? | ||
| [2011/11/08 16:48:16] <joe-mac> yes, use require => Class["whatever"] | ||
| [2011/11/08 16:48:18] <basic`> do I just have a chain of includes? | ||
| [2011/11/08 16:48:44] <basic`> joe-mac: can I put that require in a class? | ||
| [2011/11/08 16:48:58] <joe-mac> yea, instead of include use require | ||
| [2011/11/08 16:49:16] <joe-mac> IME that will just be hard to maintain and lead to dependency cycles | ||
| [2011/11/08 16:49:51] @ Quit: kwazar-: Quit: Leaving... | ||
| [2011/11/08 16:50:00] <basic`> so class myclass::files { require => Class["myclass::users"] } | ||
| [2011/11/08 16:50:02] <basic`> will work? | ||
| [2011/11/08 16:51:36] <joe-mac> no, take out the => and Class stuff | ||
| [2011/11/08 16:51:40] <joe-mac> use it just like you do include | ||
| [2011/11/08 16:51:47] <basic`> ahh | ||
| [2011/11/08 16:51:50] <joe-mac> just change the word 'include' to 'require' | ||
| [2011/11/08 16:51:51] <basic`> thanks | ||
| [2011/11/08 16:52:34] <lindenle> <nate_h> k, im confused does a define iterate over the entries in a list for example or just put the list in for each resource? | ||
| [2011/11/08 16:53:23] @ althara left channel #puppet () | ||
| [2011/11/08 16:53:37] @ tizzo-afk is now known as tizzo | ||
| [2011/11/08 16:53:52] @ Quit: BManojlovic: Remote host closed the connection | ||
| [2011/11/08 16:56:31] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/08 16:56:57] @ erodriguez joined channel #puppet | ||
| [2011/11/08 16:57:08] <lindenle> How do i declare a hash in puppet? | ||
| [2011/11/08 16:58:52] @ eliteqcskn joined channel #puppet | ||
| [2011/11/08 16:59:23] @ Quit: eliteqcskn: Remote host closed the connection | ||
| [2011/11/08 17:02:25] <Volcane> h = {"foo" => "bar"} | ||
| [2011/11/08 17:02:28] <Volcane> $h even | ||
| [2011/11/08 17:03:07] @ Quit: mitchellh: Quit: ZOMG BYE | ||
| [2011/11/08 17:03:12] <Volcane> heh not sure - I would like to just support that for any action | ||
| [2011/11/08 17:03:15] <Volcane> oops wrong # | ||
| [2011/11/08 17:05:47] @ Quit: lovemj: Ping timeout: 258 seconds | ||
| [2011/11/08 17:05:52] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/11/08 17:07:29] @ Quit: dan__t: Ping timeout: 256 seconds | ||
| [2011/11/08 17:07:46] @ Djelibeybi joined channel #puppet | ||
| [2011/11/08 17:08:12] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/08 17:08:15] @ marczak joined channel #puppet | ||
| [2011/11/08 17:09:45] @ chadskidmore joined channel #puppet | ||
| [2011/11/08 17:13:10] @ lovemj joined channel #puppet | ||
| [2011/11/08 17:13:28] @ Quit: chadskidmore: Client Quit | ||
| [2011/11/08 17:13:29] @ Quit: mrwacky42: Quit: Leaving. | ||
| [2011/11/08 17:14:15] @ Quit: Volcane: Quit: brb | ||
| [2011/11/08 17:16:41] @ Volcane joined channel #puppet | ||
| [2011/11/08 17:16:57] @ tizzo is now known as tizzo-afk | ||
| [2011/11/08 17:17:22] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/11/08 17:17:42] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/11/08 17:17:42] @ Quit: lbt: Ping timeout: 240 seconds | ||
| [2011/11/08 17:19:38] @ Quit: sc001: Remote host closed the connection | ||
| [2011/11/08 17:22:37] @ Quit: bosszaru: Quit: Leaving. | ||
| [2011/11/08 17:24:00] @ lbt joined channel #puppet | ||
| [2011/11/08 17:24:00] @ Quit: lbt: Changing host | ||
| [2011/11/08 17:24:00] @ lbt joined channel #puppet | ||
| [2011/11/08 17:24:11] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/08 17:27:22] @ Razique joined channel #puppet | ||
| [2011/11/08 17:27:41] @ Quit: Razique: Client Quit | ||
| [2011/11/08 17:29:16] @ benjiedmund joined channel #puppet | ||
| [2011/11/08 17:30:32] @ Quit: peridot: Quit: ~ Trillian Astra - www.trillian.im ~ | ||
| [2011/11/08 17:30:32] @ samkottler joined channel #puppet | ||
| [2011/11/08 17:31:34] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/08 17:34:27] @ Quit: kelseyhightower: Ping timeout: 276 seconds | ||
| [2011/11/08 17:34:58] @ Quit: dwalu: Quit: dwalu | ||
| [2011/11/08 17:36:53] @ Enf joined channel #puppet | ||
| [2011/11/08 17:37:18] @ Quit: nul0op: Ping timeout: 240 seconds | ||
| [2011/11/08 17:37:19] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 17:37:34] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/08 17:38:16] <lindenle> nate_h: how do I define a hash? hash = {key=>val,...}? | ||
| [2011/11/08 17:38:28] @ Quit: williemach: Quit: Leaving. | ||
| [2011/11/08 17:39:27] <Volcane> $h = {"foo" => "bar"} | ||
| [2011/11/08 17:40:14] <lindenle> Volcane: I have puppet 2.7.3 on my master but hash_keys seems to be an unknown function... | ||
| [2011/11/08 17:40:30] <Volcane> thats not a built in function | ||
| [2011/11/08 17:40:32] <lindenle> Volcane: clients are 2.6.4 | ||
| [2011/11/08 17:40:35] <Volcane> probably from the puppetlabs stdlib | ||
| [2011/11/08 17:40:45] <lindenle> ah. ok | ||
| [2011/11/08 17:40:52] <lindenle> so i need to install something? | ||
| [2011/11/08 17:41:02] <Volcane> its a puppet module | ||
| [2011/11/08 17:41:36] @ Quit: marczak: Ping timeout: 260 seconds | ||
| [2011/11/08 17:42:07] <lindenle> Volcane: how do I add it to my puppet installation? | ||
| [2011/11/08 17:43:05] <lindenle> Volcane: Do I just drop it in my lib/puppet/parser directory in a module? | ||
| [2011/11/08 17:44:05] <Volcane> use pluginsync | ||
| [2011/11/08 17:44:47] @ rsnhyperion joined channel #puppet | ||
| [2011/11/08 17:45:35] <lindenle> <Volcane>: that is how i get it from the master to the client right? How do i install them on the master? | ||
| [2011/11/08 17:46:09] @ Quit: hooper: Ping timeout: 276 seconds | ||
| [2011/11/08 17:46:25] <Volcane> master also uses pluginsync | ||
| [2011/11/08 17:46:34] @ Quit: seanh-ansca: Ping timeout: 255 seconds | ||
| [2011/11/08 17:47:33] @ Quit: rsnhyperion: Client Quit | ||
| [2011/11/08 17:47:54] <lindenle> <Volcane>: p.s. I cannot find hash_keys in the stdlib | ||
| [2011/11/08 17:48:31] <Volcane> there's keys though | ||
| [2011/11/08 17:48:40] <Volcane> where did you see hash_keys used? | ||
| [2011/11/08 17:51:37] <lindenle> nate_h: showed me some example code for using a hash in a define | ||
| [2011/11/08 17:52:10] @ soh joined channel #puppet | ||
| [2011/11/08 17:52:14] <lindenle> <Volcane> ^^ | ||
| [2011/11/08 17:52:58] <Volcane> must be a custom function he wrong then | ||
| [2011/11/08 17:53:04] <Volcane> but the same as keys in stdlib | ||
| [2011/11/08 17:53:27] <lindenle> ah ok | ||
| [2011/11/08 17:54:02] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/08 17:54:03] @ neonflux joined channel #puppet | ||
| [2011/11/08 17:57:06] @ themadcanudist joined channel #puppet | ||
| [2011/11/08 17:58:42] @ densebits joined channel #puppet | ||
| [2011/11/08 17:58:54] @ Quit: iw_work: Ping timeout: 240 seconds | ||
| [2011/11/08 18:01:36] @ Quit: ianbrandt: Quit: ianbrandt | ||
| [2011/11/08 18:01:53] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/11/08 18:02:17] @ marczak joined channel #puppet | ||
| [2011/11/08 18:05:52] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 18:07:47] <CrazyGir> how would you specify a provider to override puppet defaults, such as: https://github.com/wcmaier/puppet-openbsd | ||
| [2011/11/08 18:08:40] <plathrop> CrazyGir: provider => provider_name | ||
| [2011/11/08 18:09:15] @ newtMcKerr joined channel #puppet | ||
| [2011/11/08 18:09:30] <cosman2001> what does this error mean: Could not run Puppet configuration client: Could not render to b64_zlib_yaml: uninitialized constant Base64 | ||
| [2011/11/08 18:10:05] <plathrop> CrazyGir: Although, that one looks like it has the same name as a built-in so you'll need to rename it or just patch your puppet. | ||
| [2011/11/08 18:10:46] <CrazyGir> where would that be specified? in site.pp or some such? is there a more appropriate place by convention? | ||
| [2011/11/08 18:11:32] <plathrop> CrazyGir: Wherever you need it. Which is probably why it was made to drop in as a replacement, so you don't have to specify it everywhere. | ||
| [2011/11/08 18:11:47] <CrazyGir> oh, interesting | ||
| [2011/11/08 18:11:54] <CrazyGir> where should it live (the code)? | ||
| [2011/11/08 18:12:34] <CrazyGir> I wish the readme clarified these notes... | ||
| [2011/11/08 18:12:39] <plathrop> CrazyGir: If you are replacing the one in puppet, <wherever_puppet_is_installed>/lib/puppet/provider/package/openbsd.rb | ||
| [2011/11/08 18:12:49] @ Spads_ joined channel #puppet | ||
| [2011/11/08 18:12:58] <CrazyGir> and if I don't want to replace it, but have it available? | ||
| [2011/11/08 18:12:58] <plathrop> CrazyGir: When you get it figured out, fork it, patch the README, and submit a pull request! :-) | ||
| [2011/11/08 18:13:13] <CrazyGir> plathrop: I'm already in the process of doing so | ||
| [2011/11/08 18:13:21] <CrazyGir> though I am not much of a git fan :P | ||
| [2011/11/08 18:13:25] <plathrop> CrazyGir: I don't know. They've changed around the module layout since I last did this, sorry :-( | ||
| [2011/11/08 18:13:37] @ rcrowley joined channel #puppet | ||
| [2011/11/08 18:13:45] <plathrop> CrazyGir: blasphemer! :-P A lot of people don't like git, no worries | ||
| [2011/11/08 18:14:44] <CrazyGir> when you say provider => package_name.. say I had some code in .../lib/puppet/provider/w00t/openbsd.rb what would I set package_name to? | ||
| [2011/11/08 18:14:58] <CrazyGir> plathrop: yea, hg has my <3 | ||
| [2011/11/08 18:15:01] * RoyK wonders how many understood that One Day by Björk was a story about a nuclear bomb | ||
| [2011/11/08 18:15:17] <nevyn> git + puppet == awesome | ||
| [2011/11/08 18:15:20] <CrazyGir> she's pretty wild for that exact reason | ||
| [2011/11/08 18:15:40] <nevyn> http://hunnur.com/blog/2010/10/dynamic-git-branch-puppet-environments/ | ||
| [2011/11/08 18:15:51] <CrazyGir> you can do the same with hg.. | ||
| [2011/11/08 18:15:54] <plathrop> CrazyGir: er, provider_name not package_name. And you wouldn't have lib/puppet/provider/w00t unless you were adding a w00t type...? | ||
| [2011/11/08 18:16:15] <nevyn> so I used hg in a previous workplace but I never really got it. | ||
| [2011/11/08 18:16:18] <CrazyGir> oh, so my file would live in .../provider/package/ | ||
| [2011/11/08 18:16:24] @ Quit: Spads: Ping timeout: 258 seconds | ||
| [2011/11/08 18:16:32] <CrazyGir> eg, if it were named w00t.rb, it would be provider => w00t ? | ||
| [2011/11/08 18:16:41] <RoyK> the difference between git and hg is mostly about taste | ||
| [2011/11/08 18:16:52] <plathrop> CrazyGir: I think it would be something like module_path/w00t_module/lib/puppet/provider/package/w00t.rb | ||
| [2011/11/08 18:16:55] <CrazyGir> some of it is style and how you think | ||
| [2011/11/08 18:16:59] <plathrop> and then, yeah, you'd put provider => w00t | ||
| [2011/11/08 18:17:10] <plathrop> I think | ||
| [2011/11/08 18:17:17] <CrazyGir> I'll give it a shot! | ||
| [2011/11/08 18:17:18] <nevyn> I think I just never understood the model well enough where I've actually gotten as far as understanding the git datamodel | ||
| [2011/11/08 18:17:19] <plathrop> Poke around the website, I think there's info buried there | ||
| [2011/11/08 18:17:43] <nevyn> some say it's wrong that you need to understand the data model in git to use it I'm not convinced | ||
| [2011/11/08 18:17:46] <plathrop> CrazyGir: Hit up the list if you can't figure out the right module directory layout. | ||
| [2011/11/08 18:18:00] <CrazyGir> haven't seen it in the obvious places (eg: http://projects.puppetlabs.com/projects/puppet/wiki/Development_Provider_Development) | ||
| [2011/11/08 18:18:16] @ artista_frustrad joined channel #puppet | ||
| [2011/11/08 18:18:21] <CrazyGir> indeed | ||
| [2011/11/08 18:18:24] <CrazyGir> I'll give this a shot | ||
| [2011/11/08 18:18:38] <plathrop> Until they have hghub as cool as github, I'm not even tempted :-) | ||
| [2011/11/08 18:19:36] <CrazyGir> bitbucket? | ||
| [2011/11/08 18:20:33] <plathrop> not even close | ||
| [2011/11/08 18:21:16] <CrazyGir> what's missing for you? | ||
| [2011/11/08 18:22:05] @ Quit: hamish: Remote host closed the connection | ||
| [2011/11/08 18:22:33] <plathrop> well, TBH it's been over a year since I looked. But pull requests weren't nearly ready back then. | ||
| [2011/11/08 18:23:01] <plathrop> I'm not a tool fundamentalist though. Use what makes you comfortable :-) | ||
| [2011/11/08 18:23:17] @ hfnix joined channel #puppet | ||
| [2011/11/08 18:23:34] <CrazyGir> indeed, I just like hearing other people's opinions/perspective | ||
| [2011/11/08 18:23:51] <CrazyGir> easier to improve your life when you pay attention to others | ||
| [2011/11/08 18:24:09] @ soh joined channel #puppet | ||
| [2011/11/08 18:25:56] <plathrop> Well, I'm off for the evening. Best of luck | ||
| [2011/11/08 18:31:23] @ choonming joined channel #puppet | ||
| [2011/11/08 18:32:11] @ frostynova joined channel #puppet | ||
| [2011/11/08 18:32:46] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/11/08 18:34:32] @ samkottler joined channel #puppet | ||
| [2011/11/08 18:36:28] @ Quit: jkoppe: Quit: Leaving. | ||
| [2011/11/08 18:37:04] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 18:38:12] @ Quit: choonming: Quit: Leaving | ||
| [2011/11/08 18:38:30] @ soh joined channel #puppet | ||
| [2011/11/08 18:38:41] @ Quit: soh: Client Quit | ||
| [2011/11/08 18:39:11] @ Phungis joined channel #puppet | ||
| [2011/11/08 18:39:50] @ hyde joined channel #puppet | ||
| [2011/11/08 18:40:14] <CrazyGir> sometimes puppet frustrates me so much I throw up my hands and say "fsck it, I'm off to chef" | ||
| [2011/11/08 18:40:43] <CrazyGir> and then I look at chef again, and I cry as I remember how horrific its readability/syntax is to a newcomer: http://ericholscher.com/blog/2010/nov/9/building-django-app-server-chef-part-2/ | ||
| [2011/11/08 18:42:58] <CrazyGir> ok, so I have copied my test openbsd.rb package provider to /usr/local/lib/ruby/site_ruby/1.8/puppet/provider/package/openbsd-improved.rb and have specified it in a node definition as provider => openbsd-improved, but this does not appear to be picked up | ||
| [2011/11/08 18:43:03] <CrazyGir> am I missing something? | ||
| [2011/11/08 18:44:18] @ zwi joined channel #puppet | ||
| [2011/11/08 18:45:23] @ alanevans joined channel #puppet | ||
| [2011/11/08 18:45:53] @ erodriguez joined channel #puppet | ||
| [2011/11/08 18:49:49] <CrazyGir> using it in replace of the default seems to work, except that the code breaks on v2.7.6 | ||
| [2011/11/08 18:50:01] <Theory> Today's slightly special error message: Syntax error at '}'; expected '}' | ||
| [2011/11/08 18:50:06] <Theory> (don't need help, it just amused me) | ||
| [2011/11/08 18:51:32] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 18:51:47] @ Phungis joined channel #puppet | ||
| [2011/11/08 18:53:03] @ dgillies joined channel #puppet | ||
| [2011/11/08 18:56:01] @ Quit: djm68: Quit: leaving | ||
| [2011/11/08 18:56:04] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/08 18:57:35] @ lpaul7 joined channel #puppet | ||
| [2011/11/08 18:57:41] <CrazyGir> I wish more people enjoyed the benefits of running openbsd | ||
| [2011/11/08 18:57:54] <CrazyGir> its saddening that so many folks seem to neglect it | ||
| [2011/11/08 18:58:23] <CrazyGir> and companies like puppetlabs "support" openbsd but can't seem to keep it together | ||
| [2011/11/08 18:59:15] <CrazyGir> notice: /Stage[main]//Node[ra]/Package[w00t]/ensure: created <---- there's no package named w00t.. | ||
| [2011/11/08 18:59:35] @ Moe__ joined channel #puppet | ||
| [2011/11/08 18:59:38] <CrazyGir> notice: /Stage[main]//Node[ra]/Package[mercurial]/ensure: created <--- and mercurial has already been installed | ||
| [2011/11/08 18:59:46] <CrazyGir> so is puppet reinstalling it? | ||
| [2011/11/08 18:59:47] <CrazyGir> so silly | ||
| [2011/11/08 18:59:52] <densebits> o__O | ||
| [2011/11/08 19:00:08] <CrazyGir> bugs | ||
| [2011/11/08 19:00:25] <CrazyGir> the above is on 2.6.3 | ||
| [2011/11/08 19:00:30] <densebits> I'm still trying to wrap my head around puppet with rvm | ||
| [2011/11/08 19:00:36] <CrazyGir> rvm? | ||
| [2011/11/08 19:01:01] <densebits> ruby version manager | ||
| [2011/11/08 19:01:40] <CrazyGir> ah | ||
| [2011/11/08 19:01:52] <densebits> so much easier to manage ruby | ||
| [2011/11/08 19:08:19] <CrazyGir> mmm | ||
| [2011/11/08 19:08:32] <CrazyGir> I am in the python world, so my <3 is virtualenv | ||
| [2011/11/08 19:08:40] <CrazyGir> maybe similar? | ||
| [2011/11/08 19:09:29] <densebits> Yeah it's some what similar. | ||
| [2011/11/08 19:11:02] @ Quit: ccaum: Quit: ccaum | ||
| [2011/11/08 19:11:05] <densebits> CrazyGir, This person's post is informative on the differences I would say. http://gillesfabio.com/blog/2011/03/01/rvm-for-pythonistas-virtualenv-for-rubyists/ | ||
| [2011/11/08 19:13:13] <CrazyGir> nice | ||
| [2011/11/08 19:15:03] @ TheDigitalNinja joined channel #puppet | ||
| [2011/11/08 19:20:10] @ the_ramink joined channel #puppet | ||
| [2011/11/08 19:20:35] @ Quit: ChikuLinu__: Read error: Connection reset by peer | ||
| [2011/11/08 19:20:42] @ Quit: mogitux: Read error: Operation timed out | ||
| [2011/11/08 19:21:24] @ ChikuLinu__ joined channel #puppet | ||
| [2011/11/08 19:22:17] @ choonming joined channel #puppet | ||
| [2011/11/08 19:23:46] @ trnzmeta joined channel #puppet | ||
| [2011/11/08 19:24:31] @ Quit: bmahe: Quit: Leaving | ||
| [2011/11/08 19:24:38] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/08 19:24:41] @ salajand1r joined channel #puppet | ||
| [2011/11/08 19:25:55] @ hfnix1 joined channel #puppet | ||
| [2011/11/08 19:26:55] @ Quit: kubicek: Ping timeout: 260 seconds | ||
| [2011/11/08 19:27:12] @ Quit: iFire: Read error: Connection reset by peer | ||
| [2011/11/08 19:27:13] @ Quit: Ababcus: Read error: Connection reset by peer | ||
| [2011/11/08 19:27:18] @ Ababcus joined channel #puppet | ||
| [2011/11/08 19:27:25] @ Quit: _Spike_: Ping timeout: 240 seconds | ||
| [2011/11/08 19:27:28] @ Quit: salajander: Ping timeout: 245 seconds | ||
| [2011/11/08 19:27:37] @ Quit: hfnix: Ping timeout: 258 seconds | ||
| [2011/11/08 19:27:44] @ iFire joined channel #puppet | ||
| [2011/11/08 19:27:53] @ Quit: MrBIOS-seamicro: Ping timeout: 245 seconds | ||
| [2011/11/08 19:28:06] @ Moe_ joined channel #puppet | ||
| [2011/11/08 19:28:13] @ Quit: leifmadsen: Ping timeout: 240 seconds | ||
| [2011/11/08 19:28:13] @ Quit: jaymurtii: Ping timeout: 240 seconds | ||
| [2011/11/08 19:28:17] @ kubicek joined channel #puppet | ||
| [2011/11/08 19:28:30] @ Quit: Moe_: Remote host closed the connection | ||
| [2011/11/08 19:28:40] @ Quit: flipwork: Ping timeout: 260 seconds | ||
| [2011/11/08 19:28:40] @ Quit: lindenle: Ping timeout: 260 seconds | ||
| [2011/11/08 19:28:48] @ MrBIOS-seamicro joined channel #puppet | ||
| [2011/11/08 19:29:01] @ Quit: Volcane: Ping timeout: 240 seconds | ||
| [2011/11/08 19:29:06] @ lindenle joined channel #puppet | ||
| [2011/11/08 19:29:17] @ Quit: Moe__: Remote host closed the connection | ||
| [2011/11/08 19:29:19] @ flipwork joined channel #puppet | ||
| [2011/11/08 19:29:29] @ jaymurtii joined channel #puppet | ||
| [2011/11/08 19:29:34] @ leifmadsen joined channel #puppet | ||
| [2011/11/08 19:32:25] @ Moe__ joined channel #puppet | ||
| [2011/11/08 19:33:57] @ sarkis joined channel #puppet | ||
| [2011/11/08 19:34:46] @ Volcane joined channel #puppet | ||
| [2011/11/08 19:35:44] @ mogitux joined channel #puppet | ||
| [2011/11/08 19:36:59] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 19:37:07] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/08 19:37:19] @ Phungis joined channel #puppet | ||
| [2011/11/08 19:40:21] @ Quit: mogitux: Read error: Operation timed out | ||
| [2011/11/08 19:41:43] @ bobra joined channel #puppet | ||
| [2011/11/08 19:42:08] @ Quit: mat_: Read error: Connection reset by peer | ||
| [2011/11/08 19:42:15] @ mat_ joined channel #puppet | ||
| [2011/11/08 19:42:15] @ Quit: mat_: Changing host | ||
| [2011/11/08 19:42:15] @ mat_ joined channel #puppet | ||
| [2011/11/08 19:42:23] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/08 19:45:00] <Hunner> nevyn: http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ | ||
| [2011/11/08 19:47:14] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/08 19:48:12] <nevyn> nice! | ||
| [2011/11/08 19:48:40] <densebits> I agree | ||
| [2011/11/08 19:52:00] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 19:52:17] @ Phungis joined channel #puppet | ||
| [2011/11/08 19:54:01] @ soh joined channel #puppet | ||
| [2011/11/08 19:54:57] @ mogitux joined channel #puppet | ||
| [2011/11/08 19:57:29] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/11/08 19:59:30] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/08 20:00:45] @ Quit: Phungis: | ||
| [2011/11/08 20:01:04] @ Phungis joined channel #puppet | ||
| [2011/11/08 20:02:11] @ xizhendu joined channel #puppet | ||
| [2011/11/08 20:09:35] @ Quit: socomm: Ping timeout: 252 seconds | ||
| [2011/11/08 20:11:18] @ socomm joined channel #puppet | ||
| [2011/11/08 20:13:46] @ adimania joined channel #puppet | ||
| [2011/11/08 20:14:22] <CrazyGir> is there a conventional way to do something like: owner => $operatingsystem ? { 'debian' => 'root', 'openbsd' => 'wheel' } on a more global scale | ||
| [2011/11/08 20:14:59] <CrazyGir> eg, set a variable $root or similar, and then use owner => $root | ||
| [2011/11/08 20:15:00] @ Quit: neonflux: Read error: Connection reset by peer | ||
| [2011/11/08 20:15:04] @ neonflux1 joined channel #puppet | ||
| [2011/11/08 20:15:34] <CrazyGir> set that variable based on the os type, or some other fact, but done in a global space so that when the client runs, $root can be used everywhere in the configs? | ||
| [2011/11/08 20:16:49] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 20:17:26] @ Phungis joined channel #puppet | ||
| [2011/11/08 20:20:05] <rodjek> CrazyGir: make it a fact | ||
| [2011/11/08 20:20:17] <CrazyGir> how do you mean? | ||
| [2011/11/08 20:20:21] <the_ramink> CrazyGir: you should be able to set that in your site.pp as a default for File though it may cause some scope issues from things other people have said. | ||
| [2011/11/08 20:20:41] <CrazyGir> what sort of scope issues? | ||
| [2011/11/08 20:21:04] @ AshishH joined channel #puppet | ||
| [2011/11/08 20:21:18] <CrazyGir> also, what is the best way to advocate for attention being given to the openbsd providers? (they suck) | ||
| [2011/11/08 20:21:37] <CrazyGir> both user and packagement are effectively proken | ||
| [2011/11/08 20:21:40] <CrazyGir> *broken | ||
| [2011/11/08 20:22:59] <rodjek> CrazyGir: https://gist.github.com/1350373 | ||
| [2011/11/08 20:23:03] <rodjek> something like that | ||
| [2011/11/08 20:24:23] @ jsurfer joined channel #puppet | ||
| [2011/11/08 20:24:42] <CrazyGir> ok, two questions: where would that live, and how should it be used? | ||
| [2011/11/08 20:25:09] <rodjek> modules/<module>/lib/facter/root.rb | ||
| [2011/11/08 20:25:19] <rodjek> it would be used as a normal fact ie $root | ||
| [2011/11/08 20:25:28] <CrazyGir> interesting approach | ||
| [2011/11/08 20:26:04] <CrazyGir> and if you did this for multiple users / packages / etc? | ||
| [2011/11/08 20:26:31] <CrazyGir> eg, for any two systems, you are going to reference different users for each of your services (at least most) | ||
| [2011/11/08 20:26:41] <CrazyGir> like nginx, puppet, mysql, etc | ||
| [2011/11/08 20:26:50] <rodjek> possibly | ||
| [2011/11/08 20:27:10] <CrazyGir> well, for me using openbsd & debian, I almost always do ;) | ||
| [2011/11/08 20:27:11] <rodjek> really depends on the exact circumstances | ||
| [2011/11/08 20:28:08] <CrazyGir> my question is more along the lines.. would you apply your suggestion to having to "set" the proper name in multiple instances? | ||
| [2011/11/08 20:28:38] <rodjek> i have a homogeneous environment now, but back when i didn't, i just used a conditional in the manifests for software specific variables to avoid polluting the namespace | ||
| [2011/11/08 20:29:11] <rodjek> root user is used in multiple places, so it makes sense not to have to do that each time | ||
| [2011/11/08 20:29:19] <CrazyGir> yea | ||
| [2011/11/08 20:29:34] <rodjek> puppet user is only ever referenced from the puppet module, so it makes sense to just define it there | ||
| [2011/11/08 20:29:43] <CrazyGir> that is a good point, the service users are in the modules | ||
| [2011/11/08 20:31:53] <jpalmer> question: is site.pp mandatory in puppet 2.7? | ||
| [2011/11/08 20:32:07] <rodjek> jpalmer: i believe so | ||
| [2011/11/08 20:32:53] <jpalmer> rodjek: even if the file is literally empty? | ||
| [2011/11/08 20:32:54] @ Quit: marczak: Ping timeout: 240 seconds | ||
| [2011/11/08 20:33:11] <rodjek> jpalmer: i believe so | ||
| [2011/11/08 20:33:19] <rodjek> delete it and try? | ||
| [2011/11/08 20:33:21] <jpalmer> ok, thanks. | ||
| [2011/11/08 20:34:01] <CrazyGir> I've seen a few non-sensicle hard-coded stuff like that | ||
| [2011/11/08 20:34:16] <CrazyGir> puppet checking for a "puppet" user appears to be one (at least on openbsd) | ||
| [2011/11/08 20:34:47] @ newtMcKerr joined channel #puppet | ||
| [2011/11/08 20:36:31] @ Quit: newtMcKerr: Client Quit | ||
| [2011/11/08 20:37:13] @ jwhitlock joined channel #puppet | ||
| [2011/11/08 20:38:52] <CrazyGir> rodjek: when running: lib/facter/root.rb: ./root.rb:7: syntax error, unexpected $end, expecting kEND | ||
| [2011/11/08 20:39:16] <rodjek> oh, that was an example | ||
| [2011/11/08 20:39:21] <rodjek> 1 sec, lemme get you some working code | ||
| [2011/11/08 20:39:24] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/11/08 20:39:40] <CrazyGir> hah | ||
| [2011/11/08 20:39:57] <CrazyGir> if I were a rubyist, I'd recognize that :* | ||
| [2011/11/08 20:39:59] <CrazyGir> :( | ||
| [2011/11/08 20:40:26] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/08 20:40:45] @ emergion joined channel #puppet | ||
| [2011/11/08 20:42:01] <CrazyGir> in this snippet, how is puppet coming up with the '/etc/default/puppet.puppettmp_4280' in: change from absent to file failed: Could not set 'file on ensure: No such file or directory - /etc/default/puppet.puppettmp_4280 at /etc/puppet/modules/puppet/manifests/init.pp:22 | ||
| [2011/11/08 20:42:13] @ Quit: Moe__: Remote host closed the connection | ||
| [2011/11/08 20:42:26] <rodjek> CrazyGir: refresh that page and you should have working code | ||
| [2011/11/08 20:42:37] <jpalmer> rodjek: confirmed, site.pp is no longer needed on 2.7 | ||
| [2011/11/08 20:43:25] <rodjek> CrazyGir: <file you're managing>.puppettmp_<pid> i believe | ||
| [2011/11/08 20:43:28] @ jwhitlock is now known as jwhitlock_zzz | ||
| [2011/11/08 20:44:27] <CrazyGir> hrm, that's odd | ||
| [2011/11/08 20:44:46] <rodjek> it's just a temp file, gotta be called something | ||
| [2011/11/08 20:45:13] <CrazyGir> no, I was referring to puppet not being able to find it | ||
| [2011/11/08 20:45:49] <emergion> CrazyGir, does the /etc/default directory actually exist ? | ||
| [2011/11/08 20:45:54] <rodjek> does /etc/default exist (and writable by the puppet user) | ||
| [2011/11/08 20:47:04] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 20:47:21] @ Phungis joined channel #puppet | ||
| [2011/11/08 20:47:24] <emergion> How can I access the namevar variable in a resource definition, particuarly if I am passing in an array as the "title" of the resource, see: http://pastie.org/2834635 | ||
| [2011/11/08 20:47:36] <CrazyGir> OH! | ||
| [2011/11/08 20:48:01] <CrazyGir> emergion: I say that as the other way around, that puppet was unable to locate the source file, not that it was having trouble with the destination | ||
| [2011/11/08 20:49:38] <CrazyGir> *I saw | ||
| [2011/11/08 20:49:53] <emergion> CrazyGir, so it is sorted? | ||
| [2011/11/08 20:51:30] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/08 20:52:26] @ Quit: neonflux1: Quit: Leaving. | ||
| [2011/11/08 20:53:09] <CrazyGir> yep :) | ||
| [2011/11/08 20:54:02] @ soh joined channel #puppet | ||
| [2011/11/08 20:55:23] @ Quit: densebits: Remote host closed the connection | ||
| [2011/11/08 20:55:42] @ erodriguez joined channel #puppet | ||
| [2011/11/08 20:56:19] <CrazyGir> can you set variables in puppet.conf? | ||
| [2011/11/08 20:56:39] <CrazyGir> oh bah | ||
| [2011/11/08 20:56:41] <CrazyGir> nevermind :) | ||
| [2011/11/08 20:56:58] <CrazyGir> well, actually, I believe you can, but confirmation on that would be awesome | ||
| [2011/11/08 20:57:21] @ Quit: erodriguez: Client Quit | ||
| [2011/11/08 20:57:27] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 20:58:09] @ Phungis joined channel #puppet | ||
| [2011/11/08 20:58:20] @ sumsuch joined channel #puppet | ||
| [2011/11/08 20:58:33] <rodjek> CrazyGir: what do you mean? | ||
| [2011/11/08 21:01:42] @ Quit: bobra: Ping timeout: 240 seconds | ||
| [2011/11/08 21:02:12] @ Quit: fredden: Quit: Leaving | ||
| [2011/11/08 21:02:27] @ newtMcKerr joined channel #puppet | ||
| [2011/11/08 21:03:30] @ Quit: newtMcKerr: Client Quit | ||
| [2011/11/08 21:03:50] @ st33v joined channel #puppet | ||
| [2011/11/08 21:04:08] @ st33v left channel #puppet () | ||
| [2011/11/08 21:06:24] @ Quit: jaymurtii: Ping timeout: 248 seconds | ||
| [2011/11/08 21:09:55] @ ccaum joined channel #puppet | ||
| [2011/11/08 21:10:15] @ kelseyhightower joined channel #puppet | ||
| [2011/11/08 21:14:32] @ Quit: skm: Quit: Leaving... | ||
| [2011/11/08 21:15:00] @ Quit: hfnix1: Quit: Leaving. | ||
| [2011/11/08 21:15:34] @ bobra joined channel #puppet | ||
| [2011/11/08 21:17:46] <jpalmer> doh. looks like with 2.7.6, puppet completely ignores the 'certdnsnames' config option? | ||
| [2011/11/08 21:19:14] @ Quit: ccaum: Remote host closed the connection | ||
| [2011/11/08 21:22:16] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 21:22:37] @ Phungis joined channel #puppet | ||
| [2011/11/08 21:23:12] @ Kazuhiro joined channel #puppet | ||
| [2011/11/08 21:23:21] @ Quit: kloeri: Remote host closed the connection | ||
| [2011/11/08 21:23:29] @ kloeri joined channel #puppet | ||
| [2011/11/08 21:24:49] @ _Spike_ joined channel #puppet | ||
| [2011/11/08 21:26:26] @ chadskidmore joined channel #puppet | ||
| [2011/11/08 21:27:00] @ ccaum joined channel #puppet | ||
| [2011/11/08 21:27:51] @ Quit: chadskidmore: Client Quit | ||
| [2011/11/08 21:28:22] <the_ramink> jpalmer: it does because of the recent cert unpleasantness | ||
| [2011/11/08 21:29:03] <jpalmer> yeah, I saw the CVE. | ||
| [2011/11/08 21:29:16] <jpalmer> guess I'll just change the "hostname" on my puppetmaster. | ||
| [2011/11/08 21:31:40] <nevyn> how does the puppetconf devopscafe vid only have 140 views? | ||
| [2011/11/08 21:32:20] <the_ramink> If you're regenerating the cert you can use dns_alt_names to get the same affect | ||
| [2011/11/08 21:32:22] <the_ramink> http://pastie.org/2832675 | ||
| [2011/11/08 21:32:48] @ hfnix joined channel #puppet | ||
| [2011/11/08 21:34:13] @ Quit: smooth_p: Ping timeout: 240 seconds | ||
| [2011/11/08 21:34:44] @ Quit: ccaum: Remote host closed the connection | ||
| [2011/11/08 21:36:51] <nevyn> jamesturnbull: every time you say zookeeper I keep thinking of the other zookeeer | ||
| [2011/11/08 21:38:36] @ jongrocho joined channel #puppet | ||
| [2011/11/08 21:39:55] @ abetterlie joined channel #puppet | ||
| [2011/11/08 21:40:48] @ Quit: kelseyhightower: Quit: leaving | ||
| [2011/11/08 21:42:08] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 21:42:44] @ Phungis joined channel #puppet | ||
| [2011/11/08 21:47:41] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 21:47:46] <CrazyGir> rodjek: vardir = /var/puppet; ssldir = $vardir/ssl; moduledir = $vardir/modules; | ||
| [2011/11/08 21:48:02] @ Phungis joined channel #puppet | ||
| [2011/11/08 21:49:25] @ Quit: Holocaine: | ||
| [2011/11/08 21:49:41] <rodjek> yep, what about them? | ||
| [2011/11/08 21:50:02] <CrazyGir> sounds like that is kosher :) | ||
| [2011/11/08 21:50:11] <CrazyGir> that confirms my suspicion | ||
| [2011/11/08 21:54:21] @ eshamow_ joined channel #puppet | ||
| [2011/11/08 21:54:38] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/08 21:54:48] @ Quit: eshamow_: Client Quit | ||
| [2011/11/08 21:56:01] @ Quit: bobra: Remote host closed the connection | ||
| [2011/11/08 21:58:30] @ bobra joined channel #puppet | ||
| [2011/11/08 21:59:43] @ dwalu joined channel #puppet | ||
| [2011/11/08 22:00:37] @ Quit: bobra: Client Quit | ||
| [2011/11/08 22:01:21] @ bobra joined channel #puppet | ||
| [2011/11/08 22:03:12] @ g0rs joined channel #puppet | ||
| [2011/11/08 22:04:00] @ Quit: sarkis: Ping timeout: 248 seconds | ||
| [2011/11/08 22:06:27] @ sumsuch joined channel #puppet | ||
| [2011/11/08 22:07:04] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 22:07:41] @ Phungis joined channel #puppet | ||
| [2011/11/08 22:07:47] @ ccaum joined channel #puppet | ||
| [2011/11/08 22:07:54] @ ccaum left channel #puppet () | ||
| [2011/11/08 22:08:03] @ Quit: Shanlar-: Read error: Connection reset by peer | ||
| [2011/11/08 22:08:23] @ Shanlar- joined channel #puppet | ||
| [2011/11/08 22:09:40] @ johnston joined channel #puppet | ||
| [2011/11/08 22:11:02] @ mitchellh joined channel #puppet | ||
| [2011/11/08 22:13:01] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/08 22:15:15] @ Quit: bobra: Read error: Connection reset by peer | ||
| [2011/11/08 22:17:06] @ bobra joined channel #puppet | ||
| [2011/11/08 22:20:42] @ Quit: hyde: Remote host closed the connection | ||
| [2011/11/08 22:22:07] @ Quit: cosimo: Ping timeout: 258 seconds | ||
| [2011/11/08 22:22:40] @ Quit: fenrus02: Read error: Operation timed out | ||
| [2011/11/08 22:23:46] @ lkoranda joined channel #puppet | ||
| [2011/11/08 22:33:01] @ sumsuch joined channel #puppet | ||
| [2011/11/08 22:33:08] <nevyn> hrm | ||
| [2011/11/08 22:33:22] <nevyn> sometimes I hate my coworkers. | ||
| [2011/11/08 22:33:26] @ Meier joined channel #puppet | ||
| [2011/11/08 22:33:42] <nevyn> "Line of business people shouldn't write software" | ||
| [2011/11/08 22:33:49] @ Quit: johnston: Ping timeout: 265 seconds | ||
| [2011/11/08 22:33:58] @ g0rs left channel #puppet ("Konversation terminated!") | ||
| [2011/11/08 22:34:08] <nevyn> me: "It fixes their information problem of course they should" | ||
| [2011/11/08 22:35:02] @ riha joined channel #puppet | ||
| [2011/11/08 22:36:02] @ langworthy joined channel #puppet | ||
| [2011/11/08 22:36:11] @ jodok joined channel #puppet | ||
| [2011/11/08 22:36:12] @ Quit: jodok: Changing host | ||
| [2011/11/08 22:36:12] @ jodok joined channel #puppet | ||
| [2011/11/08 22:37:10] @ yevlempy joined channel #puppet | ||
| [2011/11/08 22:41:28] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/08 22:45:37] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/11/08 22:46:56] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/08 22:47:20] @ Quit: hfnix: Quit: Leaving. | ||
| [2011/11/08 22:53:06] @ Quit: lpaul7: Ping timeout: 260 seconds | ||
| [2011/11/08 22:53:26] @ FeAr^Of^The^Dark joined channel #puppet | ||
| [2011/11/08 22:53:29] @ Quit: dwalu: Quit: dwalu | ||
| [2011/11/08 22:54:12] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/08 22:55:03] <FeAr^Of^The^Dark> ..::®Hi!®::.. | ||
| [2011/11/08 22:55:10] @ Quit: sdog: Remote host closed the connection | ||
| [2011/11/08 22:59:24] @ jongrocho joined channel #puppet | ||
| [2011/11/08 22:59:28] @ FeAr^Of^The^Dark left channel #puppet () | ||
| [2011/11/08 23:00:14] @ d3c joined channel #puppet | ||
| [2011/11/08 23:01:27] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/08 23:02:53] @ jongrocho joined channel #puppet | ||
| [2011/11/08 23:03:02] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 23:03:15] @ Phungis joined channel #puppet | ||
| [2011/11/08 23:06:28] @ Quit: Kazuhiro: Quit: Leaving. | ||
| [2011/11/08 23:07:20] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/08 23:07:56] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 23:08:11] @ Phungis joined channel #puppet | ||
| [2011/11/08 23:08:32] @ Quit: soh: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/08 23:08:43] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/08 23:09:11] @ jongrocho joined channel #puppet | ||
| [2011/11/08 23:09:28] @ Quit: mosen: Quit: Leaving | ||
| [2011/11/08 23:09:49] @ pmorillon joined channel #puppet | ||
| [2011/11/08 23:11:54] @ jsurfer joined channel #puppet | ||
| [2011/11/08 23:12:52] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 23:13:00] @ Quit: trnzmeta: Quit: Leaving | ||
| [2011/11/08 23:13:06] @ Phungis joined channel #puppet | ||
| [2011/11/08 23:14:18] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/11/08 23:16:01] @ grobot joined channel #puppet | ||
| [2011/11/08 23:16:49] <grobot> On a puppet client, can I retrieve the node's configuration from the server? We're transferring a server from one hosting environment, and don't control the current puppet master. | ||
| [2011/11/08 23:17:02] <grobot> (I'm completely new to puppet and may get some terminology wrong.) | ||
| [2011/11/08 23:17:56] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 23:18:16] @ Phungis joined channel #puppet | ||
| [2011/11/08 23:18:41] @ hfnix joined channel #puppet | ||
| [2011/11/08 23:22:45] <_rc> grobot: you just get the compiled form of it | ||
| [2011/11/08 23:23:00] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 23:23:03] @ Quit: grobot: Quit: grobot | ||
| [2011/11/08 23:23:15] @ Phungis joined channel #puppet | ||
| [2011/11/08 23:24:24] @ grobot joined channel #puppet | ||
| [2011/11/08 23:24:29] <d3c> I'm experiencing something rather strange: I always do an exec yum clean all as the first thing in puppet runs. however, if I update a package in my local repo, puppet needs another run to actually update it. what could be causing this? | ||
| [2011/11/08 23:24:46] @ tilgovi joined channel #puppet | ||
| [2011/11/08 23:24:47] @ Quit: tilgovi: Changing host | ||
| [2011/11/08 23:24:47] @ tilgovi joined channel #puppet | ||
| [2011/11/08 23:24:51] <grobot> must be possible to uncompile (or similar?) | ||
| [2011/11/08 23:24:52] @ rutger_ joined channel #puppet | ||
| [2011/11/08 23:25:11] @ cosman2001 joined channel #puppet | ||
| [2011/11/08 23:25:57] <_rc> not usefully if there are conditionals and template expansion happening | ||
| [2011/11/08 23:26:19] <whack> d3c: how have you made this exec run as the first thinG? | ||
| [2011/11/08 23:26:47] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/08 23:27:43] <d3c> whack: stages | ||
| [2011/11/08 23:27:54] @ mfladischer joined channel #puppet | ||
| [2011/11/08 23:30:19] <_rc> do you use the package provider at all in that stage? | ||
| [2011/11/08 23:30:22] @ lak joined channel #puppet | ||
| [2011/11/08 23:30:32] @ Quit: lak: Changing host | ||
| [2011/11/08 23:30:32] @ lak joined channel #puppet | ||
| [2011/11/08 23:31:58] @ MattyM joined channel #puppet | ||
| [2011/11/08 23:32:45] @ sdog joined channel #puppet | ||
| [2011/11/08 23:32:53] @ alternut joined channel #puppet | ||
| [2011/11/08 23:32:57] @ alternut left channel #puppet () | ||
| [2011/11/08 23:33:25] @ Quit: lkoranda: Ping timeout: 240 seconds | ||
| [2011/11/08 23:33:34] @ sumsuch joined channel #puppet | ||
| [2011/11/08 23:34:13] @ Quit: sdog: Changing host | ||
| [2011/11/08 23:34:13] @ sdog joined channel #puppet | ||
| [2011/11/08 23:35:00] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/08 23:35:21] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/08 23:35:41] @ DJClean joined channel #puppet | ||
| [2011/11/08 23:36:05] <d3c> _rc: I don't use yum, I just run yum clean all to make sure I always have the most recent packages in the main stage. that's the idea at least | ||
| [2011/11/08 23:37:16] @ Quit: mitchellh: Quit: ZOMG BYE | ||
| [2011/11/08 23:38:02] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/08 23:38:15] @ Phungis joined channel #puppet | ||
| [2011/11/08 23:39:20] <d3c> btw, how can I disable fact (=plugin) sync when running puppet apply? --pluginsync=false gives me 'needless argument'. running apply without it, will use facts. I need to disable all custom facts for my initial run. | ||
| [2011/11/08 23:41:09] @ verwilst joined channel #puppet | ||
| [2011/11/08 23:42:11] @ Boltsky joined channel #puppet | ||
| [2011/11/08 23:43:45] @ Quit: grobot: Quit: grobot | ||
| [2011/11/08 23:47:59] @ jaytaph joined channel #puppet | ||
| [2011/11/08 23:51:36] @ Quit: emergion: Quit: later... | ||
| [2011/11/08 23:51:53] <d3c> even if I set pluginsync=false and factsync=false in puppet.conf, it will still load my custom facts. isn't there any way to disable this? | ||
| [2011/11/08 23:52:51] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/08 23:54:00] @ octane- joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!