| [2012/01/12 00:03:09] @ Log started by gepetto | ||
| [2012/01/12 00:03:09] @ `Kevin joined channel #puppet | ||
| [2012/01/12 00:05:51] @ Quit: l0n: | ||
| [2012/01/12 00:07:41] @ Quit: gniks: Ping timeout: 244 seconds | ||
| [2012/01/12 00:11:43] @ Quit: q0rban: Quit: Computer has gone to sleep. | ||
| [2012/01/12 00:12:35] @ Quit: zwi: Read error: Connection reset by peer | ||
| [2012/01/12 00:12:38] @ zwi joined channel #puppet | ||
| [2012/01/12 00:16:57] @ Surv_OT_Fittest joined channel #puppet | ||
| [2012/01/12 00:17:13] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2012/01/12 00:27:18] @ Spads_ joined channel #puppet | ||
| [2012/01/12 00:30:02] @ Quit: Spads: Ping timeout: 240 seconds | ||
| [2012/01/12 00:33:41] @ Quit: kermit: Quit: Leaving. | ||
| [2012/01/12 00:34:19] @ shadowshell joined channel #puppet | ||
| [2012/01/12 00:35:45] @ Quit: Holocaine: Ping timeout: 240 seconds | ||
| [2012/01/12 00:36:52] @ dnjaramba joined channel #puppet | ||
| [2012/01/12 00:37:12] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 00:37:13] @ Quit: jeremy_: Changing host | ||
| [2012/01/12 00:37:13] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 00:38:53] @ Quit: geekle_: Ping timeout: 252 seconds | ||
| [2012/01/12 00:39:05] @ kermit joined channel #puppet | ||
| [2012/01/12 00:40:02] @ Quit: jeremy: Ping timeout: 240 seconds | ||
| [2012/01/12 00:40:02] @ jeremy_ is now known as jeremy | ||
| [2012/01/12 00:43:17] @ ghg joined channel #puppet | ||
| [2012/01/12 00:48:17] @ geekle_ joined channel #puppet | ||
| [2012/01/12 00:49:42] @ seanh-ansca joined channel #puppet | ||
| [2012/01/12 00:51:50] @ Quit: ghanima: Quit: Leaving. | ||
| [2012/01/12 00:52:41] @ clayb joined channel #puppet | ||
| [2012/01/12 00:56:08] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2012/01/12 01:02:41] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 01:02:42] @ Quit: jeremy_: Changing host | ||
| [2012/01/12 01:02:42] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 01:04:01] @ Quit: jeremy: Read error: Operation timed out | ||
| [2012/01/12 01:04:01] @ jeremy_ is now known as jeremy | ||
| [2012/01/12 01:04:42] @ Quit: geekle_: Ping timeout: 248 seconds | ||
| [2012/01/12 01:06:16] @ seanh-ansca joined channel #puppet | ||
| [2012/01/12 01:07:48] @ Quit: p3rror: Remote host closed the connection | ||
| [2012/01/12 01:09:39] @ ggghhhjjjj joined channel #puppet | ||
| [2012/01/12 01:10:39] @ Quit: gggghhhhh: Ping timeout: 240 seconds | ||
| [2012/01/12 01:11:25] @ hattwick_ joined channel #puppet | ||
| [2012/01/12 01:12:08] @ the_ramink joined channel #puppet | ||
| [2012/01/12 01:13:08] @ seanh-ansca1 joined channel #puppet | ||
| [2012/01/12 01:13:17] @ Quit: hattwick: Ping timeout: 276 seconds | ||
| [2012/01/12 01:13:17] @ shadoi joined channel #puppet | ||
| [2012/01/12 01:15:44] @ Quit: seanh-ansca: Ping timeout: 255 seconds | ||
| [2012/01/12 01:16:27] @ Quit: noakes: Quit: noakes | ||
| [2012/01/12 01:18:25] @ Quit: Diranged: Quit: Leaving. | ||
| [2012/01/12 01:19:16] @ Quit: ascarter: Quit: Computer has gone to sleep. | ||
| [2012/01/12 01:20:20] @ Quit: Ratler: Quit: WeeChat 0.3.7-dev | ||
| [2012/01/12 01:20:34] @ Quit: carmony: Remote host closed the connection | ||
| [2012/01/12 01:20:51] @ Ratler joined channel #puppet | ||
| [2012/01/12 01:21:04] @ Quit: shadowshell: Remote host closed the connection | ||
| [2012/01/12 01:23:02] @ shadowshell joined channel #puppet | ||
| [2012/01/12 01:29:09] <abetterlie> anyone awake who can help me learn some theory? | ||
| [2012/01/12 01:29:42] <abetterlie> http://bodepd.com/wordpress/?p=7 | ||
| [2012/01/12 01:29:58] <abetterlie> I want to learn some multi master CA solutions | ||
| [2012/01/12 01:31:35] @ riha joined channel #puppet | ||
| [2012/01/12 01:33:06] <Vorik_> what's your question? | ||
| [2012/01/12 01:33:38] @ Quit: neonflux: Quit: Leaving. | ||
| [2012/01/12 01:34:05] @ Quit: hfnix: Ping timeout: 276 seconds | ||
| [2012/01/12 01:34:57] <abetterlie> I want to know how to create trust between multiple masters, (which I assume means they share a CA) behind a proxy | ||
| [2012/01/12 01:36:02] <abetterlie> this blog post I'm reading is from june 2010, and a lot has changed since then | ||
| [2012/01/12 01:36:03] <Vorik_> isn't that what the blog is about? | ||
| [2012/01/12 01:36:07] <Vorik_> ah, ok | ||
| [2012/01/12 01:36:20] <abetterlie> :serious_mode | ||
| [2012/01/12 01:37:13] <abetterlie> so the CA lives on puppet1, and I have a few options on how to get it to the other servers which all have different hostnames (puppet[1..100]) | ||
| [2012/01/12 01:38:33] <abetterlie> according to one post I read, I can just sync the ssl dir, but I don't think that would work, because the clients would complain about the hostname matching the cert | ||
| [2012/01/12 01:39:24] <Vorik_> you can generate the certificate with more than one hostnames | ||
| [2012/01/12 01:39:37] <Vorik_> but i dont know if you can put in a hundred.. :) | ||
| [2012/01/12 01:40:04] <abetterlie> ok, well for the sake of discussion, lets talk puppet[1..5] | ||
| [2012/01/12 01:40:33] <abetterlie> I generate these on puppet1 with aliases for the rest of 'em | ||
| [2012/01/12 01:40:59] <abetterlie> then rsync across all 5 nodes | ||
| [2012/01/12 01:41:01] <eric0> there's really no need to do that | ||
| [2012/01/12 01:41:55] <the_ramink> A couple of us were tossing around some ideas based on multiple CAs using s3fs as signed cert repo. | ||
| [2012/01/12 01:42:24] <abetterlie> ...one moment while I find out about s3fs | ||
| [2012/01/12 01:42:27] <eric0> there's no need for that either :) | ||
| [2012/01/12 01:42:40] <abetterlie> ah, ok. fancy nfs. | ||
| [2012/01/12 01:42:47] <the_ramink> admitted it was more of a disaster recovery idea | ||
| [2012/01/12 01:44:13] <Vorik_> eric0: can you enlighten us? | ||
| [2012/01/12 01:44:25] @ Quit: drewrm: Ping timeout: 260 seconds | ||
| [2012/01/12 01:45:13] @ munhitsu__ joined channel #puppet | ||
| [2012/01/12 01:45:55] <eric0> you can generate a different cert for each server, whose Subject name is the actual hostname, and which has a --dns_alt_name=puppet:puppet.domain:other-cname:whatever | ||
| [2012/01/12 01:47:03] <eric0> alternately you can generate one cert for all of them and copy it around, and just use --certname=shared-cert.domain to point them at it | ||
| [2012/01/12 01:48:08] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2012/01/12 01:48:43] @ Quit: rejectreality: Read error: Connection reset by peer | ||
| [2012/01/12 01:49:13] @ rejectreality joined channel #puppet | ||
| [2012/01/12 01:50:38] @ gggghhhhh joined channel #puppet | ||
| [2012/01/12 01:51:00] @ Quit: ggghhhjjjj: Ping timeout: 244 seconds | ||
| [2012/01/12 01:51:38] <abetterlie> I think I understand the 2nd approach better, because the proxied name resolves to the certname | ||
| [2012/01/12 01:51:47] <abetterlie> and the hosts shouldn't complain | ||
| [2012/01/12 01:53:22] <abetterlie> ... but the first path sound like something I would have to be able to hand a list to. Is that what you're doing? --dns_alt_name=puppet:puppet2:puppet3:puppet1337 | ||
| [2012/01/12 01:54:15] @ tremble joined channel #puppet | ||
| [2012/01/12 01:54:16] @ Quit: tremble: Changing host | ||
| [2012/01/12 01:54:16] @ tremble joined channel #puppet | ||
| [2012/01/12 01:54:23] <eric0> here's what the hosts care about: (a) is the server's serial number in my CRL? (b) is the cert presented by the server signed by the CA cert i have? (c) is the name i think i'm connecting to ('puppet', absent a different '--server=foo' setting) in the server's Subject or subjectAltName attributes? | ||
| [2012/01/12 01:55:20] <eric0> here is what happens as the client starts up http://dl.dropbox.com/u/18472980/puppet-ssl-timeseq.png | ||
| [2012/01/12 01:57:47] @ Quit: sdog1: Remote host closed the connection | ||
| [2012/01/12 01:59:36] @ Quit: gggghhhhh: Ping timeout: 240 seconds | ||
| [2012/01/12 01:59:46] @ Quit: Surv_OT_Fittest: Quit: Leaving. | ||
| [2012/01/12 02:00:24] @ Surv_OT_Fittest joined channel #puppet | ||
| [2012/01/12 02:00:58] <abetterlie> OK. that makes sense. What I don't understand is what happens when you're proxying all this. | ||
| [2012/01/12 02:01:26] <abetterlie> let's say it's a completely new node, just popping out of the egg. | ||
| [2012/01/12 02:03:20] <abetterlie> it creates a new cert request and sends it to puppet.my_awesome_company.com, which responds. and my_awesome_company has autosign true for all nodes in *.com | ||
| [2012/01/12 02:04:41] <abetterlie> how is trust established between any of the puppet[1..5] servers that could respond to that? | ||
| [2012/01/12 02:05:32] <abetterlie> woah ok | ||
| [2012/01/12 02:05:56] <abetterlie> if we share the ssl dir over nfs or something, then it doesn't matter who it hits | ||
| [2012/01/12 02:06:42] <abetterlie> is that... reasonable? | ||
| [2012/01/12 02:08:30] <eric0> well, in dan's example, he sets ca_server=puppet1 in config | ||
| [2012/01/12 02:08:40] <eric0> so that's the only issuer | ||
| [2012/01/12 02:09:20] @ Quit: dross: Remote host closed the connection | ||
| [2012/01/12 02:09:41] <eric0> having all of the servers sign is sketchy over nfs because there's a race condition reading from and incrementing the serial # text file | ||
| [2012/01/12 02:10:31] <eric0> one option is to share the CA cert but manually set the starting serial number to non-overlapping numbers on each one, like 1, 10000, 20000, 30000 | ||
| [2012/01/12 02:10:38] <eric0> which is exactly as cheesy as it sounds | ||
| [2012/01/12 02:10:53] <abetterlie> yeah, that sounds like bullshit | ||
| [2012/01/12 02:10:56] <eric0> personally i greatly prefer to terminate SSL on a hardware load balancer | ||
| [2012/01/12 02:11:25] <eric0> and use content switching rules to direct anything with /certificate in the URL to the server thats got signing duties | ||
| [2012/01/12 02:11:46] <eric0> mccune | ||
| [2012/01/12 02:12:01] <eric0> jmccune did a writeup of the setup we did together i think | ||
| [2012/01/12 02:12:19] <abetterlie> I'd love to read it | ||
| [2012/01/12 02:13:09] <abetterlie> I've been stuck in a hole for the past 4 months hacking on vagrant for QA | ||
| [2012/01/12 02:14:38] <eric0> oh they gave you a hole did they? verrry nice | ||
| [2012/01/12 02:15:03] @ Quit: danblack: Ping timeout: 276 seconds | ||
| [2012/01/12 02:15:32] <abetterlie> oh man, sadly it's my OWN hole. I don't even get to ride a bike to it or anything. Medical stuff is brutal. NDA's and static IP everywhere. | ||
| [2012/01/12 02:15:41] @ lkoranda joined channel #puppet | ||
| [2012/01/12 02:16:11] @ lak joined channel #puppet | ||
| [2012/01/12 02:16:12] @ Quit: lak: Changing host | ||
| [2012/01/12 02:16:12] @ lak joined channel #puppet | ||
| [2012/01/12 02:17:53] <abetterlie> ok, so the hardware load balancer looks for anything with a /certificate in the url and sends it to puppet1, how does puppet1 propagate that to everyone else on the master side of the fence? | ||
| [2012/01/12 02:18:30] <eric0> it doesn't care. i guess i didn't say the server side view of "what it cares about" above | ||
| [2012/01/12 02:18:59] <eric0> the client cert has to be signed by the ca the server trusts and be valid | ||
| [2012/01/12 02:19:09] @ Quit: larstobi: Quit: Leaving. | ||
| [2012/01/12 02:19:18] <eric0> the server absolutely does not have to have a pre-cached local copy of hte client cert | ||
| [2012/01/12 02:20:29] @ Niarf joined channel #puppet | ||
| [2012/01/12 02:20:50] <abetterlie> ah ha! | ||
| [2012/01/12 02:21:26] @ Quit: Surv_OT_Fittest: Quit: Leaving. | ||
| [2012/01/12 02:22:11] @ Quit: mosen: Quit: Leaving | ||
| [2012/01/12 02:23:06] @ Quit: Ratler: Quit: brb | ||
| [2012/01/12 02:23:41] <abetterlie> one sec, drawing a picture. | ||
| [2012/01/12 02:24:37] @ gebi joined channel #puppet | ||
| [2012/01/12 02:26:31] @ Quit: jsurfer: Remote host closed the connection | ||
| [2012/01/12 02:27:23] @ Quit: lak: Quit: Leaving. | ||
| [2012/01/12 02:28:20] <abetterlie> OK, so now that the client is rolling with a signed request, any of the masters can/will respond because they are all puppet.my_awesome_company.com according to the proxy | ||
| [2012/01/12 02:28:34] <abetterlie> signed cert* | ||
| [2012/01/12 02:28:52] <eric0> not sure whatyou mean by proxy | ||
| [2012/01/12 02:29:46] @ Quit: Dewin: Quit: Leaving. | ||
| [2012/01/12 02:30:51] <abetterlie> if you have a huge network and tons of requests, more than one server will have to respond to puppet.awesomecompany.com | ||
| [2012/01/12 02:31:48] @ MattyM joined channel #puppet | ||
| [2012/01/12 02:32:05] @ DJClean joined channel #puppet | ||
| [2012/01/12 02:32:21] <abetterlie> bah. I see the confusion. proxy = load balancer | ||
| [2012/01/12 02:32:36] <abetterlie> my fault | ||
| [2012/01/12 02:33:05] @ Quit: windowsrefund: Read error: Operation timed out | ||
| [2012/01/12 02:33:46] @ windowsrefund joined channel #puppet | ||
| [2012/01/12 02:34:53] <abetterlie> there are 2 more concepts I would like to be a little more familiar with, one of which I'm not sure if it matters or not. | ||
| [2012/01/12 02:34:56] @ Quit: sevard: Changing host | ||
| [2012/01/12 02:34:56] @ sevard joined channel #puppet | ||
| [2012/01/12 02:35:03] @ Ratler joined channel #puppet | ||
| [2012/01/12 02:35:36] @ smintz joined channel #puppet | ||
| [2012/01/12 02:35:41] <abetterlie> but... I can build up some goodwill tomorrow and ask questions late at night again. | ||
| [2012/01/12 02:36:43] @ gggghhhhh joined channel #puppet | ||
| [2012/01/12 02:37:05] @ Meier joined channel #puppet | ||
| [2012/01/12 02:37:59] @ Quit: Niarf: Quit: Leaving. | ||
| [2012/01/12 02:42:39] @ z30 joined channel #puppet | ||
| [2012/01/12 02:42:54] @ Quit: teratoma: Quit: leaving | ||
| [2012/01/12 02:44:06] @ Quit: KaZeR_W: Ping timeout: 252 seconds | ||
| [2012/01/12 02:45:30] @ trickyf joined channel #puppet | ||
| [2012/01/12 02:52:51] @ octane- joined channel #puppet | ||
| [2012/01/12 02:52:56] @ tuxaddicted joined channel #puppet | ||
| [2012/01/12 03:02:08] @ zul joined channel #puppet | ||
| [2012/01/12 03:02:12] @ jaydg__ joined channel #puppet | ||
| [2012/01/12 03:02:34] @ jaydg__ is now known as jaydg | ||
| [2012/01/12 03:05:42] @ Quit: shine: Ping timeout: 248 seconds | ||
| [2012/01/12 03:07:28] @ larstobi joined channel #puppet | ||
| [2012/01/12 03:12:23] @ Quit: jonhattan: Ping timeout: 252 seconds | ||
| [2012/01/12 03:13:15] @ mayak joined channel #puppet | ||
| [2012/01/12 03:13:16] @ z30 is now known as KaZeR_W | ||
| [2012/01/12 03:15:17] @ shine joined channel #puppet | ||
| [2012/01/12 03:16:13] @ Niarf joined channel #puppet | ||
| [2012/01/12 03:16:34] @ raphdg joined channel #puppet | ||
| [2012/01/12 03:18:34] @ nan0r joined channel #puppet | ||
| [2012/01/12 03:20:07] @ pmorillon joined channel #puppet | ||
| [2012/01/12 03:24:55] @ Quit: ldlework: Ping timeout: 240 seconds | ||
| [2012/01/12 03:25:12] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2012/01/12 03:26:03] @ Holocaine joined channel #puppet | ||
| [2012/01/12 03:26:29] @ Quit: shadowshell: Remote host closed the connection | ||
| [2012/01/12 03:29:02] @ stevie-bash joined channel #puppet | ||
| [2012/01/12 03:31:49] @ Ramonster joined channel #puppet | ||
| [2012/01/12 03:34:34] @ Quit: shadoi: Quit: Leaving. | ||
| [2012/01/12 03:34:47] @ sdog joined channel #puppet | ||
| [2012/01/12 03:35:04] @ Quit: shine: Ping timeout: 252 seconds | ||
| [2012/01/12 03:37:33] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2012/01/12 03:38:50] @ shine joined channel #puppet | ||
| [2012/01/12 03:39:09] @ Quit: the_ramink: Read error: Connection reset by peer | ||
| [2012/01/12 03:40:44] @ the_ramink joined channel #puppet | ||
| [2012/01/12 03:41:03] @ Quit: kermit: Ping timeout: 244 seconds | ||
| [2012/01/12 03:41:24] @ ETMA joined channel #puppet | ||
| [2012/01/12 03:41:31] @ Quit: bmahe: Quit: Leaving | ||
| [2012/01/12 03:41:46] @ csanchez joined channel #puppet | ||
| [2012/01/12 03:42:03] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2012/01/12 03:42:04] @ Quit: amoe: Quit: leaving | ||
| [2012/01/12 03:42:29] @ Quit: Callek: Remote host closed the connection | ||
| [2012/01/12 03:42:47] @ cosman2001 joined channel #puppet | ||
| [2012/01/12 03:42:57] @ cosman2001 left channel #puppet () | ||
| [2012/01/12 03:44:18] @ Quit: octane-: Quit: octane- | ||
| [2012/01/12 03:44:55] @ ckauhaus joined channel #puppet | ||
| [2012/01/12 03:45:30] @ ali3n0 joined channel #puppet | ||
| [2012/01/12 03:54:36] @ Quit: JoeJulian: Ping timeout: 255 seconds | ||
| [2012/01/12 03:57:33] @ dieterdemeyer joined channel #puppet | ||
| [2012/01/12 04:00:08] @ ken_barber joined channel #puppet | ||
| [2012/01/12 04:01:13] @ Quit: ckauhaus: Ping timeout: 248 seconds | ||
| [2012/01/12 04:01:32] @ ezryx joined channel #puppet | ||
| [2012/01/12 04:07:11] @ pipegeek joined channel #puppet | ||
| [2012/01/12 04:09:37] @ Quit: gebi: Ping timeout: 240 seconds | ||
| [2012/01/12 04:10:04] @ geekle_ joined channel #puppet | ||
| [2012/01/12 04:17:45] @ daysmen joined channel #puppet | ||
| [2012/01/12 04:17:47] @ daysmen_ joined channel #puppet | ||
| [2012/01/12 04:17:56] @ Quit: munhitsu__: Quit: Ex-Chat | ||
| [2012/01/12 04:19:10] @ Quit: jroid: Remote host closed the connection | ||
| [2012/01/12 04:23:48] @ JoeJulian joined channel #puppet | ||
| [2012/01/12 04:25:18] @ Quit: choonming: Quit: Leaving | ||
| [2012/01/12 04:27:19] @ davey79 joined channel #puppet | ||
| [2012/01/12 04:27:23] @ davey79 left channel #puppet () | ||
| [2012/01/12 04:28:08] @ caaakeeey joined channel #puppet | ||
| [2012/01/12 04:28:09] @ ulmen joined channel #puppet | ||
| [2012/01/12 04:28:30] @ ki0 joined channel #puppet | ||
| [2012/01/12 04:30:04] @ seanh-ansca joined channel #puppet | ||
| [2012/01/12 04:31:27] @ fronlius joined channel #puppet | ||
| [2012/01/12 04:31:36] <fim> anyone knows where can I get the default values for puppet resource options? The puppet type reference only states the available values for each option but not the default | ||
| [2012/01/12 04:32:13] @ Quit: seanh-ansca1: Ping timeout: 244 seconds | ||
| [2012/01/12 04:35:09] @ Quit: omry_: Read error: No route to host | ||
| [2012/01/12 04:37:10] <henk> fim: For what parameter specifically? | ||
| [2012/01/12 04:38:14] <fim> henk: now I'm wondering about resource's {enable, ensure} although I think I know the answer based on the actual results | ||
| [2012/01/12 04:38:42] <fim> *resource = service | ||
| [2012/01/12 04:38:52] <fim> but I'd like to know in general | ||
| [2012/01/12 04:38:59] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2012/01/12 04:39:01] <Hunner> fim: it says the defaults for some things, but for others you just have to read the source | ||
| [2012/01/12 04:39:13] @ kerframil joined channel #puppet | ||
| [2012/01/12 04:39:14] <Hunner> It can sometimes be different based on the provider, not just the type | ||
| [2012/01/12 04:39:20] <Hunner> (I guessing) | ||
| [2012/01/12 04:41:58] @ nimrod10 joined channel #puppet | ||
| [2012/01/12 04:47:41] @ kerframil_ joined channel #puppet | ||
| [2012/01/12 04:50:33] @ Quit: kerframil: Ping timeout: 240 seconds | ||
| [2012/01/12 04:51:55] @ Quit: duerF: Ping timeout: 240 seconds | ||
| [2012/01/12 04:53:32] @ Djelibeybi joined channel #puppet | ||
| [2012/01/12 04:54:21] <tim|mac> if I make my puppetmaster store configs in postgresql, will it use advanced(-ish, compared to mysql) features like foreign key constrains and on delete cascade and stuff? | ||
| [2012/01/12 04:56:00] <_rc> I really doubt it, it's just ActiveRecord | ||
| [2012/01/12 04:56:40] @ Quit: ikonia: Ping timeout: 268 seconds | ||
| [2012/01/12 04:59:08] <tim|mac> meh. | ||
| [2012/01/12 05:01:45] @ inecas joined channel #puppet | ||
| [2012/01/12 05:01:58] @ Quit: csanchez: Quit: csanchez | ||
| [2012/01/12 05:02:53] <caaakeeey> hi, is it possible to order nodes? | ||
| [2012/01/12 05:03:36] <_rc> to order them to do what? | ||
| [2012/01/12 05:03:37] @ ikonia joined channel #puppet | ||
| [2012/01/12 05:03:41] @ octane1 joined channel #puppet | ||
| [2012/01/12 05:03:54] <octane1> heyho | ||
| [2012/01/12 05:04:04] <caaakeeey> ie if you have a database node that needs to go up before the application nodes go up so they can join it | ||
| [2012/01/12 05:04:09] <caaakeeey> *eg | ||
| [2012/01/12 05:05:19] <_rc> no, there's no way to express that, unless you do something with exported resources | ||
| [2012/01/12 05:05:30] @ duerF joined channel #puppet | ||
| [2012/01/12 05:06:12] <caaakeeey> what's the best way to approach this problem - just wait the time until the next puppet run? | ||
| [2012/01/12 05:07:07] @ smooth_p joined channel #puppet | ||
| [2012/01/12 05:07:13] <_rc> well what happens to your application if during normal operation the database server falls down? | ||
| [2012/01/12 05:07:41] @ csanchez joined channel #puppet | ||
| [2012/01/12 05:08:32] @ octane- joined channel #puppet | ||
| [2012/01/12 05:08:44] <caaakeeey> well in our case its not quite a database server, and the system is adesigned to be able to carry on when that first node goes down, but you need to first need so servers know how to join the cluster initially | ||
| [2012/01/12 05:08:53] @ Quit: octane-: Disconnected by services | ||
| [2012/01/12 05:08:55] @ choonming joined channel #puppet | ||
| [2012/01/12 05:09:03] @ octane- joined channel #puppet | ||
| [2012/01/12 05:09:04] @ Quit: octane1: Quit: Leaving. | ||
| [2012/01/12 05:09:12] @ Quit: octane-: Client Quit | ||
| [2012/01/12 05:09:44] <henk> What does puppet have to do with when a server boots? | ||
| [2012/01/12 05:10:00] @ Quit: ikonia: Ping timeout: 248 seconds | ||
| [2012/01/12 05:10:08] @ octane- joined channel #puppet | ||
| [2012/01/12 05:11:00] <caaakeeey> its not about when a server boots, its on initial deployment, or on change of configuration, the other nodes can only setup if a master node is setup, so they will fail the first time, and then setup on attempt 2 | ||
| [2012/01/12 05:11:05] <caaakeeey> which could be 30 minutes | ||
| [2012/01/12 05:11:40] @ ikonia joined channel #puppet | ||
| [2012/01/12 05:16:21] @ Vasik|work joined channel #puppet | ||
| [2012/01/12 05:16:54] @ Quit: dnjaramba: Remote host closed the connection | ||
| [2012/01/12 05:17:09] @ dnjaramba joined channel #puppet | ||
| [2012/01/12 05:17:24] <caaakeeey> surely its quite a common problem? | ||
| [2012/01/12 05:18:11] <rodjek> caaakeeey: most people use something like mcollective to orchestrate puppet runs on hosts | ||
| [2012/01/12 05:18:49] <caaakeeey> rodjek, ah awesome, ill check it out, thanks :) | ||
| [2012/01/12 05:19:59] @ danikov joined channel #puppet | ||
| [2012/01/12 05:24:19] <caaakeeey> it seems a bit heavy for only ordering a few nodes? | ||
| [2012/01/12 05:25:26] @ lanky joined channel #puppet | ||
| [2012/01/12 05:25:49] <rjd_> caaakeeey: you could use something like supervisord to trigger it to runm if you don't fancy executing it over ssh that is | ||
| [2012/01/12 05:26:23] <rjd_> supervisord comes with an xmlrpc api, so it's really easy to script such tasks | ||
| [2012/01/12 05:27:24] <Hunner> caaakeeey: db node can run whenever, and the app nodes can just try to establish a connection to the db node and if they fail then the resources will just wait until the next puppet run | ||
| [2012/01/12 05:27:45] @ Quit: clayb: Ping timeout: 240 seconds | ||
| [2012/01/12 05:27:51] <Hunner> caaakeeey: You can have your db node send mcollective messages when the DB is ready to kick off puppet runs on the app nodes... | ||
| [2012/01/12 05:28:12] <Hunner> But as soon as you start doing dependencies and ordering off of a single node it gets complicated fast | ||
| [2012/01/12 05:29:39] @ Quit: kjalil: Quit: leaving | ||
| [2012/01/12 05:30:40] <caaakeeey> ah, theres a retry mechanism in puppet isn't there? | ||
| [2012/01/12 05:30:44] <caaakeeey> that would probbaly do the trick | ||
| [2012/01/12 05:31:28] <caaakeeey> tries and try_sleep | ||
| [2012/01/12 05:31:32] <_rc> not really | ||
| [2012/01/12 05:32:23] <caaakeeey> are the puppet runs in sync between servers - does every half an hour mean at the same times, or arbitrarily with half hour intervals? | ||
| [2012/01/12 05:33:54] <_rc> http://docs.puppetlabs.com/references/stable/configuration.html#runinterval | ||
| [2012/01/12 05:34:10] <_rc> http://docs.puppetlabs.com/references/stable/configuration.html#splay | ||
| [2012/01/12 05:34:18] @ ChoHag joined channel #puppet | ||
| [2012/01/12 05:34:28] <ChoHag> How can I do what I'm trying to do here: http://pastebin.com/WrxQg1gF | ||
| [2012/01/12 05:34:47] <ChoHag> ie. Declaring multiple resources in one go based on the contents of a hash. | ||
| [2012/01/12 05:35:17] <_rc> use the keys function from puppetlabs-stdlib, and then side-band the hash | ||
| [2012/01/12 05:35:22] @ Quit: tuxaddicted: Quit: leaving | ||
| [2012/01/12 05:35:42] <_rc> or use the ruby DSL | ||
| [2012/01/12 05:36:22] @ danblack joined channel #puppet | ||
| [2012/01/12 05:38:00] <Hunner> ChoHag: There aren't real loops in puppet, so something like this is what people usually do: https://gist.github.com/1599784 | ||
| [2012/01/12 05:38:09] <Hunner> keys() comes from the stdlib module | ||
| [2012/01/12 05:38:51] <ChoHag> How do you get to the ruby dsl from a manifest? | ||
| [2012/01/12 05:38:53] <Hunner> I don't think the template() part would actually be understood as a function... | ||
| [2012/01/12 05:39:00] <ChoHag> A whole library seems like overkill for one function. | ||
| [2012/01/12 05:39:06] <Hunner> ChoHag: Make your manifests end in .rb instead of .pp | ||
| [2012/01/12 05:39:24] <Hunner> stdlib has lots of useful stuff in it :) | ||
| [2012/01/12 05:39:34] <ChoHag> Oh I know. Including the validation which I may get to later. | ||
| [2012/01/12 05:39:45] <Hunner> If you want ruby for this... <type type type> | ||
| [2012/01/12 05:39:54] <ChoHag> For now I'm on quick and easy. | ||
| [2012/01/12 05:39:56] @ kjalil joined channel #puppet | ||
| [2012/01/12 05:40:00] @ willaerk joined channel #puppet | ||
| [2012/01/12 05:41:50] @ viq joined channel #puppet | ||
| [2012/01/12 05:41:51] @ Quit: viq: Changing host | ||
| [2012/01/12 05:41:51] @ viq joined channel #puppet | ||
| [2012/01/12 05:42:20] <Hunner> https://gist.github.com/1599784 perhaps | ||
| [2012/01/12 05:42:28] @ xet7 joined channel #puppet | ||
| [2012/01/12 05:42:31] <Hunner> again, the template() function won't be interpreted correctly | ||
| [2012/01/12 05:42:40] <Hunner> and should be scope.function_template() in the ruby dsl | ||
| [2012/01/12 05:43:25] <ChoHag> The word scope, or the scope? | ||
| [2012/01/12 05:43:40] <_rc> the word scope | ||
| [2012/01/12 05:43:57] <Hunner> `scope` is the scope in which everything in puppet comes, basically | ||
| [2012/01/12 05:44:11] <Hunner> (it's a local ruby variable in the ruby dsl) | ||
| [2012/01/12 05:45:14] <Hunner> I guess the ruby dslwould call the template function and pass the value to the hash | ||
| [2012/01/12 05:45:47] @ Quit: sdog: Changing host | ||
| [2012/01/12 05:45:47] @ sdog joined channel #puppet | ||
| [2012/01/12 05:47:12] @ cirbri joined channel #puppet | ||
| [2012/01/12 05:47:26] <cirbri> Is there any way to get a list of all the class defined under a class? | ||
| [2012/01/12 05:48:42] @ Quit: zul: Remote host closed the connection | ||
| [2012/01/12 05:51:45] @ Quit: ryancoleman: Ping timeout: 240 seconds | ||
| [2012/01/12 05:51:55] @ Quit: ccaum: Ping timeout: 240 seconds | ||
| [2012/01/12 05:52:15] @ Quit: jamesfryman: Ping timeout: 240 seconds | ||
| [2012/01/12 05:52:35] @ Quit: glarizza: Ping timeout: 240 seconds | ||
| [2012/01/12 05:52:55] @ Quit: soh: Ping timeout: 240 seconds | ||
| [2012/01/12 05:53:23] @ soh joined channel #puppet | ||
| [2012/01/12 05:53:58] @ ryancoleman joined channel #puppet | ||
| [2012/01/12 05:54:25] @ ccaum joined channel #puppet | ||
| [2012/01/12 05:54:36] @ Quit: nan0r: Read error: Connection reset by peer | ||
| [2012/01/12 05:56:42] @ zul joined channel #puppet | ||
| [2012/01/12 05:56:59] @ ells joined channel #puppet | ||
| [2012/01/12 05:57:22] @ Stenbryggen left channel #puppet () | ||
| [2012/01/12 05:58:01] @ glarizza joined channel #puppet | ||
| [2012/01/12 05:58:26] @ Quit: pipegeek: Ping timeout: 252 seconds | ||
| [2012/01/12 05:59:12] <Hunner> cirbri: You should be able to just do an `ls` because there should only be one class per file :) | ||
| [2012/01/12 06:00:13] <cirbri> Hunner: True, but I need something that I can use in my .pp files. | ||
| [2012/01/12 06:00:55] <_rc> what would you do with such intropection? | ||
| [2012/01/12 06:01:23] <cirbri> Also, I was wondering whether it's possible to get a list of all resources of a specific type? Maybe there's some Ruby that can do this, i.e. $var = inline_template(<% blash %>) | ||
| [2012/01/12 06:01:58] <Volcane> cirbri: the code only gets parsed once - it only knows the answer to those questions when its done | ||
| [2012/01/12 06:02:02] <Volcane> cirbri: so you can never know | ||
| [2012/01/12 06:02:40] <cirbri> _rc: I'm making an Icinga module, and to configure the service escalations I need a list of all the services already defined (or a subset depending on their parameters, ideally) | ||
| [2012/01/12 06:03:35] <cirbri> Volcane: It runs the code before it creates all the resources/etc? | ||
| [2012/01/12 06:04:00] <Volcane> code gets compiled into a catalog | ||
| [2012/01/12 06:04:05] <Volcane> catelog goes to the client and gets run | ||
| [2012/01/12 06:04:10] <_rc> it runs the cade as it creates them, ordering is indeterminate | ||
| [2012/01/12 06:04:17] <Volcane> by the time the run happens its all done compiling, there's no concepts of variables etc | ||
| [2012/01/12 06:04:34] <Volcane> if you want to influence it and do things like get a list of all resources you have to do that on the compile side | ||
| [2012/01/12 06:04:53] <Volcane> and the compile side doesnt know what u want till the process is completed - by then its useless to you | ||
| [2012/01/12 06:05:27] @ ckauhaus joined channel #puppet | ||
| [2012/01/12 06:05:41] <henk> cirbri: Use exported resources. | ||
| [2012/01/12 06:06:19] <cirbri> Hmm, this is problematic. I can't, it's not allowed :/ | ||
| [2012/01/12 06:06:39] @ Quit: ken_barber: Quit: Leaving. | ||
| [2012/01/12 06:07:32] <_rc> exported resources are a no-no, so instead you want to do some kind of voodoo introspection of the manifests as they roll by? | ||
| [2012/01/12 06:10:42] <cirbri> Well, don't get me wrong -- if Puppet was a little more functional, maybe I could do something like $var = Custom::Resource[*]{ parameter_one } | ||
| [2012/01/12 06:10:49] @ Quit: worstadmin: Ping timeout: 248 seconds | ||
| [2012/01/12 06:11:02] <cirbri> And get an array returned. | ||
| [2012/01/12 06:11:17] <henk> Feel free to send patches. | ||
| [2012/01/12 06:11:26] <Swat-> _rc: Hello _rc! I wanna thank you for the help yesterday regarding my $extlookup_precedence! It seems we hit a bug using puppet 2.7.9 : http://projects.puppetlabs.com/issues/9854 | ||
| [2012/01/12 06:11:41] <Swat-> _rc: So thanks again for pointing me in the right direction. | ||
| [2012/01/12 06:11:59] @ hfnix joined channel #puppet | ||
| [2012/01/12 06:16:48] @ Quit: gggghhhhh: | ||
| [2012/01/12 06:17:22] @ Quit: rubic: Quit: Leaving. | ||
| [2012/01/12 06:33:23] @ Quit: csanchez: Quit: csanchez | ||
| [2012/01/12 06:34:20] @ amoe joined channel #puppet | ||
| [2012/01/12 06:35:14] @ dclp joined channel #puppet | ||
| [2012/01/12 06:35:39] <fim> hello, I'm writing an inherited class and it inherits a Service[] from the parent. How can I tell puppet to not manage this service in the child class? | ||
| [2012/01/12 06:35:53] <dclp> I found the great function create_resources this week and used it quite successfully until now ... | ||
| [2012/01/12 06:36:05] <dclp> should it be possible to use it with defined types? | ||
| [2012/01/12 06:36:28] <dclp> to complicate stuff, I'm using the stand-alone module on 2.6.x | ||
| [2012/01/12 06:36:50] <dclp> an now run into Error 400 on SERVER: undefined method `instantiate_resource' | ||
| [2012/01/12 06:38:57] @ Quit: cirbri: Ping timeout: 240 seconds | ||
| [2012/01/12 06:39:12] @ cirbri joined channel #puppet | ||
| [2012/01/12 06:41:11] @ trickyf left channel #puppet () | ||
| [2012/01/12 06:43:10] <danblack> should be basic but i'm missing something: error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type gitolite::gitolite_ssh_authorized_key at /etc/puppet/modules/users/manifests/openquery/engineerkey.pp:18 ... class gitolite::gitolite_ssh_authorized_key is defined /etc/puppet/modules/gitolite/manifests/gitolite_ssh_authorized_key.pp | ||
| [2012/01/12 06:43:57] <_rc> danblack: the error is you're using it as a type, not as a class | ||
| [2012/01/12 06:44:31] <danblack> ah. thankyou. | ||
| [2012/01/12 06:44:45] @ Quit: kerframil_: Changing host | ||
| [2012/01/12 06:44:45] @ kerframil_ joined channel #puppet | ||
| [2012/01/12 06:44:46] @ kerframil_ is now known as kerframil | ||
| [2012/01/12 06:45:20] @ ukd1 joined channel #puppet | ||
| [2012/01/12 06:46:23] @ larstobi1 joined channel #puppet | ||
| [2012/01/12 06:46:26] @ Quit: larstobi: Read error: Connection reset by peer | ||
| [2012/01/12 06:53:03] @ Quit: Holocaine: | ||
| [2012/01/12 06:53:44] <dclp> upgraded from 2.6.2 to 2.6.12 and create_resources is working fine again | ||
| [2012/01/12 06:53:45] @ Quit: zul: Quit: Ex-Chat | ||
| [2012/01/12 06:53:59] @ marrusl joined channel #puppet | ||
| [2012/01/12 06:57:34] @ gebi joined channel #puppet | ||
| [2012/01/12 07:03:23] @ csanchez joined channel #puppet | ||
| [2012/01/12 07:04:20] @ dim0 joined channel #puppet | ||
| [2012/01/12 07:04:22] <danblack> I don't suppose you can set default parameters on a class at a top level like types File { mode => '0644' } ? | ||
| [2012/01/12 07:07:49] @ omry_ joined channel #puppet | ||
| [2012/01/12 07:08:16] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2012/01/12 07:08:16] <Hunner> danblack: Why not try Class { require => Foo['blah'], } or whatever and see. Seems like it should works | ||
| [2012/01/12 07:08:19] @ leifmadsen joined channel #puppet | ||
| [2012/01/12 07:11:42] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2012/01/12 07:13:23] <danblack> Hunner: nope maybe i'm too many puppet versions behind (2.6.2). might need to update like dclp and get a magic fix | ||
| [2012/01/12 07:16:50] @ natewalck joined channel #puppet | ||
| [2012/01/12 07:25:06] @ Quit: ki0: Remote host closed the connection | ||
| [2012/01/12 07:25:28] @ cliff-hm joined channel #puppet | ||
| [2012/01/12 07:26:51] @ marrusl joined channel #puppet | ||
| [2012/01/12 07:26:57] <danblack> after an error like: Duplicate definition: Class[Gitolite::Gitolite_ssh_authorized_key] is already defined in file /etc/puppet/modules/users/manifests/openquery/engineerkey.pp at line 20; cannot redefine at /etc/puppet/modules/users/manifests/openquery/engineerkey.pp:20 i'm convinced | ||
| [2012/01/12 07:28:10] <kjetilho> your statement was cut after 500 characters | ||
| [2012/01/12 07:28:53] <ETMA> I've made the following class: http://pastebin.com/pfhVJsnc - it works fine, however in the puppetmasters log, it say warning: Dynamic lookup of $operatingsystem at /etc/puppet/modules/mysql/manifests/server_install.pp:3 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes. - what is the alternative to receive the operatingsystem the puppet agent is running | ||
| [2012/01/12 07:28:56] <ETMA> on? | ||
| [2012/01/12 07:29:19] <kjetilho> $::operatingsystem | ||
| [2012/01/12 07:29:28] @ ki0 joined channel #puppet | ||
| [2012/01/12 07:29:31] <ETMA> and that's it? | ||
| [2012/01/12 07:29:41] <ETMA> awesome.. thought it was something annoying :) | ||
| [2012/01/12 07:29:50] <ETMA> assume the same works with $::ipaddress and such ? :) | ||
| [2012/01/12 07:30:10] * Volcane wish it would just be something like $facts["operatingsystem"] instead, sigh | ||
| [2012/01/12 07:30:37] <ETMA> agreed.. a hash table with the info would be nice :) | ||
| [2012/01/12 07:30:55] <Volcane> and work consistently in a template, just use @facts["...."] alas | ||
| [2012/01/12 07:31:11] <Volcane> vs lookupvar("::operatingsystem") | ||
| [2012/01/12 07:31:31] <Volcane> though at least in a tmeplate @operatingsystem works and avoids the problem too | ||
| [2012/01/12 07:31:46] <joelio> hmm, what gives, must be missing something obvious | ||
| [2012/01/12 07:31:46] <joelio> Message: Cannot stat '/var/lib/puppet/rack/config.ru': Permission denied (13) | ||
| [2012/01/12 07:31:59] <joelio> root@puppet0:/var/lib/puppet/rack# ls -la config.ru | ||
| [2012/01/12 07:31:59] <joelio> -rw-r--r-- 1 www-data www-data 433 Jan 12 12:21 config.ru | ||
| [2012/01/12 07:32:11] <Volcane> joelio: and the dir its in and the one its in etc? | ||
| [2012/01/12 07:32:56] <joelio> Volcane: yea, I did a chown -R www-data /var/lib/puppet/rack | ||
| [2012/01/12 07:33:07] <Volcane> selinux? | ||
| [2012/01/12 07:33:13] <joelio> debian wheezy | ||
| [2012/01/12 07:33:16] <masterzen> Volcane: I concur, facts should be in a global hash in the top scope | ||
| [2012/01/12 07:33:55] @ nan0r joined channel #puppet | ||
| [2012/01/12 07:34:12] @ jamesfryman joined channel #puppet | ||
| [2012/01/12 07:34:19] <Volcane> masterzen: and ENC provided params too etc, it just makes it obvious | ||
| [2012/01/12 07:34:28] <Volcane> in $params[...] etc | ||
| [2012/01/12 07:34:35] <Volcane> masterzen: you coming to FOSDEM? | ||
| [2012/01/12 07:34:41] <masterzen> Volcane: definitely :) | ||
| [2012/01/12 07:34:43] <danblack> kjetilho: in short ; couldn't redefine at (same file and line) | ||
| [2012/01/12 07:34:48] @ tizzo-afk is now known as tizzo | ||
| [2012/01/12 07:34:52] <Volcane> masterzen: sweet,i should stop procrastinating and book | ||
| [2012/01/12 07:35:11] <masterzen> Volcane: yes you should, nico wanted to meet you there IRL | ||
| [2012/01/12 07:35:11] <Volcane> danblack: in a define every resource must have a unique name | ||
| [2012/01/12 07:35:32] <Volcane> oh yeah that'd be kewl | ||
| [2012/01/12 07:35:34] <masterzen> Volcane: is there a ticket for the toplevel $facts/$params? | ||
| [2012/01/12 07:35:39] @ Quit: gebi: Ping timeout: 240 seconds | ||
| [2012/01/12 07:36:00] <Volcane> masterzen: i discussed it with nigel when i was in PDX but he didnt seem sold was worried about edges, said I'll think on it but never did open a ticket | ||
| [2012/01/12 07:36:26] <masterzen> we should open a ticket so that it could be triaged next week :-D | ||
| [2012/01/12 07:36:30] <Volcane> he was worried about the server variables | ||
| [2012/01/12 07:36:37] <kjetilho> danblack: sounds like the file and line is inside a define | ||
| [2012/01/12 07:36:45] <masterzen> frankly who's using those? | ||
| [2012/01/12 07:36:51] <Volcane> ie. $environment fact vs the $environment variable the master set (which is a monumentally dumb thing anyway) | ||
| [2012/01/12 07:37:22] <masterzen> There could be a $server_facts, $facts, $params | ||
| [2012/01/12 07:37:30] <Volcane> yup, thats what i said :P | ||
| [2012/01/12 07:37:45] <Volcane> which in this case will hugely improve matters | ||
| [2012/01/12 07:38:03] <masterzen> The more I think about it, the more I like it. There could be special template wrapper methods that gets direct access to those easily | ||
| [2012/01/12 07:38:25] <Volcane> masterzen: yeah - open a ticket, i think I'm way past my quota of open tickets, I'll +1 you :P | ||
| [2012/01/12 07:39:16] <larstobi1> Is there any obvious reason why this should evaluate my qualified variable to undefined? https://gist.github.com/1600265 | ||
| [2012/01/12 07:39:34] <danblack> Volcane: kjetilho. hmm it is. Can you define a virtual class? | ||
| [2012/01/12 07:40:07] <kjetilho> danblack: you can declare virtual resources and realize them in the define | ||
| [2012/01/12 07:40:18] <kjetilho> when the same file is needed by several instances | ||
| [2012/01/12 07:40:22] <kjetilho> for example | ||
| [2012/01/12 07:40:32] <Volcane> u can also include a class many times without issues | ||
| [2012/01/12 07:40:34] @ trickyf joined channel #puppet | ||
| [2012/01/12 07:41:14] <kjetilho> yes, as long as you use "include" | ||
| [2012/01/12 07:41:14] <danblack> parameterised class so that rules out includes. | ||
| [2012/01/12 07:41:30] <Volcane> using "without issues" quite loosely since it has lots of issues but for most cases that stands | ||
| [2012/01/12 07:41:34] <kjetilho> a class is by definition single instance | ||
| [2012/01/12 07:41:47] @ Quit: cliff-hm: Read error: Connection reset by peer | ||
| [2012/01/12 07:41:52] <kjetilho> so your class should probably be a define instead | ||
| [2012/01/12 07:42:04] @ cliff-hm joined channel #puppet | ||
| [2012/01/12 07:42:17] <danblack> kjetilho: cool. thanks. | ||
| [2012/01/12 07:42:56] @ Quit: preds: Ping timeout: 240 seconds | ||
| [2012/01/12 07:45:19] @ Quit: AshishH: Remote host closed the connection | ||
| [2012/01/12 07:45:30] <joelio> Volcane: heh, even chmod'd to 777 I still get the same, very odd | ||
| [2012/01/12 07:48:04] <Hunner> joelio: So it's a red herring | ||
| [2012/01/12 07:49:13] <masterzen> Volcane: #11915 | ||
| [2012/01/12 07:49:13] <gepetto> masterzen: Volcane: #11915 is http://projects.puppetlabs.com/issues/show/11915 "Puppet - Feature #11915: Segregate client facts, server facts and ENC params in topscope hashes. It has a status of Unreviewed and is assigned to -" | ||
| [2012/01/12 07:49:17] <joelio> Hunner: How do you mean pal? | ||
| [2012/01/12 07:49:24] @ Quit: nan0r: Read error: Connection reset by peer | ||
| [2012/01/12 07:49:30] <joelio> Hunner: An error occurred while trying to access '/var/lib/puppet/rack/config.ru': Cannot stat '/var/lib/puppet/rack/config.ru': Permission denied (13)<p>Apache doesn't have read permissions to that file. Please fix the relevant file permissions.</p> | ||
| [2012/01/12 07:49:45] <joelio> -rwxrwxrwx 1 www-data www-data 433 Jan 12 12:21 /var/lib/puppet/rack/config.ru | ||
| [2012/01/12 07:50:15] <Volcane> and if you try to cat it as the www-data user? | ||
| [2012/01/12 07:50:44] <Volcane> masterzen: +1'd :) | ||
| [2012/01/12 07:51:29] <masterzen> Volcane: thanks! | ||
| [2012/01/12 07:51:49] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2012/01/12 07:54:12] @ johnston_ joined channel #puppet | ||
| [2012/01/12 07:54:43] <tim|mac> masterzen: great feature request, would make things a lot more obvious | ||
| [2012/01/12 07:55:16] <masterzen> tim|mac: yes, credits should go to Volcane, I was just the messenger :) | ||
| [2012/01/12 07:55:16] @ preds_ joined channel #puppet | ||
| [2012/01/12 07:55:22] <larstobi1> to answer my own question: I need to add "include myrailsapp" to get to the qualified variable, lest it silently returns undefined. | ||
| [2012/01/12 07:56:51] @ kolla joined channel #puppet | ||
| [2012/01/12 07:57:53] <masterzen> tim|mac: vote for it if you like it (watch it for good measure too) | ||
| [2012/01/12 07:58:14] <tim|mac> masterzen: i noticed, but I'm telling Volcane way too often he's awesome, might get to his head ;-) | ||
| [2012/01/12 07:58:20] <tim|mac> masterzen: already done that, both :) | ||
| [2012/01/12 07:58:38] <tim|mac> but I think james told me once that voting isn't taken into consideration, only watchers? | ||
| [2012/01/12 07:59:01] @ Quit: inecas: Read error: Operation timed out | ||
| [2012/01/12 07:59:17] @ mfladischer joined channel #puppet | ||
| [2012/01/12 07:59:39] @ inecas joined channel #puppet | ||
| [2012/01/12 08:00:45] <joelio> Volcane: had to chmod 755 /var/lib/puppet | ||
| [2012/01/12 08:01:36] @ Quit: sietse_: Ping timeout: 240 seconds | ||
| [2012/01/12 08:02:54] @ Quit: bobra: Ping timeout: 268 seconds | ||
| [2012/01/12 08:03:19] @ Quit: swygue: Ping timeout: 248 seconds | ||
| [2012/01/12 08:04:36] @ kermit joined channel #puppet | ||
| [2012/01/12 08:04:46] @ wu-lee joined channel #puppet | ||
| [2012/01/12 08:05:45] @ blentz joined channel #puppet | ||
| [2012/01/12 08:07:45] @ Quit: sdog: Remote host closed the connection | ||
| [2012/01/12 08:07:57] <Hunner> tim|mac: I'm pretty sure it doesn't matter about votes vs watchers as long as people make enough noise :) | ||
| [2012/01/12 08:08:12] @ marrusl joined channel #puppet | ||
| [2012/01/12 08:13:46] @ tizzo is now known as tizzo-afk | ||
| [2012/01/12 08:14:45] @ zul joined channel #puppet | ||
| [2012/01/12 08:17:59] @ nan0r joined channel #puppet | ||
| [2012/01/12 08:23:29] <adedommelin> 9/C | ||
| [2012/01/12 08:24:46] @ rocket joined channel #puppet | ||
| [2012/01/12 08:26:15] @ sietse_ joined channel #puppet | ||
| [2012/01/12 08:29:00] @ Quit: dieterdemeyer: Quit: Leaving | ||
| [2012/01/12 08:30:09] @ tizzo-afk is now known as tizzo | ||
| [2012/01/12 08:30:28] <wu-lee> question: if class A notifies class B, does class B2 inheriting from B get notified too? | ||
| [2012/01/12 08:32:16] @ Quit: Vasik|work: Remote host closed the connection | ||
| [2012/01/12 08:33:39] <erthad> wu-lee: I don't think so but it is easy to check | ||
| [2012/01/12 08:35:30] <wu-lee> erthad: sure, except that would only check reality for version of Puppet I happen to try it with, and not the general intent | ||
| [2012/01/12 08:35:50] * wu-lee will try it anyway | ||
| [2012/01/12 08:36:12] @ Quit: inecas: Ping timeout: 268 seconds | ||
| [2012/01/12 08:36:56] <kjetilho> hmm. is "limit" a reserved word in Puppet 0.25.5? | ||
| [2012/01/12 08:38:41] @ verwilst joined channel #puppet | ||
| [2012/01/12 08:39:03] @ tizzo is now known as tizzo-afk | ||
| [2012/01/12 08:39:39] <erthad> wu-lee: AFAI get the dependencies are created between resources so Class['a'] and Class['b'] are different resources and should not inherit relationships created outsides of them | ||
| [2012/01/12 08:40:55] @ Quit: marczak: Ping timeout: 240 seconds | ||
| [2012/01/12 08:41:09] <tomaso> hello, i have configured stored configuration for collecting ssh_known_hosts - I have the keys in the database now, but it seems that the /etc/ssh/ssh_known_hosts is not touched at all | ||
| [2012/01/12 08:41:28] <tomaso> I have followed the Pro Puppet book and my config looks like this: http://pastebin.com/mMYDWyeP | ||
| [2012/01/12 08:41:43] @ emmanuelux joined channel #puppet | ||
| [2012/01/12 08:43:07] <Volcane> joelio: so its what i told you? the parent dir of the file | ||
| [2012/01/12 08:45:46] @ tizzo-afk is now known as tizzo | ||
| [2012/01/12 08:48:32] @ tizzo is now known as tizzo-afk | ||
| [2012/01/12 08:50:06] <Hunner> Exactly :P | ||
| [2012/01/12 08:50:47] @ inecas joined channel #puppet | ||
| [2012/01/12 08:50:54] <joelio> Volcane: It's not ownership, it's the mode that was the issue. Strange as this is out of the box install and every other time I've done this not had the issue. Only difference is tis is Wheezy not 6.0 | ||
| [2012/01/12 08:51:12] @ Quit: cliff-hm: Read error: Connection reset by peer | ||
| [2012/01/12 08:51:13] @ cperry-out joined channel #puppet | ||
| [2012/01/12 08:51:55] @ tomben- joined channel #puppet | ||
| [2012/01/12 08:52:09] <henk> tizzo sure seems to have some problem getting sleep… | ||
| [2012/01/12 08:52:43] <wu-lee> ethad: Thanks. (I am trying to subclass a class Config with the Class[Install] ~> Class[Config] ~> Class[Service] pattern.) | ||
| [2012/01/12 08:53:20] @ Quit: tomben: Ping timeout: 252 seconds | ||
| [2012/01/12 08:56:24] @ Quit: larstobi1: Quit: Leaving. | ||
| [2012/01/12 08:57:08] @ hno joined channel #puppet | ||
| [2012/01/12 09:00:18] @ gazoombo joined channel #puppet | ||
| [2012/01/12 09:02:59] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2012/01/12 09:11:04] @ ascarter joined channel #puppet | ||
| [2012/01/12 09:13:04] @ preds__ joined channel #puppet | ||
| [2012/01/12 09:13:58] @ kelseyhightower joined channel #puppet | ||
| [2012/01/12 09:14:14] @ Quit: preds_: Ping timeout: 248 seconds | ||
| [2012/01/12 09:15:18] @ kerframil_ joined channel #puppet | ||
| [2012/01/12 09:15:32] <ozy_work> anyone know where I can find documentation about what tabels are needed to do a stored config? | ||
| [2012/01/12 09:15:49] @ sduchesneau joined channel #puppet | ||
| [2012/01/12 09:16:09] @ Quit: kerframil: Ping timeout: 240 seconds | ||
| [2012/01/12 09:16:38] <danblack> any idea why i get a Duplicate Defination error here: http://pastebin.com/YpnW65FN more particulary why is it checked as the resource created is unique? | ||
| [2012/01/12 09:17:38] <Volcane> danblack: you cant do class{"foo":....} twice on the same class on the same machine | ||
| [2012/01/12 09:18:00] <Volcane> oh i read wrong hold | ||
| [2012/01/12 09:18:05] <Hunner> danblack: line 10 and line 18 evaluate to duplicate resources in the same catalog | ||
| [2012/01/12 09:18:34] <Hunner> They are both Test::T2['Fred'] | ||
| [2012/01/12 09:18:36] <Volcane> yup | ||
| [2012/01/12 09:19:01] <Hunner> (parameters are not considered for uniqueness) | ||
| [2012/01/12 09:19:35] <danblack> even though there isn't a class or resource duplicate? | ||
| [2012/01/12 09:20:00] <_rc> it's a resource duplicate. the resource is Test::P2["fred"] | ||
| [2012/01/12 09:20:47] <danblack> so a defination is a resource? | ||
| [2012/01/12 09:21:05] @ Quit: kerframil_: Changing host | ||
| [2012/01/12 09:21:05] @ kerframil_ joined channel #puppet | ||
| [2012/01/12 09:21:07] @ kerframil_ is now known as kerframil | ||
| [2012/01/12 09:21:26] <Volcane> yes, just like file{} etc | ||
| [2012/01/12 09:21:36] <Volcane> same behaviors and restrictions | ||
| [2012/01/12 09:21:48] @ lborda joined channel #puppet | ||
| [2012/01/12 09:22:02] <danblack> ok . thanks. was thinking defs were something like c preprocessor macros. | ||
| [2012/01/12 09:22:13] <danblack> me wrong (again) | ||
| [2012/01/12 09:22:19] <Volcane> no, you can notify them, require them, etc | ||
| [2012/01/12 09:22:23] <Volcane> so its just the same | ||
| [2012/01/12 09:23:49] <danblack> ok. thanks again. much apprecite your answers. i'll think i'll call i a night. | ||
| [2012/01/12 09:24:19] <hno> How do I check if a resource type supports a certain feature? | ||
| [2012/01/12 09:24:50] @ The-Bat joined channel #puppet | ||
| [2012/01/12 09:25:30] <kjetilho> did the behaviour of scope.lookupvar change in Puppet 2.7? 2.6 returns "" for unknown variables, 2.7 returns undefined ? | ||
| [2012/01/12 09:26:09] @ Quit: Recourse: Ping timeout: 268 seconds | ||
| [2012/01/12 09:26:24] @ Quit: willaerk: Remote host closed the connection | ||
| [2012/01/12 09:26:25] <kjetilho> geez. what a mess | ||
| [2012/01/12 09:26:54] @ Recourse joined channel #puppet | ||
| [2012/01/12 09:26:57] @ madhatter joined channel #puppet | ||
| [2012/01/12 09:26:58] <Volcane> hno: 'puppet describe file' for auto generated docs of the file type, this works for all except defines | ||
| [2012/01/12 09:27:00] <kjetilho> so if I want my template to work on both 2.6 and 2.7, I have to add a whole lot of tests | ||
| [2012/01/12 09:27:14] @ Quit: fsweetser: Quit: Leaving | ||
| [2012/01/12 09:27:18] @ fsweetser joined channel #puppet | ||
| [2012/01/12 09:27:20] @ Quit: alanevans: Remote host closed the connection | ||
| [2012/01/12 09:27:33] @ madhatter is now known as Guest77206 | ||
| [2012/01/12 09:27:58] @ Quit: shine: Read error: Operation timed out | ||
| [2012/01/12 09:28:12] <hno> Volcane, I meant when using the type. Need to write a recipe that works for several puppet versions, some of which do not support a feature I want to use (but not strictly require) | ||
| [2012/01/12 09:28:44] <Volcane> hno: you cant in the manifest - but you can use the versioncmp and $puppetversion or something like that to know what version you're on at least | ||
| [2012/01/12 09:29:04] <Volcane> kjetilho: 2.7 series is only bearable if you had no code before :( | ||
| [2012/01/12 09:29:23] <kjetilho> heh | ||
| [2012/01/12 09:30:21] <kjetilho> new version of my utility function: http://pastie.org/3172526 | ||
| [2012/01/12 09:31:46] <Volcane> \o/ | ||
| [2012/01/12 09:32:01] <Volcane> good thing the rest of the future sux too | ||
| [2012/01/12 09:32:17] @ Quit: ukd1: Quit: Lost terminal | ||
| [2012/01/12 09:32:22] <Volcane> no jet packs, variables suck. | ||
| [2012/01/12 09:32:26] @ Quit: dnjaramba: | ||
| [2012/01/12 09:32:34] @ ukd1 joined channel #puppet | ||
| [2012/01/12 09:33:00] @ ukd1 is now known as Guest33735 | ||
| [2012/01/12 09:33:04] @ rnagy joined channel #puppet | ||
| [2012/01/12 09:33:05] <rnagy> hello | ||
| [2012/01/12 09:33:07] @ Quit: Guest33735: Client Quit | ||
| [2012/01/12 09:33:18] @ ukd1_ joined channel #puppet | ||
| [2012/01/12 09:33:19] <hno> Volcane, so features can only be queried in ryby code, not manifests? | ||
| [2012/01/12 09:33:22] <_rc> jetpacks/flying cars are overrated, and have lousy failure states | ||
| [2012/01/12 09:33:28] <rnagy> Is puppet dashboard supposed to use the gems installed in vendor/gems? | ||
| [2012/01/12 09:33:37] <Volcane> _rc: sure you're not talking about variables? | ||
| [2012/01/12 09:33:46] <rnagy> I keep getting Could not find rack (~> 1.1.0), because i have rack-1.3.6 installed on my system. | ||
| [2012/01/12 09:33:47] @ shine joined channel #puppet | ||
| [2012/01/12 09:33:53] <rnagy> any idea how to fix that? | ||
| [2012/01/12 09:34:08] @ swygue joined channel #puppet | ||
| [2012/01/12 09:34:09] <Volcane> hno: yup | ||
| [2012/01/12 09:34:14] <_rc> Volcane: :) | ||
| [2012/01/12 09:34:29] <Volcane> rnagy: install rack 1.1.0? | ||
| [2012/01/12 09:34:33] <Volcane> or 1.1.x | ||
| [2012/01/12 09:34:42] @ Quit: ukd1_: Client Quit | ||
| [2012/01/12 09:35:01] <rnagy> Volcane: that's obvious but why is there a bundled versoin of rack if it's not being used? | ||
| [2012/01/12 09:35:08] @ ukd1 joined channel #puppet | ||
| [2012/01/12 09:35:42] @ jpalmer joined channel #puppet | ||
| [2012/01/12 09:35:47] <Volcane> hmm, bundled where? I dont think puppet bundles rack on its own | ||
| [2012/01/12 09:35:58] <rnagy> vendor/gems/rack-1.1.2 | ||
| [2012/01/12 09:36:03] <rnagy> it's the dashboard, not puppet | ||
| [2012/01/12 09:36:07] <Volcane> oh dashboard | ||
| [2012/01/12 09:36:23] <Volcane> and are you doing rackup or trying to run it in apache or something? | ||
| [2012/01/12 09:36:36] @ Quit: zwi: Quit: Leaving. | ||
| [2012/01/12 09:36:46] <rnagy> i am just trying to run it with webrick, starting script/server | ||
| [2012/01/12 09:36:51] <rnagy> but i can't do any rake tasks either | ||
| [2012/01/12 09:36:56] @ Quit: cperry-out: Ping timeout: 260 seconds | ||
| [2012/01/12 09:37:05] @ joe-mac joined channel #puppet | ||
| [2012/01/12 09:37:06] <Volcane> ok - well i dont know dashboard but you could try 'bundle exec script/server' | ||
| [2012/01/12 09:37:08] <Volcane> see how that goes | ||
| [2012/01/12 09:37:14] <Volcane> assuming you have bundler gem installed | ||
| [2012/01/12 09:37:43] <rnagy> (x200s puppet-dashboard 604)$ bundle exec script/server | ||
| [2012/01/12 09:37:46] <rnagy> Could not locate Gemfile | ||
| [2012/01/12 09:37:52] <Volcane> ah | ||
| [2012/01/12 09:38:21] <Volcane> then i dont know sorry, never really looked how dashboard is put together assumed it used bundler | ||
| [2012/01/12 09:38:22] <rnagy> it does not say what exactly | ||
| [2012/01/12 09:38:44] @ Quit: ukd1: Client Quit | ||
| [2012/01/12 09:38:47] @ Quit: trickyf: Ping timeout: 248 seconds | ||
| [2012/01/12 09:38:56] @ ukd1 joined channel #puppet | ||
| [2012/01/12 09:38:57] <rnagy> that's allright, thanks anyways | ||
| [2012/01/12 09:39:09] <ozy_work> i'm looking at schema.rb, and I am not a ruby programmer, is there any easy way to convert that into sql statements? | ||
| [2012/01/12 09:40:03] <rnagy> Volcane: if i remove the version from gem 'rack', '~> 1.1.0' then i get can't activate rack-1.3.6, already activated rack-1.1.2 | ||
| [2012/01/12 09:40:17] <Volcane> rnagy: that does kind of suggest its using bundler somewhere | ||
| [2012/01/12 09:40:54] <rnagy> well yeah but it's totally bogus somewhere because even if i force the 1.1.2 bundled version, it can't pick it up | ||
| [2012/01/12 09:41:07] <Volcane> and what happens is script/server does the requires *before* it initiates bundler | ||
| [2012/01/12 09:41:16] <Volcane> so the latest rack is loaded by the time bundler gets setup so it complains | ||
| [2012/01/12 09:41:28] <Volcane> bundle exec initiates bundler before running script/server which sorts it | ||
| [2012/01/12 09:41:34] <Volcane> but without a gemfile i dont know whats up | ||
| [2012/01/12 09:42:17] @ mm_ joined channel #puppet | ||
| [2012/01/12 09:42:51] @ Quit: jaydg: Ping timeout: 252 seconds | ||
| [2012/01/12 09:42:59] <marksteele> what's the best puppet book? | ||
| [2012/01/12 09:44:16] @ jaydg joined channel #puppet | ||
| [2012/01/12 09:44:20] @ zorg1 joined channel #puppet | ||
| [2012/01/12 09:44:35] @ Quit: crs: Ping timeout: 240 seconds | ||
| [2012/01/12 09:44:46] @ tizzo-afk is now known as tizzo | ||
| [2012/01/12 09:44:50] <Fai1ure> I'd rank them as follows : Pro Puppet / Puppet Cookbook > Anything else | ||
| [2012/01/12 09:45:00] <Fai1ure> marksteele: ^ | ||
| [2012/01/12 09:45:11] @ Quit: jaydg: Read error: No route to host | ||
| [2012/01/12 09:45:11] <marksteele> failure: thanks | ||
| [2012/01/12 09:45:14] @ jaydg_ joined channel #puppet | ||
| [2012/01/12 09:45:16] @ Quit: ascarter: Quit: Computer has gone to sleep. | ||
| [2012/01/12 09:45:17] <Fai1ure> try the kindle versions before you buy and see what looks most promising? | ||
| [2012/01/12 09:45:52] <caaakeeey> how can i get whether a particular exec ran or matched it's 'creates' condition into a variable? | ||
| [2012/01/12 09:46:00] <Volcane> u cant | ||
| [2012/01/12 09:46:19] <caaakeeey> best work around? | ||
| [2012/01/12 09:46:35] <_rc> don't care | ||
| [2012/01/12 09:46:45] <Volcane> there's not really a good answer | ||
| [2012/01/12 09:47:22] <caaakeeey> can i work out whether something succeeded by any means or failed? | ||
| [2012/01/12 09:47:41] <Volcane> other resources can just have dependencies via require etc | ||
| [2012/01/12 09:47:53] <Volcane> you cant say if something_passed { do all this stuff } else { do these } | ||
| [2012/01/12 09:47:57] <Hunner> Can you not use facts in puppet.conf?... | ||
| [2012/01/12 09:48:32] <caaakeeey> i need to pass different settings to a configure script based on whether its the first run after install or not | ||
| [2012/01/12 09:48:33] <Hunner> caaakeeey: if it failed then it will create log messages and mark its section in the dependency graph as failed | ||
| [2012/01/12 09:49:26] <Volcane> caaakeeey: you're best bet is then to make a fact | ||
| [2012/01/12 09:49:27] <Hunner> caaakeeey: if you need multi-run state, I usually have a spool directory and touch/rm files from the directory, and perform different operations based on that :) | ||
| [2012/01/12 09:50:49] @ robthoms_ joined channel #puppet | ||
| [2012/01/12 09:51:46] @ cperry-out joined channel #puppet | ||
| [2012/01/12 09:52:00] @ Quit: Chiku|dc: Ping timeout: 252 seconds | ||
| [2012/01/12 09:52:04] @ mapope joined channel #puppet | ||
| [2012/01/12 09:52:59] @ Quit: robthoms__: Read error: Connection reset by peer | ||
| [2012/01/12 09:52:59] @ Quit: scobal: Read error: Connection reset by peer | ||
| [2012/01/12 09:53:10] <Hunner> Does anyone remember if it's possible to use facts in puppet.conf? I thought it was but apparently it's not working... | ||
| [2012/01/12 09:53:26] <Hunner> Like for modulepath = /etc/puppet/$domain/modules | ||
| [2012/01/12 09:54:08] <kjetilho> Hunner: that would be a "chicken and egg" problem | ||
| [2012/01/12 09:54:51] <ETMA> I have these classes ensuring an exported resource - http://pastebin.com/wtLXYZbf - however, I get the error err: Exported resource Mysql::Backup[backup] cannot override local resource on node pupclientbsd.danhost.dk when there is more than 1 node with the mysql::backup resource - how come? | ||
| [2012/01/12 09:56:20] @ Quit: mapope: Read error: Connection reset by peer | ||
| [2012/01/12 09:56:20] @ Quit: robthoms_: Read error: Connection reset by peer | ||
| [2012/01/12 09:56:59] @ Quit: Meier: Quit: Leaving. | ||
| [2012/01/12 09:57:06] <caaakeeey> i cant use a custom fact , as it depends on somethign that can be specified int he manifest | ||
| [2012/01/12 09:57:42] @ Kazuhiro joined channel #puppet | ||
| [2012/01/12 09:58:43] @ scobal joined channel #puppet | ||
| [2012/01/12 09:59:20] @ crs joined channel #puppet | ||
| [2012/01/12 09:59:28] <Volcane> Hunner: afaik only the puppetmaster set variables or something like that | ||
| [2012/01/12 10:00:13] <Volcane> Hunner: ie. $environment works cos its a special var | ||
| [2012/01/12 10:00:37] <mutante> uhm.."add existing Linux system user to existing system group" is more complicated than it seemed.. no default group provider for Linux..etc? looked at several Google hits.. do you suggest to just exec usermod -a -G ? | ||
| [2012/01/12 10:00:38] @ robthoms_ joined channel #puppet | ||
| [2012/01/12 10:01:08] <ETMA> nwm my message.. it works now :) | ||
| [2012/01/12 10:01:30] @ Quit: ells: Ping timeout: 255 seconds | ||
| [2012/01/12 10:01:39] @ Quit: scobal: Read error: Connection reset by peer | ||
| [2012/01/12 10:01:42] @ mapope joined channel #puppet | ||
| [2012/01/12 10:02:55] @ Quit: Kazuhiro: Quit: Leaving. | ||
| [2012/01/12 10:04:04] <hno> Need a little guidance how to deal with defines. Have some utility defines that I want to use in modules, which works fine when site.pp imports the utility functions and then the module. But how to properly write a test case for the module? | ||
| [2012/01/12 10:04:23] @ alanevans joined channel #puppet | ||
| [2012/01/12 10:04:24] <Volcane> dont use import | ||
| [2012/01/12 10:04:27] <caaakeeey> how can i read in the contents of a file to use as the partial content of another | ||
| [2012/01/12 10:04:31] <Volcane> put the defines in a module | ||
| [2012/01/12 10:04:35] <Volcane> and each define in a file of its own | ||
| [2012/01/12 10:05:51] <hno> Volcane, Ah, makes sense. Thanks. Got a little confused by import from site.pp working with plain filenames (without .pp), but modules obviously can't import those. | ||
| [2012/01/12 10:07:27] @ Quit: spiette: Quit: Leaving | ||
| [2012/01/12 10:07:32] @ spiette joined channel #puppet | ||
| [2012/01/12 10:09:28] @ ells joined channel #puppet | ||
| [2012/01/12 10:09:49] @ Quit: tizzo: Quit: ZNC - http://znc.sourceforge.net | ||
| [2012/01/12 10:10:17] <Hunner> kjetilho: Yeah, true | ||
| [2012/01/12 10:10:19] @ tizzo joined channel #puppet | ||
| [2012/01/12 10:10:43] @ justintime left channel #puppet () | ||
| [2012/01/12 10:11:02] @ justintime_ joined channel #puppet | ||
| [2012/01/12 10:11:08] @ Quit: ells: Client Quit | ||
| [2012/01/12 10:12:27] @ brandon_dacrib joined channel #puppet | ||
| [2012/01/12 10:12:51] @ Quit: jaydg_: Remote host closed the connection | ||
| [2012/01/12 10:13:38] @ Quit: mfladischer: Ping timeout: 268 seconds | ||
| [2012/01/12 10:13:44] <caaakeeey> the work around seems to be exec determining if it has installed, and then sending the result to a file, and then using extlookup... | ||
| [2012/01/12 10:14:31] <Volcane> that wont work either surely | ||
| [2012/01/12 10:14:35] <Volcane> extlookup is on the master | ||
| [2012/01/12 10:14:37] <Volcane> exec is on the node | ||
| [2012/01/12 10:14:42] <caaakeeey> i mean file() | ||
| [2012/01/12 10:14:45] <Volcane> ditto | ||
| [2012/01/12 10:14:56] <caaakeeey> file is on the master? | ||
| [2012/01/12 10:15:01] <Volcane> all functions are | ||
| [2012/01/12 10:15:04] @ Chiku joined channel #puppet | ||
| [2012/01/12 10:15:05] @ Quit: Chiku: Changing host | ||
| [2012/01/12 10:15:05] @ Chiku joined channel #puppet | ||
| [2012/01/12 10:15:06] @ Kazuhiro joined channel #puppet | ||
| [2012/01/12 10:15:17] <Volcane> compile happens on the master - all logic like if's, variables, etc, that all happens compile time | ||
| [2012/01/12 10:15:23] <Volcane> at run time its just applying the result of the compile | ||
| [2012/01/12 10:15:42] @ ghg joined channel #puppet | ||
| [2012/01/12 10:16:02] <caaakeeey> so using facts queries the client? | ||
| [2012/01/12 10:16:22] <Volcane> client sends its facts to the master when it requests the catalog - ie. before compile happens | ||
| [2012/01/12 10:16:38] <hno> Volcane, hmm.. can't quite get it to work for some reason. Seems it does not find the define from the using module class. | ||
| [2012/01/12 10:16:45] @ Quit: Chiku: Client Quit | ||
| [2012/01/12 10:16:51] <Volcane> hno: then you're doing it wrong :) make a pastie | ||
| [2012/01/12 10:16:59] @ Quit: snk: Quit: brb | ||
| [2012/01/12 10:17:03] <caaakeeey> so my only solution is instead of doing exec, i exec a script that invokes the original script? | ||
| [2012/01/12 10:17:14] <Volcane> caaakeeey: a fact will work | ||
| [2012/01/12 10:17:16] <`mx> is there a way to add external information about to puppet and have it accessable in manifests? | ||
| [2012/01/12 10:17:19] @ snk joined channel #puppet | ||
| [2012/01/12 10:17:39] <caaakeeey> but it depends on the install path which is supplie dint he manifest | ||
| [2012/01/12 10:17:46] <hno> Volcane, I moved the .pp with the define into a new module, and include that module name from the other module that needs it. | ||
| [2012/01/12 10:18:08] <Volcane> caaakeeey: ah - no then you're out of luck | ||
| [2012/01/12 10:18:20] <Volcane> hno: pro tip, people ask for pasties for a reason. | ||
| [2012/01/12 10:19:53] <hno> Volcane, I know. Just not sure what to put in the paste to illustrate how things have been moved around. | ||
| [2012/01/12 10:20:02] <Volcane> hno: file names, file content | ||
| [2012/01/12 10:20:08] <Volcane> hno: error message | ||
| [2012/01/12 10:20:16] @ dclp left channel #puppet () | ||
| [2012/01/12 10:20:46] @ Quit: ETMA: Quit: Leaving... | ||
| [2012/01/12 10:20:48] @ rnagy left channel #puppet () | ||
| [2012/01/12 10:23:28] @ tmclaugh joined channel #puppet | ||
| [2012/01/12 10:25:55] @ Quit: cperry-out: Ping timeout: 240 seconds | ||
| [2012/01/12 10:26:01] @ rcrowley joined channel #puppet | ||
| [2012/01/12 10:27:25] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2012/01/12 10:28:04] @ Kazuhiro left channel #puppet () | ||
| [2012/01/12 10:28:26] @ Aleks3Y joined channel #puppet | ||
| [2012/01/12 10:28:44] @ Quit: MattyM: Remote host closed the connection | ||
| [2012/01/12 10:29:03] @ marrusl joined channel #puppet | ||
| [2012/01/12 10:29:06] @ Quit: rcrowley: Client Quit | ||
| [2012/01/12 10:31:01] @ Quit: Aleks3Y: Remote host closed the connection | ||
| [2012/01/12 10:31:16] @ Aleks3Y joined channel #puppet | ||
| [2012/01/12 10:31:45] @ kangman joined channel #puppet | ||
| [2012/01/12 10:31:48] <hno> Volcane, hmm.. tried to make a simpler test case to illustrate the problem in a paste and that worked. Will try some more. | ||
| [2012/01/12 10:32:59] <Volcane> yeah, had you just pasted the ctual code you'd have had an answer by now | ||
| [2012/01/12 10:33:00] @ gniks joined channel #puppet | ||
| [2012/01/12 10:34:17] @ Quit: nan0r: Read error: Connection reset by peer | ||
| [2012/01/12 10:35:33] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2012/01/12 10:35:55] @ Wolfspyre joined channel #puppet | ||
| [2012/01/12 10:36:08] @ ells joined channel #puppet | ||
| [2012/01/12 10:37:39] @ Quit: hfnix: Quit: Leaving. | ||
| [2012/01/12 10:37:46] @ hfnix joined channel #puppet | ||
| [2012/01/12 10:37:57] <hno> Volcane, getting closer. If I place the define in a module named the same as the define then it works. If the module containint the define is named differently then I get "Resource failed with error ArgumentError: Invalid resource type " | ||
| [2012/01/12 10:38:20] @ pipegeek joined channel #puppet | ||
| [2012/01/12 10:38:47] <Volcane> call the define modulename::definename | ||
| [2012/01/12 10:38:58] @ cperry-out joined channel #puppet | ||
| [2012/01/12 10:39:10] @ riha left channel #puppet () | ||
| [2012/01/12 10:40:04] @ neonflux joined channel #puppet | ||
| [2012/01/12 10:41:29] @ Quit: ukd1: Quit: Lost terminal | ||
| [2012/01/12 10:41:51] @ ukd1 joined channel #puppet | ||
| [2012/01/12 10:42:10] @ ken_barber joined channel #puppet | ||
| [2012/01/12 10:42:13] @ Quit: octane-: Quit: Leaving. | ||
| [2012/01/12 10:43:24] @ freezey joined channel #puppet | ||
| [2012/01/12 10:44:39] <marksteele> I'm using a custom type (append_if_no_such_line, as per the example on creating new type), where should I drop it on the server? | ||
| [2012/01/12 10:44:44] <hno> Volcane, http://fpaste.org/DLVQ/ | ||
| [2012/01/12 10:44:55] <marksteele> the client is complaining about Could not retrieve information from environment production source(s) puppet://puppet/plugins | ||
| [2012/01/12 10:45:14] <marksteele> I tried /var/lib/puppet/lib/type/ | ||
| [2012/01/12 10:45:59] <Volcane> hno: define tools::testdefine goes in testdefine.pp in the tools module | ||
| [2012/01/12 10:46:13] <Volcane> def tools:testdefine() { .... } | ||
| [2012/01/12 10:46:20] <_rc> marksteele: put them in a module. http://docs.puppetlabs.com/guides/plugins_in_modules.html | ||
| [2012/01/12 10:46:32] <hno> Volcane, tried that. Then it needs to be tools::testdefine in both. | ||
| [2012/01/12 10:46:37] @ dan__t joined channel #puppet | ||
| [2012/01/12 10:46:40] <Volcane> hno: yes | ||
| [2012/01/12 10:46:57] @ Quit: pipegeek: Quit: Leaving. | ||
| [2012/01/12 10:47:57] @ Chiku joined channel #puppet | ||
| [2012/01/12 10:47:58] @ Quit: Chiku: Changing host | ||
| [2012/01/12 10:47:58] @ Chiku joined channel #puppet | ||
| [2012/01/12 10:47:59] <hno> Volcane, any obvious drawback in using a module per define instead? Do not plan on having very many of these. | ||
| [2012/01/12 10:48:35] <Volcane> hno: probably not but doesnt strike me as a good idea - as a organizational aid having one module full of utility defines makes sense | ||
| [2012/01/12 10:48:37] @ nan0r joined channel #puppet | ||
| [2012/01/12 10:49:00] @ Quit: gniks: Quit: Leaving. | ||
| [2012/01/12 10:51:02] @ cwarden joined channel #puppet | ||
| [2012/01/12 10:51:15] @ Quit: johnston_: Ping timeout: 258 seconds | ||
| [2012/01/12 10:52:17] <hno> Volcane, I guess one benefit is namespacing to avoid collisions with standard resource types in future versions, and better illustration that it's a locally defined resource type. | ||
| [2012/01/12 10:52:32] @ Quit: inecas: Quit: Leaving | ||
| [2012/01/12 10:53:02] <ulmen> EXIT | ||
| [2012/01/12 10:53:09] @ Quit: ulmen: Quit: WeeChat 0.3.5 | ||
| [2012/01/12 10:53:20] @ seanh-ansca joined channel #puppet | ||
| [2012/01/12 10:53:50] @ jodok joined channel #puppet | ||
| [2012/01/12 10:53:51] @ Quit: jodok: Changing host | ||
| [2012/01/12 10:53:51] @ jodok joined channel #puppet | ||
| [2012/01/12 10:54:33] @ Quit: smintz: Read error: Operation timed out | ||
| [2012/01/12 10:54:47] @ clayb joined channel #puppet | ||
| [2012/01/12 10:57:48] @ trickyf joined channel #puppet | ||
| [2012/01/12 10:57:57] @ trickyf left channel #puppet () | ||
| [2012/01/12 10:59:37] @ geekbri joined channel #puppet | ||
| [2012/01/12 11:02:56] @ Reepicheep joined channel #puppet | ||
| [2012/01/12 11:03:06] @ Quit: The-Bat: Remote host closed the connection | ||
| [2012/01/12 11:03:28] @ dclp_ joined channel #puppet | ||
| [2012/01/12 11:03:35] @ Quit: justintime_: Ping timeout: 268 seconds | ||
| [2012/01/12 11:03:43] @ Quit: dclp_: Client Quit | ||
| [2012/01/12 11:05:10] @ digr1 joined channel #puppet | ||
| [2012/01/12 11:06:45] @ Quit: danblack: Ping timeout: 276 seconds | ||
| [2012/01/12 11:07:21] @ Quit: dim0: Ping timeout: 240 seconds | ||
| [2012/01/12 11:08:19] @ vata joined channel #puppet | ||
| [2012/01/12 11:08:27] @ Quit: raphdg: Remote host closed the connection | ||
| [2012/01/12 11:11:30] @ rcrowley joined channel #puppet | ||
| [2012/01/12 11:13:25] @ benkevan joined channel #puppet | ||
| [2012/01/12 11:13:47] <marksteele> hmm, exec's are called on the puppet master? | ||
| [2012/01/12 11:14:06] <marksteele> erm nevermind | ||
| [2012/01/12 11:15:54] @ zwi joined channel #puppet | ||
| [2012/01/12 11:16:42] @ Quit: smooth_p: Ping timeout: 252 seconds | ||
| [2012/01/12 11:17:36] @ ldlework joined channel #puppet | ||
| [2012/01/12 11:22:15] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2012/01/12 11:27:27] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2012/01/12 11:27:38] <caaakeeey> im trying to do a basic conditional in an exec, but puppet says it cant find if :/ | ||
| [2012/01/12 11:28:51] <Volcane> caaakeeey: we'll just guess what you're trying to do ? | ||
| [2012/01/12 11:31:02] <caaakeeey> "if test -f /tmp/foo; then echo moo; else echo hi; fi" as an exec's command fails saying it cant find if | ||
| [2012/01/12 11:31:51] <Volcane> yeah 'if' is a shell builtin | ||
| [2012/01/12 11:31:54] <Volcane> exec isnt a shell | ||
| [2012/01/12 11:31:58] @ joshkraemer joined channel #puppet | ||
| [2012/01/12 11:32:05] @ Quit: fragfutter: Quit: leaving | ||
| [2012/01/12 11:32:10] @ Diranged joined channel #puppet | ||
| [2012/01/12 11:32:43] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2012/01/12 11:32:49] @ Quit: mm_: Quit: Page closed | ||
| [2012/01/12 11:32:56] <caaakeeey> so bang it in a script and then run the script, fair enough | ||
| [2012/01/12 11:33:21] <_rc> caaakeeey: why are you doing things conditionally anyway? what you're doing with puppet is stating how things should be | ||
| [2012/01/12 11:33:35] @ q0rban joined channel #puppet | ||
| [2012/01/12 11:33:36] <_rc> and then puppet takes teh steps to make it so | ||
| [2012/01/12 11:35:07] @ Quit: jcape: Quit: jcape | ||
| [2012/01/12 11:35:14] <caaakeeey> legacy | ||
| [2012/01/12 11:35:22] @ jcape joined channel #puppet | ||
| [2012/01/12 11:35:48] <caaakeeey> im meant to work out how to deploy the software with puppet, so i can see where our software can be improved to fit with puppet | ||
| [2012/01/12 11:36:00] @ Quit: hno: Quit: Lämnar | ||
| [2012/01/12 11:36:18] <_rc> it can be improved to not need your conditional malarkey | ||
| [2012/01/12 11:36:22] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2012/01/12 11:37:03] <caaakeeey> fully agree, but they want a demo first | ||
| [2012/01/12 11:38:06] <torrancew> caaakeeey: You shoul dbe able to specify provider => shell to an exec IIRC | ||
| [2012/01/12 11:38:39] @ Quit: counterbeing: Ping timeout: 240 seconds | ||
| [2012/01/12 11:38:41] @ Quit: joshkraemer: Remote host closed the connection | ||
| [2012/01/12 11:39:03] @ kwame_afk is now known as kwame | ||
| [2012/01/12 11:40:30] @ mayak left channel #puppet () | ||
| [2012/01/12 11:43:52] @ gniks joined channel #puppet | ||
| [2012/01/12 11:45:01] @ Quit: tomben-: Read error: Connection reset by peer | ||
| [2012/01/12 11:45:04] @ Quit: cperry-out: Read error: Connection reset by peer | ||
| [2012/01/12 11:45:35] @ teratoma joined channel #puppet | ||
| [2012/01/12 11:45:52] @ Quit: zul: Quit: Ex-Chat | ||
| [2012/01/12 11:45:57] @ tomben joined channel #puppet | ||
| [2012/01/12 11:51:27] @ tomben_ joined channel #puppet | ||
| [2012/01/12 11:51:32] @ Quit: tomben: Read error: Connection reset by peer | ||
| [2012/01/12 11:51:34] @ Quit: Guest77206: Read error: Connection reset by peer | ||
| [2012/01/12 11:51:48] @ Guest77206 joined channel #puppet | ||
| [2012/01/12 11:52:38] @ cliff-hm joined channel #puppet | ||
| [2012/01/12 11:53:44] <siert> caaakeeey: I did a oneliner somewhere inside a puppet exec "echo'ing" the stuff to bash; that worked | ||
| [2012/01/12 11:54:26] <caaakeeey> it seems like puppet isnt executing my script as root :/ | ||
| [2012/01/12 11:54:43] <torrancew> Are you running puppet as root? | ||
| [2012/01/12 11:54:49] <caaakeeey> yes | ||
| [2012/01/12 11:54:49] <siert> caaakeeey: if your agent runs as root (which is likely) then it does | ||
| [2012/01/12 11:55:08] <siert> caaakeeey: from the script, `id` to a file | ||
| [2012/01/12 11:55:09] <henk> bash -c "foo"? | ||
| [2012/01/12 11:55:26] @ tomben joined channel #puppet | ||
| [2012/01/12 11:55:29] @ Quit: jodok: Quit: jodok | ||
| [2012/01/12 11:55:56] @ Quit: stevie-bash: Read error: Connection reset by peer | ||
| [2012/01/12 11:56:00] @ Quit: tomben_: Ping timeout: 268 seconds | ||
| [2012/01/12 11:56:21] @ jkoppe joined channel #puppet | ||
| [2012/01/12 11:57:02] @ Quit: cliff-hm: Read error: Operation timed out | ||
| [2012/01/12 11:58:05] <caaakeeey> henk, that returns a 0 code even on a failure though | ||
| [2012/01/12 11:59:24] <henk> caaakeeey: % bash -c false | ||
| [2012/01/12 11:59:26] <henk> [1] 10386 exit 1 bash -c false | ||
| [2012/01/12 11:59:27] @ shadowshell joined channel #puppet | ||
| [2012/01/12 11:59:28] @ smintz joined channel #puppet | ||
| [2012/01/12 11:59:42] @ joshcooper joined channel #puppet | ||
| [2012/01/12 11:59:51] <Volcane> just write a script and exec it :) | ||
| [2012/01/12 12:00:30] <henk> IMHO a bit overkill for oneliners_ | ||
| [2012/01/12 12:00:38] <henk> s/_/…/ | ||
| [2012/01/12 12:01:12] <Volcane> if your servers are held together by oneliners in exec's you have other problems | ||
| [2012/01/12 12:01:20] @ andreaturli joined channel #puppet | ||
| [2012/01/12 12:01:46] @ nated joined channel #puppet | ||
| [2012/01/12 12:01:48] @ Quit: nated: Changing host | ||
| [2012/01/12 12:01:48] @ nated joined channel #puppet | ||
| [2012/01/12 12:02:53] @ orkaa joined channel #puppet | ||
| [2012/01/12 12:03:05] <orkaa> hi | ||
| [2012/01/12 12:03:15] <orkaa> i searched half of the internet | ||
| [2012/01/12 12:03:28] <Rudemeister> niice, what did ya find | ||
| [2012/01/12 12:03:42] <orkaa> and still can't find out how to set the puppetmaster port on the client | ||
| [2012/01/12 12:03:48] @ l0n joined channel #puppet | ||
| [2012/01/12 12:03:50] <orkaa> because it's not the standard 8140 | ||
| [2012/01/12 12:03:51] @ ken_barber1 joined channel #puppet | ||
| [2012/01/12 12:04:04] <robthoms_> Hi ken | ||
| [2012/01/12 12:04:47] <Volcane> orkaa: guess you didnt read 'puppet agent --help' | ||
| [2012/01/12 12:05:05] @ Quit: pmorillon: Quit: pmorillon | ||
| [2012/01/12 12:05:29] <caaakeeey> its sort of working now, thanks for the help everyone | ||
| [2012/01/12 12:05:33] @ newtMcKerr joined channel #puppet | ||
| [2012/01/12 12:06:33] @ Quit: ken_barber: Ping timeout: 240 seconds | ||
| [2012/01/12 12:06:41] <orkaa> Volcane: you guessed wrong | ||
| [2012/01/12 12:07:02] @ Quit: the_ramink: Ping timeout: 248 seconds | ||
| [2012/01/12 12:07:10] @ Quit: lwhalen: Ping timeout: 276 seconds | ||
| [2012/01/12 12:07:21] <Volcane> orkaa: so then you'd know where to go find the full configuration reference documentation | ||
| [2012/01/12 12:07:31] @ kelseyhightower joined channel #puppet | ||
| [2012/01/12 12:09:12] @ Quit: smintz: Ping timeout: 260 seconds | ||
| [2012/01/12 12:09:31] @ motomike joined channel #puppet | ||
| [2012/01/12 12:10:14] <orkaa> ah fuck me | ||
| [2012/01/12 12:10:25] <orkaa> i had the right parameter which wasn't working | ||
| [2012/01/12 12:10:31] <orkaa> ... because of a typo | ||
| [2012/01/12 12:10:40] <Volcane> heh | ||
| [2012/01/12 12:10:51] <orkaa> thanks anyway | ||
| [2012/01/12 12:11:37] <eric0> Hunner: i'd be keen to hear your thoughts on #11900 | ||
| [2012/01/12 12:11:38] <gepetto> eric0: Hunner: #11900 is http://projects.puppetlabs.com/issues/show/11900 "Puppet - Feature #11900: Dynamic environment interpolation in puppet master configuration. It has a status of Unreviewed and is assigned to -" | ||
| [2012/01/12 12:12:26] <eric0> because it was your awesome blog post that kicked it off | ||
| [2012/01/12 12:13:00] @ orkaa left channel #puppet () | ||
| [2012/01/12 12:13:45] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2012/01/12 12:14:37] @ Quit: ali3n0: Ping timeout: 244 seconds | ||
| [2012/01/12 12:14:57] @ cliff-hm joined channel #puppet | ||
| [2012/01/12 12:17:07] @ miche__ joined channel #puppet | ||
| [2012/01/12 12:17:39] @ Quit: Ramonster: Quit: So Long and thanks for all the fish | ||
| [2012/01/12 12:20:37] @ seanh-ansca joined channel #puppet | ||
| [2012/01/12 12:21:30] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2012/01/12 12:22:24] @ Quit: miche__: Quit: Computer has gone to sleep. | ||
| [2012/01/12 12:22:49] @ miche__ joined channel #puppet | ||
| [2012/01/12 12:23:30] @ Quit: nan0r: Quit: Leaving. | ||
| [2012/01/12 12:24:37] <miguelzinho> What would be the best practice to install an application from source (like configure,make, make install) using puppet? How do I update an instalation made like this latter? | ||
| [2012/01/12 12:25:03] <Volcane> miguelzinho: dont install from source | ||
| [2012/01/12 12:25:38] <miguelzinho> Volcane: there are no packages | ||
| [2012/01/12 12:26:07] @ lwhalen joined channel #puppet | ||
| [2012/01/12 12:26:15] <henk> Make one | ||
| [2012/01/12 12:26:19] <Volcane> miguelzinho: you're question is 'how do i get the benefit of decades of engineering that went into packaging systems in a quick one liner way' | ||
| [2012/01/12 12:26:22] @ ali3n0 joined channel #puppet | ||
| [2012/01/12 12:26:48] <Volcane> miguelzinho: the answer is use the right tools for the job, make packages. | ||
| [2012/01/12 12:27:50] @ Quit: hfnix: Quit: Leaving. | ||
| [2012/01/12 12:27:59] @ hfnix joined channel #puppet | ||
| [2012/01/12 12:29:08] @ digr1 left channel #puppet () | ||
| [2012/01/12 12:30:36] @ stahnma set topic "Puppet Triage-A-Thon - January 21st from 7am to 4pm PST - http://triagepuppet.eventbrite.com/?ref=ebtn - #puppethack | Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 and 2.6.13 available at downloads.puppetlabs.com yum.puppetlabs.com apt.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A | December Newsletter http://bit.ly/nl11-12" | ||
| [2012/01/12 12:31:04] @ counterbeing joined channel #puppet | ||
| [2012/01/12 12:34:30] @ ascarter joined channel #puppet | ||
| [2012/01/12 12:34:49] @ Quit: miche__: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2012/01/12 12:35:35] <miguelzinho> Volcane: you are definitely right | ||
| [2012/01/12 12:36:13] <Volcane> miguelzinho: https://github.com/jordansissel/fpm makes it as easy as making a tarball | ||
| [2012/01/12 12:36:41] <abetterlie> Volcane: zing! beat me to it. | ||
| [2012/01/12 12:36:52] @ Quit: ali3n0: Quit: Leaving. | ||
| [2012/01/12 12:37:31] @ Quit: lanky: Quit: Leaving | ||
| [2012/01/12 12:38:09] @ and` joined channel #puppet | ||
| [2012/01/12 12:39:55] @ kenperkins joined channel #puppet | ||
| [2012/01/12 12:44:14] @ alfism joined channel #puppet | ||
| [2012/01/12 12:46:43] @ stahnma set topic "Puppet Triage-A-Thon - January 21st from 2011-12-21 15:00 UTC to 2011-12-22 00:00 UTC - http://triagepuppet.eventbrite.com/?ref=ebtn - #puppethack | Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 and 2.6.13 available at downloads.puppetlabs.com yum.puppetlabs.com apt.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A | December Ne" | ||
| [2012/01/12 12:46:52] * stahnma hates when times are not UTC | ||
| [2012/01/12 12:47:12] <stahnma> I may have put the wrong dates | ||
| [2012/01/12 12:47:14] * stahnma tries again | ||
| [2012/01/12 12:47:20] @ williemach joined channel #puppet | ||
| [2012/01/12 12:47:25] @ fir31ight joined channel #puppet | ||
| [2012/01/12 12:47:34] @ stahnma set topic "Puppet Triage-A-Thon - January 21st from 2012-01-21 15:00 UTC to 2012-01-22 00:00 UTC - http://triagepuppet.eventbrite.com/?ref=ebtn - #puppethack | Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 and 2.6.13 available at downloads.puppetlabs.com yum.puppetlabs.com apt.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A | December Ne" | ||
| [2012/01/12 12:48:17] @ stahnma set topic "Puppet Triage-A-Thon - January 21st from 2012-01-21 15:00 UTC to 2012-01-22 00:00 UTC - http://triagepuppet.eventbrite.com/?ref=ebtn - #puppethack | Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 and 2.6.13 available at downloads.puppetlabs.com yum.puppetlabs.com apt.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A" | ||
| [2012/01/12 12:49:04] @ littleidea joined channel #puppet | ||
| [2012/01/12 12:49:27] @ maes_ joined channel #puppet | ||
| [2012/01/12 12:49:43] @ Quit: VladGh: Quit: leaving | ||
| [2012/01/12 12:51:12] <stahnma> for those wanting to convert from UTC to their local time you can run : date -d '2012-01-21 15:00 UTC' | ||
| [2012/01/12 12:51:40] <stahnma> if date is GNU | ||
| [2012/01/12 12:51:41] <stahnma> :) | ||
| [2012/01/12 12:52:00] <Volcane> stahnma: but then being in UTC is irrelevant since it can do that for any zone? :P | ||
| [2012/01/12 12:52:03] @ Quit: maes_`: Ping timeout: 252 seconds | ||
| [2012/01/12 12:52:21] <stahnma> Volcane: true. | ||
| [2012/01/12 12:52:27] <stahnma> I'm trying to be more internationally friendly | ||
| [2012/01/12 12:52:50] <Volcane> yeah :) utc is better | ||
| [2012/01/12 12:52:55] <stahnma> agreed | ||
| [2012/01/12 12:53:59] @ Diranged left channel #puppet () | ||
| [2012/01/12 12:54:16] @ mrwacky42 joined channel #puppet | ||
| [2012/01/12 12:56:07] @ Text joined channel #puppet | ||
| [2012/01/12 12:56:50] <Text> Hi, is there a way to delete catalogs? I suspect that pupet isn't purging an old catalog. | ||
| [2012/01/12 12:57:47] @ st33v joined channel #puppet | ||
| [2012/01/12 12:58:13] @ pcarlisle joined channel #puppet | ||
| [2012/01/12 12:58:31] @ ali3n0 joined channel #puppet | ||
| [2012/01/12 12:59:40] @ Diranged joined channel #puppet | ||
| [2012/01/12 12:59:52] <Diranged> can i disable sending of puppet reports via the commandline on a particular puppet run? | ||
| [2012/01/12 13:00:54] <eric0> stahnma: that eventbrite signup pages crashes all my browsers | ||
| [2012/01/12 13:00:59] <agaffney> Diranged: --report=false should do it | ||
| [2012/01/12 13:01:38] @ Quit: littleidea: Quit: littleidea | ||
| [2012/01/12 13:01:40] <eric0> chrome and safari on two different computers, i go to pull down the "remote attendee" numbers and beachball (safari) / segfault (chrome) | ||
| [2012/01/12 13:01:55] <Diranged> agaffney: Awesome thanks | ||
| [2012/01/12 13:02:26] <agaffney> eric0: what about a browser that isn't webkit based? | ||
| [2012/01/12 13:03:01] @ Quit: lwhalen: Ping timeout: 240 seconds | ||
| [2012/01/12 13:03:36] @ kelseyhightower joined channel #puppet | ||
| [2012/01/12 13:04:13] <eric0> ohh i can rdesktop to the stupid vsphere windows machine | ||
| [2012/01/12 13:04:32] <eric0> LOL, crashed IE8 too | ||
| [2012/01/12 13:04:32] <agaffney> ewwww | ||
| [2012/01/12 13:04:35] <agaffney> hahaha | ||
| [2012/01/12 13:04:43] <eric0> something is deeply wrong with that signup site | ||
| [2012/01/12 13:04:48] <agaffney> apparently | ||
| [2012/01/12 13:04:59] <Text> Is there a way to delete a catalog? | ||
| [2012/01/12 13:05:08] <agaffney> I can't imagine what crazy thing they could be doing that would crash 3 different browsers | ||
| [2012/01/12 13:05:11] @ Quit: ali3n0: Quit: Leaving. | ||
| [2012/01/12 13:05:26] <agaffney> Text: delete? the catalog is compiled from your manifests when it is requested | ||
| [2012/01/12 13:05:34] @ Quit: zwi: Remote host closed the connection | ||
| [2012/01/12 13:05:49] @ zwi joined channel #puppet | ||
| [2012/01/12 13:06:06] <Text> agaffney: true, but it arrives at an agent and I won' | ||
| [2012/01/12 13:06:17] <Text> and I think it is cacheing? Keeping? | ||
| [2012/01/12 13:06:24] @ Quit: danikov: Quit: danikov | ||
| [2012/01/12 13:06:33] <_rc> it will cache unless you expire it | ||
| [2012/01/12 13:06:43] <Text> how do I expire it? | ||
| [2012/01/12 13:07:51] <_rc> http://docs.puppetlabs.com/references/2.7.9/configuration.html#ignorecache | ||
| [2012/01/12 13:08:11] <_rc> there's a whole bunch of things related to when to use the cache | ||
| [2012/01/12 13:08:25] <Volcane> Text: --ignorecache | ||
| [2012/01/12 13:09:33] <_rc> Text: is your problem that you're making manifest changes and not seeing them till the second run? | ||
| [2012/01/12 13:09:51] @ IndyMichaelB joined channel #puppet | ||
| [2012/01/12 13:09:58] <_rc> #5318 | ||
| [2012/01/12 13:09:59] <gepetto> _rc: #5318 is http://projects.puppetlabs.com/issues/show/5318 "Puppet - Bug #5318: puppet master behind passenger does not re-parse manifests correctly when running with default environment.. It has a status of Closed and is assigned to Daniel Pittman" | ||
| [2012/01/12 13:10:07] <Text> _rc: something like that | ||
| [2012/01/12 13:10:44] <IndyMichaelB> What is the proper regex to match any hostname starting with the letters abc? | ||
| [2012/01/12 13:10:55] <misc> ^[abc] ? | ||
| [2012/01/12 13:11:01] <eric0> agaffney: hahah i got in with firefox - that pulldown has an ordinal list from 1 to 99992 (!?!) to register a number of attendees. what the shit. | ||
| [2012/01/12 13:11:13] <_rc> that's a or b or c | ||
| [2012/01/12 13:11:20] @ lwhalen joined channel #puppet | ||
| [2012/01/12 13:11:29] <misc> oh yes | ||
| [2012/01/12 13:11:33] <misc> then ^abc | ||
| [2012/01/12 13:11:40] @ jkoppe left channel #puppet () | ||
| [2012/01/12 13:11:47] <agaffney> _rc: ooh, was that finally fixed in 2.6.9? | ||
| [2012/01/12 13:11:51] <agaffney> I hit that issue constantly | ||
| [2012/01/12 13:11:56] <agaffney> with 2.6.7 | ||
| [2012/01/12 13:11:57] <IndyMichaelB> I want it to match servers ABC123 or ABC12345goesonandon, but not A123 or B123 | ||
| [2012/01/12 13:12:35] @ tizzo is now known as tizzo-afk | ||
| [2012/01/12 13:12:43] <_rc> agaffney: yup | ||
| [2012/01/12 13:12:47] <agaffney> nice | ||
| [2012/01/12 13:13:06] <agaffney> looks like that means I have a good reason to upgrade | ||
| [2012/01/12 13:13:09] <agaffney> I was looking at 2.6.12 | ||
| [2012/01/12 13:13:15] <agaffney> to stay in the 2.6 series for now | ||
| [2012/01/12 13:13:21] <IndyMichaelB> so if $host =~ /^abc/ … I will try that. I thought I had to put something after the abc to indicate anything after this is good | ||
| [2012/01/12 13:13:46] <agaffney> nope, only if you anchor the regex | ||
| [2012/01/12 13:14:04] <agaffney> there's no anchor (^ or $) at the end, so it doesn't care about what's at the end of the string | ||
| [2012/01/12 13:15:08] <IndyMichaelB> ok, thanks for the regex lesson | ||
| [2012/01/12 13:18:13] @ Quit: kerframil: Quit: Leaving | ||
| [2012/01/12 13:18:35] @ Quit: and`: Ping timeout: 240 seconds | ||
| [2012/01/12 13:19:43] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2012/01/12 13:19:57] @ Quit: andreaturli: Read error: Operation timed out | ||
| [2012/01/12 13:21:13] @ laen__ is now known as laen_ | ||
| [2012/01/12 13:21:20] @ jkoppe joined channel #puppet | ||
| [2012/01/12 13:22:43] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:23:14] @ tizzo-afk is now known as tizzo | ||
| [2012/01/12 13:24:25] @ jeremy__ joined channel #puppet | ||
| [2012/01/12 13:24:57] @ Dewin joined channel #puppet | ||
| [2012/01/12 13:26:05] @ mcarpent joined channel #puppet | ||
| [2012/01/12 13:26:11] @ Quit: jeremy: Ping timeout: 252 seconds | ||
| [2012/01/12 13:26:15] @ jeremy joined channel #puppet | ||
| [2012/01/12 13:26:16] @ Quit: jeremy: Changing host | ||
| [2012/01/12 13:26:16] @ jeremy joined channel #puppet | ||
| [2012/01/12 13:26:55] @ andreaturli joined channel #puppet | ||
| [2012/01/12 13:27:00] @ Quit: jeremy_: Ping timeout: 255 seconds | ||
| [2012/01/12 13:27:19] @ comptona joined channel #puppet | ||
| [2012/01/12 13:28:39] @ Quit: jeremy__: Ping timeout: 240 seconds | ||
| [2012/01/12 13:28:58] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:29:15] @ Quit: Guest77206: Ping timeout: 240 seconds | ||
| [2012/01/12 13:30:08] @ Quit: jeremy: Read error: Operation timed out | ||
| [2012/01/12 13:30:35] @ jeremy joined channel #puppet | ||
| [2012/01/12 13:30:36] @ Quit: jeremy: Changing host | ||
| [2012/01/12 13:30:36] @ jeremy joined channel #puppet | ||
| [2012/01/12 13:32:45] @ Quit: lwhalen: Read error: Operation timed out | ||
| [2012/01/12 13:32:45] @ larstobi joined channel #puppet | ||
| [2012/01/12 13:32:54] @ Quit: ezryx: Remote host closed the connection | ||
| [2012/01/12 13:33:17] @ Quit: jeremy_: Ping timeout: 240 seconds | ||
| [2012/01/12 13:33:30] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:33:30] @ Quit: jeremy_: Changing host | ||
| [2012/01/12 13:33:30] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:34:03] @ langworthy joined channel #puppet | ||
| [2012/01/12 13:36:15] @ jeremy__ joined channel #puppet | ||
| [2012/01/12 13:36:16] @ Quit: jeremy__: Changing host | ||
| [2012/01/12 13:36:16] @ jeremy__ joined channel #puppet | ||
| [2012/01/12 13:36:36] @ Quit: elguero: Read error: Connection reset by peer | ||
| [2012/01/12 13:37:08] @ Quit: jeremy: Ping timeout: 268 seconds | ||
| [2012/01/12 13:37:08] @ jeremy__ is now known as jeremy | ||
| [2012/01/12 13:38:49] @ jeremy__ joined channel #puppet | ||
| [2012/01/12 13:38:50] @ Quit: jeremy__: Changing host | ||
| [2012/01/12 13:38:50] @ jeremy__ joined channel #puppet | ||
| [2012/01/12 13:39:16] @ sdog joined channel #puppet | ||
| [2012/01/12 13:39:28] @ Quit: jeremy_: Ping timeout: 240 seconds | ||
| [2012/01/12 13:39:36] @ Quit: counterbeing: Quit: Computer has gone to sleep. | ||
| [2012/01/12 13:40:14] @ VladGh joined channel #puppet | ||
| [2012/01/12 13:40:30] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:40:31] @ Quit: jeremy_: Changing host | ||
| [2012/01/12 13:40:31] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:40:43] @ benjiedmund joined channel #puppet | ||
| [2012/01/12 13:41:02] @ Quit: sdog: Changing host | ||
| [2012/01/12 13:41:02] @ sdog joined channel #puppet | ||
| [2012/01/12 13:42:01] @ gnat42 joined channel #puppet | ||
| [2012/01/12 13:42:05] @ Quit: jeremy: Ping timeout: 276 seconds | ||
| [2012/01/12 13:42:05] @ jeremy_ is now known as jeremy | ||
| [2012/01/12 13:42:05] @ Quit: HarrisonZhu: Quit: Leaving. | ||
| [2012/01/12 13:42:13] @ Quit: ells: Quit: ells | ||
| [2012/01/12 13:42:15] <gnat42> has anyone here run puppet from a NetworkManager dispatch script? | ||
| [2012/01/12 13:42:27] <gnat42> when I try to run puppet agent from the command line as root I get an error about the pid file | ||
| [2012/01/12 13:43:00] <mutante> how do you run it? running it manually as puppetd -tv all the time | ||
| [2012/01/12 13:43:12] @ Quit: jeremy__: Ping timeout: 252 seconds | ||
| [2012/01/12 13:44:09] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:44:11] @ Quit: jeremy_: Changing host | ||
| [2012/01/12 13:44:11] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:44:32] @ Quit: andreaturli: Read error: Operation timed out | ||
| [2012/01/12 13:45:15] @ Quit: jeremy: Read error: Operation timed out | ||
| [2012/01/12 13:45:15] @ jeremy_ is now known as jeremy | ||
| [2012/01/12 13:45:36] @ Quit: daysmen: Ping timeout: 240 seconds | ||
| [2012/01/12 13:46:08] <gnat42> mutante: I was running "puppet agent -o" | ||
| [2012/01/12 13:46:08] @ hfnix1 joined channel #puppet | ||
| [2012/01/12 13:46:15] <gnat42> but I guess puppetd -tv works? | ||
| [2012/01/12 13:46:30] <gnat42> since it seems to ignore my -o anyway and forks into the background | ||
| [2012/01/12 13:46:32] <Volcane> does the file exist? | ||
| [2012/01/12 13:46:38] <gnat42> thus causing it to create the agent.pid | ||
| [2012/01/12 13:46:41] <mutante> gnat42: i use puppetd -tv.. basically because somebody told me once and it works, yeah:) | ||
| [2012/01/12 13:46:44] <gnat42> and so on the next attempt it can't | ||
| [2012/01/12 13:46:53] @ and` joined channel #puppet | ||
| [2012/01/12 13:47:13] <Volcane> -o is 'daemonize and run once' | ||
| [2012/01/12 13:47:26] <Volcane> the daemonize bit makes a pid file | ||
| [2012/01/12 13:47:41] <Volcane> test adds an option to prevent daemonizing | ||
| [2012/01/12 13:47:41] <gnat42> it is? I figured onetime would me run once and exit | ||
| [2012/01/12 13:47:53] <miguelzinho> Volcane: this fpm tool is a miracle, thanks for the tip! | ||
| [2012/01/12 13:48:01] <Volcane> miguelzinho: kewl | ||
| [2012/01/12 13:48:05] @ danikov joined channel #puppet | ||
| [2012/01/12 13:48:16] <gnat42> Volcane: so should I be running puppetd -tv or is there a more appropriate puppet agent [options] to run on demand? | ||
| [2012/01/12 13:48:41] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:48:42] @ Quit: jeremy_: Changing host | ||
| [2012/01/12 13:48:42] @ jeremy_ joined channel #puppet | ||
| [2012/01/12 13:48:50] <Volcane> gnat42: does -tv work for you? | ||
| [2012/01/12 13:49:01] @ Quit: hfnix: Ping timeout: 240 seconds | ||
| [2012/01/12 13:49:25] <gnat42> I can try | ||
| [2012/01/12 13:49:40] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2012/01/12 13:49:48] @ bmahe joined channel #puppet | ||
| [2012/01/12 13:49:48] @ Quit: bmahe: Changing host | ||
| [2012/01/12 13:49:48] @ bmahe joined channel #puppet | ||
| [2012/01/12 13:49:50] @ the_ramink joined channel #puppet | ||
| [2012/01/12 13:49:50] <Volcane> anyway, --help shows you various options for daemonized, non daeminized etc | ||
| [2012/01/12 13:50:10] @ lwhalen joined channel #puppet | ||
| [2012/01/12 13:50:13] <gnat42> puppetd -tv works | ||
| [2012/01/12 13:51:21] @ hezekiah_ joined channel #puppet | ||
| [2012/01/12 13:51:41] <Volcane> -t runs it in the foreground so no pid being made | ||
| [2012/01/12 13:51:45] <mutante> some people think its confusing that -t = test isnt a dry-run but actually applies new config | ||
| [2012/01/12 13:51:52] @ Quit: jeremy: Ping timeout: 260 seconds | ||
| [2012/01/12 13:51:52] @ jeremy_ is now known as jeremy | ||
| [2012/01/12 13:51:52] <Volcane> mutante: yeah | ||
| [2012/01/12 13:52:33] <hezekiah_> I need to exclude a file definition in a class if another class is applied to a system. | ||
| [2012/01/12 13:52:39] <hezekiah_> I was trying if( !tagged('core::puppetsrv') && !tagged('puppet::master') ) | ||
| [2012/01/12 13:52:56] <hezekiah_> the core::puppetsrv class is passed in from the external node classifier | ||
| [2012/01/12 13:53:09] <hezekiah_> but it's not working. Am I taking the wrong approach? | ||
| [2012/01/12 13:53:28] <`mx> can you have puppet append to a file? | ||
| [2012/01/12 13:53:44] @ gabrtv joined channel #puppet | ||
| [2012/01/12 13:54:02] <gnat42> So one last question, I have setup based on http://www.puppetcookbook.com/posts/restart-a-service-when-a-file-changes.html, a rule for iptables as follows: http://fpaste.org/AYam/ | ||
| [2012/01/12 13:54:18] <gnat42> however when it applies, it doesn't reload/restart the service when the config changes | ||
| [2012/01/12 13:54:23] <gnat42> it just ensures it is running | ||
| [2012/01/12 13:54:32] <gnat42> since the file changes but the actual firewall rules don't get updated | ||
| [2012/01/12 13:54:38] <gnat42> what have I done wrong? | ||
| [2012/01/12 13:54:57] @ Quit: alfism: Quit: alfism | ||
| [2012/01/12 13:55:07] @ shadoi joined channel #puppet | ||
| [2012/01/12 13:56:04] <Volcane> gnat42: the file needs notify => Service["foo"] | ||
| [2012/01/12 13:56:29] <gnat42> ah what the hell... I had that in there originally! | ||
| [2012/01/12 13:57:37] <hezekiah_> how do I decide to do something in classA if the system also has classB? | ||
| [2012/01/12 13:58:38] @ Quit: fronlius: Quit: fronlius | ||
| [2012/01/12 13:59:16] @ aknapp joined channel #puppet | ||
| [2012/01/12 13:59:19] @ metcalfc joined channel #puppet | ||
| [2012/01/12 14:00:19] <joe-mac> what do you mean? | ||
| [2012/01/12 14:00:28] <joe-mac> they're disparate classes... | ||
| [2012/01/12 14:00:54] <hezekiah_> classA lays down 4 files. I should not lay one down if classB is included on the system | ||
| [2012/01/12 14:01:00] @ wildintellect left channel #puppet ("thanks again") | ||
| [2012/01/12 14:01:09] @ Surv_OT_Fittest joined channel #puppet | ||
| [2012/01/12 14:01:28] <hezekiah_> was trying something like if( !tagged('classB') ) { file { somefile…. } } | ||
| [2012/01/12 14:03:40] @ langworthy_ joined channel #puppet | ||
| [2012/01/12 14:04:02] @ Quit: langworthy: Read error: Connection reset by peer | ||
| [2012/01/12 14:04:02] @ langworthy_ is now known as langworthy | ||
| [2012/01/12 14:04:16] <hezekiah_> but that's not working | ||
| [2012/01/12 14:05:35] @ Quit: lwhalen: Ping timeout: 240 seconds | ||
| [2012/01/12 14:05:39] @ Quit: caaakeeey: Quit: Leaving | ||
| [2012/01/12 14:06:09] @ Quit: tomben: Read error: Connection reset by peer | ||
| [2012/01/12 14:06:16] @ Quit: bmahe: Quit: Leaving | ||
| [2012/01/12 14:06:59] @ tomben joined channel #puppet | ||
| [2012/01/12 14:07:01] @ smooth_p joined channel #puppet | ||
| [2012/01/12 14:09:19] <`mx> is there a way to append to a config file using puppet? | ||
| [2012/01/12 14:11:15] @ counterbeing joined channel #puppet | ||
| [2012/01/12 14:11:43] <gnat42> why does puppetd -tv return 2 on a successful run? | ||
| [2012/01/12 14:11:51] <gnat42> is there a list of return codes and what they mean someplace? | ||
| [2012/01/12 14:11:54] <gnat42> I would have expected a 0 | ||
| [2012/01/12 14:13:10] <kenperkins> is there a command line hook to add a statement to the system crontab? I can't figure out how to add something through puppet | ||
| [2012/01/12 14:14:01] <hezekiah_> is there a way to see the class list from inside a class? | ||
| [2012/01/12 14:14:06] @ Quit: joshcooper: Quit: joshcooper | ||
| [2012/01/12 14:14:37] <Volcane> kenperkins: why command line? | ||
| [2012/01/12 14:14:39] <Volcane> hezekiah_: no | ||
| [2012/01/12 14:14:50] <nlew> gnat42: -t implies --detailed-exit-codes, which you can see in the man page | ||
| [2012/01/12 14:14:53] <nlew> "Provide transaction information via exit codes. If this is enabled, an exit code of '2' means there were changes, and an exit code of '4' means that there were failures during the transaction. | ||
| [2012/01/12 14:15:02] <gnat42> nlew: thanks! | ||
| [2012/01/12 14:15:03] <kenperkins> more well formed question: how should I add something to the crontab through puppet | ||
| [2012/01/12 14:15:09] @ burk joined channel #puppet | ||
| [2012/01/12 14:15:10] @ straylyon joined channel #puppet | ||
| [2012/01/12 14:15:18] @ Quit: kermit: Quit: Leaving. | ||
| [2012/01/12 14:15:26] @ xe4l joined channel #puppet | ||
| [2012/01/12 14:15:47] <Volcane> kenperkins: using the cron type | ||
| [2012/01/12 14:16:00] * kenperkins doh. | ||
| [2012/01/12 14:16:20] @ Quit: lborda: Quit: Ex-Chat | ||
| [2012/01/12 14:17:16] @ Quit: daysmen_: Ping timeout: 240 seconds | ||
| [2012/01/12 14:18:15] @ Quit: ki0: Remote host closed the connection | ||
| [2012/01/12 14:18:15] <aknapp> hezekiah_: you can get the class list from a template: http://docs.puppetlabs.com/guides/templating.html (bottom of doc) | ||
| [2012/01/12 14:18:36] <Volcane> aknapp: its only the classes seen during the compile up to that point - its not complete | ||
| [2012/01/12 14:18:54] <gnat42> mutante: so I'm now running puppet agent --no-daemonize -o | ||
| [2012/01/12 14:19:06] <gnat42> which does roughly the same as puppetd -tv except returns 0 on success | ||
| [2012/01/12 14:19:11] @ lwhalen joined channel #puppet | ||
| [2012/01/12 14:19:15] <aknapp> Volcane: huh, didn't know that. thanks. | ||
| [2012/01/12 14:19:36] @ kelseyhightower joined channel #puppet | ||
| [2012/01/12 14:19:36] <gnat42> and all output goes to the logs instead of console (though the puppetd seemed to do both) | ||
| [2012/01/12 14:19:51] <Volcane> aknapp: or if you use an ENC it will include all the classes the ENC said should be included | ||
| [2012/01/12 14:20:07] <Volcane> aknapp: but not ones those classes include etc | ||
| [2012/01/12 14:20:16] <mutante> gnat42: thanks for info | ||
| [2012/01/12 14:20:21] <gnat42> np | ||
| [2012/01/12 14:20:24] <gnat42> thanks everyone for the help | ||
| [2012/01/12 14:20:50] <aknapp> Volcane: gotcha. | ||
| [2012/01/12 14:21:06] @ lborda joined channel #puppet | ||
| [2012/01/12 14:22:19] @ smooth_p_ joined channel #puppet | ||
| [2012/01/12 14:24:05] @ Quit: smooth_p: Ping timeout: 252 seconds | ||
| [2012/01/12 14:24:51] @ ghg joined channel #puppet | ||
| [2012/01/12 14:25:21] @ joshcooper joined channel #puppet | ||
| [2012/01/12 14:26:31] @ ali3n0 joined channel #puppet | ||
| [2012/01/12 14:30:45] <burk> I'm trying to run puppet on a ipv6-only node, but when it sees that puppetmaster is dual-stack, it fails with "Network is unreachable" because it doesn't have an ipv4 address itself | ||
| [2012/01/12 14:30:49] <burk> any clues? | ||
| [2012/01/12 14:31:00] @ straylyon left channel #puppet () | ||
| [2012/01/12 14:31:56] <burk> if I add an ipv6-only AAAA to the puppetmaster (lets say puppet6) it can connect, but the certnames doesn't match | ||
| [2012/01/12 14:33:55] @ Quit: luckman212: Remote host closed the connection | ||
| [2012/01/12 14:35:35] <agaffney> is there some tool out there for reformatting puppet manifests to match the style guide? | ||
| [2012/01/12 14:36:05] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2012/01/12 14:36:16] <agaffney> if not, I'm going to have to write a basic one to clean up my puppet tree | ||
| [2012/01/12 14:36:33] @ Quit: nated: Ping timeout: 252 seconds | ||
| [2012/01/12 14:36:56] @ Quit: karsten: Changing host | ||
| [2012/01/12 14:36:56] @ karsten joined channel #puppet | ||
| [2012/01/12 14:37:19] @ Quit: omry_: Read error: Connection timed out | ||
| [2012/01/12 14:37:26] @ nated joined channel #puppet | ||
| [2012/01/12 14:37:34] @ Quit: nated: Changing host | ||
| [2012/01/12 14:37:34] @ nated joined channel #puppet | ||
| [2012/01/12 14:37:42] <karsten> Where's a good place to find overview docs for puppet 0.25 or thereabouts? | ||
| [2012/01/12 14:38:02] @ omry_ joined channel #puppet | ||
| [2012/01/12 14:39:38] @ dim0 joined channel #puppet | ||
| [2012/01/12 14:42:00] @ benjiedmund joined channel #puppet | ||
| [2012/01/12 14:42:24] <Volcane> why would you want docs for about 20 to 30 releases old software? | ||
| [2012/01/12 14:43:27] <karsten> Volcane: Because that's what my production site is using. | ||
| [2012/01/12 14:44:12] <gnat42> Volcane: so I added the notify => Service["foo"] and can see now in the logs that when it gets 'refreshed' but the iptable rules still don't reflect the added rule | ||
| [2012/01/12 14:44:48] <aknapp> agaffney: i'm using this right now: https://github.com/rodjek/puppet-lint | ||
| [2012/01/12 14:44:52] <aknapp> it works pretty well | ||
| [2012/01/12 14:45:13] <gnat42> http://fpaste.org/9ixa/ | ||
| [2012/01/12 14:45:22] @ Quit: larstobi: Quit: Leaving. | ||
| [2012/01/12 14:45:22] <pdtpatrick_> Question -- I'm getting the following errors while trying to run db:create | ||
| [2012/01/12 14:45:26] <pdtpatrick_> http://paste.pocoo.org/show/533936/ | ||
| [2012/01/12 14:45:37] <Volcane> gnat42: and you confirmed its there and when you restart the service by hand it works? | ||
| [2012/01/12 14:45:46] <gnat42> Volcane: correct | ||
| [2012/01/12 14:45:59] <gnat42> I also see Triggered 'refresh' when it does notice the file has changed | ||
| [2012/01/12 14:46:00] <hezekiah_> so tagged('classA') does not work ? | ||
| [2012/01/12 14:46:13] <gnat42> but somehow the refresh isn't reloading the iptable rules | ||
| [2012/01/12 14:46:17] <Volcane> gnat42: weird, should work then | ||
| [2012/01/12 14:46:18] <hezekiah_> I'm confused about why I cannot used tagged(). I don't understand tagged() | ||
| [2012/01/12 14:46:35] @ Quit: smooth_p_: Ping timeout: 240 seconds | ||
| [2012/01/12 14:46:47] <gepetto> ::redmine:: Wiki edit: Road_map (#10) @ http://projects.puppetlabs.com/projects/puppet/wiki/Road_map?version=10 (by Daniel Pittman) | ||
| [2012/01/12 14:47:56] @ Quit: hfnix1: Quit: Leaving. | ||
| [2012/01/12 14:48:02] @ hfnix joined channel #puppet | ||
| [2012/01/12 14:48:22] <gnat42> Volcane: do you happen to know if it calls restart or reload on the service? or how I can see what it is actually doing? | ||
| [2012/01/12 14:48:29] <gnat42> if I call service iptables restart it works | ||
| [2012/01/12 14:48:41] @ marczak joined channel #puppet | ||
| [2012/01/12 14:48:42] <gnat42> service iptables reload (which isn't a valid target) fails though it seems to be trying to do something | ||
| [2012/01/12 14:48:49] <Volcane> karsten: try http://devco.net/rip/puppet/historical/ | ||
| [2012/01/12 14:49:03] <Volcane> gnat42: it should restart unless you tell it otherwise | ||
| [2012/01/12 14:49:28] <gnat42> Volcane: I haven't specifically told it anything - how can I find out what it runs? | ||
| [2012/01/12 14:49:35] <gnat42> is there a verbose logging option? | ||
| [2012/01/12 14:49:52] <hezekiah_> ok. I want to make my puppet master (which is also a client) not manage the puppet.conf file, but I still want my puppet clients to manage the puppet.conf | ||
| [2012/01/12 14:49:56] <Volcane> gnat42: should be doing restart then | ||
| [2012/01/12 14:50:01] <hezekiah_> is that possible? | ||
| [2012/01/12 14:50:11] <gepetto> ::redmine:: Wiki edit: Road_map (#11) @ http://projects.puppetlabs.com/projects/puppet/wiki/Road_map?version=11 (by Daniel Pittman) | ||
| [2012/01/12 14:51:42] <agaffney> aknapp: I'm aware of puppet-lint, but I want something that will actually make the changes | ||
| [2012/01/12 14:51:56] <agaffney> I have a *lot* of cleanup to do, and I don't want to do it all by hand or with naive sed statements | ||
| [2012/01/12 14:52:08] @ samkottler joined channel #puppet | ||
| [2012/01/12 14:52:15] <aknapp> agaffney: haha, yeah, i bit the bullet and just made the changes | ||
| [2012/01/12 14:52:18] <the_ramink> hezekiah_: are you running your Puppet master under passenger or just as the puppetmasterd script? | ||
| [2012/01/12 14:52:20] <aknapp> took me awhile :) | ||
| [2012/01/12 14:53:10] <hezekiah_> under unicorn | ||
| [2012/01/12 14:53:50] <aknapp> the_ramink: i'm running it under passenger | ||
| [2012/01/12 14:54:16] <hezekiah_> I am passing the class list in from an external node classifier. but apparently, there's not way for me to see that | ||
| [2012/01/12 14:54:43] @ Quit: ukd1: Quit: Computer has gone to sleep | ||
| [2012/01/12 14:54:43] @ Holocaine joined channel #puppet | ||
| [2012/01/12 14:54:44] @ Quit: Holocaine: Changing host | ||
| [2012/01/12 14:54:44] @ Holocaine joined channel #puppet | ||
| [2012/01/12 14:54:49] <the_ramink> hezekiah_: perfect. Simplest solution might be to point to a different config file in your config.ru that you manage seperately, ARGV << "--config=/my/path/to/puppet/puppetmaster.conf" | ||
| [2012/01/12 14:54:55] @ ukd1 joined channel #puppet | ||
| [2012/01/12 14:55:06] <hezekiah_> ahhh | ||
| [2012/01/12 14:55:21] <hezekiah_> yeah. duh | ||
| [2012/01/12 14:55:21] <hezekiah_> thx | ||
| [2012/01/12 14:56:11] @ Quit: Surv_OT_Fittest: Ping timeout: 276 seconds | ||
| [2012/01/12 14:57:44] <gepetto> ::redmine:: Wiki edit: Road_map (#12) @ http://projects.puppetlabs.com/projects/puppet/wiki/Road_map?version=12 (by Daniel Pittman) | ||
| [2012/01/12 14:57:49] @ Quit: Holocaine: Client Quit | ||
| [2012/01/12 14:58:56] @ fronlius joined channel #puppet | ||
| [2012/01/12 14:59:01] @ Quit: ukd1: Ping timeout: 240 seconds | ||
| [2012/01/12 14:59:36] <pdtpatrick_> Can someone please help with this | ||
| [2012/01/12 14:59:37] <pdtpatrick_> http://paste.pocoo.org/show/533942/ | ||
| [2012/01/12 14:59:39] @ madhatter joined channel #puppet | ||
| [2012/01/12 14:59:55] @ Quit: mcarpent: Ping timeout: 240 seconds | ||
| [2012/01/12 15:00:05] @ madhatter is now known as Guest86836 | ||
| [2012/01/12 15:02:05] <Volcane> pdtpatrick_: install rdoc | ||
| [2012/01/12 15:02:06] @ Quit: marczak: Read error: Connection reset by peer | ||
| [2012/01/12 15:02:43] @ mauve_ joined channel #puppet | ||
| [2012/01/12 15:04:32] @ Quit: langworthy: Read error: No route to host | ||
| [2012/01/12 15:05:01] @ langworthy joined channel #puppet | ||
| [2012/01/12 15:05:10] @ Quit: fronlius: Ping timeout: 248 seconds | ||
| [2012/01/12 15:05:21] @ marczak joined channel #puppet | ||
| [2012/01/12 15:06:57] @ luckman212 joined channel #puppet | ||
| [2012/01/12 15:07:43] @ Quit: Niarf: Quit: Leaving. | ||
| [2012/01/12 15:08:43] @ ProfFalken joined channel #puppet | ||
| [2012/01/12 15:08:52] <ProfFalken> evening all... :) | ||
| [2012/01/12 15:09:00] @ Quit: rocket: Read error: Connection reset by peer | ||
| [2012/01/12 15:09:38] <ProfFalken> anyone able to help with hashes and templates? | ||
| [2012/01/12 15:09:43] @ fredden joined channel #puppet | ||
| [2012/01/12 15:11:43] @ Quit: j^2: Remote host closed the connection | ||
| [2012/01/12 15:13:25] <ashp> Anyone here ever built, found, or used, anything that can collect stats from machines on what patches are outstanding and centrally report/collate them? | ||
| [2012/01/12 15:14:17] <ProfFalken> ashp: you might be able to write a plugin for http://nventory.sourceforge.net/ | ||
| [2012/01/12 15:14:34] <ashp> looking, thanks | ||
| [2012/01/12 15:15:15] <misc> there is spacewalk/satelite, for rpm distro | ||
| [2012/01/12 15:15:35] <ashp> yeah, we're definitely not using spacewalk/satellite | ||
| [2012/01/12 15:15:39] <ashp> we're using pulp for our repos | ||
| [2012/01/12 15:15:47] <ashp> and we're not going to move backwards to those horrible apps :) | ||
| [2012/01/12 15:16:09] @ Quit: jpalmer: Ping timeout: 240 seconds | ||
| [2012/01/12 15:16:10] @ j^2 joined channel #puppet | ||
| [2012/01/12 15:16:29] <Volcane> i wrote something *ages* ago that mails in to a central box daily and produce a web report | ||
| [2012/01/12 15:16:42] <Volcane> and u can write plugins for different package systems | ||
| [2012/01/12 15:16:49] <Volcane> but its not really good for many machines | ||
| [2012/01/12 15:17:07] <ProfFalken> Volcane: yeah, because the API for yum is *really* well documented... ;) | ||
| [2012/01/12 15:17:25] <ProfFalken> actually, that reminds me... | ||
| [2012/01/12 15:17:28] <ProfFalken> hang on... | ||
| [2012/01/12 15:17:36] * ProfFalken digs out a link from months ago | ||
| [2012/01/12 15:17:51] <ashp> Volcane: I was trying to faff with the output of mcollective's checkupdates but it wasn't working too well for parsing and we're not ready to go to 1.3 yet | ||
| [2012/01/12 15:18:09] <ashp> Volcane: even that wouldn't be easy to collate and report off, I could probably get checkupdates into csv and hand that off to audits | ||
| [2012/01/12 15:18:26] <ashp> but I'd prefer to go a step further and get a decent overview per box, like the rhn output but from all yum updates as that only shows you rhn patches.. | ||
| [2012/01/12 15:18:30] <ashp> None of the solutions out there are ideal | ||
| [2012/01/12 15:18:33] <Volcane> ashp: yes, you're never supposed to parse the output instead of dealing with the data - but you know this | ||
| [2012/01/12 15:19:12] <ashp> Volcane: Yeah, I just don't really have the ambition/time to tackle trying to get the data into a usable format because I'm running up against a hard time limit for getting this auditing stuff done and I still have another ~50 items on the list :) | ||
| [2012/01/12 15:19:30] <ashp> I might try http://pakiti.sourceforge.net/ as a workaround for this audit to be replaced in the future | ||
| [2012/01/12 15:20:03] <gepetto> ::redmine:: Wiki edit: Raid_Fact_Patterns (#3) @ http://projects.puppetlabs.com/projects/puppet/wiki/Raid_Fact_Patterns?version=3 (by Brian Hourigan) | ||
| [2012/01/12 15:20:36] <ProfFalken> ashp: https://github.com/deanwilson/yum-transaction-json <- unixdaemon's code which may give you a good place to start? | ||
| [2012/01/12 15:21:02] * ProfFalken was planning to write something for Edison that would do exactly that but gave up after reading the docs on the YUM API | ||
| [2012/01/12 15:21:04] @ zanefactory joined channel #puppet | ||
| [2012/01/12 15:21:12] <ashp> ProfFalken: Will look, see if I can kludge something. | ||
| [2012/01/12 15:21:35] <ashp> mcollective outputs the data I need, I just need to get to grips with how to extend that | ||
| [2012/01/12 15:21:38] @ paxos joined channel #puppet | ||
| [2012/01/12 15:21:47] @ mbrannigan joined channel #puppet | ||
| [2012/01/12 15:22:43] @ Jurjan_ joined channel #puppet | ||
| [2012/01/12 15:23:14] @ Quit: paxos: Client Quit | ||
| [2012/01/12 15:23:30] @ paxos joined channel #puppet | ||
| [2012/01/12 15:23:36] <mbrannigan> design question: if i have a module called iptables that has a different config for each environment, would i create a $confdir/modules/iptables/manifests/${environment}/config.pp for each environment and include based on enviroment, or ... create a $confdir/environments/${environment}/modules/iptables for each environment and switch based on --environment? | ||
| [2012/01/12 15:23:50] @ Quit: paxos: Client Quit | ||
| [2012/01/12 15:24:24] <mbrannigan> i see the benefit of having everything for an environment under $confdir/environments/${environment} as a one-stop-shop , but i'm concerned about code duplication | ||
| [2012/01/12 15:24:51] @ Quit: joe-mac: Remote host closed the connection | ||
| [2012/01/12 15:25:31] @ Quit: clayb: Quit: Leaving. | ||
| [2012/01/12 15:26:08] <mbrannigan> alternatively, in a module in $confdir/modules, can it refer to files / .pp files under $confdir/environments/$environment? | ||
| [2012/01/12 15:26:24] <Volcane> ashp: its not like its hard or anything http://www.pastie.org/3174302 | ||
| [2012/01/12 15:26:46] <Volcane> 11 lines to gather updates for the whole network... | ||
| [2012/01/12 15:27:32] @ Quit: dim0: Quit: This computer has gone to sleep | ||
| [2012/01/12 15:29:10] @ jpalmer joined channel #puppet | ||
| [2012/01/12 15:29:22] <ProfFalken> ashp: I hate it when he does that... :P | ||
| [2012/01/12 15:29:44] @ hezekiah_ left channel #puppet () | ||
| [2012/01/12 15:30:35] <ashp> just 11 lines? jesus christ | ||
| [2012/01/12 15:30:36] <Volcane> and obviously easy to make your csv from that | ||
| [2012/01/12 15:30:38] @ Quit: ali3n0: Quit: Leaving. | ||
| [2012/01/12 15:30:44] <ashp> I really need to use this to force my coworkers to get on board with mcollective | ||
| [2012/01/12 15:30:49] <ashp> people have asked me what it's even useful for | ||
| [2012/01/12 15:31:31] @ paxos joined channel #puppet | ||
| [2012/01/12 15:31:44] <ProfFalken> ashp: I've found quite often that with stuff like this you have to implement it in a sneaky way and then when they ask you to solve an issue make sure you use MC to do it... :) | ||
| [2012/01/12 15:31:51] <ProfFalken> (worked for me at the last place... ) | ||
| [2012/01/12 15:32:08] <ashp> we have a ton of things it's suited for | ||
| [2012/01/12 15:32:09] @ Quit: Guest86836: Read error: Connection reset by peer | ||
| [2012/01/12 15:32:12] @ Quit: tomben: Read error: Connection reset by peer | ||
| [2012/01/12 15:32:17] @ Guest86836 joined channel #puppet | ||
| [2012/01/12 15:32:17] <ashp> because a large part of our business involves email | ||
| [2012/01/12 15:32:31] <ashp> so things like volcane's exim control panel thing would map directly to the kinds of things we could do | ||
| [2012/01/12 15:32:39] <ProfFalken> Whilst I'm here, is it possible to have nested arrays/hashes defined in one module and iterate through them in an ERB template in another module? | ||
| [2012/01/12 15:32:58] <ProfFalken> ashp: that's what sold MC to me when I first met Volcane @UKUUG a few years back | ||
| [2012/01/12 15:32:59] @ tomben joined channel #puppet | ||
| [2012/01/12 15:33:47] <ashp> ProfFalken: I've always been unhappy with my terrible coding skills as it holds me back from some of the things I'd like to do. | ||
| [2012/01/12 15:34:02] <ashp> Every time I try to focus on that I get sidetracked with the other 90% of what I have to do for work | ||
| [2012/01/12 15:34:34] <ProfFalken> lol, just accept that you're never going to be an excellent coder and write the best you can. People like Volcane and UnixDaemon are often more than happy to point out where you're going wrong... :) | ||
| [2012/01/12 15:34:40] @ Quit: gabrtv: Quit: gabrtv | ||
| [2012/01/12 15:34:45] @ clayb joined channel #puppet | ||
| [2012/01/12 15:34:50] @ worstadmin joined channel #puppet | ||
| [2012/01/12 15:34:55] <Volcane> MC is specifically designed for you though ashp its only slightly more complex than shell coding to write agent and clients, really few concepts to master if all you want is to gther and exchange data | ||
| [2012/01/12 15:35:05] @ Djelibeybi joined channel #puppet | ||
| [2012/01/12 15:35:24] <ashp> Volcane: I think I'm going to dedicate the rest of my afternoon to catching up with the current docs | ||
| [2012/01/12 15:35:31] <ashp> as it's been well over a year or so since I did | ||
| [2012/01/12 15:36:05] <Volcane> yah no a lot has changed - I'll have more time now to get 2.0 out the door till then though its what you're familiar with | ||
| [2012/01/12 15:36:29] <ashp> I assume 2.0 is a massive change? | ||
| [2012/01/12 15:36:42] <Volcane> in abilities, not so much in end user visible | ||
| [2012/01/12 15:36:49] <Volcane> but if u were hacking real solutions 2.0 is a big deal | ||
| [2012/01/12 15:38:04] <ashp> Hopefully my coworker who "gets" mcollective will be pleased with 2.0. I have an entire one. He's in here somewhere which explains why things like mcollective don't make him cry | ||
| [2012/01/12 15:43:21] @ Quit: Jurjan_: Ping timeout: 258 seconds | ||
| [2012/01/12 15:46:13] <ashp> Volcane: In that code you wrote I can see that c.config = /etc/mcollective/client.cfg, is there something else I have to add to get it to figure out the right plugin.ssl_client_private option? | ||
| [2012/01/12 15:46:54] <ashp> It looks like it picked up the rest of the client.cfg stuff | ||
| [2012/01/12 15:46:56] <Volcane> no should just read that or ~/.mcollective which ever it finds | ||
| [2012/01/12 15:47:06] <ashp> I do see @ssl=false in the object | ||
| [2012/01/12 15:47:17] <ashp> When I run it I get: | ||
| [2012/01/12 15:47:17] <ashp> /usr/libexec/mcollective/mcollective/security/ssl.rb:221:in `client_private_key': No plugin.ssl_client_private configuration option specified (RuntimeError) | ||
| [2012/01/12 15:47:32] <Volcane> nod need to set it in the configf files | ||
| [2012/01/12 15:47:34] <ashp> So I guess that's the server.cfg stuff, not client.cfg | ||
| [2012/01/12 15:47:37] <ashp> It's set in the system ones | ||
| [2012/01/12 15:47:42] <ashp> plugin.ssl_server_private = /etc/mcollective/ssl/mcollective-private.pem | ||
| [2012/01/12 15:47:54] <ashp> Maybe I can just make a ~/.mcollective and drop this in | ||
| [2012/01/12 15:48:32] <Volcane> it doesnt merge them though so dupe it into your home | ||
| [2012/01/12 15:48:51] <ashp> oh wait, I'm setting just env variables normally | ||
| [2012/01/12 15:49:25] @ rismoney joined channel #puppet | ||
| [2012/01/12 15:49:27] <ashp> got it, I think | ||
| [2012/01/12 15:49:36] <ashp> holy moly, it's a christmas miracle | ||
| [2012/01/12 15:49:40] <ashp> (just a little late) | ||
| [2012/01/12 15:50:39] @ rjd_ left channel #puppet () | ||
| [2012/01/12 15:51:32] <rismoney> I am trying to run puppet on Windows. 2 issues - if I add remove class statement from manifest it takes 90 seconds to execute a file resource operation but it works. When I remove it, its says finished catalog run, in ~1 second, but doesn't actually do anything. | ||
| [2012/01/12 15:52:44] <ozy_work> Djelibeybi: hey -- you around? | ||
| [2012/01/12 15:52:52] <Djelibeybi> ozy_work: yup | ||
| [2012/01/12 15:53:14] <ozy_work> just wanted to let you know that your webpage is still relevant -- and mostly worked for me | ||
| [2012/01/12 15:53:23] <ozy_work> we can now communicate with puppet to an oracle DB | ||
| [2012/01/12 15:53:50] <ozy_work> it still doesnt work, but it's not the part you wrote that matters | ||
| [2012/01/12 15:54:19] <ashp> puppet into oracle, how horribly brave | ||
| [2012/01/12 15:54:45] <ozy_work> ashp: how horribly required by policy ;-) | ||
| [2012/01/12 15:55:01] <ashp> I'm trying my hardest to keep our garbage oracle nonsense out of puppet | ||
| [2012/01/12 15:55:08] <rismoney> anyone using puppet on Windows [braver?] | ||
| [2012/01/12 15:55:09] <ashp> I made a module to deploy oracle, that was enough for me | ||
| [2012/01/12 15:55:30] <ashp> Volcane: One last question - is there a way to adjust the timeout? It takes forever to rum yum checkupdates sometimes and it expired mid-run | ||
| [2012/01/12 15:55:31] <dpittman> rismoney: It should work just the same as on Unix; the exact same manifests would work, modulo types and providers being available. | ||
| [2012/01/12 15:55:34] <ozy_work> it's far easier to try to get it into oracle, fail and fall back to mysql then it is to go with mysql in the first place | ||
| [2012/01/12 15:55:52] <ashp> ozy_work: ahhh, got you ;) | ||
| [2012/01/12 15:56:03] <Volcane> ashp: if u install the ddl files on the client you should get i think over a minute | ||
| [2012/01/12 15:56:10] <ozy_work> ashp: if it works in oracle, so much the better | ||
| [2012/01/12 15:56:50] <rismoney> dpittman - agreed, but puppet apply is timing out 90 seconds before actually doing anything. | ||
| [2012/01/12 15:56:53] <ashp> Volcane: Oh, it's set in there? Ok, let me look | ||
| [2012/01/12 15:57:05] <Djelibeybi> ozy_work: can you comment on the blog post with additional info? | ||
| [2012/01/12 15:57:10] <Djelibeybi> ozy_work: so that it's published for others. | ||
| [2012/01/12 15:57:22] <ozy_work> sure can | ||
| [2012/01/12 15:57:27] <dpittman> rismoney: I meant more, that if the class with the resource results in nothing happening, something else is wrong. If the class is applied then the resource should apply, just like Unix. | ||
| [2012/01/12 15:57:32] <ozy_work> planning on it -- asuming we get the final bugs ironed out | ||
| [2012/01/12 15:57:36] <dpittman> rismoney: I would guess the timeout is inside facter. | ||
| [2012/01/12 15:57:36] <ashp> Volcane: Got it, while I experiment I'll crank it and finetune as time goes on :) | ||
| [2012/01/12 15:57:45] <Djelibeybi> ozy_work: what's not working, btw? | ||
| [2012/01/12 15:58:05] @ IndyMichaelB_ joined channel #puppet | ||
| [2012/01/12 15:58:08] <ozy_work> http://pastebin.com/b4V0S88h <-- that | ||
| [2012/01/12 15:58:23] <ozy_work> when we try to connect to puppetmaster, that error appears | ||
| [2012/01/12 15:58:37] <Djelibeybi> ozy_work: looks like Puppet has been updated but the new SQL isn't Oracle-friendly | ||
| [2012/01/12 15:58:51] <Djelibeybi> ozy_work: we had to fix the SQL when we first added Oracle support, but new SQL hasn't had the same treatment. :( | ||
| [2012/01/12 15:58:56] <ozy_work> I have tried to update ruby to a newer version (and thus rails, it's deps, etc) but that didnt help | ||
| [2012/01/12 15:59:03] <ozy_work> hmmm | ||
| [2012/01/12 15:59:08] <Djelibeybi> ozy_work: it's not a Ruby error | ||
| [2012/01/12 15:59:10] <Djelibeybi> it's a SQL errror | ||
| [2012/01/12 15:59:15] <Djelibeybi> OCIError: ORA-00907: missing RIGHT parenthesis | ||
| [2012/01/12 15:59:24] <ozy_work> do you know what files you had t edit? I saw your comments in schema.rb | ||
| [2012/01/12 15:59:29] <ozy_work> oh | ||
| [2012/01/12 15:59:33] <ozy_work> look closely at the error | ||
| [2012/01/12 15:59:43] <ozy_work> NUMBER(38)(38)(38) | ||
| [2012/01/12 15:59:54] <ozy_work> you remove the extra (38) and you can run that sql by hand | ||
| [2012/01/12 15:59:57] @ Quit: IndyMichaelB: Ping timeout: 240 seconds | ||
| [2012/01/12 15:59:57] @ IndyMichaelB_ is now known as IndyMichaelB | ||
| [2012/01/12 15:59:57] <ozy_work> just fine | ||
| [2012/01/12 16:00:00] <Djelibeybi> Ah | ||
| [2012/01/12 16:00:03] <Djelibeybi> Weird | ||
| [2012/01/12 16:00:08] <Djelibeybi> Raise it as a Puppet bug, I reckon | ||
| [2012/01/12 16:00:11] <ozy_work> every time you run puppet, it adds more of the extra parts | ||
| [2012/01/12 16:00:15] <Djelibeybi> lol | ||
| [2012/01/12 16:00:29] <Djelibeybi> Hilarious | ||
| [2012/01/12 16:00:31] <ozy_work> I was looking into that, and saw the IRC link, ad thought I would swing by here | ||
| [2012/01/12 16:00:36] <ozy_work> look at line 9 | ||
| [2012/01/12 16:00:41] <ozy_work> compared to 2 | ||
| [2012/01/12 16:00:42] @ Quit: natewalck: Quit: Outta here | ||
| [2012/01/12 16:00:46] @ Niarf joined channel #puppet | ||
| [2012/01/12 16:00:51] <Djelibeybi> ozy_work: of what? | ||
| [2012/01/12 16:00:56] <ozy_work> the pastebin | ||
| [2012/01/12 16:01:05] <Djelibeybi> Oh, I see | ||
| [2012/01/12 16:01:11] <Djelibeybi> yeah, Puppet bug. Not building the SQL properly | ||
| [2012/01/12 16:01:25] <ozy_work> ok | ||
| [2012/01/12 16:02:55] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2012/01/12 16:03:55] <ozy_work> i'm guessing this will not get a high priority | ||
| [2012/01/12 16:03:57] <ozy_work> lol | ||
| [2012/01/12 16:04:31] @ Quit: langworthy: Read error: Connection reset by peer | ||
| [2012/01/12 16:05:21] @ langworthy joined channel #puppet | ||
| [2012/01/12 16:05:29] <Djelibeybi> I dunno. It's a very odd bug. | ||
| [2012/01/12 16:05:57] <ozy_work> it's also a small user-share | ||
| [2012/01/12 16:06:18] <ozy_work> since it appears not many users use this combination | ||
| [2012/01/12 16:06:35] <Djelibeybi> True | ||
| [2012/01/12 16:07:03] @ bmahe joined channel #puppet | ||
| [2012/01/12 16:07:04] @ Quit: bmahe: Changing host | ||
| [2012/01/12 16:07:04] @ bmahe joined channel #puppet | ||
| [2012/01/12 16:07:17] @ Quit: Guest86836: Ping timeout: 240 seconds | ||
| [2012/01/12 16:10:44] @ Quit: swygue: Ping timeout: 244 seconds | ||
| [2012/01/12 16:15:44] <mbrannigan> design question: if i have a module called iptables that has a different config for each environment, would i create a $confdir/modules/iptables/manifests/${environment}/config.pp for each environment and include based on enviroment, or ... create a $confdir/environments/${environment}/modules/iptables for each environment and switch based on --environment | ||
| [2012/01/12 16:16:29] @ Quit: ProfFalken: Quit: leaving | ||
| [2012/01/12 16:16:36] @ Holocaine joined channel #puppet | ||
| [2012/01/12 16:17:03] <rismoney> ok, the 90 second delay was because the Windows owner & group needed to be in hostname\username syntax | ||
| [2012/01/12 16:18:12] @ Quit: st33v: Read error: No route to host | ||
| [2012/01/12 16:18:37] @ Quit: cliff-hm: Ping timeout: 240 seconds | ||
| [2012/01/12 16:19:25] @ st33v joined channel #puppet | ||
| [2012/01/12 16:19:55] @ Guest86836 joined channel #puppet | ||
| [2012/01/12 16:22:55] <the_ramink> mbrannigan: depends on the how large the differences are and how your update your Puppet environments. In my case I try to keep env differences at the template level because I'll push to environment stage and then promote the same code to prod. If you have larger changes loading a module::environment class seems pretty clean and should keep your from forking modules per environment. | ||
| [2012/01/12 16:23:28] <rismoney> any reason why adding class blah { stuff } causes the pp to not do anything? | ||
| [2012/01/12 16:24:07] @ burk left channel #puppet () | ||
| [2012/01/12 16:25:24] @ n8 joined channel #puppet | ||
| [2012/01/12 16:26:51] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2012/01/12 16:26:53] <ozy_work> any chance I can get the schema information from a DB tied to puppet 2.6.12? | ||
| [2012/01/12 16:27:14] @ Wolfspyre joined channel #puppet | ||
| [2012/01/12 16:27:36] @ dwalu joined channel #puppet | ||
| [2012/01/12 16:27:56] <ashp> Volcane: I should have known that timeout was a symptom. | ||
| [2012/01/12 16:28:05] <ashp> Volcane: The dns server I was relying on has died and nobody even knows what it is. :/ | ||
| [2012/01/12 16:28:20] <ozy_work> my DBA tells me the term I am looking for is ERD | ||
| [2012/01/12 16:29:48] @ zanefactory_ joined channel #puppet | ||
| [2012/01/12 16:29:49] @ Quit: zanefactory: Read error: Connection reset by peer | ||
| [2012/01/12 16:29:49] @ zanefactory_ is now known as zanefactory | ||
| [2012/01/12 16:30:14] @ littleidea joined channel #puppet | ||
| [2012/01/12 16:30:46] <mbrannigan> the_ramink, so, you're saying to load modules into the $confdir/environments/${environment}/modules directory and migrate them up from dev as we test/deploy new changes? | ||
| [2012/01/12 16:31:47] @ Quit: Aleks3Y: Remote host closed the connection | ||
| [2012/01/12 16:32:42] @ Quit: mlmillion: Quit: Lost terminal | ||
| [2012/01/12 16:32:51] <denstark> Hello puppet friends! I'm curious, will I be able to do something like $var = [ "file1", "file2" ] then file {$var: etc } | ||
| [2012/01/12 16:33:14] <denstark> i'm wondering if source => 'puppet:///modules/module_name/', will work | ||
| [2012/01/12 16:33:20] <denstark> instead of specifiying each file | ||
| [2012/01/12 16:34:08] @ drewrm joined channel #puppet | ||
| [2012/01/12 16:34:43] <rismoney> should this work- | ||
| [2012/01/12 16:34:52] <rismoney> class blah2 { | ||
| [2012/01/12 16:35:01] <rismoney> notify {"blah2":} | ||
| [2012/01/12 16:35:01] <rismoney> } | ||
| [2012/01/12 16:35:25] <rismoney> I am then executing puppet apply blah2.pp (the above contents) | ||
| [2012/01/12 16:37:20] @ Quit: IndyMichaelB: Remote host closed the connection | ||
| [2012/01/12 16:37:26] <the_ramink> mbrannigan: that's the way I work, but I'm the only sysadmin and Puppet user with less than a 100 nodes. | ||
| [2012/01/12 16:37:41] @ IndyMichaelB joined channel #puppet | ||
| [2012/01/12 16:37:41] @ Quit: ^conner: Ping timeout: 240 seconds | ||
| [2012/01/12 16:37:59] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2012/01/12 16:40:31] <mbrannigan> the_ramink, thanks! makes sense to me. Most of the differences between environments for a particular server are simply things like names of admin accounts, sudo permission profiles, iptables configs, ip address ranges, etc. | ||
| [2012/01/12 16:40:41] <the_ramink> mbrannigan: what it looked like you were talking about was having a lot of environment specific code seems like the start of a maintenance problem. If you can let Puppet conditions do the work for you, you won't have to look through 3-4 environment files to make one change. At the simplest level I do stuff like this. http://pastie.org/3174700 | ||
| [2012/01/12 16:41:36] @ miche joined channel #puppet | ||
| [2012/01/12 16:41:47] <the_ramink> mbrannigan: also if you haven't picked up Pro Puppet there's at least a full chapter on environments and src control which addresses some of your questions. | ||
| [2012/01/12 16:41:53] <rismoney> why would a manifest work without a class {} but not work with it? | ||
| [2012/01/12 16:42:00] <mbrannigan> cool | ||
| [2012/01/12 16:43:41] @ nomadtacos joined channel #puppet | ||
| [2012/01/12 16:44:23] <marksteele> if I have a file defined in a path that doesn't exist, will puppet create the path or error out? | ||
| [2012/01/12 16:45:10] @ ssvarma joined channel #puppet | ||
| [2012/01/12 16:45:15] <mbrannigan> the_ramink, thanks for your help! | ||
| [2012/01/12 16:45:46] <the_ramink> mbrannigan: no problem | ||
| [2012/01/12 16:45:59] @ Quit: Chowzzf: Ping timeout: 252 seconds | ||
| [2012/01/12 16:46:48] @ Quit: mbrannigan: Quit: Leaving | ||
| [2012/01/12 16:47:05] @ Quit: seanh-ansca: Read error: Connection reset by peer | ||
| [2012/01/12 16:47:12] @ seanh-ansca joined channel #puppet | ||
| [2012/01/12 16:48:24] @ Quit: marczak: Ping timeout: 240 seconds | ||
| [2012/01/12 16:49:58] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2012/01/12 16:51:02] @ ^conner joined channel #puppet | ||
| [2012/01/12 16:51:39] <cornet> marksteele: the latter | ||
| [2012/01/12 16:52:03] @ n8 left channel #puppet () | ||
| [2012/01/12 16:52:12] @ jodok joined channel #puppet | ||
| [2012/01/12 16:52:14] @ Quit: jodok: Changing host | ||
| [2012/01/12 16:52:14] @ jodok joined channel #puppet | ||
| [2012/01/12 16:52:46] @ johnston_ joined channel #puppet | ||
| [2012/01/12 16:55:24] @ jsurfer joined channel #puppet | ||
| [2012/01/12 16:57:45] @ Quit: clayb: Quit: Leaving. | ||
| [2012/01/12 16:58:00] @ clayb joined channel #puppet | ||
| [2012/01/12 16:58:47] <pdtpatrick_> Volcane: rdoc is installed .. please see | ||
| [2012/01/12 16:58:49] <pdtpatrick_> http://paste.pocoo.org/show/533981/ | ||
| [2012/01/12 17:00:10] @ Quit: alanevans: Remote host closed the connection | ||
| [2012/01/12 17:01:27] @ Quit: pll: Quit: ERC Version 5.3 (IRC client for Emacs) | ||
| [2012/01/12 17:01:28] @ Quit: counterbeing: Quit: Computer has gone to sleep. | ||
| [2012/01/12 17:01:54] @ karsten left channel #puppet () | ||
| [2012/01/12 17:02:47] @ bman joined channel #puppet | ||
| [2012/01/12 17:03:39] @ Quit: miche: Quit: Computer has gone to sleep. | ||
| [2012/01/12 17:03:46] @ alup__ joined channel #puppet | ||
| [2012/01/12 17:04:30] @ miche joined channel #puppet | ||
| [2012/01/12 17:05:00] @ Quit: brandon_dacrib: Quit: brandon_dacrib | ||
| [2012/01/12 17:05:14] @ Quit: langworthy: Read error: Connection reset by peer | ||
| [2012/01/12 17:05:41] @ langworthy joined channel #puppet | ||
| [2012/01/12 17:06:04] @ marczak joined channel #puppet | ||
| [2012/01/12 17:07:15] @ Quit: alup_: Ping timeout: 252 seconds | ||
| [2012/01/12 17:08:59] @ Quit: csanchez: Quit: csanchez | ||
| [2012/01/12 17:10:38] <IndyMichaelB> I can install the 32 bit version of glibc-devel-2.5 by specifying glibc-devel-2.5.i386 but can I do it without specifying the 2.5 portion? When 2.6 comes out I want that to install instead | ||
| [2012/01/12 17:14:12] @ Quit: uphillian: Quit: Leaving. | ||
| [2012/01/12 17:16:15] @ rbowlby joined channel #puppet | ||
| [2012/01/12 17:17:05] @ Quit: freezey: Quit: freezey | ||
| [2012/01/12 17:17:39] <rbowlby> can't figure out why my erb template is failing: "Parameter source failed: Could not understand source SHELL=/bin/bash" | ||
| [2012/01/12 17:17:44] @ Quit: tmclaugh: Quit: tmclaugh | ||
| [2012/01/12 17:17:45] <rbowlby> http://pastebin.com/d8F9JcDS | ||
| [2012/01/12 17:18:33] <rbowlby> it's a simple cron file and the first line is causing errors | ||
| [2012/01/12 17:19:37] <IndyMichaelB> can you show how you are referring to the template in your manifest? | ||
| [2012/01/12 17:20:03] <rbowlby> source => template("puppetmaster/puppet-ssl-sync.erb") | ||
| [2012/01/12 17:21:36] @ Quit: motomike: Remote host closed the connection | ||
| [2012/01/12 17:21:42] <IndyMichaelB> shouldn't that be content => template instead? | ||
| [2012/01/12 17:21:53] @ Quit: ssvarma: Quit: Leaving. | ||
| [2012/01/12 17:22:56] @ motomike joined channel #puppet | ||
| [2012/01/12 17:23:44] <rbowlby> yes...it appears that it should. :( FAIL | ||
| [2012/01/12 17:23:48] <rbowlby> thanks | ||
| [2012/01/12 17:23:50] <IndyMichaelB> yw | ||
| [2012/01/12 17:25:09] @ Quit: mrwacky42: Ping timeout: 244 seconds | ||
| [2012/01/12 17:25:11] @ Quit: geekbri: Remote host closed the connection | ||
| [2012/01/12 17:28:00] @ Surv_OT_Fittest joined channel #puppet | ||
| [2012/01/12 17:28:53] @ Quit: samkottler: Quit: Leaving. | ||
| [2012/01/12 17:29:35] <bman> have a strange issue where clients appear to not be reloading via interval option, if I run manually via cli I can see the reload and the catalog compile on the master | ||
| [2012/01/12 17:29:52] <bman> this is version 2.7.9 | ||
| [2012/01/12 17:29:54] <dwalu> ccaum: are you around by any chance? | ||
| [2012/01/12 17:31:50] @ Quit: labrown: Quit: Leaving | ||
| [2012/01/12 17:33:10] @ Quit: Guest86836: Quit: Thanks for the fish. | ||
| [2012/01/12 17:36:07] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2012/01/12 17:37:26] @ Quit: clayb: Quit: Leaving. | ||
| [2012/01/12 17:37:49] @ clayb joined channel #puppet | ||
| [2012/01/12 17:41:59] @ ghg joined channel #puppet | ||
| [2012/01/12 17:44:23] <dwalu> Is it possible to use an OR when specifying the parameters for a class? | ||
| [2012/01/12 17:44:49] <dwalu> like define mysql::db ( $user, $password OR $password_hash) ? | ||
| [2012/01/12 17:46:06] @ ssvarma joined channel #puppet | ||
| [2012/01/12 17:46:12] @ Quit: jodok: Quit: jodok | ||
| [2012/01/12 17:46:35] @ Quit: lborda: Quit: Ex-Chat | ||
| [2012/01/12 17:47:18] @ Quit: ssvarma: Client Quit | ||
| [2012/01/12 17:47:39] @ Quit: blentz: Ping timeout: 240 seconds | ||
| [2012/01/12 17:47:59] <IndyMichaelB> you can make a parameter optional, but that's not quite an OR | ||
| [2012/01/12 17:48:25] @ gebi joined channel #puppet | ||
| [2012/01/12 17:49:04] <dwalu> I think the right thing here is just to add a new parameter, $pw_is_hash | ||
| [2012/01/12 17:49:23] <dwalu> then check inside the body, rather than in the parameters | ||
| [2012/01/12 17:49:31] <IndyMichaelB> good idea | ||
| [2012/01/12 17:49:37] @ blentz joined channel #puppet | ||
| [2012/01/12 17:50:02] <the_ramink> dwalu: yep, something like this is probably simplest, define mysql::db ( $user, $password, $is_hash=no) ? | ||
| [2012/01/12 17:50:13] @ Quit: miche: Quit: Computer has gone to sleep. | ||
| [2012/01/12 17:52:00] @ astrostl joined channel #puppet | ||
| [2012/01/12 17:52:33] @ Quit: sduchesneau: Quit: Leaving | ||
| [2012/01/12 17:53:51] @ Quit: gnat42: Quit: Leaving. | ||
| [2012/01/12 17:53:51] @ miche joined channel #puppet | ||
| [2012/01/12 17:55:49] @ ods94043 joined channel #puppet | ||
| [2012/01/12 17:55:50] @ Quit: metcalfc: Ping timeout: 248 seconds | ||
| [2012/01/12 17:56:42] <aknapp> dwalu: yeah, that's what I do. Just use a boolean, it's easier. | ||
| [2012/01/12 17:58:07] <IndyMichaelB> dwalu: though you could make $password and $hash optional, then fail in the manifest if both were not null | ||
| [2012/01/12 17:59:14] <dwalu> hmm or I could just write a function to test the contents of a variable to determine if it's a string or a hashed password. | ||
| [2012/01/12 18:00:27] @ ssvarma joined channel #puppet | ||
| [2012/01/12 18:01:36] @ Quit: abetterlie: Ping timeout: 240 seconds | ||
| [2012/01/12 18:02:01] @ Quit: marczak: Ping timeout: 240 seconds | ||
| [2012/01/12 18:02:25] @ IndyMichaelB_ joined channel #puppet | ||
| [2012/01/12 18:02:27] @ Quit: IndyMichaelB_: Client Quit | ||
| [2012/01/12 18:02:39] <ashp> anyone here work for nokia? :D | ||
| [2012/01/12 18:04:45] @ themadcanudist joined channel #puppet | ||
| [2012/01/12 18:04:48] @ Quit: ods94043: Ping timeout: 258 seconds | ||
| [2012/01/12 18:05:01] @ themadcanudist left channel #puppet () | ||
| [2012/01/12 18:05:22] @ Quit: langworthy: Read error: No route to host | ||
| [2012/01/12 18:05:39] @ Quit: IndyMichaelB: Ping timeout: 240 seconds | ||
| [2012/01/12 18:06:07] @ langworthy joined channel #puppet | ||
| [2012/01/12 18:06:38] @ Quit: st33v: Quit: st33v | ||
| [2012/01/12 18:07:27] @ Quit: clayb: Quit: Leaving. | ||
| [2012/01/12 18:07:30] @ nul0op joined channel #puppet | ||
| [2012/01/12 18:07:42] @ clayb joined channel #puppet | ||
| [2012/01/12 18:09:57] @ larstobi joined channel #puppet | ||
| [2012/01/12 18:10:03] @ marczak joined channel #puppet | ||
| [2012/01/12 18:12:51] @ brtl joined channel #puppet | ||
| [2012/01/12 18:14:35] @ Quit: brtl: Client Quit | ||
| [2012/01/12 18:14:48] @ rcrowley_ joined channel #puppet | ||
| [2012/01/12 18:14:51] @ Quit: rcrowley: Read error: Connection reset by peer | ||
| [2012/01/12 18:14:51] @ rcrowley_ is now known as rcrowley | ||
| [2012/01/12 18:15:36] @ Quit: kangman: Remote host closed the connection | ||
| [2012/01/12 18:17:02] @ Kazuhiro joined channel #puppet | ||
| [2012/01/12 18:17:18] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2012/01/12 18:17:35] @ newtMcKerr joined channel #puppet | ||
| [2012/01/12 18:18:21] @ Quit: ^conner: Ping timeout: 244 seconds | ||
| [2012/01/12 18:19:43] <bman> how would a client loading differ when started with the --test flag and without it, i.e. if i run puppetd --server=$myserver --report --ignorecache --trace --verbose without --test, i see it load facts but it doesnt connect to the server, if I do add test it connects and gets it catalog | ||
| [2012/01/12 18:19:57] @ kelseyhightower joined channel #puppet | ||
| [2012/01/12 18:19:58] @ Quit: kelseyhightower: Client Quit | ||
| [2012/01/12 18:20:26] <dpittman> bman: I guess that you don't have `--no-daemonize`, which `--test` adds, and so the agent forks into the background and logs to syslog. | ||
| [2012/01/12 18:21:09] @ Quit: localhost: Remote host closed the connection | ||
| [2012/01/12 18:22:20] @ localhost joined channel #puppet | ||
| [2012/01/12 18:22:22] <bman> ok so then any issue about it reloading, since --test is excluded and daemonize is active would have to be an issue with the client.conf such as interval correct? | ||
| [2012/01/12 18:23:21] <bman> i have some nodes that run daemonized but not in 24 hours have made a catalog request | ||
| [2012/01/12 18:25:11] <bman> actually no thats odd added in --no-daemonize and running wihtout --test and its just hanging | ||
| [2012/01/12 18:25:30] @ danblack joined channel #puppet | ||
| [2012/01/12 18:25:30] <bman> its loading facts but that is it | ||
| [2012/01/12 18:25:33] <bman> hmmm | ||
| [2012/01/12 18:27:18] @ Quit: marczak: Ping timeout: 248 seconds | ||
| [2012/01/12 18:27:23] @ Quit: Reepicheep: Quit: Ex-Chat | ||
| [2012/01/12 18:30:34] @ Quit: nul0op: Quit: Leaving | ||
| [2012/01/12 18:30:38] @ ^conner joined channel #puppet | ||
| [2012/01/12 18:34:32] @ Quit: miche: Quit: Computer has gone to sleep. | ||
| [2012/01/12 18:35:00] @ miche joined channel #puppet | ||
| [2012/01/12 18:37:15] @ tizzo is now known as tizzo-afk | ||
| [2012/01/12 18:38:45] @ st33v joined channel #puppet | ||
| [2012/01/12 18:41:34] @ Quit: hfnix: Quit: Leaving. | ||
| [2012/01/12 18:42:25] @ Quit: astrostl: | ||
| [2012/01/12 18:43:53] @ alanevans joined channel #puppet | ||
| [2012/01/12 18:44:52] <pdtpatrick_> can someone please help | ||
| [2012/01/12 18:45:00] <pdtpatrick_> I'm having all sorts of problem with Dashboard and Foreman | ||
| [2012/01/12 18:45:01] <pdtpatrick_> http://paste.pocoo.org/show/534013/ | ||
| [2012/01/12 18:45:04] <pdtpatrick_> same error | ||
| [2012/01/12 18:45:20] @ Kazuhiro left channel #puppet () | ||
| [2012/01/12 18:50:02] @ Quit: johnston_: Ping timeout: 258 seconds | ||
| [2012/01/12 18:50:18] @ Demosthenes joined channel #puppet | ||
| [2012/01/12 18:51:52] @ Quit: vata: Quit: Leaving. | ||
| [2012/01/12 18:53:22] <bman> looks like i figured it out, the listen option was @#$^% me up | ||
| [2012/01/12 18:58:05] <bman> went from 0.25 an inherited config to 2.6.6 to 2.7.9 and had listen in the puppet.conf made clients never reload | ||
| [2012/01/12 18:59:30] @ Quit: shadowshell: Remote host closed the connection | ||
| [2012/01/12 19:02:31] @ Quit: spiette: Quit: Leaving | ||
| [2012/01/12 19:02:46] @ rubic joined channel #puppet | ||
| [2012/01/12 19:05:06] <nlew> bman: RHEL 6? | ||
| [2012/01/12 19:05:34] @ Quit: langworthy: Read error: Connection reset by peer | ||
| [2012/01/12 19:05:35] @ Quit: q0rban: Quit: Computer has gone to sleep. | ||
| [2012/01/12 19:05:53] @ Quit: neonflux: Quit: Leaving. | ||
| [2012/01/12 19:05:59] <ozy_work> Djelibeybi: we got it to work | ||
| [2012/01/12 19:06:07] <ozy_work> on to nagios! | ||
| [2012/01/12 19:06:09] <Djelibeybi> ozy_work: groovy! | ||
| [2012/01/12 19:06:18] @ ukd1 joined channel #puppet | ||
| [2012/01/12 19:06:24] @ langworthy joined channel #puppet | ||
| [2012/01/12 19:06:31] @ jamescollins joined channel #puppet | ||
| [2012/01/12 19:07:14] @ Quit: benjiedmund: Read error: Operation timed out | ||
| [2012/01/12 19:07:17] @ mattr joined channel #puppet | ||
| [2012/01/12 19:07:18] @ Quit: mattr: Changing host | ||
| [2012/01/12 19:07:18] @ mattr joined channel #puppet | ||
| [2012/01/12 19:07:48] @ Quit: mattr-: Ping timeout: 248 seconds | ||
| [2012/01/12 19:08:42] @ Quit: dan__t: Read error: Operation timed out | ||
| [2012/01/12 19:10:15] <bman> nlew, rhel5 | ||
| [2012/01/12 19:10:30] <bman> was so odd was pulling my hair out | ||
| [2012/01/12 19:11:30] <bman> looked at the default conf shipped as well and notice listen wasnt set and that --test excludes listen | ||
| [2012/01/12 19:11:35] <ozy_work> anyone here use puppet to create a nagios config? I am following an example, adn I am not getting any output files | ||
| [2012/01/12 19:12:55] @ ralos joined channel #puppet | ||
| [2012/01/12 19:13:11] @ Quit: gazoombo: Quit: Leaving. | ||
| [2012/01/12 19:13:46] @ Quit: Demosthenes: Quit: leaving | ||
| [2012/01/12 19:17:17] @ Quit: DJClean: Read error: Operation timed out | ||
| [2012/01/12 19:17:20] @ Kazuhiro joined channel #puppet | ||
| [2012/01/12 19:18:26] @ Kazuhiro left channel #puppet () | ||
| [2012/01/12 19:18:38] @ stahnma set topic "Puppet Triage-A-Thon - January 21st from 2012-01-21 15:00 UTC to 2012-01-22 00:00 UTC - http://triagepuppet.eventbrite.com/?ref=ebtn - #puppethack | Janurary Newletter Puppet Triage-A-Thon - January 21st from 2012-01-21 15:00 UTC to 2012-01-22 00:00 UTC - http://triagepuppet.eventbrite.com/?ref=ebtn - #puppethack | Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 and 2.6" | ||
| [2012/01/12 19:18:46] <stahnma> hmm | ||
| [2012/01/12 19:19:29] @ stahnma set topic "Puppet Triage-A-Thon - January 21st from 2012-01-21 15:00 UTC to 2012-01-22 00:00 UTC - http://triagepuppet.eventbrite.com/?ref=ebtn - #puppethack | Jan Newsletter http://bit.ly/nl12-01| Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 and 2.6.13 available at downloads.puppetlabs.com yum.puppetlabs.com apt.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requ" | ||
| [2012/01/12 19:19:46] <stahnma> still truncated.... | ||
| [2012/01/12 19:20:30] @ Quit: ukd1: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/ | ||
| [2012/01/12 19:20:50] @ stahnma set topic "Puppet Triage-A-Thon - January 21st from 2012-01-21 15:00 UTC to 2012-01-22 00:00 UTC - http://triagepuppet.eventbrite.com/?ref=ebtn - #puppethack | Jan Newsletter http://bit.ly/nl12-01| Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 at {yum,apt,downloads}.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A" | ||
| [2012/01/12 19:21:33] @ cliff-hm joined channel #puppet | ||
| [2012/01/12 19:23:24] @ Quit: mutante: Ping timeout: 255 seconds | ||
| [2012/01/12 19:24:05] @ mutante joined channel #puppet | ||
| [2012/01/12 19:24:31] @ mutante is now known as Guest45399 | ||
| [2012/01/12 19:25:29] @ kelseyhightower joined channel #puppet | ||
| [2012/01/12 19:26:35] <torrancew> stahnma: :( that's during SCALE | ||
| [2012/01/12 19:26:48] <stahnma> torrancew: yeah. | ||
| [2012/01/12 19:26:59] * torrancew gently weeps | ||
| [2012/01/12 19:27:13] * torrancew would totally have been in otherwise | ||
| [2012/01/12 19:27:54] <bman> where is it at? | ||
| [2012/01/12 19:28:25] <stahnma> clear | ||
| [2012/01/12 19:28:27] <stahnma> oops | ||
| [2012/01/12 19:28:27] <bman> nm | ||
| [2012/01/12 19:28:30] <stahnma> :) | ||
| [2012/01/12 19:28:34] <bman> its in portland | ||
| [2012/01/12 19:28:40] <Jezarith> torrancew, I've read the manual this time... and I still have a question! ;) Curious if you know off the top of your head. If I REQUIRE an exec that has an unless... will it bail if the unless matches something? | ||
| [2012/01/12 19:28:41] <stahnma> torrancew: we'll be doing more than one | ||
| [2012/01/12 19:28:48] <stahnma> bman: it's also virtual | ||
| [2012/01/12 19:28:55] <bman> yeah thanks saw | ||
| [2012/01/12 19:29:00] <stahnma> bman: we're trying to include as many people as we can | ||
| [2012/01/12 19:29:14] <stahnma> it's during SCALE and FUDcon, but we'll keep doing them anyway | ||
| [2012/01/12 19:29:20] <stahnma> there's always a conference somewhere :) | ||
| [2012/01/12 19:29:30] <torrancew> Jezarith: I dont' believe it will | ||
| [2012/01/12 19:29:33] <torrancew> pretty sure I've done that | ||
| [2012/01/12 19:30:04] <Jezarith> torrancew, So the Package should work even if the Exec (apt-get update) isn't run due to an "unless" statement | ||
| [2012/01/12 19:30:07] <torrancew> Jezarith: it should just require that puppet has evaluated the exec resource before execution | ||
| [2012/01/12 19:30:18] <torrancew> execution of the other resource* | ||
| [2012/01/12 19:30:29] <Jezarith> torrancew, But the execution doens't HAVE to happen, just that it be evaluated, right? | ||
| [2012/01/12 19:30:48] <the_ramink> Jezarith: exactly | ||
| [2012/01/12 19:31:05] <Jezarith> This is so fun. Thanks torrancew, the_ramink | ||
| [2012/01/12 19:31:27] <torrancew> Jezarith: what the_ramink said | ||
| [2012/01/12 19:31:28] <torrancew> :) | ||
| [2012/01/12 19:32:03] <Jezarith> apt-get update is running every 30 minutes, I'm trying to make it so if I add something to apt, and add a key, I update. but otherwise, just update via cron once daily | ||
| [2012/01/12 19:33:19] <Jezarith> I'm on a mission to fix all my puppet modules and properly set up dependency chaining. Having to run puppet twice is silly ;) | ||
| [2012/01/12 19:33:30] <the_ramink> Jezarith: You might steal a couple of idea from my demo apt module. I let the nightly cron update or run apt-update when a repo changes. https://github.com/rkhatibi/rdk-puppet-modules/tree/master/apt | ||
| [2012/01/12 19:33:34] @ Quit: benkevan: Quit: leaving | ||
| [2012/01/12 19:34:32] <Jezarith> the_ramink, I think I need to have a serious look at the available modules posted. I shouldn't reinvent the wheel. Thanks for the link! | ||
| [2012/01/12 19:36:54] @ Quit: nomadtacos: Quit: Leaving | ||
| [2012/01/12 19:36:55] @ Quit: paxos: Quit: Leaving. | ||
| [2012/01/12 19:36:55] <the_ramink> Jezarith: https://github.com/example42/puppet-modules/ are very nice as well, but sometimes harder to understand if you're starting out. https://github.com/puppetlabs/ has a number of modules and then there is always the forge, but I find most of the modules on the forge are naive at best. | ||
| [2012/01/12 19:37:19] @ Chowzzf joined channel #puppet | ||
| [2012/01/12 19:37:50] <Jezarith> the_ramink, Yea, I did some quick browsing on the forge and didn't find much that I liked, but this was months ago. I'll take a look at all of those links. | ||
| [2012/01/12 19:38:43] @ Quit: joshcooper: Quit: joshcooper | ||
| [2012/01/12 19:39:28] <Jezarith> ahahhah, I am on the phone with my co-worker. He wrote his own autofs one. I just showed him that git page and he facepalmed audibly | ||
| [2012/01/12 19:40:46] @ skm joined channel #puppet | ||
| [2012/01/12 19:43:39] <the_ramink> heh, I had the same experience the month I discovered example42's stuff. | ||
| [2012/01/12 19:44:13] <Jezarith> the_ramink, These are a bit extreme and over the top though. You were not kidding about their difficulty to read. I understand them, but holy crap | ||
| [2012/01/12 19:45:57] <Jezarith> the_ramink, I suppose it is a good thing that you find something like this after writing dozens of your own. I just started converting my modules into reusable types because I was tired of duplication... But I'm pretty much still stictly using just "init.pp". So I got nothing on this stuff | ||
| [2012/01/12 19:48:06] @ Quit: zwi: Quit: Leaving. | ||
| [2012/01/12 19:48:09] @ Quit: ssvarma: Ping timeout: 240 seconds | ||
| [2012/01/12 19:48:13] <the_ramink> breaking things into subclasses helps me think about the process better. "first I install, then I configure, then I define per host things, then I start the service" By having each step in its own class and using resource chaining I find I make fewer ordering mistakes. | ||
| [2012/01/12 19:49:36] <Jezarith> Makes perfect sense. We started chaining resources together a lot better lately, and I'm fixing our older stuff. At the same time, I want to make them BETTER. But I don't want to get too far ahead of myself. heh | ||
| [2012/01/12 19:49:50] <Jezarith> I'm starting to feel like I need a puppet IDE | ||
| [2012/01/12 19:50:08] <torrancew> Jezarith: there actually is an Eclipse plugin | ||
| [2012/01/12 19:50:19] <the_ramink> it's quite nice | ||
| [2012/01/12 19:50:21] <torrancew> Gepetto, I think (yes, like the bot) | ||
| [2012/01/12 19:50:40] <Jezarith> Love the name | ||
| [2012/01/12 19:50:48] <rbowlby> is there a good doc on using the puppetlabs/stdlib module? | ||
| [2012/01/12 19:50:54] <torrancew> I'm too baked into vim to switch, but it was nifty when I checked it out | ||
| [2012/01/12 19:50:59] <dpittman> http://cloudsmith.github.com/geppetto/ | ||
| [2012/01/12 19:51:04] <dpittman> Jezarith: ^^ | ||
| [2012/01/12 19:51:13] <cornet> vim++ | ||
| [2012/01/12 19:51:17] <torrancew> rbowlby: there's not much to use - including the class will define some standard stages with a pre-defined order | ||
| [2012/01/12 19:51:22] <torrancew> and it provides lots of functions | ||
| [2012/01/12 19:51:26] <Jezarith> I'll give it a try. We manage everything in subversion, so I'm already making the changes locally half the time. In notepad ++. | ||
| [2012/01/12 19:51:32] <torrancew> which are doc'd in the readme | ||
| [2012/01/12 19:51:39] <Jezarith> I'm learning so much here, you guys are a pretty awesome group | ||
| [2012/01/12 19:51:56] <rbowlby> torrancew: thanks, so just the README then, good to know | ||
| [2012/01/12 19:52:37] <cornet> https://github.com/cornet/vim-puppet # mostly puppet-lint compliant now | ||
| [2012/01/12 19:53:02] <Jezarith> We are wanting to start adding custom facts to facter for mcollective. Do you know of any examples for that? I've read some documentation, but an actual example would be nice | ||
| [2012/01/12 19:53:55] @ tmclaugh joined channel #puppet | ||
| [2012/01/12 19:53:57] <torrancew> Jezarith: I just add my facts through puppet, and have mcollective use the facts from cache strategy | ||
| [2012/01/12 19:54:03] @ robthoms__ joined channel #puppet | ||
| [2012/01/12 19:54:11] <ozy_work> I have an @@file resource that I want to require for another resource. do I do require => @@File["/foo/$fqdn"] or do I ommit the @@? | ||
| [2012/01/12 19:54:27] <Text> Hi guys. I have posted an issue I have with a Tomcat module I am working on at the mailing list and was wondering if anyone here had time to look at it. http://groups.google.com/group/puppet-users/browse_thread/thread/392227821e0fadc6 | ||
| [2012/01/12 19:54:32] @ KingBug_ joined channel #puppet | ||
| [2012/01/12 19:55:38] <the_ramink> Jezarith: are you just looking for simple fact examples? If so, https://github.com/rkhatibi/rdk-puppet-modules/tree/master/puppet/lib/facter | ||
| [2012/01/12 19:56:14] @ Desdic_ joined channel #puppet | ||
| [2012/01/12 19:56:22] @ krash3r_ joined channel #puppet | ||
| [2012/01/12 19:56:32] <ozy_work> nm, found my bug | ||
| [2012/01/12 19:57:08] @ Quit: xe4l: Ping timeout: 276 seconds | ||
| [2012/01/12 19:57:09] @ pipegeek joined channel #puppet | ||
| [2012/01/12 19:57:37] @ Wolfspyre1 joined channel #puppet | ||
| [2012/01/12 19:57:41] <Jezarith> Perfect! Exactly what I was looking for. Now the actual fact is the last variable listed, right? | ||
| [2012/01/12 19:57:49] @ jay_ joined channel #puppet | ||
| [2012/01/12 19:58:09] @ Quit: end3r-: Quit: WeeChat 0.3.6 | ||
| [2012/01/12 19:58:09] @ masterzen_ joined channel #puppet | ||
| [2012/01/12 19:58:18] @ bd__ joined channel #puppet | ||
| [2012/01/12 19:58:20] @ ezekiel_ joined channel #puppet | ||
| [2012/01/12 19:58:25] @ ppanthe_ joined channel #puppet | ||
| [2012/01/12 19:58:26] <pipegeek> Is there some "right" way to add to puppet's stored configuration database schema? That is, some way for puppet extensions to store information in mysql independent of the rest of puppet using the same connection | ||
| [2012/01/12 19:58:30] @ lisa_ joined channel #puppet | ||
| [2012/01/12 19:58:37] @ end3r- joined channel #puppet | ||
| [2012/01/12 19:58:39] @ artis__ joined channel #puppet | ||
| [2012/01/12 19:58:40] @ zipkid_ joined channel #puppet | ||
| [2012/01/12 19:58:41] @ bauke_ joined channel #puppet | ||
| [2012/01/12 19:58:43] @ ashp_ joined channel #puppet | ||
| [2012/01/12 19:58:50] @ rektide_ joined channel #puppet | ||
| [2012/01/12 19:58:50] <the_ramink> Jezarith: Facter.add("memoryfree_raw") do will add the fact, memoryfree_raw, the rest is just determine the value of that. | ||
| [2012/01/12 19:58:52] @ tmz_ joined channel #puppet | ||
| [2012/01/12 19:59:05] @ xe4l joined channel #puppet | ||
| [2012/01/12 19:59:56] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2012/01/12 20:00:50] <Jezarith> Yea, I got that. I meant that you just declare "size" at the end. I think I read that is how you actually define the value. I appreciate the example | ||
| [2012/01/12 20:01:51] @ gnarf_ joined channel #puppet | ||
| [2012/01/12 20:01:52] @ Espen-_o joined channel #puppet | ||
| [2012/01/12 20:02:09] @ relurk` joined channel #puppet | ||
| [2012/01/12 20:02:38] <rbowlby> torrancew: that stdlib README is pretty light no real explanation of anything | ||
| [2012/01/12 20:03:26] <torrancew> rbowlby: what precisely are you hoping to find but not seeing? | ||
| [2012/01/12 20:03:41] @ Quit: jamescollins: *.net *.split | ||
| [2012/01/12 20:03:42] @ Quit: blentz: *.net *.split | ||
| [2012/01/12 20:03:43] @ Quit: Wolfspyre: *.net *.split | ||
| [2012/01/12 20:03:43] @ Quit: mauve_: *.net *.split | ||
| [2012/01/12 20:03:44] @ Quit: omry_: *.net *.split | ||
| [2012/01/12 20:03:45] @ Quit: robthoms_: *.net *.split | ||
| [2012/01/12 20:03:45] @ Quit: artis: *.net *.split | ||
| [2012/01/12 20:03:46] @ Quit: bauke: *.net *.split | ||
| [2012/01/12 20:03:47] @ Quit: Espen-_-: *.net *.split | ||
| [2012/01/12 20:03:48] @ Quit: ezekiel: *.net *.split | ||
| [2012/01/12 20:03:48] @ Quit: catay: *.net *.split | ||
| [2012/01/12 20:03:49] @ Quit: xeor: *.net *.split | ||
| [2012/01/12 20:03:50] @ Quit: londo_: *.net *.split | ||
| [2012/01/12 20:03:51] @ Quit: bd: *.net *.split | ||
| [2012/01/12 20:03:51] @ Quit: nate_h: *.net *.split | ||
| [2012/01/12 20:03:52] @ Quit: Desdic: *.net *.split | ||
| [2012/01/12 20:03:54] @ Quit: JStoker: *.net *.split | ||
| [2012/01/12 20:03:54] @ Quit: fimblo: *.net *.split | ||
| [2012/01/12 20:03:55] @ Quit: gnarf: *.net *.split | ||
| [2012/01/12 20:03:55] @ Quit: tmz: *.net *.split | ||
| [2012/01/12 20:03:56] @ Quit: ashp: *.net *.split | ||
| [2012/01/12 20:03:57] @ Quit: fjay: *.net *.split | ||
| [2012/01/12 20:03:57] @ Quit: relurk: *.net *.split | ||
| [2012/01/12 20:03:59] @ Quit: zipkid: *.net *.split | ||
| [2012/01/12 20:04:00] @ Quit: lisa: *.net *.split | ||
| [2012/01/12 20:04:01] @ Quit: KingBug: *.net *.split | ||
| [2012/01/12 20:04:02] @ Quit: ppanthe: *.net *.split | ||
| [2012/01/12 20:04:02] @ Quit: polipie: *.net *.split | ||
| [2012/01/12 20:04:03] @ Quit: masterzen: *.net *.split | ||
| [2012/01/12 20:04:04] @ Quit: krash3r: *.net *.split | ||
| [2012/01/12 20:04:05] @ Quit: rektide: *.net *.split | ||
| [2012/01/12 20:04:06] @ Espen-_o is now known as Espen-_- | ||
| [2012/01/12 20:04:07] <torrancew> the one on github seems to be pretty informative, shows a puppet doc -r <function> will give more detail about the custom methods, etc | ||
| [2012/01/12 20:04:07] <rbowlby> torrancew: an explanation of the anchor thing I am seeing in the puppetlabs nginx file | ||
| [2012/01/12 20:04:17] <rbowlby> as well as any additonal stuff I should make use of in my own modules | ||
| [2012/01/12 20:04:23] @ jamescollins joined channel #puppet | ||
| [2012/01/12 20:04:35] @ Quit: jamescollins: Client Quit | ||
| [2012/01/12 20:04:56] <torrancew> oh, yeah, the anchor was a bit odd. I'm trying to recall where I read up on it | ||
| [2012/01/12 20:05:56] @ Quit: langworthy: Read error: Connection reset by peer | ||
| [2012/01/12 20:06:14] <torrancew> rbowlby: http://forge.puppetlabs.com/puppetlabs/stdlib <--- have you checked there? | ||
| [2012/01/12 20:06:22] <Text> I have posted an issue I have with a Tomcat module I am working on at the mailing list and was wondering if anyone here had time to look at it. http://groups.google.com/group/puppet-users/browse_thread/thread/392227821e0fadc6 Thanks in advance! | ||
| [2012/01/12 20:06:32] <the_ramink> Jezarith: ah, yeah Ruby doesn't require much to just declare something. Part of the reason it's sometimes confusing in it's sparseness. | ||
| [2012/01/12 20:06:45] @ langworthy joined channel #puppet | ||
| [2012/01/12 20:07:29] <Jezarith> if a module is included, are all facts in that module automatically loaded? Also, does the ruby have access to variables declared in the module class or node definition (like templates) | ||
| [2012/01/12 20:07:30] @ gnarf_ is now known as gnarf | ||
| [2012/01/12 20:08:01] <torrancew> Text: sorry, I knwo very little about tomcat, and doubt I could help much | ||
| [2012/01/12 20:08:15] @ Quit: st33v: Quit: st33v | ||
| [2012/01/12 20:08:41] <torrancew> Jezarith: all facts are loaded so long as the puppetmaster (assuming you use a master) has the fact inside a moduel, and pluginsync is enabled | ||
| [2012/01/12 20:08:43] @ nate_h joined channel #puppet | ||
| [2012/01/12 20:08:47] @ polipie joined channel #puppet | ||
| [2012/01/12 20:08:48] @ Quit: polipie: Changing host | ||
| [2012/01/12 20:08:48] @ polipie joined channel #puppet | ||
| [2012/01/12 20:09:02] <Text> torrancew: the specifics are not really related to Tomcat. I am trying to figure out why puppet builds out a tree successfully, but fails to do it a 2nd time when I add more data into my YAML file. | ||
| [2012/01/12 20:09:17] @ Quit: pcarlisle: Quit: Computer has gone to sleep. | ||
| [2012/01/12 20:09:21] @ mauve_ joined channel #puppet | ||
| [2012/01/12 20:09:26] @ JStoker joined channel #puppet | ||
| [2012/01/12 20:09:34] <rbowlby> torrancew: thanks, not too helpful but I will dig throught the code | ||
| [2012/01/12 20:09:43] <rbowlby> torrancew: I appreciate the help | ||
| [2012/01/12 20:09:52] @ Quit: williemach: Quit: Leaving. | ||
| [2012/01/12 20:10:01] @ blentz joined channel #puppet | ||
| [2012/01/12 20:10:04] @ tmclaugh_ joined channel #puppet | ||
| [2012/01/12 20:10:04] <Jezarith> puppet labs download link tries to load the tar.gz in a window, lol | ||
| [2012/01/12 20:10:24] @ omry_ joined channel #puppet | ||
| [2012/01/12 20:10:26] <Jezarith> and save link as returns a corrupt file | ||
| [2012/01/12 20:10:55] <Jezarith> Text, I can't see the code, but I believe http://docs.puppetlabs.com/learning/definedtypes.html explains the problem | ||
| [2012/01/12 20:10:55] <torrancew> rbowlby: sorry I couldn't help more. I haven't had much need for anchors yet, myself, but I very much enjoy the functions and stages | ||
| [2012/01/12 20:12:00] @ Quit: tmclaugh: Ping timeout: 255 seconds | ||
| [2012/01/12 20:12:00] @ tmclaugh_ is now known as tmclaugh | ||
| [2012/01/12 20:12:15] @ Quit: tmclaugh: Client Quit | ||
| [2012/01/12 20:12:37] <torrancew> Text: You cannot instantiate tomcat::war { 'foo': } twice on one node | ||
| [2012/01/12 20:12:41] <the_ramink> Jezarith: nah. What happens in a Puppet run is that the client queries the master, the master will pass any fact plugins that need to be synced (if configured), the client will run all fact code and post the facts to the master. The master then uses the facts to compile the catalog and passes that back to the client for execution. Facts shouldn't have access to module code as I understand it. | ||
| [2012/01/12 20:13:09] <torrancew> You will need to find a way to distinguis it so that each tomcat instance's copy of that war has a unique name (maybe work the instance name into it somehow) | ||
| [2012/01/12 20:13:31] @ tmclaugh joined channel #puppet | ||
| [2012/01/12 20:14:06] @ Quit: tmclaugh: Client Quit | ||
| [2012/01/12 20:16:55] <Text> torrancew: Thanks for the follow up. Here is the YAML file I am working with. It does what you say I should do: http://pastebin.com/sRkR4nas | ||
| [2012/01/12 20:17:01] @ Quit: `Kevin: Ping timeout: 240 seconds | ||
| [2012/01/12 20:17:41] @ tmclaugh joined channel #puppet | ||
| [2012/01/12 20:17:45] <torrancew> Text: I'd need to see your actual modules to see where it's going wrong. Simply showing me the YAML heirarchy isn't quite enough, I'm afraid | ||
| [2012/01/12 20:18:03] <Jezarith> the_ramink, How would you define a static fact to an agent for use with mcollective (via a node definition). Lets say... "resourcegroup = A". I'm thinking the best way would be to add a line to /etc/environment with the facter prefix. Thoughts? | ||
| [2012/01/12 20:18:16] <torrancew> Jezarith: use the stdlib module! | ||
| [2012/01/12 20:18:24] <Jezarith> that was fast | ||
| [2012/01/12 20:18:31] <torrancew> and go with /etc/facter/facts.d or /etc/puppetlabs/facts.d IIRC | ||
| [2012/01/12 20:18:45] <torrancew> You can make dead-simple facts that way | ||
| [2012/01/12 20:19:07] <torrancew> as in, drop a text file named 'foo.txt' | ||
| [2012/01/12 20:19:11] <torrancew> with the body 'foo=bar' | ||
| [2012/01/12 20:19:18] <torrancew> and you get the $foo fact with a value of bar | ||
| [2012/01/12 20:19:20] <Text> torrancew: You can't see my code because...? | ||
| [2012/01/12 20:19:48] <torrancew> Text: I need to see the actual puppet module | ||
| [2012/01/12 20:20:01] <torrancew> If you can pastebin that, I may be able to see where the logical error is coming in | ||
| [2012/01/12 20:20:48] <torrancew> Text: heading home, back in ~15-20 mins | ||
| [2012/01/12 20:20:52] <Text> http://forge.puppetlabs.com/multiverse/Tomcat | ||
| [2012/01/12 20:20:59] <Text> I am out for the night. | ||
| [2012/01/12 20:21:09] <Text> I put my module at module forge. | ||
| [2012/01/12 20:21:45] <the_ramink> Jezarith: what torrancew said. :) Only issue is that you'd need to push data to each machine, but if it's a small environment that's not terrible. | ||
| [2012/01/12 20:22:30] @ Quit: kenperkins: Ping timeout: 248 seconds | ||
| [2012/01/12 20:23:41] @ Quit: dwalu: Quit: dwalu | ||
| [2012/01/12 20:23:45] @ Quit: worstadmin: Remote host closed the connection | ||
| [2012/01/12 20:23:47] <Jezarith> stdlib looks like a resource module? | ||
| [2012/01/12 20:23:53] @ Quit: miche: Quit: Computer has gone to sleep. | ||
| [2012/01/12 20:24:02] <lkthomas> guys, where is the puppet source directory defined at ?\ | ||
| [2012/01/12 20:24:30] @ kermit joined channel #puppet | ||
| [2012/01/12 20:28:32] @ druonysus left channel #puppet ("Konversation terminated!") | ||
| [2012/01/12 20:29:02] <Jezarith> the_ramink, torrancew: Again, both of you, thanks! I have pretty much all I need to make some great stuff. I will be doing some facts that are in ruby, and some that are direct drops into the facts.d | ||
| [2012/01/12 20:29:43] <Jezarith> I think all of the links and resources you gave me are amazing. Did I miss a post that has all of these links in it? they are extremely useful | ||
| [2012/01/12 20:29:52] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2012/01/12 20:30:02] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2012/01/12 20:31:50] @ joe-mac joined channel #puppet | ||
| [2012/01/12 20:32:17] @ Quit: emmanuelux: Remote host closed the connection | ||
| [2012/01/12 20:33:02] @ emmanuelux joined channel #puppet | ||
| [2012/01/12 20:33:26] @ Quit: emmanuelux: Read error: Connection reset by peer | ||
| [2012/01/12 20:34:08] <lkthomas> nevermind | ||
| [2012/01/12 20:34:57] @ Quit: seanh-ansca: Ping timeout: 255 seconds | ||
| [2012/01/12 20:35:33] <lkthomas> if I have ntp::install, ntp::config and ntp::service wrapper into class ntp | ||
| [2012/01/12 20:35:48] <lkthomas> should I import ntp is fine I need to import all subfunction ? | ||
| [2012/01/12 20:36:25] <the_ramink> Jezarith I suppose someone should do a big ole list of useful things to know about Puppet | ||
| [2012/01/12 20:36:36] @ kelseyhightower joined channel #puppet | ||
| [2012/01/12 20:37:22] @ gazoombo joined channel #puppet | ||
| [2012/01/12 20:37:27] <the_ramink> lkthomas: you'd want to include ntp to use it and you'll need to include the subclasses you want to run by default, https://github.com/rkhatibi/rdk-puppet-modules/blob/master/ntp/manifests/init.pp | ||
| [2012/01/12 20:37:29] <joe-mac> and then expand on those things | ||
| [2012/01/12 20:37:32] <joe-mac> and make them be in chapters | ||
| [2012/01/12 20:37:36] <joe-mac> then add a table of contents and index | ||
| [2012/01/12 20:37:40] <the_ramink> hahahaha | ||
| [2012/01/12 20:37:55] <joe-mac> o wait... http://www.amazon.com/Pro-Puppet-James-Turnbull/dp/1430230576/ref=sr_1_1?ie=UTF8&qid=1326418668&sr=8-1 | ||
| [2012/01/12 20:38:14] <joe-mac> :-D | ||
| [2012/01/12 20:40:05] <the_ramink> alright I'm outta here, night all | ||
| [2012/01/12 20:40:38] <Jezarith> the_ramink, night | ||
| [2012/01/12 20:42:11] <Jezarith> joe-mac, touche | ||
| [2012/01/12 20:43:01] @ newtMcKerr joined channel #puppet | ||
| [2012/01/12 20:44:16] @ Quit: the_ramink: Ping timeout: 240 seconds | ||
| [2012/01/12 20:44:26] <ashp_> Anyone done the hard work to compare opennebula and openstack? I saw an article on puppet/opennebula and wondered | ||
| [2012/01/12 20:46:51] <lkthomas> import "ntp" | ||
| [2012/01/12 20:46:51] <lkthomas> import "ntp::install" | ||
| [2012/01/12 20:46:58] @ mosen joined channel #puppet | ||
| [2012/01/12 20:46:58] <lkthomas> something like that on modules.pp ? | ||
| [2012/01/12 20:47:23] @ neonflux joined channel #puppet | ||
| [2012/01/12 20:47:48] @ Quit: Surv_OT_Fittest: Quit: Leaving. | ||
| [2012/01/12 20:48:37] <ashp_> http://bombasticmonkey.com/2011/12/27/stop-writing-puppet-modules-that-suck/ | ||
| [2012/01/12 20:48:43] <ashp_> Haha, I can sympathise with the start of this: | ||
| [2012/01/12 20:48:46] <ashp_> Whenever I need to setup a new service on one of my hosts, the first thing I do is head to the forge and GitHub to try and find a decent Puppet module that already exists for it. | ||
| [2012/01/12 20:48:49] <ashp_> I almost always leave in disappointment. | ||
| [2012/01/12 20:49:08] @ Quit: langworthy: Quit: langworthy | ||
| [2012/01/12 20:49:38] @ jay_ is now known as fjay | ||
| [2012/01/12 20:51:18] @ emmanuelux joined channel #puppet | ||
| [2012/01/12 20:53:12] @ skm joined channel #puppet | ||
| [2012/01/12 20:53:19] @ xeor joined channel #puppet | ||
| [2012/01/12 20:54:30] @ worstadmin joined channel #puppet | ||
| [2012/01/12 20:55:44] @ catay joined channel #puppet | ||
| [2012/01/12 20:56:19] @ `Kevin joined channel #puppet | ||
| [2012/01/12 20:57:40] @ fimblo joined channel #puppet | ||
| [2012/01/12 20:58:07] @ kelseyhightower left channel #puppet () | ||
| [2012/01/12 20:58:33] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2012/01/12 20:59:31] @ paxos joined channel #puppet | ||
| [2012/01/12 20:59:32] @ Quit: paxos: Client Quit | ||
| [2012/01/12 20:59:58] @ the_ramink joined channel #puppet | ||
| [2012/01/12 21:01:58] @ Quit: cwarden: Ping timeout: 248 seconds | ||
| [2012/01/12 21:02:22] @ Quit: xeor: Read error: Connection reset by peer | ||
| [2012/01/12 21:04:05] <nevyn> ashp_: yes! | ||
| [2012/01/12 21:07:50] <lkthomas> what method could I use to create folder using puppet if it does not exists ? | ||
| [2012/01/12 21:08:38] <nevyn> file { ensure=> directory } | ||
| [2012/01/12 21:09:12] <lkthomas> don't we also need to ensure it present ? | ||
| [2012/01/12 21:09:30] <nevyn> no. | ||
| [2012/01/12 21:10:00] <nevyn> well directory is a type of present. | ||
| [2012/01/12 21:10:10] <nevyn> it's documented in the typeref | ||
| [2012/01/12 21:10:10] <lkthomas> ok | ||
| [2012/01/12 21:10:12] <nevyn> !type | ||
| [2012/01/12 21:10:16] <nevyn> !typeref | ||
| [2012/01/12 21:10:19] <nevyn> sigh. | ||
| [2012/01/12 21:10:23] <lkthomas> bot is dead :P | ||
| [2012/01/12 21:10:23] <nevyn> I suck at bots help? | ||
| [2012/01/12 21:11:02] <nevyn> http://docs.puppetlabs.com/references/stable/type.html#file | ||
| [2012/01/12 21:11:13] <nevyn> lkthomas: ^^ | ||
| [2012/01/12 21:12:33] <lkthomas> I am on redhat, so enable => true will be same as chkconfig service on ? | ||
| [2012/01/12 21:13:17] @ Quit: fimblo: *.net *.split | ||
| [2012/01/12 21:13:18] @ Quit: catay: *.net *.split | ||
| [2012/01/12 21:14:58] @ erkules|away joined channel #puppet | ||
| [2012/01/12 21:16:20] <nevyn> yes | ||
| [2012/01/12 21:17:43] @ Quit: erkules: Ping timeout: 276 seconds | ||
| [2012/01/12 21:20:18] <lkthomas> nevyn, if I need multiple require, should I put multiple require line ? | ||
| [2012/01/12 21:20:59] @ Quit: comptona: Ping timeout: 276 seconds | ||
| [2012/01/12 21:21:03] @ Quit: nated: Ping timeout: 260 seconds | ||
| [2012/01/12 21:21:40] <nevyn> lkthomas: check the "resource" type in the typeref | ||
| [2012/01/12 21:21:45] <nevyn> should have examples | ||
| [2012/01/12 21:22:25] <lkthomas> how should I suppose to know which section to look for on the document next time ?! | ||
| [2012/01/12 21:23:03] @ ssvarma joined channel #puppet | ||
| [2012/01/12 21:23:05] <nevyn> hrm it's gone | ||
| [2012/01/12 21:23:34] <lkthomas> ensure => directory does not exists | ||
| [2012/01/12 21:24:08] <lkthomas> nevermind | ||
| [2012/01/12 21:24:26] <nevyn> umm it so does. | ||
| [2012/01/12 21:24:44] @ Quit: zanefactory: Quit: zanefactory | ||
| [2012/01/12 21:24:51] @ Quit: ascarter: Quit: Computer has gone to sleep. | ||
| [2012/01/12 21:28:26] @ rodnet joined channel #puppet | ||
| [2012/01/12 21:35:19] @ Quit: bmahe: Quit: Leaving | ||
| [2012/01/12 21:35:30] @ Quit: larstobi: Read error: Connection reset by peer | ||
| [2012/01/12 21:35:30] @ larstobi1 joined channel #puppet | ||
| [2012/01/12 21:38:00] @ langworthy joined channel #puppet | ||
| [2012/01/12 21:39:28] @ Quit: rbowlby: Ping timeout: 258 seconds | ||
| [2012/01/12 21:40:13] @ Quit: shadoi: Quit: Leaving. | ||
| [2012/01/12 21:40:41] @ shadoi joined channel #puppet | ||
| [2012/01/12 21:41:23] @ Quit: jsurfer: Quit: jsurfer | ||
| [2012/01/12 21:43:04] @ Quit: cliff-hm: Ping timeout: 240 seconds | ||
| [2012/01/12 21:45:09] @ Quit: shadoi: Ping timeout: 255 seconds | ||
| [2012/01/12 21:45:23] @ xeor joined channel #puppet | ||
| [2012/01/12 21:45:23] @ catay joined channel #puppet | ||
| [2012/01/12 21:45:38] @ fimblo joined channel #puppet | ||
| [2012/01/12 21:48:08] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2012/01/12 21:54:10] @ Quit: pipegeek: Ping timeout: 268 seconds | ||
| [2012/01/12 21:56:06] @ daysmen joined channel #puppet | ||
| [2012/01/12 21:56:09] @ daysmen_ joined channel #puppet | ||
| [2012/01/12 22:03:22] @ Quit: djm68: Remote host closed the connection | ||
| [2012/01/12 22:10:11] @ Quit: tmclaugh: Quit: tmclaugh | ||
| [2012/01/12 22:10:23] <mosen> re crappy modules: I think if the puppet forge had a user rating it would provide at least a starting point for discerning which module is possibly the most mature. | ||
| [2012/01/12 22:11:07] @ lisa_ is now known as lisa | ||
| [2012/01/12 22:11:54] @ shadoi joined channel #puppet | ||
| [2012/01/12 22:12:34] @ Quit: gniks: Quit: Leaving. | ||
| [2012/01/12 22:12:36] @ kelseyhightower joined channel #puppet | ||
| [2012/01/12 22:12:37] @ Wicla_ joined channel #puppet | ||
| [2012/01/12 22:13:03] @ kelseyhightower_ joined channel #puppet | ||
| [2012/01/12 22:13:04] @ Quit: kelseyhightower: Read error: Connection reset by peer | ||
| [2012/01/12 22:13:04] @ kelseyhightower_ is now known as kelseyhightower | ||
| [2012/01/12 22:13:47] @ Quit: Wicla: Read error: Operation timed out | ||
| [2012/01/12 22:14:17] @ justin_donaldson joined channel #puppet | ||
| [2012/01/12 22:14:48] <gazoombo> mosen: I like that idea. Something is sorely needed. | ||
| [2012/01/12 22:15:25] @ Quit: worstadmin: Remote host closed the connection | ||
| [2012/01/12 22:15:40] <mosen> gazoombo, yep and i say that as a crappy module author :) | ||
| [2012/01/12 22:16:24] <lkthomas> I hate when puppet rpm isn't in centos offical installation | ||
| [2012/01/12 22:17:42] <gazoombo> mosen: ha! socratic ignorance… :-) We haven't ventured to share any of our attempts yet. | ||
| [2012/01/12 22:17:50] @ worstadmin joined channel #puppet | ||
| [2012/01/12 22:21:41] @ Quit: leifmadsen: Ping timeout: 240 seconds | ||
| [2012/01/12 22:28:40] <kinsel> can anyone recommend a puppet book? | ||
| [2012/01/12 22:29:02] <kinsel> this would be to complete online documentation | ||
| [2012/01/12 22:29:08] <kinsel> complement*** | ||
| [2012/01/12 22:29:25] <nevyn> pro-puppet | ||
| [2012/01/12 22:29:42] <nevyn> there's pulling strings with puppet but it's quite dated at this point. | ||
| [2012/01/12 22:30:45] @ Quit: clayb: Quit: Leaving. | ||
| [2012/01/12 22:31:08] @ Quit: worstadmin: Remote host closed the connection | ||
| [2012/01/12 22:32:25] <kinsel> looking on amazon there really is only pro puppet, the other are either a) dated or b) too short... | ||
| [2012/01/12 22:32:37] @ rcrowley joined channel #puppet | ||
| [2012/01/12 22:32:38] <kinsel> thanks for the response nevyn | ||
| [2012/01/12 22:34:11] @ HarrisonZhu joined channel #puppet | ||
| [2012/01/12 22:34:28] @ Quit: choonming: Quit: Leaving | ||
| [2012/01/12 22:34:42] @ ezekiel_ is now known as ezekiel | ||
| [2012/01/12 22:35:56] @ worstadmin joined channel #puppet | ||
| [2012/01/12 22:40:46] @ joshcooper joined channel #puppet | ||
| [2012/01/12 22:41:54] @ clayb joined channel #puppet | ||
| [2012/01/12 22:43:03] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2012/01/12 22:51:32] @ Djelibeybi joined channel #puppet | ||
| [2012/01/12 22:51:39] @ zwi joined channel #puppet | ||
| [2012/01/12 22:55:55] @ ronaldo9 joined channel #puppet | ||
| [2012/01/12 22:56:13] @ Quit: ronaldo9: Client Quit | ||
| [2012/01/12 22:57:49] @ kenperkins joined channel #puppet | ||
| [2012/01/12 22:58:19] @ gniks joined channel #puppet | ||
| [2012/01/12 23:00:28] @ Quit: fredden: Quit: Leaving | ||
| [2012/01/12 23:04:11] @ Quit: Alssi: | ||
| [2012/01/12 23:05:04] @ choonming joined channel #puppet | ||
| [2012/01/12 23:06:35] @ Quit: shadoi: Quit: Leaving. | ||
| [2012/01/12 23:07:40] @ Alssi joined channel #puppet | ||
| [2012/01/12 23:08:14] @ Quit: langworthy: Quit: langworthy | ||
| [2012/01/12 23:09:18] @ bmahe joined channel #puppet | ||
| [2012/01/12 23:09:19] @ Quit: bmahe: Changing host | ||
| [2012/01/12 23:09:19] @ bmahe joined channel #puppet | ||
| [2012/01/12 23:10:17] @ shadoi joined channel #puppet | ||
| [2012/01/12 23:12:24] @ dan__t joined channel #puppet | ||
| [2012/01/12 23:16:36] @ bobra joined channel #puppet | ||
| [2012/01/12 23:18:04] @ comptona joined channel #puppet | ||
| [2012/01/12 23:20:36] @ AshishH joined channel #puppet | ||
| [2012/01/12 23:23:46] @ Quit: fimblo: *.net *.split | ||
| [2012/01/12 23:23:47] @ Quit: xeor: *.net *.split | ||
| [2012/01/12 23:23:47] @ Quit: catay: *.net *.split | ||
| [2012/01/12 23:23:55] @ Quit: nb: Excess Flood | ||
| [2012/01/12 23:29:43] <lkthomas> guys, if puppet client is behind NAT, is it possible for puppet to run on such situation ? | ||
| [2012/01/12 23:35:04] @ Quit: neonflux: Ping timeout: 244 seconds | ||
| [2012/01/12 23:35:12] @ nb joined channel #puppet | ||
| [2012/01/12 23:35:54] <bob2> sure | ||
| [2012/01/12 23:35:56] <bob2> it's just tcp | ||
| [2012/01/12 23:38:59] @ neonflux joined channel #puppet | ||
| [2012/01/12 23:51:14] @ Quit: motomike: Quit: Leaving. | ||
| [2012/01/12 23:51:38] @ Quit: shadoi: Quit: Leaving. | ||
| [2012/01/12 23:51:39] @ Quit: l0n: | ||
| [2012/01/12 23:51:51] @ Quit: bmahe: Ping timeout: 252 seconds | ||
| [2012/01/12 23:54:25] @ Quit: drewrm: Ping timeout: 268 seconds | ||
| [2012/01/12 23:57:53] @ shadoi joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!