| [2011/12/01 00:03:50] @ Log started by gepetto | ||
| [2011/12/01 00:03:50] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/12/01 00:04:17] @ ali3n0 joined channel #puppet | ||
| [2011/12/01 00:06:57] @ zorg1 joined channel #puppet | ||
| [2011/12/01 00:08:50] @ verwilst joined channel #puppet | ||
| [2011/12/01 00:09:36] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2011/12/01 00:18:31] @ Quit: joe-mac: Remote host closed the connection | ||
| [2011/12/01 00:19:48] @ joe-mac joined channel #puppet | ||
| [2011/12/01 00:21:26] @ Quit: dissipate_: Ping timeout: 260 seconds | ||
| [2011/12/01 00:22:24] @ Quit: duerF: Quit: Leaving | ||
| [2011/12/01 00:26:20] @ Quit: tilgovi: Remote host closed the connection | ||
| [2011/12/01 00:26:25] @ Quit: jodok: Quit: jodok | ||
| [2011/12/01 00:27:31] @ pjd3 joined channel #puppet | ||
| [2011/12/01 00:27:37] @ pjd3 left channel #puppet () | ||
| [2011/12/01 00:27:40] @ Vasik|work joined channel #puppet | ||
| [2011/12/01 00:27:41] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/12/01 00:27:46] @ Yoe left channel #puppet () | ||
| [2011/12/01 00:27:55] @ jodok joined channel #puppet | ||
| [2011/12/01 00:30:41] @ jgaret joined channel #puppet | ||
| [2011/12/01 00:31:01] @ pmorillon joined channel #puppet | ||
| [2011/12/01 00:33:07] @ Stenbryggen joined channel #puppet | ||
| [2011/12/01 00:35:54] @ skm joined channel #puppet | ||
| [2011/12/01 00:37:06] @ raphdg joined channel #puppet | ||
| [2011/12/01 00:39:51] @ Quit: wilmoore: Remote host closed the connection | ||
| [2011/12/01 00:41:10] @ dnjaramba joined channel #puppet | ||
| [2011/12/01 00:43:58] @ Ramonster joined channel #puppet | ||
| [2011/12/01 00:44:00] @ Quit: raphdg: Ping timeout: 248 seconds | ||
| [2011/12/01 00:45:16] @ raphdg joined channel #puppet | ||
| [2011/12/01 00:45:47] @ trickyf joined channel #puppet | ||
| [2011/12/01 00:49:00] @ sdog joined channel #puppet | ||
| [2011/12/01 00:49:25] @ larstobi joined channel #puppet | ||
| [2011/12/01 00:50:38] @ Quit: sdog: Changing host | ||
| [2011/12/01 00:50:38] @ sdog joined channel #puppet | ||
| [2011/12/01 00:53:42] @ ezmobius is now known as ezmobius|zoning | ||
| [2011/12/01 00:58:13] @ dissipate_ joined channel #puppet | ||
| [2011/12/01 00:59:08] @ dezwart joined channel #puppet | ||
| [2011/12/01 00:59:44] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/12/01 01:01:36] @ Quit: fir31ight: Ping timeout: 248 seconds | ||
| [2011/12/01 01:01:59] @ dim0 joined channel #puppet | ||
| [2011/12/01 01:04:46] @ inecas joined channel #puppet | ||
| [2011/12/01 01:08:14] @ fir31ight joined channel #puppet | ||
| [2011/12/01 01:10:15] @ Quit: emergion: Quit: later... | ||
| [2011/12/01 01:10:42] @ daysmen joined channel #puppet | ||
| [2011/12/01 01:13:13] @ Quit: tily: Remote host closed the connection | ||
| [2011/12/01 01:15:04] @ tily joined channel #puppet | ||
| [2011/12/01 01:16:35] @ ezryx joined channel #puppet | ||
| [2011/12/01 01:16:58] @ ezmobius|zoning is now known as ezmobius|zoning| | ||
| [2011/12/01 01:17:16] @ Holocaine joined channel #puppet | ||
| [2011/12/01 01:20:44] @ fronlius joined channel #puppet | ||
| [2011/12/01 01:21:39] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/12/01 01:23:14] @ skm joined channel #puppet | ||
| [2011/12/01 01:39:17] @ lluis joined channel #puppet | ||
| [2011/12/01 01:39:47] <lluis> hello, there's any way to log a message on the client side, like err function does on the server side? | ||
| [2011/12/01 01:41:02] <fragfutter> notify | ||
| [2011/12/01 01:44:18] @ Quit: sdog: Quit: Leaving. | ||
| [2011/12/01 01:44:35] <lluis> fragfutter: thank you! | ||
| [2011/12/01 01:44:47] <whack> lluis: there's a 'notify' type that acts like notice() but works on the agent/client | ||
| [2011/12/01 01:45:21] <lluis> whack: thanks :) | ||
| [2011/12/01 01:45:45] <lluis> whack: that is what I was looking for | ||
| [2011/12/01 01:45:55] @ Quit: chadh: Read error: Operation timed out | ||
| [2011/12/01 01:46:09] @ chadh joined channel #puppet | ||
| [2011/12/01 01:49:47] @ descala joined channel #puppet | ||
| [2011/12/01 01:50:08] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/12/01 01:50:26] @ descala left channel #puppet () | ||
| [2011/12/01 01:52:37] <tolland> is there an option that will tell puppet to log to somewhere other than syslog, from the puppet.conf side? | ||
| [2011/12/01 01:52:57] <tolland> at the moment its appears to only allow me to change the facility | ||
| [2011/12/01 01:53:15] @ derjohn_mob joined channel #puppet | ||
| [2011/12/01 01:53:20] <tolland> however I would prefer not to mess with the syslog conf on the clients as its not managed by puppet | ||
| [2011/12/01 01:53:21] <ohadlevy> tolland: you can create custom reports processor | ||
| [2011/12/01 01:55:21] <tolland> its not the reports, its things like notify are being logged into syslog | ||
| [2011/12/01 01:55:29] <tolland> into /var/log/messages | ||
| [2011/12/01 01:58:40] @ Quit: fir31ight: Ping timeout: 248 seconds | ||
| [2011/12/01 01:59:08] @ fir31ight joined channel #puppet | ||
| [2011/12/01 02:02:15] @ Quit: choonming: Quit: Leaving | ||
| [2011/12/01 02:04:03] @ Quit: lluis: Quit: using sirc version 2.211+KSIRC/1.3.12 | ||
| [2011/12/01 02:06:40] @ brtl joined channel #puppet | ||
| [2011/12/01 02:09:27] @ gob_bluth joined channel #puppet | ||
| [2011/12/01 02:10:32] <gob_bluth> hi, i'm getting this error: DEPRECATION NOTICE: Files found in modules without specifying 'modules' in file path will be deprecated in the next major release; the files are being called as: content => template('modulename/etc/poop/poop.sh.erb'), do i prefix module in the string now ? | ||
| [2011/12/01 02:10:57] <gob_bluth> oh, i'm confused about this, n/m | ||
| [2011/12/01 02:11:07] @ kronn joined channel #puppet | ||
| [2011/12/01 02:11:19] @ ken_barber joined channel #puppet | ||
| [2011/12/01 02:11:19] <fragfutter> gob_bluth: [modules] in fileserver.conf | ||
| [2011/12/01 02:11:46] <_rc_> gob_bluth: it's not that, it's a puppet:///modulename/ source | ||
| [2011/12/01 02:12:00] <_rc_> that needs to be puppet:///modules/modulename/blah | ||
| [2011/12/01 02:12:30] <gob_bluth> yup just added that and i didn't get an error on the next run | ||
| [2011/12/01 02:12:34] <gob_bluth> need morning tea ^_^ | ||
| [2011/12/01 02:13:34] @ Quit: tily: Remote host closed the connection | ||
| [2011/12/01 02:17:20] @ Quit: shawns: Ping timeout: 248 seconds | ||
| [2011/12/01 02:21:07] <dissipate_> gob_bluth, poop was in the error message? haha | ||
| [2011/12/01 02:23:15] <gob_bluth> i name all my modules as human excrement :p | ||
| [2011/12/01 02:23:16] @ Quit: fronlius: Read error: Connection reset by peer | ||
| [2011/12/01 02:23:28] @ fronlius joined channel #puppet | ||
| [2011/12/01 02:28:49] @ Quit: jsnby: Ping timeout: 245 seconds | ||
| [2011/12/01 02:32:37] @ shawns joined channel #puppet | ||
| [2011/12/01 02:32:41] @ Quit: ezmobius|zoning|: Quit: peace out | ||
| [2011/12/01 02:35:36] <robinbowes> So, hiera... | ||
| [2011/12/01 02:36:16] <robinbowes> Why can I look up 'cobbler/server' but not 'splunk/port' ? | ||
| [2011/12/01 02:38:07] @ emergion joined channel #puppet | ||
| [2011/12/01 02:42:59] <matti> robinbowes: Because of splunk. | ||
| [2011/12/01 02:43:11] <matti> robinbowes: We detect commmercial software and forbid accessing it. | ||
| [2011/12/01 02:43:12] <matti> ;] | ||
| [2011/12/01 02:43:17] <robinbowes> ha! | ||
| [2011/12/01 02:43:19] <matti> robinbowes: Try 'logstash/port' | ||
| [2011/12/01 02:43:20] <matti> ;D | ||
| [2011/12/01 02:43:43] <robinbowes> Something weird going on, other stuff not working either | ||
| [2011/12/01 02:43:48] <matti> ;/ | ||
| [2011/12/01 02:43:58] <matti> robinbowes: Broken YAML maybe? | ||
| [2011/12/01 02:46:06] <robinbowes> I suspect it's not using the files I think it is using | ||
| [2011/12/01 02:46:31] <matti> Check from where it pull them. | ||
| [2011/12/01 02:46:32] <matti> :) | ||
| [2011/12/01 02:49:06] @ Quit: Enf: Quit: Leaving | ||
| [2011/12/01 02:51:17] <robinbowes> Hmmm, looks like it doesn't like raw numbers | ||
| [2011/12/01 02:51:50] <robinbowes> splunk/port: '9998' <--- works | ||
| [2011/12/01 02:52:07] <robinbowes> splunk/port: 9998 <--- returns nil | ||
| [2011/12/01 02:52:39] <robinbowes> Is hiera a puppetlabs thing yet? | ||
| [2011/12/01 02:52:56] <robinbowes> Or do I need to kick Volcane ? | ||
| [2011/12/01 02:53:46] <dcarley> robinbowes: it's been "adopted" and is ticketed in redmine. obviously not upstream/code yet though. | ||
| [2011/12/01 02:54:24] <robinbowes> OK, so I can create tickets against it? | ||
| [2011/12/01 02:54:34] <dcarley> yeah | ||
| [2011/12/01 02:54:35] @ tom_lessthan_pup joined channel #puppet | ||
| [2011/12/01 02:56:44] @ duerF joined channel #puppet | ||
| [2011/12/01 03:00:29] @ allien_sho_inc joined channel #puppet | ||
| [2011/12/01 03:01:46] @ Quit: allien_sho_inc: Client Quit | ||
| [2011/12/01 03:07:35] @ sid__ joined channel #puppet | ||
| [2011/12/01 03:07:41] <sid__> hi | ||
| [2011/12/01 03:07:58] <sid__> i am tryning to integrate puppet with otrs | ||
| [2011/12/01 03:08:24] <sid__> can any one help me with some links and examples | ||
| [2011/12/01 03:14:08] @ Quit: tom_lessthan_pup: Quit: Leaving | ||
| [2011/12/01 03:14:16] @ Quit: amoe: Remote host closed the connection | ||
| [2011/12/01 03:21:09] <sid__> has anyone have idea? | ||
| [2011/12/01 03:22:27] @ Quit: dnjaramba: Ping timeout: 252 seconds | ||
| [2011/12/01 03:22:34] @ dnjaramba joined channel #puppet | ||
| [2011/12/01 03:23:44] <Roxja> hi guys, puppet dashboard isn't processing any pending tasks. I've started the puppet-dashboard-worker service but no change. Can anyone help? | ||
| [2011/12/01 03:23:46] @ choonming joined channel #puppet | ||
| [2011/12/01 03:28:29] @ Quit: jodok: Quit: jodok | ||
| [2011/12/01 03:28:52] @ Quit: bolt12: Quit: Leaving. | ||
| [2011/12/01 03:32:45] @ kelseyhi1htower joined channel #puppet | ||
| [2011/12/01 03:35:40] @ Quit: kelseyhightower: Ping timeout: 259 seconds | ||
| [2011/12/01 03:35:41] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/12/01 03:37:50] @ Quit: daysmen: Ping timeout: 252 seconds | ||
| [2011/12/01 03:43:36] @ jodok joined channel #puppet | ||
| [2011/12/01 03:43:36] @ Quit: jodok: Changing host | ||
| [2011/12/01 03:43:36] @ jodok joined channel #puppet | ||
| [2011/12/01 03:43:59] <sid__> I AM TRYING TO INTEGRATE PUPPET DASHBOARD WITH OTRS | ||
| [2011/12/01 03:44:06] <sid__> CAN ANY ONE HELP ME | ||
| [2011/12/01 03:44:19] <_rc_> not now. | ||
| [2011/12/01 03:44:41] <Spads> sid__: left of the 'A' key you'll find a badly-named key. Turns out it's not used to lock the keycaps onto your keyboard so nobody steals them. | ||
| [2011/12/01 03:45:08] <sid__> can ayone have any links to share | ||
| [2011/12/01 03:45:10] <sid__> > | ||
| [2011/12/01 03:47:36] <Spads> sid__: http://www.nytimes.com/imagepages/2010/06/03/us/jp-NUKE.html | ||
| [2011/12/01 03:48:01] @ Quit: nuknad: Quit: nuknad | ||
| [2011/12/01 03:49:00] @ daysmen joined channel #puppet | ||
| [2011/12/01 03:49:10] <sid__> whats this ? | ||
| [2011/12/01 03:49:45] <_rc_> it's a link he's sharing | ||
| [2011/12/01 03:51:11] @ Quit: jodok: Quit: jodok | ||
| [2011/12/01 03:51:25] @ Quit: maxb: Ping timeout: 240 seconds | ||
| [2011/12/01 03:51:31] <_rc_> sid__: now coming round to your problem, it's clear you have something in your minds eye when you say dashboard and otrs integration, would you like to break it down into smaller questions so it doesn't sound like a homework assignment? | ||
| [2011/12/01 03:55:37] <sid__> it means if any updation failed it show in red color ,i want to generate automatic ticket through otrs ? | ||
| [2011/12/01 03:55:55] @ Quit: dds: Quit: ZNC by prozac - http://znc.sourceforge.net | ||
| [2011/12/01 03:56:26] @ dds_ joined channel #puppet | ||
| [2011/12/01 03:56:51] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/12/01 03:57:27] <_rc_> you may be better served just be deriving your own report handler | ||
| [2011/12/01 03:57:32] <_rc_> http://docs.puppetlabs.com/references/stable/report.html | ||
| [2011/12/01 03:59:27] @ Quit: dissipate_: Remote host closed the connection | ||
| [2011/12/01 04:02:07] @ Quit: BLZbubba: Ping timeout: 258 seconds | ||
| [2011/12/01 04:03:05] @ nuknad joined channel #puppet | ||
| [2011/12/01 04:03:56] @ Quit: ken_barber: Quit: Leaving. | ||
| [2011/12/01 04:04:59] @ Quit: sid__: Ping timeout: 265 seconds | ||
| [2011/12/01 04:09:23] @ natewalck joined channel #puppet | ||
| [2011/12/01 04:10:00] @ ckauhaus joined channel #puppet | ||
| [2011/12/01 04:10:22] <erthad> hiall | ||
| [2011/12/01 04:10:34] @ Bardack joined channel #puppet | ||
| [2011/12/01 04:10:38] <Bardack> hoi | ||
| [2011/12/01 04:10:49] <Bardack> I m using puppet with foreman | ||
| [2011/12/01 04:11:17] <Bardack> I do have a host created in foreman, with some parameters | ||
| [2011/12/01 04:11:35] <Bardack> if I execute the : ./node.rb <host>, I see the needed parameter | ||
| [2011/12/01 04:12:11] <Bardack> and this parameter can be called in a puppet classe like this: file { "/var/lib/$MYPARAMETER": .... } | ||
| [2011/12/01 04:12:16] @ bolt12 joined channel #puppet | ||
| [2011/12/01 04:12:42] <_rc_> all uppercase? | ||
| [2011/12/01 04:12:46] <Bardack> but I want to be able to use this $MYPARAMETER in a file located in template directroy | ||
| [2011/12/01 04:12:49] <Bardack> directory | ||
| [2011/12/01 04:12:58] <Bardack> well yeah | ||
| [2011/12/01 04:13:01] <Bardack> just an example | ||
| [2011/12/01 04:13:14] <Bardack> to be honest the parameter created is CALLED : TEST, value : BROL | ||
| [2011/12/01 04:13:40] <Bardack> so created a puppet module, and call was to create the BROL directory , using the file ...$TEST, and it works | ||
| [2011/12/01 04:13:41] <_rc_> well it's probably the CAPITALS that're MESSING WITH YOU | ||
| [2011/12/01 04:14:14] <Bardack> so if I change the value, next puppet run will create another directory with the specified value | ||
| [2011/12/01 04:14:18] <Bardack> yeah ok sorry ;) | ||
| [2011/12/01 04:14:39] <Bardack> but the final goal in fact is to have on my client host, a file containing all those parameters | ||
| [2011/12/01 04:14:52] <_rc_> because to ruby, something that's fullcaps is a constant | ||
| [2011/12/01 04:15:01] <Bardack> oh | ||
| [2011/12/01 04:15:05] <Bardack> true | ||
| [2011/12/01 04:15:22] <Bardack> but since it works in manifests, shouldn't be a big problem, but I'll fix that | ||
| [2011/12/01 04:15:27] <_rc_> so when you <%= TEST %> in your template it's probably going to be a sad panda | ||
| [2011/12/01 04:15:32] <Bardack> ah ok | ||
| [2011/12/01 04:15:42] <Bardack> but normally should call it in my template in that way then : | ||
| [2011/12/01 04:15:48] <Bardack> <%=$myparameter %> | ||
| [2011/12/01 04:15:50] <Bardack> right? | ||
| [2011/12/01 04:15:56] <_rc_> but I'm jumping ahead, because you didn't say what problem you have yet | ||
| [2011/12/01 04:15:58] <_rc_> no $ | ||
| [2011/12/01 04:16:11] <Bardack> the problem is to reuse that parameter in the template | ||
| [2011/12/01 04:16:21] <_rc_> $foo in manifests <%= foo %> in templates | ||
| [2011/12/01 04:16:33] <Bardack> grumf? | ||
| [2011/12/01 04:16:46] <Bardack> should recuperate the parameter in manifest only? | ||
| [2011/12/01 04:16:57] <_rc_> what? | ||
| [2011/12/01 04:17:06] <Bardack> well yeah stupid english word sorry :) | ||
| [2011/12/01 04:17:14] <_rc_> http://dictionary.reference.com/browse/recuperate | ||
| [2011/12/01 04:17:19] <Bardack> hehe | ||
| [2011/12/01 04:17:46] <Bardack> the final goal is to have on my client host, a file vars.conf stored somewhere, containing all parameters name+value created in foreman | ||
| [2011/12/01 04:18:21] <Bardack> and even if in my node.rb execution I see the parameters , on the puppet master ... | ||
| [2011/12/01 04:18:33] <Bardack> I don't know how to directly send them to the client | ||
| [2011/12/01 04:18:40] @ amoe joined channel #puppet | ||
| [2011/12/01 04:18:44] <Bardack> this is why I tried the template thing | ||
| [2011/12/01 04:18:52] <Bardack> hope this clarify | ||
| [2011/12/01 04:18:57] <_rc_> not really | ||
| [2011/12/01 04:18:59] <Bardack> :) | ||
| [2011/12/01 04:19:06] <_rc_> what problem do you have right now? | ||
| [2011/12/01 04:19:22] <Bardack> my vars.conf is sotred on my client host correctly | ||
| [2011/12/01 04:19:29] <Bardack> BUT with no value | ||
| [2011/12/01 04:19:39] <Bardack> my vars.conf (located on puppet master, template directory) looks like this: | ||
| [2011/12/01 04:19:46] <_rc_> so the values in the template didn't expand correctly? | ||
| [2011/12/01 04:19:50] <Bardack> parameter1=<%=parameter1 %> | ||
| [2011/12/01 04:19:59] <Bardack> and my parameter1 is set as parameter in foreman | ||
| [2011/12/01 04:20:05] <Bardack> voila | ||
| [2011/12/01 04:20:12] <Bardack> the final vars.conf contains: | ||
| [2011/12/01 04:20:14] <Bardack> parameter1= | ||
| [2011/12/01 04:20:52] <robinbowes> Try more spaces? | ||
| [2011/12/01 04:20:56] <Bardack> ? | ||
| [2011/12/01 04:20:56] <_rc_> is that the actual template, or are you going round the houses to avoid sharing sensitive information? | ||
| [2011/12/01 04:21:00] <robinbowes> <%= parameter1 %> | ||
| [2011/12/01 04:21:22] <Bardack> well not on the computer containing the file (stupid proxy) | ||
| [2011/12/01 04:21:28] <Bardack> but the exact thing is with : | ||
| [2011/12/01 04:21:34] <Bardack> TEST=<%=TEST > | ||
| [2011/12/01 04:21:39] <Bardack> parameter in foreman is TEST | ||
| [2011/12/01 04:21:43] <Bardack> and voila | ||
| [2011/12/01 04:21:51] <_rc_> change it in forman to test, in lowercase | ||
| [2011/12/01 04:21:51] <Bardack> so maybe the uppercase thing you were talking about | ||
| [2011/12/01 04:21:55] <robinbowes> Pastebin your exact template file please | ||
| [2011/12/01 04:21:58] <Bardack> ok I'll be back in a moment | ||
| [2011/12/01 04:22:05] <_rc_> then change the template | ||
| [2011/12/01 04:22:22] <Bardack> gonan check and come back to you in a moment , thx for your time _rc_ | ||
| [2011/12/01 04:27:37] <Bardack> back | ||
| [2011/12/01 04:27:56] <Bardack> http://pastebin.com/gntuknxk | ||
| [2011/12/01 04:28:06] <Bardack> lpr-mgmt01 is the puppet master | ||
| [2011/12/01 04:28:11] <Bardack> lts-fat6-theseos is the client | ||
| [2011/12/01 04:28:34] <_rc_> Bardack: your template is wrong | ||
| [2011/12/01 04:28:37] <_rc_> test=<%=$test %> | ||
| [2011/12/01 04:28:40] <robinbowes> Yup | ||
| [2011/12/01 04:28:45] <robinbowes> remove the $ | ||
| [2011/12/01 04:28:49] <robinbowes> space after = | ||
| [2011/12/01 04:28:56] <robinbowes> test=<%= test %> | ||
| [2011/12/01 04:29:03] <_rc_> the space is optional, the $ is messing with it | ||
| [2011/12/01 04:29:13] <robinbowes> Mem, space looks nice :) | ||
| [2011/12/01 04:29:26] @ maxb joined channel #puppet | ||
| [2011/12/01 04:29:32] * fragfutter . o O (python) | ||
| [2011/12/01 04:29:37] <_rc_> we can make it pretty after it refers to the correct variable | ||
| [2011/12/01 04:29:51] <robinbowes> Make it pretty first! | ||
| [2011/12/01 04:30:37] <Bardack> grumf? | ||
| [2011/12/01 04:30:48] <Bardack> lets re read your answer ^^ | ||
| [2011/12/01 04:30:54] <_rc_> http://docs.puppetlabs.com/guides/templating.html | ||
| [2011/12/01 04:31:04] <robinbowes> grumg? | ||
| [2011/12/01 04:31:08] <robinbowes> *grumf? | ||
| [2011/12/01 04:31:21] <_rc_> <%= test %> is different from the incorrect <%= $test %> | ||
| [2011/12/01 04:31:23] <Bardack> = not understood ^^ | ||
| [2011/12/01 04:31:30] <Bardack> gonna check your link | ||
| [2011/12/01 04:31:37] <_rc_> because templates are a different syntax to manifests | ||
| [2011/12/01 04:31:40] <_rc_> they just are | ||
| [2011/12/01 04:32:57] @ BManojlovic joined channel #puppet | ||
| [2011/12/01 04:32:57] @ Quit: BManojlovic: Changing host | ||
| [2011/12/01 04:32:57] @ BManojlovic joined channel #puppet | ||
| [2011/12/01 04:34:10] <Bardack> this is not clean | ||
| [2011/12/01 04:34:12] @ Quit: csanchez: Quit: csanchez | ||
| [2011/12/01 04:34:13] <Bardack> clear* | ||
| [2011/12/01 04:34:17] <Bardack> so my template is not good | ||
| [2011/12/01 04:34:26] <Bardack> test=<%=$test > is not good | ||
| [2011/12/01 04:34:38] <Bardack> as you said I did : test=<%= test > | ||
| [2011/12/01 04:34:47] <Bardack> but this is not good either | ||
| [2011/12/01 04:34:55] <Bardack> test is not a variable located in my manifest | ||
| [2011/12/01 04:34:56] <robinbowes> Read what we said | ||
| [2011/12/01 04:35:04] <Bardack> well already read it 3 times ^^ | ||
| [2011/12/01 04:35:14] <robinbowes> And be accurate | ||
| [2011/12/01 04:35:31] <robinbowes> test=<%= test > is missing a % before the final > | ||
| [2011/12/01 04:35:51] <Bardack> well the test= is the vars.conf created by the template | ||
| [2011/12/01 04:35:57] <robinbowes> Also, test is only a value used in the example | ||
| [2011/12/01 04:36:03] <Bardack> I cannot do anything with it excepting modifying the template :/ | ||
| [2011/12/01 04:36:26] <robinbowes> Change test to match something that exists | ||
| [2011/12/01 04:36:35] <Bardack> test does exist | ||
| [2011/12/01 04:36:41] <Bardack> check the ./node.rb | ||
| [2011/12/01 04:36:47] <Bardack> line 26 | ||
| [2011/12/01 04:36:52] <robinbowes> For testing purposes, you might like to use fqdn or hostname (which are built-in facts) so you can make sure your template is correct | ||
| [2011/12/01 04:37:03] <_rc_> show us the current state of your template | ||
| [2011/12/01 04:37:14] <_rc_> it's unclear to me how you've mangled it now | ||
| [2011/12/01 04:37:27] <Bardack> same as first pastebin except line 2 is now: | ||
| [2011/12/01 04:37:41] <Bardack> test=<%= test %> | ||
| [2011/12/01 04:38:01] <Bardack> ah need to add a space before <% | ||
| [2011/12/01 04:38:07] <_rc_> no | ||
| [2011/12/01 04:38:09] <robinbowes> No | ||
| [2011/12/01 04:38:15] <_rc_> you just need to run puppet now | ||
| [2011/12/01 04:39:11] @ dbgster joined channel #puppet | ||
| [2011/12/01 04:39:38] <Bardack> and it just fails | ||
| [2011/12/01 04:39:46] <_rc_> with what message? | ||
| [2011/12/01 04:39:53] <Bardack> wrong number of argument | ||
| [2011/12/01 04:39:58] <_rc_> SHOW US | ||
| [2011/12/01 04:40:09] <Bardack> lol not easy coz not on the same computer, so wait again :) | ||
| [2011/12/01 04:40:10] <_rc_> use the paste service like you did before please | ||
| [2011/12/01 04:40:14] @ Quit: Holocaine: | ||
| [2011/12/01 04:41:42] @ Quit: natewalck: Remote host closed the connection | ||
| [2011/12/01 04:41:57] @ natewalck joined channel #puppet | ||
| [2011/12/01 04:43:23] <Bardack> back again ^^ | ||
| [2011/12/01 04:43:39] @ silversurfer joined channel #puppet | ||
| [2011/12/01 04:43:55] <Bardack> http://pastebin.com/xEvLit5F | ||
| [2011/12/01 04:44:31] <Bardack> what did I do wrong this time? :) | ||
| [2011/12/01 04:44:39] <_rc_> it occurs to me that test is a really really bad name | ||
| [2011/12/01 04:44:56] <_rc_> there's probably a function in that scope called test | ||
| [2011/12/01 04:45:15] <_rc_> which expects a non-zero number of arguments | ||
| [2011/12/01 04:45:52] <_rc_> rename your test property again, call it ilikeducks | ||
| [2011/12/01 04:46:23] @ pmorillon joined channel #puppet | ||
| [2011/12/01 04:46:31] @ Quit: daysmen: Quit: leaving | ||
| [2011/12/01 04:46:54] @ daysmen joined channel #puppet | ||
| [2011/12/01 04:47:42] <Bardack> mmm ok | ||
| [2011/12/01 04:48:18] <_rc_> http://pastie.org/2949282 | ||
| [2011/12/01 04:48:23] @ jedi4ever joined channel #puppet | ||
| [2011/12/01 04:48:27] <_rc_> yup, test is a ruby builtin | ||
| [2011/12/01 04:49:44] @ ryancoleman joined channel #puppet | ||
| [2011/12/01 04:51:08] <Bardack> so I ll remember that | ||
| [2011/12/01 04:51:13] <Bardack> never use test as name :) | ||
| [2011/12/01 04:51:19] <Bardack> it works now | ||
| [2011/12/01 04:51:24] <Bardack> thx very much for your help | ||
| [2011/12/01 04:51:31] @ Quit: AshishH: Quit: In a day, when you do not come across any problem means you are travelling in a wrong path. | ||
| [2011/12/01 04:52:44] @ Quit: dbgster: Quit: dbgster | ||
| [2011/12/01 05:00:53] @ Quit: Vasik|work: Quit: Leaving | ||
| [2011/12/01 05:02:28] @ Quit: eightyeight: Ping timeout: 244 seconds | ||
| [2011/12/01 05:02:52] @ pmorillon_ joined channel #puppet | ||
| [2011/12/01 05:04:44] @ Quit: pmorillon: Ping timeout: 252 seconds | ||
| [2011/12/01 05:04:44] @ pmorillon_ is now known as pmorillon | ||
| [2011/12/01 05:06:48] <larstobi> When using defined types, is there a fundamental difference in using $title vs. using $name as the resource name? | ||
| [2011/12/01 05:07:10] <Roxja> hi, using a case statement to set and ip based on hostname and augeas to set the ip in ifcfg-eth0. set IPADDR $ipaddr doesn't pass an ip though | ||
| [2011/12/01 05:07:12] <Roxja> any idea? | ||
| [2011/12/01 05:07:31] <Dominic> Roxja: can you pastebin your resource? | ||
| [2011/12/01 05:07:36] <Roxja> sure | ||
| [2011/12/01 05:07:50] <Dominic> and is $ipaddr a custom fact/variable? The facter one is $ipaddress. | ||
| [2011/12/01 05:08:07] <fragfutter> Roxja: you might want to just create a new ifcfg with a template | ||
| [2011/12/01 05:08:22] @ ken_barber joined channel #puppet | ||
| [2011/12/01 05:08:57] <Roxja> http://pastebin.com/FE7hzpT5 | ||
| [2011/12/01 05:09:19] <Dominic> Roxja: single quotes need changing to double quotes, or the variable won't be interpolated | ||
| [2011/12/01 05:09:34] @ Quit: jedi4ever: Quit: jedi4ever | ||
| [2011/12/01 05:10:08] <Dominic> you could just do it on the IPADDR line, to avoid messing with the double quotes elsewhere | ||
| [2011/12/01 05:10:16] <Roxja> Dominic: I'll give that a go | ||
| [2011/12/01 05:10:25] @ Quit: ryancoleman: Quit: Leaving. | ||
| [2011/12/01 05:10:54] @ jodok joined channel #puppet | ||
| [2011/12/01 05:10:54] @ Quit: jodok: Changing host | ||
| [2011/12/01 05:10:54] @ jodok joined channel #puppet | ||
| [2011/12/01 05:13:13] @ bitfield joined channel #puppet | ||
| [2011/12/01 05:13:29] <Roxja> Dominic: whoot! thanks | ||
| [2011/12/01 05:13:33] <bitfield> hiya | ||
| [2011/12/01 05:14:13] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/12/01 05:14:35] <bitfield> i'm having a problem referencing fully-qualified variables in a template. eg if i say '<%= wordpress::server::site_url %>' it complains 'could not find value for wordpress'. | ||
| [2011/12/01 05:14:46] <matchaw___> Hi wondering if someone could help with a parameterized class issue. | ||
| [2011/12/01 05:14:47] <bitfield> what's the right syntax here? | ||
| [2011/12/01 05:14:48] <matchaw___> http://pastie.org/2949378 | ||
| [2011/12/01 05:16:59] <bitfield> matchaw___: you could pass a parameter into core::default and then have it pass the value of that as a parameter to puppet::client? it's a bit messy though | ||
| [2011/12/01 05:17:50] <matchaw___> bitfiled: well its only *some* nodes that will require changing i.e reports could be switched off for some nodes. | ||
| [2011/12/01 05:18:20] <bitfield> matchaw___: yes, in that case you can supply sensible defaults | ||
| [2011/12/01 05:18:33] <bitfield> extlookup() might be another approach | ||
| [2011/12/01 05:19:23] <bitfield> have a look at http://docs.puppetlabs.com/guides/parameterized_classes.html for how to set defaults, if you haven't | ||
| [2011/12/01 05:19:37] <matchaw___> well I have defaults for the variables in the puppet::client class the only issue is because its defined in core::defaults I cannot redefine it in the node. | ||
| [2011/12/01 05:22:53] @ skm joined channel #puppet | ||
| [2011/12/01 05:23:53] @ kronn left channel #puppet () | ||
| [2011/12/01 05:29:13] <bitfield> how about http://pastie.org/2949444 - does that work? | ||
| [2011/12/01 05:30:00] <gepetto> ::redmine:: Wiki edit: User_And_Homedir_Recipe_Patterns (#4) @ http://projects.puppetlabs.com/projects/puppet/wiki/User_And_Homedir_Recipe_Patterns?version=4 (by Riccardo Pupazzi) | ||
| [2011/12/01 05:31:42] <bitfield> i'm having to use scope.lookupvar for all qualified variables in a template now - which is a pain | ||
| [2011/12/01 05:31:55] @ Quit: gaveen: Ping timeout: 244 seconds | ||
| [2011/12/01 05:33:01] @ Quit: Hamzah: Ping timeout: 240 seconds | ||
| [2011/12/01 05:33:28] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/12/01 05:35:12] @ Hamzah joined channel #puppet | ||
| [2011/12/01 05:36:27] @ menonbros joined channel #puppet | ||
| [2011/12/01 05:37:17] @ menonbros left channel #puppet () | ||
| [2011/12/01 05:37:26] @ Quit: cliff-hm: Ping timeout: 244 seconds | ||
| [2011/12/01 05:37:36] @ ryancoleman joined channel #puppet | ||
| [2011/12/01 05:38:21] @ Quit: blentz: Quit: Ex-Chat | ||
| [2011/12/01 05:38:31] @ ldlework joined channel #puppet | ||
| [2011/12/01 05:38:38] @ Quit: jmslagle: Ping timeout: 244 seconds | ||
| [2011/12/01 05:39:38] @ Quit: ken_barber: Quit: Leaving. | ||
| [2011/12/01 05:40:15] @ DJClean joined channel #puppet | ||
| [2011/12/01 05:41:27] @ Quit: fimblo: Ping timeout: 240 seconds | ||
| [2011/12/01 05:41:51] @ Quit: xeor: Ping timeout: 240 seconds | ||
| [2011/12/01 05:43:15] @ espent joined channel #puppet | ||
| [2011/12/01 05:43:40] @ gaveen joined channel #puppet | ||
| [2011/12/01 05:45:11] @ Quit: kermit: Ping timeout: 244 seconds | ||
| [2011/12/01 05:46:51] @ Quit: bitfield: Quit: bitfield | ||
| [2011/12/01 05:49:07] @ frostynova joined channel #puppet | ||
| [2011/12/01 05:51:29] @ Quit: emergion: Ping timeout: 255 seconds | ||
| [2011/12/01 05:52:42] @ emergion joined channel #puppet | ||
| [2011/12/01 05:53:39] @ csanchez joined channel #puppet | ||
| [2011/12/01 05:53:46] @ Quit: nuknad: Quit: nuknad | ||
| [2011/12/01 05:55:19] @ car|0s joined channel #puppet | ||
| [2011/12/01 05:56:00] @ aib_007 joined channel #puppet | ||
| [2011/12/01 05:57:17] @ BLZbubba joined channel #puppet | ||
| [2011/12/01 05:59:49] @ blentz joined channel #puppet | ||
| [2011/12/01 06:00:57] @ Quit: car|0s: Ping timeout: 258 seconds | ||
| [2011/12/01 06:01:12] @ car|0s joined channel #puppet | ||
| [2011/12/01 06:03:59] @ mcarpent joined channel #puppet | ||
| [2011/12/01 06:06:51] @ Quit: jodok: Quit: jodok | ||
| [2011/12/01 06:07:20] @ astrostl joined channel #puppet | ||
| [2011/12/01 06:09:06] <faulpaul> hi guys | ||
| [2011/12/01 06:09:12] <faulpaul> i have a question | ||
| [2011/12/01 06:09:56] <_rc_> is it: why do birds sing? | ||
| [2011/12/01 06:11:32] <faulpaul> yes | ||
| [2011/12/01 06:11:38] <faulpaul> why do they do that | ||
| [2011/12/01 06:11:42] <faulpaul> its so confusing | ||
| [2011/12/01 06:11:50] <faulpaul> and anoying | ||
| [2011/12/01 06:12:04] @ xeor joined channel #puppet | ||
| [2011/12/01 06:12:28] <faulpaul> but my quetsion was more in the line of is it possible to make puppet checks based on tags? | ||
| [2011/12/01 06:12:48] <faulpaul> so if node a hast the tag "test1" than give him this user | ||
| [2011/12/01 06:13:26] <_rc_> probably. how does puppet find out about the tags? | ||
| [2011/12/01 06:13:42] <faulpaul> i tag the node in the nodes.pp | ||
| [2011/12/01 06:13:47] @ mgw joined channel #puppet | ||
| [2011/12/01 06:13:48] <_rc_> you can probably map tags to classes | ||
| [2011/12/01 06:13:59] <faulpaul> cool | ||
| [2011/12/01 06:14:04] <faulpaul> i could work with that | ||
| [2011/12/01 06:14:19] <_rc_> well in nodes.pp, tag it like so: include your_class | ||
| [2011/12/01 06:14:39] <faulpaul> and in the class? | ||
| [2011/12/01 06:14:50] @ Quit: duerF: Quit: Leaving | ||
| [2011/12/01 06:14:58] <_rc_> put the resources that you want to happen when that 'tag' is applied | ||
| [2011/12/01 06:15:30] @ fimblo joined channel #puppet | ||
| [2011/12/01 06:15:32] <_rc_> class your_class { user { "you": } } | ||
| [2011/12/01 06:15:42] <faulpaul> okay, will try, have only tried it with modules and taht did not worked | ||
| [2011/12/01 06:15:58] <_rc_> in what way didn't it work? | ||
| [2011/12/01 06:16:27] @ jodok joined channel #puppet | ||
| [2011/12/01 06:16:28] @ Quit: jodok: Changing host | ||
| [2011/12/01 06:16:28] @ jodok joined channel #puppet | ||
| [2011/12/01 06:17:40] <faulpaul> i tried to find something like "case tag='test'... tag='test2'" | ||
| [2011/12/01 06:17:59] @ overgrownpuppy joined channel #puppet | ||
| [2011/12/01 06:18:29] <_rc_> it sounds like you're still expecting there to be another source of tags | ||
| [2011/12/01 06:19:06] <ashp> A morning gift for anyone with linux (as it didn't work on osx): telnet miku.acm.uiuc.edu | ||
| [2011/12/01 06:19:23] <_rc_> it works on OSX with iTerm | ||
| [2011/12/01 06:19:34] <_rc_> Terminal.app may just blow | ||
| [2011/12/01 06:19:38] @ Quit: sunny: Quit: leaving | ||
| [2011/12/01 06:19:38] @ Quit: thedonvaughn: Read error: Connection reset by peer | ||
| [2011/12/01 06:20:10] <fragfutter> _rc_: star wars? | ||
| [2011/12/01 06:20:21] <faulpaul> well in the nodes.pp I put node 'node1 inherits basenode { tag('DMZ') }' | ||
| [2011/12/01 06:20:32] <_rc_> on of those silly cat things | ||
| [2011/12/01 06:20:54] <faulpaul> and in the basenode I included a module | ||
| [2011/12/01 06:21:16] <faulpaul> and this module should add different files depending on the tag of the machine (DMZ, LAN etc...) | ||
| [2011/12/01 06:21:29] <_rc_> faulpaul: tags in puppet aren't what you hope they are I think | ||
| [2011/12/01 06:21:34] <fragfutter> _rc_: telnet towel.blinkenlights.nl | ||
| [2011/12/01 06:22:29] <_rc_> faulpaul: http://docs.puppetlabs.com/references/stable/function.html#tag | ||
| [2011/12/01 06:22:54] @ Quit: mgw: Quit: Leaving. | ||
| [2011/12/01 06:23:03] <_rc_> faulpaul: and you test using tagged | ||
| [2011/12/01 06:23:22] <_rc_> but really tagging tags resources, not hosts | ||
| [2011/12/01 06:24:59] <faulpaul> so in the end I want to give a subset of nodes a specific set of rules, but i already have different basetypes | ||
| [2011/12/01 06:25:03] @ nuknad joined channel #puppet | ||
| [2011/12/01 06:25:05] <_rc_> ashp: actually it works with Terminal.app too, so I'm not sure why you say it's no good on osx | ||
| [2011/12/01 06:25:23] <faulpaul> so a node can be for example be test and DMZ at the same time, or Prod and LAN | ||
| [2011/12/01 06:26:02] <faulpaul> how can I do that witout including everything (or mace a "meta module" where i include all the other things?) | ||
| [2011/12/01 06:26:04] <_rc_> faulpaul: again, puppet tagging, it's not the mechanism you're looking for | ||
| [2011/12/01 06:26:29] @ sdog joined channel #puppet | ||
| [2011/12/01 06:27:04] @ espent left channel #puppet () | ||
| [2011/12/01 06:27:18] <faulpaul> _rc_: i got that, my question was what to use instead | ||
| [2011/12/01 06:27:25] @ thedonvaughn joined channel #puppet | ||
| [2011/12/01 06:27:57] <_rc_> faulpaul: what you're trying to do is unclear to me too | ||
| [2011/12/01 06:28:17] @ brandon_dacrib joined channel #puppet | ||
| [2011/12/01 06:28:49] <faulpaul> well I use different basetypes to inherit modules and classes to nodes | ||
| [2011/12/01 06:28:49] <_rc_> I'm not sure if in your mind a tag is just a name for a collection of data, or or really different behaviour | ||
| [2011/12/01 06:28:50] @ Quit: sdog: Changing host | ||
| [2011/12/01 06:28:50] @ sdog joined channel #puppet | ||
| [2011/12/01 06:28:52] @ ken_barber joined channel #puppet | ||
| [2011/12/01 06:29:07] <faulpaul> im not talking about tags anymore | ||
| [2011/12/01 06:29:21] <_rc_> inheritance is a pain too | ||
| [2011/12/01 06:29:30] @ sduchesneau joined channel #puppet | ||
| [2011/12/01 06:29:47] @ Quit: dclp: Quit: dclp | ||
| [2011/12/01 06:29:47] <faulpaul> so the broblem is that nodes from different basetypes should get the same modules and classes | ||
| [2011/12/01 06:29:55] <_rc_> and I'm not sure why you separate modules from classes. a module is a container for classes | ||
| [2011/12/01 06:30:17] <faulpaul> okay, but thats not the question | ||
| [2011/12/01 06:30:55] <faulpaul> i just want to know what is the best way to give a set of modules to a set of nodes | ||
| [2011/12/01 06:30:55] <_rc_> stuff inheritance, if a node needs classes a, b, c assign it classes a b and c | ||
| [2011/12/01 06:31:24] <faulpaul> that is not very convenient in a larger environment | ||
| [2011/12/01 06:31:34] <faulpaul> and I use that already | ||
| [2011/12/01 06:32:02] <walkeran> In a larger environment, you don't use nodes.pp, so it's not a problem | ||
| [2011/12/01 06:32:04] <_rc_> it's relly very convenient | ||
| [2011/12/01 06:32:12] * walkeran avoids inheritance like the plague | ||
| [2011/12/01 06:32:16] @ Quit: riha: Ping timeout: 248 seconds | ||
| [2011/12/01 06:32:35] <_rc_> you declare a foew classes which are your roles, you use an enc to apply those roles to nodes of that type, job done | ||
| [2011/12/01 06:33:03] <faulpaul> as I said I have several basetypes that I use to inherit a set of modules to nodes | ||
| [2011/12/01 06:33:27] <_rc_> yes. don't do that | ||
| [2011/12/01 06:33:38] <_rc_> inheritance is a sticky mess | ||
| [2011/12/01 06:33:58] <faulpaul> now I want to inherit another set, but to a different subset of machines, and since I can only use 1 basenode I am kinda stuck, unless I include all modules by hand to all machines | ||
| [2011/12/01 06:34:14] <Evolution> is there a walkthrough for the initial setup of modules within puppet(master) ? | ||
| [2011/12/01 06:34:17] @ duerF joined channel #puppet | ||
| [2011/12/01 06:34:24] <_rc_> yeah, this is what makes inheritance a mess | ||
| [2011/12/01 06:34:33] <faulpaul> so you suggest that i include all modules for each node by hand? | ||
| [2011/12/01 06:34:45] <_rc_> no, I suggest you have software do it | ||
| [2011/12/01 06:34:48] <Evolution> most of the howto/walkthrough doco just shows making a basic rule. how do I do an initial setup of modules. | ||
| [2011/12/01 06:35:02] <faulpaul> or put everything in classes and create modules like test_dmz that include all the calasses tehn? | ||
| [2011/12/01 06:35:16] <_rc_> Evolution: I'm not sure if this answers what you want - http://docs.puppetlabs.com/guides/modules.html | ||
| [2011/12/01 06:35:39] <faulpaul> _rc_: any suggestion which software? | ||
| [2011/12/01 06:35:55] <_rc_> faulpaul: http://docs.puppetlabs.com/guides/external_nodes.html | ||
| [2011/12/01 06:36:10] <Evolution> _rc_: kind of. I was looking at that, however I wasn't 100% sure about what I was reading | ||
| [2011/12/01 06:36:20] @ Quit: nuknad: Quit: nuknad | ||
| [2011/12/01 06:36:27] @ riha joined channel #puppet | ||
| [2011/12/01 06:36:39] <faulpaul> _rc_: thanks a lot, looks like the thing I was looking for! | ||
| [2011/12/01 06:36:39] <Evolution> _rc_: so I simply need to add the modulepath in my master section, then drop the modules in that location? | ||
| [2011/12/01 06:36:44] <Evolution> that's it? | ||
| [2011/12/01 06:36:44] <_rc_> Evolution: they're called words :) More seriously, what are your specific questions? | ||
| [2011/12/01 06:36:51] <Evolution> haha | ||
| [2011/12/01 06:37:24] <_rc_> yes, and ensure they follow the naming for files and directories as laid out in that guide | ||
| [2011/12/01 06:38:37] <Evolution> _rc_: and the initial bits the doco has you drop in /etc/puppet/manifests can simply be deleted at that point, right? | ||
| [2011/12/01 06:38:44] <Evolution> the classes and site.pp bits? | ||
| [2011/12/01 06:39:05] <_rc_> I don't know what 'doco' to which you refer | ||
| [2011/12/01 06:39:42] <_rc_> the only expected thing in manifests is site.pp; anything it does is your own configuration | ||
| [2011/12/01 06:39:57] @ cliff-hm joined channel #puppet | ||
| [2011/12/01 06:40:08] <Evolution> _rc_: http://projects.puppetlabs.com/projects/1/wiki/Simplest_Puppet_Install_Pattern | ||
| [2011/12/01 06:41:12] <Evolution> actually it looks like the 'advanced' bit has what I need http://projects.puppetlabs.com/projects/1/wiki/Advanced_Puppet_Pattern | ||
| [2011/12/01 06:41:15] @ Quit: abetterlie: Quit: Lost terminal | ||
| [2011/12/01 06:41:20] @ Quit: dnjaramba: | ||
| [2011/12/01 06:41:23] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/12/01 06:41:24] <Evolution> they move from the site.pp there to /etc/puppet/modules | ||
| [2011/12/01 06:41:48] <_rc_> I think you're reading it wrong | ||
| [2011/12/01 06:42:02] <Evolution> possible. | ||
| [2011/12/01 06:42:05] <_rc_> the only thing they say to put in site.pp is a node declaration | ||
| [2011/12/01 06:42:25] <_rc_> everything else goes in a module | ||
| [2011/12/01 06:42:46] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/12/01 06:42:53] <walkeran> Evolution: Another thing, if you are serious about puppeteering, grab the "Pro Puppet" book. You'll benefit from it no matter how much experience you have | ||
| [2011/12/01 06:43:29] @ lborda joined channel #puppet | ||
| [2011/12/01 06:43:36] <_rc_> in the Simple pattern at least | ||
| [2011/12/01 06:43:36] <Evolution> walkeran: that's not a half-bad suggestion. and tis-the-season to make someone else buy it for me :-P | ||
| [2011/12/01 06:43:45] <ashp> Pro Puppet is a really good book. | ||
| [2011/12/01 06:43:45] <walkeran> Hah. For sure :) | ||
| [2011/12/01 06:43:49] <ashp> I have bought two copies so far. | ||
| [2011/12/01 06:44:02] <ashp> I say "I" I mean "I've made two different companies buy copies so far" | ||
| [2011/12/01 06:44:04] @ Quit: jaydg: Quit: Verlassend | ||
| [2011/12/01 06:44:17] <Evolution> ashp: I was going to question you about that | ||
| [2011/12/01 06:44:24] <Evolution> 'one for each eyeball?' | ||
| [2011/12/01 06:44:31] <walkeran> They need to print that in 4pt font, and sell it with a magnifying glass, so I can carry a copy around in my back pocket :) | ||
| [2011/12/01 06:45:33] <Evolution> I'm pretty sure they call that the 'kindle' | ||
| [2011/12/01 06:45:35] <Evolution> :-P | ||
| [2011/12/01 06:45:55] @ pikelly joined channel #puppet | ||
| [2011/12/01 06:46:18] @ Quit: overgrownpuppy: | ||
| [2011/12/01 06:46:30] @ overgrownpuppy joined channel #puppet | ||
| [2011/12/01 06:46:46] <Evolution> okay, so one other (possibly stupid) question. one of the things we do here with cfengine is to define a role by using a phrase in /etc/role like 'webserver' or similar. we then use the contents of that file to assign classes for cfengine. | ||
| [2011/12/01 06:46:52] <Evolution> is it possible to do something similar with puppet? | ||
| [2011/12/01 06:48:08] <_rc_> yeah, you can expose that as a custom fact that you can make use of | ||
| [2011/12/01 06:48:10] <robinbowes> Evolution: Yes | ||
| [2011/12/01 06:48:14] @ sascha_ joined channel #puppet | ||
| [2011/12/01 06:48:31] <robinbowes> I prefer to keep configuration central though | ||
| [2011/12/01 06:48:52] @ Quit: overgrownpuppy: Client Quit | ||
| [2011/12/01 06:48:59] <pikelly> I have just received a mysterious "err: Could not apply complete catalog: Invalid parameter catalog" from a 2.7.3 client of a 2.7.3 server. I cannot find this "catalog" variable in my manifests so I guess it is an internal error. Does anyone know what this might mean? | ||
| [2011/12/01 06:49:00] <Evolution> excellent | ||
| [2011/12/01 06:49:15] @ LinuxCode joined channel #puppet | ||
| [2011/12/01 06:49:19] <robinbowes> hiera works well for this | ||
| [2011/12/01 06:50:16] <robinbowes> I must write it up some time | ||
| [2011/12/01 06:50:23] @ nuknad joined channel #puppet | ||
| [2011/12/01 06:51:04] <matchaw___> how do you have a different file resource name, rather then the actual file name? | ||
| [2011/12/01 06:51:28] <robinbowes> Look at the 'path' property | ||
| [2011/12/01 06:51:38] <matchaw___> I've tried "name => ''" but it says its depreciated.. | ||
| [2011/12/01 06:51:53] <_rc_> alias iirc | ||
| [2011/12/01 06:52:18] <matchaw___> robinbowes, that looks right | ||
| [2011/12/01 06:52:38] @ Quit: smintz: Read error: Operation timed out | ||
| [2011/12/01 06:52:46] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/12/01 06:54:50] @ pmorillon_ joined channel #puppet | ||
| [2011/12/01 06:55:11] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/12/01 06:55:44] @ scobal joined channel #puppet | ||
| [2011/12/01 06:56:44] @ Quit: pmorillon: Ping timeout: 244 seconds | ||
| [2011/12/01 06:56:44] @ pmorillon_ is now known as pmorillon | ||
| [2011/12/01 06:58:07] @ Quit: nuknad: Quit: nuknad | ||
| [2011/12/01 06:58:59] @ nuknad joined channel #puppet | ||
| [2011/12/01 06:59:09] @ andreaturli joined channel #puppet | ||
| [2011/12/01 06:59:50] @ Quit: Meier: Quit: Leaving. | ||
| [2011/12/01 07:00:56] @ Quit: nuknad: Client Quit | ||
| [2011/12/01 07:01:30] @ ckauhaus joined channel #puppet | ||
| [2011/12/01 07:04:16] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/12/01 07:05:26] @ Wolfspyre joined channel #puppet | ||
| [2011/12/01 07:07:43] @ meggenberger joined channel #puppet | ||
| [2011/12/01 07:09:00] <meggenberger> hi ... puppetmasterd (2.7.4) runs on CentOS. Agent/Client on Ubuntu Hardy with 0.24. Client gives me the following in the logs: debug: Calling puppetca.getcert | ||
| [2011/12/01 07:09:00] <meggenberger> warning: peer certificate won't be verified in this SSL session | ||
| [2011/12/01 07:09:00] <meggenberger> notice: No certificates; exiting | ||
| [2011/12/01 07:09:14] @ spiette joined channel #puppet | ||
| [2011/12/01 07:09:21] <meggenberger> it does not show up in puppet ca list (--all) | ||
| [2011/12/01 07:10:13] <meggenberger> didn't find anything similar on google | ||
| [2011/12/01 07:10:19] <meggenberger> any hints? | ||
| [2011/12/01 07:10:38] @ nuknad joined channel #puppet | ||
| [2011/12/01 07:11:18] @ digr1 joined channel #puppet | ||
| [2011/12/01 07:11:41] <meggenberger> tried to remove /var/lib/puppet so it recreates ssl certs ... still the same msg | ||
| [2011/12/01 07:11:59] @ Quit: duerF: Ping timeout: 244 seconds | ||
| [2011/12/01 07:12:39] @ Quit: gaveen: Ping timeout: 260 seconds | ||
| [2011/12/01 07:12:50] @ dwalu joined channel #puppet | ||
| [2011/12/01 07:12:54] <walkeran> meggenberger: "puppet ca" shouldn't do anything... were you using "puppet certificate" or "puppet cert"? | ||
| [2011/12/01 07:13:24] <_rc_> or puppetca | ||
| [2011/12/01 07:13:46] <walkeran> Ah, right | ||
| [2011/12/01 07:14:01] <ashp> guys with RHEL5 - any of you use ruby enterprise with puppet instead of the system ruby? | ||
| [2011/12/01 07:16:03] @ Quit: kelseyhi1htower: Quit: leaving | ||
| [2011/12/01 07:16:18] @ kelseyhightower joined channel #puppet | ||
| [2011/12/01 07:16:32] @ Quit: choonming: Ping timeout: 248 seconds | ||
| [2011/12/01 07:17:05] @ Quit: silversurfer: Remote host closed the connection | ||
| [2011/12/01 07:17:46] <meggenberger> walkeran: doh ... thanks a lot .... they showed up and I could sign them ... sry for my misunderstanding of the commands | ||
| [2011/12/01 07:18:30] <walkeran> meggenberger: Not a problem :) Glad I could help | ||
| [2011/12/01 07:19:01] <meggenberger> walkeran: have a great time .. bb | ||
| [2011/12/01 07:19:04] @ Quit: meggenberger: Quit: Want to be different? Try HydraIRC -> http://www.hydrairc.com <- | ||
| [2011/12/01 07:19:43] @ asteve joined channel #puppet | ||
| [2011/12/01 07:19:44] @ Quit: asteve: Changing host | ||
| [2011/12/01 07:19:44] @ asteve joined channel #puppet | ||
| [2011/12/01 07:20:25] <pikelly> I have just received a mysterious "err: Could not apply complete catalog: Invalid parameter catalog" from a 2.7.3 client of a 2.7.3 server. I cannot find this "catalog" variable in my manifests so I guess it is an internal error. Does anyone know what this might mean? | ||
| [2011/12/01 07:21:49] @ Quit: nuknad: Quit: nuknad | ||
| [2011/12/01 07:22:53] @ countskm joined channel #puppet | ||
| [2011/12/01 07:24:54] @ duerF joined channel #puppet | ||
| [2011/12/01 07:25:21] @ Razique joined channel #puppet | ||
| [2011/12/01 07:25:38] @ Quit: octane-: Quit: octane- | ||
| [2011/12/01 07:27:13] @ Quit: j^2: Ping timeout: 244 seconds | ||
| [2011/12/01 07:27:20] @ Quit: sascha_: Quit: sascha_ | ||
| [2011/12/01 07:27:35] @ siebertm joined channel #puppet | ||
| [2011/12/01 07:27:57] @ ghg joined channel #puppet | ||
| [2011/12/01 07:28:36] @ j^2 joined channel #puppet | ||
| [2011/12/01 07:30:16] @ Quit: zorg1: Quit: Leaving | ||
| [2011/12/01 07:30:19] @ Wolfspyre1 joined channel #puppet | ||
| [2011/12/01 07:31:39] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/12/01 07:31:39] <siebertm> i've got a problem with external resources. puppet can;t find the type definition on the node which realizes the type: "Error 400 on SERVER: Could not find type Munin::Node_config" config is https://gist.github.com/1417576 | ||
| [2011/12/01 07:32:05] @ dan__t joined channel #puppet | ||
| [2011/12/01 07:32:19] <siebertm> external resources DO work on define'd types, don't they? | ||
| [2011/12/01 07:32:38] @ Quit: skm: Ping timeout: 244 seconds | ||
| [2011/12/01 07:32:41] <_rc_> they do | ||
| [2011/12/01 07:32:52] <siebertm> then…. wtf? | ||
| [2011/12/01 07:33:08] @ choonming joined channel #puppet | ||
| [2011/12/01 07:33:20] @ skm joined channel #puppet | ||
| [2011/12/01 07:33:25] @ rsnhyperion_ joined channel #puppet | ||
| [2011/12/01 07:33:26] <_rc_> Munin::Node_config my be Munin::Node_Config | ||
| [2011/12/01 07:33:48] <siebertm> the thing is: i can remember that it did work once and git log shows i didnt change anything ;( | ||
| [2011/12/01 07:33:50] @ Quit: rsnhyperion_: Client Quit | ||
| [2011/12/01 07:34:53] @ Quit: riha: Quit: Leaving. | ||
| [2011/12/01 07:35:27] @ Quit: rsnhyperion: Ping timeout: 252 seconds | ||
| [2011/12/01 07:42:28] @ Quit: brtl: Quit: Leaving. | ||
| [2011/12/01 07:43:17] @ Quit: emergion: Quit: later... | ||
| [2011/12/01 07:45:12] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com | ||
| [2011/12/01 07:45:45] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/12/01 07:50:23] @ mgw joined channel #puppet | ||
| [2011/12/01 07:55:57] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/12/01 07:56:11] @ Quit: BManojlovic: Ping timeout: 244 seconds | ||
| [2011/12/01 07:56:42] @ kaptk2 joined channel #puppet | ||
| [2011/12/01 07:59:38] @ Quit: siebertm: Quit: siebertm | ||
| [2011/12/01 07:59:41] @ Quit: ^conner: Ping timeout: 244 seconds | ||
| [2011/12/01 08:02:19] @ Quit: csanchez: Quit: csanchez | ||
| [2011/12/01 08:03:04] @ sascha_ joined channel #puppet | ||
| [2011/12/01 08:04:10] @ Quit: Guest26185: Quit: Page closed | ||
| [2011/12/01 08:04:36] @ Quit: dim0: Ping timeout: 260 seconds | ||
| [2011/12/01 08:05:58] @ l0n joined channel #puppet | ||
| [2011/12/01 08:07:07] @ csanchez joined channel #puppet | ||
| [2011/12/01 08:09:14] <mick_laptop> anyone know if there is a repository for puppet modules? | ||
| [2011/12/01 08:09:23] <mick_laptop> I've seen some really horrible modules on github | ||
| [2011/12/01 08:09:31] <mick_laptop> really really orrible ones ;) | ||
| [2011/12/01 08:09:35] <mick_laptop> horrible* | ||
| [2011/12/01 08:09:37] <_rc_> there are many | ||
| [2011/12/01 08:10:03] <mick_laptop> I was wondering if there was something like a standard place | ||
| [2011/12/01 08:10:08] <_rc_> are you perhaps rooting for a reviews site? | ||
| [2011/12/01 08:10:15] @ alanevans joined channel #puppet | ||
| [2011/12/01 08:10:26] @ Quit: SFox: Quit: . | ||
| [2011/12/01 08:10:38] <mick_laptop> it would be nice to have something where things can at least be voted on | ||
| [2011/12/01 08:10:51] <torrancew> mick_laptop: there is the puppet forge, and also there are certain github accounts with excellent modules. puppetlabs has decent ones, example42 has some also | ||
| [2011/12/01 08:11:00] @ ^conner joined channel #puppet | ||
| [2011/12/01 08:11:12] <mick_laptop> and then we can have a better way to say "this is the standard and accepted "best practices" way of doing ___" | ||
| [2011/12/01 08:11:28] <_rc_> there's the forge, but there's no guarantee you'll like the modules people put there any better than the ones you found http://forge.puppetlabs.com/ | ||
| [2011/12/01 08:11:43] <_rc_> best practices can die in a fire. | ||
| [2011/12/01 08:11:57] <mick_laptop> more like die in the weeds | ||
| [2011/12/01 08:12:00] @ Quit: ohadlevy: Ping timeout: 248 seconds | ||
| [2011/12/01 08:12:44] @ SFox joined channel #puppet | ||
| [2011/12/01 08:13:41] <mick_laptop> I'd also like it if others reviewed some of the stuff that I work on, so that I'm not doing something stupid and then putting it online :) | ||
| [2011/12/01 08:13:54] <_rc_> best practices are a smokescreen for groupthink and don't blame me culture | ||
| [2011/12/01 08:14:17] <mick_laptop> not really | ||
| [2011/12/01 08:14:40] <mick_laptop> there are "bad ways" of doing anything and generally accepted "correct answers" | ||
| [2011/12/01 08:16:06] <SFox> is/are there best way to mimic RightScale decommission script to turn that into manifest ? ex: decomission a server. 1. remove dns. 2. remove puppet client cert. 3. stop apache/mysql 4. unmount s3fs / gvexport .. etc. | ||
| [2011/12/01 08:17:12] <mick_laptop> unplug it from the network | ||
| [2011/12/01 08:17:26] <mick_laptop> :) I kid I kid | ||
| [2011/12/01 08:17:38] <SFox> mick: I wish it would be that easy :) | ||
| [2011/12/01 08:17:47] @ smintz joined channel #puppet | ||
| [2011/12/01 08:18:25] @ brtl joined channel #puppet | ||
| [2011/12/01 08:18:29] <mick_laptop> torrancew / _rc_: I'll stick to those recommendations for now | ||
| [2011/12/01 08:21:43] @ Quit: brtl: Read error: Connection reset by peer | ||
| [2011/12/01 08:23:42] @ Quit: raphdg: Remote host closed the connection | ||
| [2011/12/01 08:24:25] @ larstobi joined channel #puppet | ||
| [2011/12/01 08:25:10] @ Quit: gob_bluth: Remote host closed the connection | ||
| [2011/12/01 08:25:16] @ Quit: sascha_: Quit: sascha_ | ||
| [2011/12/01 08:25:41] @ Stenbryggen joined channel #puppet | ||
| [2011/12/01 08:25:45] @ bsg_kwolf joined channel #puppet | ||
| [2011/12/01 08:26:58] @ tblamer joined channel #puppet | ||
| [2011/12/01 08:29:36] @ Quit: smintz: Ping timeout: 248 seconds | ||
| [2011/12/01 08:32:13] @ teratoma joined channel #puppet | ||
| [2011/12/01 08:34:07] @ Quit: sdog: Remote host closed the connection | ||
| [2011/12/01 08:35:25] @ Quit: digr1: Read error: Connection reset by peer | ||
| [2011/12/01 08:35:31] @ digr1 joined channel #puppet | ||
| [2011/12/01 08:37:09] @ Quit: n0ts: Ping timeout: 245 seconds | ||
| [2011/12/01 08:37:12] @ miche joined channel #puppet | ||
| [2011/12/01 08:39:00] @ ghanima joined channel #puppet | ||
| [2011/12/01 08:39:50] @ brtl joined channel #puppet | ||
| [2011/12/01 08:40:12] @ neonflux joined channel #puppet | ||
| [2011/12/01 08:40:19] @ rsiegel joined channel #puppet | ||
| [2011/12/01 08:42:30] @ n0ts joined channel #puppet | ||
| [2011/12/01 08:42:42] @ Quit: dwalu: Quit: dwalu | ||
| [2011/12/01 08:45:37] @ octane- joined channel #puppet | ||
| [2011/12/01 08:49:24] @ trickyf left channel #puppet () | ||
| [2011/12/01 08:49:49] @ Quit: octane-: Ping timeout: 240 seconds | ||
| [2011/12/01 08:50:59] @ davey79 joined channel #puppet | ||
| [2011/12/01 08:51:06] @ davey79 left channel #puppet () | ||
| [2011/12/01 08:53:58] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/12/01 08:55:03] @ ohadlevy joined channel #puppet | ||
| [2011/12/01 08:55:49] * walkeran is weirded out by the 40 minutes of silence | ||
| [2011/12/01 08:57:27] @ marczak joined channel #puppet | ||
| [2011/12/01 08:58:30] <colon_D> we are slowly all being fired for automating our jobs | ||
| [2011/12/01 08:59:36] @ Quit: EL84: Quit: Leaving. | ||
| [2011/12/01 09:00:02] @ Quit: ohadlevy: Ping timeout: 255 seconds | ||
| [2011/12/01 09:02:03] @ ohadlevy joined channel #puppet | ||
| [2011/12/01 09:02:10] @ johnston joined channel #puppet | ||
| [2011/12/01 09:03:54] <walkeran> :) | ||
| [2011/12/01 09:06:36] @ smintz joined channel #puppet | ||
| [2011/12/01 09:07:57] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/12/01 09:08:28] @ sascha_ joined channel #puppet | ||
| [2011/12/01 09:10:25] <Theory> because we were all underworked before we started automating :-) | ||
| [2011/12/01 09:11:01] @ dwalu joined channel #puppet | ||
| [2011/12/01 09:13:00] @ Quit: smintz: Remote host closed the connection | ||
| [2011/12/01 09:13:22] @ smintz joined channel #puppet | ||
| [2011/12/01 09:13:46] <mgw> i have a class included by my node. In that class I define several variables, some of which are lists. In a module I define a file the source of which is a template. | ||
| [2011/12/01 09:14:03] <mgw> For some reason the template's for loops are working, but the regular vars are coming out blank | ||
| [2011/12/01 09:14:16] <mgw> (sorry to break the silence) | ||
| [2011/12/01 09:14:41] <_rc_> without seeing the template it's hard to see whats going on | ||
| [2011/12/01 09:14:54] @ mrwacky42 joined channel #puppet | ||
| [2011/12/01 09:14:59] <mick_laptop> Theory: if you are underworked - work on some FOSS projects ;) | ||
| [2011/12/01 09:15:52] @ sumsuch joined channel #puppet | ||
| [2011/12/01 09:16:00] <mick_laptop> better than waisting it on irc/reddit and /. | ||
| [2011/12/01 09:16:19] @ seanh-ansca joined channel #puppet | ||
| [2011/12/01 09:16:36] @ Quit: Ramonster: Quit: So Long and thanks for all the fish | ||
| [2011/12/01 09:17:05] <mgw> _rc_: https://gist.github.com/52729c9e72833138a95e | ||
| [2011/12/01 09:17:24] @ Quit: smintz: Remote host closed the connection | ||
| [2011/12/01 09:17:48] @ smintz joined channel #puppet | ||
| [2011/12/01 09:18:05] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/12/01 09:18:10] <_rc_> and the other pieces? | ||
| [2011/12/01 09:18:22] <_rc_> but actually, I see it | ||
| [2011/12/01 09:18:26] <_rc_> default_realm = <% kerberos_realm %> | ||
| [2011/12/01 09:18:31] <_rc_> default_realm = <%= kerberos_realm %> | ||
| [2011/12/01 09:18:32] <mgw> nm | ||
| [2011/12/01 09:18:36] <mgw> i just saw that too | ||
| [2011/12/01 09:18:37] <mgw> sorry | ||
| [2011/12/01 09:18:54] <_rc_> heh, sometimes it just takes showing someone | ||
| [2011/12/01 09:19:16] @ Quit: mrwacky42: Ping timeout: 260 seconds | ||
| [2011/12/01 09:19:19] <mgw> thank you | ||
| [2011/12/01 09:19:40] @ ianbrandt joined channel #puppet | ||
| [2011/12/01 09:20:05] @ Quit: duerF: Quit: Leaving | ||
| [2011/12/01 09:21:13] @ wilmoore joined channel #puppet | ||
| [2011/12/01 09:22:14] <mgw> does anyone happen to have a working recipe for kerberos+ldap+pam? | ||
| [2011/12/01 09:24:18] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/12/01 09:24:52] @ Quit: smintz: Remote host closed the connection | ||
| [2011/12/01 09:25:15] @ motomike joined channel #puppet | ||
| [2011/12/01 09:25:21] @ smintz joined channel #puppet | ||
| [2011/12/01 09:26:52] @ Quit: miche: Quit: Computer has gone to sleep. | ||
| [2011/12/01 09:27:32] @ kenperkins joined channel #puppet | ||
| [2011/12/01 09:29:23] <Theory> mick_laptop: sorry, missed my <sarcasm /> tag | ||
| [2011/12/01 09:29:31] @ alanna joined channel #puppet | ||
| [2011/12/01 09:30:12] <mick_laptop> I feel like Sheldon :-/ | ||
| [2011/12/01 09:30:15] @ Quit: alanna: Read error: Connection reset by peer | ||
| [2011/12/01 09:30:46] @ alanna joined channel #puppet | ||
| [2011/12/01 09:32:12] @ Quit: andreaturli: Remote host closed the connection | ||
| [2011/12/01 09:33:30] @ Quit: marczak: Ping timeout: 252 seconds | ||
| [2011/12/01 09:33:34] @ Quit: the_ramink: Ping timeout: 260 seconds | ||
| [2011/12/01 09:33:50] @ smintz_ joined channel #puppet | ||
| [2011/12/01 09:34:13] @ Quit: mcarpent: Ping timeout: 240 seconds | ||
| [2011/12/01 09:35:02] @ Quit: smintz_: Client Quit | ||
| [2011/12/01 09:35:24] @ smintz_ joined channel #puppet | ||
| [2011/12/01 09:35:27] @ lborda joined channel #puppet | ||
| [2011/12/01 09:37:56] @ Quit: smintz: Ping timeout: 260 seconds | ||
| [2011/12/01 09:38:22] @ smintz__ joined channel #puppet | ||
| [2011/12/01 09:38:46] @ Quit: csanchez: Quit: csanchez | ||
| [2011/12/01 09:38:59] @ Quit: derjohn_mob: Ping timeout: 244 seconds | ||
| [2011/12/01 09:39:13] @ alfism joined channel #puppet | ||
| [2011/12/01 09:39:45] @ Quit: smintz_: Ping timeout: 252 seconds | ||
| [2011/12/01 09:40:03] @ mrwacky42 joined channel #puppet | ||
| [2011/12/01 09:40:08] @ ezmobius joined channel #puppet | ||
| [2011/12/01 09:41:22] @ shadoi joined channel #puppet | ||
| [2011/12/01 09:41:54] @ saysjonathan joined channel #puppet | ||
| [2011/12/01 09:43:26] @ Quit: kangman: Remote host closed the connection | ||
| [2011/12/01 09:43:57] @ kangman joined channel #puppet | ||
| [2011/12/01 09:44:52] @ kangman_ joined channel #puppet | ||
| [2011/12/01 09:44:55] @ Quit: smintz__: Ping timeout: 244 seconds | ||
| [2011/12/01 09:47:01] @ kermit joined channel #puppet | ||
| [2011/12/01 09:47:01] @ maxmartin joined channel #puppet | ||
| [2011/12/01 09:47:30] @ Quit: ali3n0: Ping timeout: 244 seconds | ||
| [2011/12/01 09:48:00] @ mcarpent joined channel #puppet | ||
| [2011/12/01 09:48:01] @ csanchez joined channel #puppet | ||
| [2011/12/01 09:48:32] @ Quit: kangman: Ping timeout: 244 seconds | ||
| [2011/12/01 09:48:44] @ jsm joined channel #puppet | ||
| [2011/12/01 09:49:08] <jsm> hiera is failing on some simple yaml, and i can't figure out why.. the yaml is valid.. http://fpaste.org/Cnt1/ | ||
| [2011/12/01 09:51:14] @ danikov joined channel #puppet | ||
| [2011/12/01 09:51:57] @ Quit: danikov: Client Quit | ||
| [2011/12/01 09:52:28] <_rc_> checked for dos line endings? | ||
| [2011/12/01 09:53:08] @ millere joined channel #puppet | ||
| [2011/12/01 09:54:15] <jsm> _rc_: just tried a dos2unix on it, still same problem | ||
| [2011/12/01 09:54:19] @ ali3n0 joined channel #puppet | ||
| [2011/12/01 09:54:21] <_rc_> actually, no it's not valid yaml | ||
| [2011/12/01 09:54:44] <jsm> according to this it is: http://yaml-online-parser.appspot.com/ | ||
| [2011/12/01 09:54:56] <_rc_> according to the ruby yaml parser it isn't | ||
| [2011/12/01 09:55:15] <jsm> yeah, but why? | ||
| [2011/12/01 09:55:19] @ williemach joined channel #puppet | ||
| [2011/12/01 09:55:21] <jsm> that's the reason hiera is failing | ||
| [2011/12/01 09:55:45] <_rc_> http://pastie.org/2950646 | ||
| [2011/12/01 09:56:19] <_rc_> odd, your parser tells me | ||
| [2011/12/01 09:56:20] @ Quit: PhilK: Excess Flood | ||
| [2011/12/01 09:56:24] <_rc_> mapping values are not allowed here | ||
| [2011/12/01 09:56:25] <_rc_> in "<unicode string>", line 3, column 22: | ||
| [2011/12/01 09:56:25] <_rc_> dbname: mydb | ||
| [2011/12/01 09:57:57] <_rc_> http://pastie.org/2950652 that's valid | ||
| [2011/12/01 09:58:08] <_rc_> I don't know what structure you're trying to make | ||
| [2011/12/01 09:58:23] @ PhilK joined channel #puppet | ||
| [2011/12/01 09:58:56] @ miche joined channel #puppet | ||
| [2011/12/01 09:59:28] @ peridot joined channel #puppet | ||
| [2011/12/01 09:59:54] <millere> hi all: how can point a given puppetmaster at an alternate site.pp? Same repos for puppet modules, but I want production-site.pp in one place, and test-site.pp in another (or is there a different way to accomplish?) | ||
| [2011/12/01 09:59:56] <jsm> it's potentially an array of hashes i think.. basically multiple clusters may be using the same database server.. so i'm defining the databases to be created on that server | ||
| [2011/12/01 10:00:29] <peridot> Can someone point me in the right direction? I heard you could use svn as a file source in 2.7? | ||
| [2011/12/01 10:01:06] <_rc_> millere: environments support that | ||
| [2011/12/01 10:01:33] @ Quit: miche: Client Quit | ||
| [2011/12/01 10:01:52] <millere> _rc_: cool, found doc page. Thanks! | ||
| [2011/12/01 10:01:59] <_rc_> jsm: maybe you meant this yaml? http://pastie.org/2950668 | ||
| [2011/12/01 10:02:42] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#126) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=126 (by Matthaus Litteken) | ||
| [2011/12/01 10:02:59] <_rc_> jsm: I mean you have a useful tool, it should have showed you your document wasn't valid in the same way it told me | ||
| [2011/12/01 10:03:05] <saysjonathan> jsm: your spacing looks a little weird in the first paste. are you using tabs? | ||
| [2011/12/01 10:03:35] <jsm> saysjonathan: was just trying to clear it up… i don't think spacing is the issue | ||
| [2011/12/01 10:03:47] <jsm> _rc_: yeah, maybe i shouldn't trust that tool anymore :) | ||
| [2011/12/01 10:04:24] <_rc_> saysjonathan: that makes sense. the yaml would be http://pastie.org/2950682 | ||
| [2011/12/01 10:05:00] <_rc_> jsm: feed each yaml document to your tool, pick the one you meant, lay out your yaml consistently | ||
| [2011/12/01 10:05:01] <agaffney> umm, that's weird | ||
| [2011/12/01 10:05:07] <agaffney> warning: Could not match /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:319: [BUG] rb_sys_fail() - errno == 0 | ||
| [2011/12/01 10:05:11] <agaffney> warning: Could not match ruby 1.8.5 (2006-08-25) [x86_64-linux] | ||
| [2011/12/01 10:05:26] <agaffney> just got that on a CentOS 5.x box when trying to use a PEAR provider for the package type | ||
| [2011/12/01 10:05:32] <agaffney> but it seems to work just fine on EL6 | ||
| [2011/12/01 10:06:02] <_rc_> jsm: which as saysjonathan says, may just be as simple as converting tabs to spaces in your editor | ||
| [2011/12/01 10:06:56] <_rc_> does hiera do json? that's less whitespace-sensitive | ||
| [2011/12/01 10:08:00] @ ezmobius is now known as ezmobius|zoning | ||
| [2011/12/01 10:08:01] @ sdog joined channel #puppet | ||
| [2011/12/01 10:08:03] @ Quit: ali3n0: Quit: Leaving. | ||
| [2011/12/01 10:08:08] @ Quit: sdog: Changing host | ||
| [2011/12/01 10:08:08] @ sdog joined channel #puppet | ||
| [2011/12/01 10:09:26] <Volcane> _rc_: yes | ||
| [2011/12/01 10:09:35] <pll> Is the right way to do the equiv of "chkconfig <service> off" to use a service { <service>: ensure => stopped, enable => false } ? | ||
| [2011/12/01 10:09:35] <_rc_> Volcane: groovy | ||
| [2011/12/01 10:09:49] <agaffney> ah hah...it's a PATH issue | ||
| [2011/12/01 10:10:06] <jorhett> pll: yes | ||
| [2011/12/01 10:10:30] <pll> jorhett: thanks! | ||
| [2011/12/01 10:10:45] <pll> I was hoping to not have to write a bunch of exec's :) | ||
| [2011/12/01 10:11:06] <hajile> hola | ||
| [2011/12/01 10:13:10] <tolland> hi | ||
| [2011/12/01 10:14:14] <hajile> Since upgrading to 2.7.6 w/ passenger, I've been randomly getting things like this: http://pastebin.com/YPQYhqLa | ||
| [2011/12/01 10:14:17] @ Quit: kelseyhightower: Quit: leaving | ||
| [2011/12/01 10:15:28] <tolland> pll: service { ensure => "stopped" } | ||
| [2011/12/01 10:15:39] <jorhett> hajile: you prolly need to tune your passenger settings | ||
| [2011/12/01 10:16:04] <hajile> jorhett: any pointers for where to find good passenger tuning guides? | ||
| [2011/12/01 10:16:09] <hajile> or guidelines | ||
| [2011/12/01 10:16:42] <matchaw___> isn't something like if ! defined(Class['my-class']) used for checking if a node has a specific class assigned to it? | ||
| [2011/12/01 10:16:47] <matchaw___> as it seems to fail | ||
| [2011/12/01 10:17:14] <jsm> _rc_ & saysjonathan : i got it working.. took my original yaml, converted to json, and back to hash, and back to yaml again with ruby.. indeed, it was a spacing issue. sigh. | ||
| [2011/12/01 10:17:15] <_rc_> it's flasky - highly dependent on comiple order | ||
| [2011/12/01 10:17:36] <_rc_> *flaky | ||
| [2011/12/01 10:17:36] <jorhett> tolland: that will stop the service, but it won't alter chkconfig. enable => false is what will alter chkconfig | ||
| [2011/12/01 10:17:58] <jorhett> pll: unfortunately however if you want to remove it from chkconfig entirely you'll have to use an exec. | ||
| [2011/12/01 10:18:38] <jorhett> exec { removechkcfg: command => "chkconfig —delete servicename" } | ||
| [2011/12/01 10:19:03] <tolland> ive got a bunch of servers managed by puppet running in EC2, id like to present an over view of the nodes and the services to the customer | ||
| [2011/12/01 10:19:05] <_rc_> enable => false maps to chkconfig off, that's normally good enough | ||
| [2011/12/01 10:19:13] @ Quit: peridot: Quit: Leaving. | ||
| [2011/12/01 10:19:42] <tolland> obviously i can generate almost any text config file, so what is current and cool that I can use? | ||
| [2011/12/01 10:20:16] <tolland> jorhett: ah. I see. | ||
| [2011/12/01 10:22:21] @ peridot joined channel #puppet | ||
| [2011/12/01 10:22:57] <matchaw___> how can you check if a certain module is assigned to the node? or in the catalog etc? | ||
| [2011/12/01 10:22:58] @ brunoleon_ joined channel #puppet | ||
| [2011/12/01 10:22:58] @ kelseyhightower joined channel #puppet | ||
| [2011/12/01 10:23:42] <tolland> cat /var/lib/puppet/classes.txt on the node | ||
| [2011/12/01 10:23:51] <_rc_> after the run it's in classes.txt, there's no reliable way during compliation | ||
| [2011/12/01 10:24:20] @ nfagerlund joined channel #puppet | ||
| [2011/12/01 10:24:24] <_rc_> there's defined(Class["foo"]) but it's dependent on compilation order | ||
| [2011/12/01 10:25:01] <matchaw___> _rc_ thanks. | ||
| [2011/12/01 10:25:05] <_rc_> if you're allocating classes via a database, you can use a custom function to query that | ||
| [2011/12/01 10:25:37] @ jedi4ever joined channel #puppet | ||
| [2011/12/01 10:26:05] <matchaw___> _rc_ if I set up ordering then the define will work as expected? | ||
| [2011/12/01 10:26:27] @ the_ramink joined channel #puppet | ||
| [2011/12/01 10:26:28] <_rc_> no | ||
| [2011/12/01 10:26:39] @ ccaum joined channel #puppet | ||
| [2011/12/01 10:26:58] <matchaw___> basically I need a file resource to only deploy the file if a certain class is defined to the node. | ||
| [2011/12/01 10:27:48] <_rc_> well put the file resource in the class? | ||
| [2011/12/01 10:28:27] @ Quit: jorhett: Quit: Leaving. | ||
| [2011/12/01 10:28:40] @ Quit: alanna: Remote host closed the connection | ||
| [2011/12/01 10:28:43] @ jorhett joined channel #puppet | ||
| [2011/12/01 10:28:49] @ jorhett left channel #puppet () | ||
| [2011/12/01 10:29:10] @ alanna joined channel #puppet | ||
| [2011/12/01 10:29:50] <matchaw___> for example I have 2 classes, puppet::client & puppet::master, both need /etc/puppet but for the master I need different user/group permissions.. | ||
| [2011/12/01 10:30:14] <matchaw___> and both classes get applied to the node. | ||
| [2011/12/01 10:30:36] <robinbowes> Are there any maths functions built in to puppet ? | ||
| [2011/12/01 10:31:13] @ rubic1 joined channel #puppet | ||
| [2011/12/01 10:31:23] <robinbowes> I want to do something like: $baz = int($foo * 0.85 / $bar) | ||
| [2011/12/01 10:31:31] <whack> robinbowes: % puppet apply -e 'notice(3 + 4)' | ||
| [2011/12/01 10:31:32] <_rc_> http://docs.puppetlabs.com/references/stable/function.html and http://docs.puppetlabs.com/guides/language_guide.html#expressions | ||
| [2011/12/01 10:31:53] <robinbowes> Yeah, I know the maths works | ||
| [2011/12/01 10:32:00] <robinbowes> But I can't find any functions | ||
| [2011/12/01 10:32:12] <whack> robinbowes: I'm confused.... ooh you want int() ? | ||
| [2011/12/01 10:32:17] <robinbowes> Yup | ||
| [2011/12/01 10:32:20] @ Quit: alanna: Remote host closed the connection | ||
| [2011/12/01 10:32:25] <_rc_> you can implement int in terms of sprintf | ||
| [2011/12/01 10:32:31] <robinbowes> ew! | ||
| [2011/12/01 10:32:43] <robinbowes> I'll prob. end up doing the calculation in a template | ||
| [2011/12/01 10:32:47] <whack> robinbowes: no idea, but you can easily do that with inline_template | ||
| [2011/12/01 10:32:50] @ alanna joined channel #puppet | ||
| [2011/12/01 10:33:10] <robinbowes> Yeah | ||
| [2011/12/01 10:33:20] <robinbowes> Right, time to go home | ||
| [2011/12/01 10:34:50] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/12/01 10:35:23] <peridot> So where do I put the vcsrepo code? | ||
| [2011/12/01 10:36:37] @ Quit: aib_007: Quit: aib_007 | ||
| [2011/12/01 10:37:27] @ Quit: chewie71: Ping timeout: 265 seconds | ||
| [2011/12/01 10:38:27] @ Quit: CrazyGir: Remote host closed the connection | ||
| [2011/12/01 10:39:57] @ jkoppe1 left channel #puppet () | ||
| [2011/12/01 10:40:10] @ Quit: kangman_: Remote host closed the connection | ||
| [2011/12/01 10:41:11] @ Quit: dwalu: Quit: dwalu | ||
| [2011/12/01 10:41:42] @ Quit: jodok: Quit: jodok | ||
| [2011/12/01 10:42:56] <pll> Where's the list of built-in variables/facts ? | ||
| [2011/12/01 10:43:12] <pll> i.e. looking for a list of things like $operatingsystem | ||
| [2011/12/01 10:44:12] <Jeff_S> pll: 'facter' | ||
| [2011/12/01 10:44:14] @ miche joined channel #puppet | ||
| [2011/12/01 10:45:31] <pll> Oh, duh! | ||
| [2011/12/01 10:45:34] <pll> Thanks. | ||
| [2011/12/01 10:45:36] <tolland> any suggestion on tools to visualise a particular deployment? | ||
| [2011/12/01 10:47:40] @ Quit: Razique: Quit: Razique | ||
| [2011/12/01 10:47:44] <matchaw___> hi, is anyone familair with https://github.com/deanwilson/puppet-aptsourced ? | ||
| [2011/12/01 10:48:23] <matchaw___> I've tested this and it continually created the file, and hence creates a "notice/changed" entry in the log ? | ||
| [2011/12/01 10:48:46] @ Quit: fronlius: Quit: fronlius | ||
| [2011/12/01 10:49:11] <matchaw___> also in the code is there a way of creating the files as resources as the directory they are getting saved to is set to purge. | ||
| [2011/12/01 10:49:23] @ millere left channel #puppet () | ||
| [2011/12/01 10:50:59] <matchaw___> any ideas? | ||
| [2011/12/01 10:51:26] @ Quit: KaZeR: Ping timeout: 260 seconds | ||
| [2011/12/01 10:53:16] @ BManojlovic joined channel #puppet | ||
| [2011/12/01 10:53:16] @ Quit: BManojlovic: Changing host | ||
| [2011/12/01 10:53:16] @ BManojlovic joined channel #puppet | ||
| [2011/12/01 10:53:38] @ fixxxermet joined channel #puppet | ||
| [2011/12/01 10:54:08] <mgw> can one list contain another? | ||
| [2011/12/01 10:54:14] <fixxxermet> Can I use multiple commands inside a single exec? Like, command => 'this', command => 'that' ? | ||
| [2011/12/01 10:54:25] <fixxxermet> Or should I chain them together inside one command with && ? | ||
| [2011/12/01 10:55:50] @ jodok joined channel #puppet | ||
| [2011/12/01 10:55:51] @ illsci joined channel #puppet | ||
| [2011/12/01 10:56:07] <illsci> Is there an easy way to replace a single line in a file ala sed or something? | ||
| [2011/12/01 10:56:22] <illsci> I need to update one line in a django settings.py file | ||
| [2011/12/01 10:56:30] @ Quit: astrostl: | ||
| [2011/12/01 10:58:15] <fixxxermet> illsci: check out replace | ||
| [2011/12/01 10:58:29] <fixxxermet> Not a puppet function but a linux utility | ||
| [2011/12/01 10:58:34] <fixxxermet> http://linux.die.net/man/1/replace | ||
| [2011/12/01 11:00:48] @ alanevans joined channel #puppet | ||
| [2011/12/01 11:00:56] @ Quit: natewalck: Remote host closed the connection | ||
| [2011/12/01 11:02:30] @ ba6 joined channel #puppet | ||
| [2011/12/01 11:04:50] <mgw> specifically, i need to define a resource for every combination of two lists | ||
| [2011/12/01 11:05:38] @ jsurfer joined channel #puppet | ||
| [2011/12/01 11:05:48] <mgw> so if I have sources = ["127.0.0.1/32", 192.168.0.0/16"] and ports = ["100", "200"] — I need to invoke my firewall rule for each port and each source | ||
| [2011/12/01 11:06:02] @ Quit: peridot: Quit: Leaving. | ||
| [2011/12/01 11:06:15] @ Kazuhiro joined channel #puppet | ||
| [2011/12/01 11:06:49] <jpalmer> mgw: not sure what you are doing (just sat down, and didn't scroll up) but, if you're doing firewall stuff.. puppet labs just released an updated firewall module for iptables that looks pretty promising. | ||
| [2011/12/01 11:07:23] @ Kazuhiro left channel #puppet () | ||
| [2011/12/01 11:07:32] @ marczak joined channel #puppet | ||
| [2011/12/01 11:07:42] <mgw> I've been using a mod'd example42 module | ||
| [2011/12/01 11:10:28] <kenperkins> can I pass the environment to use to puppet via command line | ||
| [2011/12/01 11:11:33] <mgw> jpalmer: but at the moment I just need to define the resource I have 4 times | ||
| [2011/12/01 11:11:37] <mgw> with those combinations | ||
| [2011/12/01 11:11:51] <Dominic> kenperkins: --environment | ||
| [2011/12/01 11:12:03] <Dominic> kenperkins: any settings from puppet.conf can be passed as options in the same way | ||
| [2011/12/01 11:18:26] <kenperkins> ty | ||
| [2011/12/01 11:20:20] @ Quit: alanna: Remote host closed the connection | ||
| [2011/12/01 11:20:51] @ alanna joined channel #puppet | ||
| [2011/12/01 11:22:07] <blkperl> kenperkins: http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ you might be interested in this as well | ||
| [2011/12/01 11:22:46] <kenperkins> yep I read that yesterday btw | ||
| [2011/12/01 11:24:12] @ Quit: alanna: Read error: Connection reset by peer | ||
| [2011/12/01 11:24:24] @ alanna joined channel #puppet | ||
| [2011/12/01 11:24:56] @ aherzog joined channel #puppet | ||
| [2011/12/01 11:25:35] <blkperl> nice | ||
| [2011/12/01 11:25:39] @ Quit: jedi4ever: Quit: jedi4ever | ||
| [2011/12/01 11:26:53] @ bmahe joined channel #puppet | ||
| [2011/12/01 11:26:53] @ Quit: bmahe: Changing host | ||
| [2011/12/01 11:26:53] @ bmahe joined channel #puppet | ||
| [2011/12/01 11:28:00] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/12/01 11:28:35] @ scsinutz joined channel #puppet | ||
| [2011/12/01 11:28:47] @ scsinutz left channel #puppet () | ||
| [2011/12/01 11:35:34] @ zorg1 joined channel #puppet | ||
| [2011/12/01 11:35:41] @ Quit: zorg1: Read error: Connection reset by peer | ||
| [2011/12/01 11:36:16] @ Quit: tblamer: Ping timeout: 248 seconds | ||
| [2011/12/01 11:38:21] @ tblamer joined channel #puppet | ||
| [2011/12/01 11:39:13] @ benkevan joined channel #puppet | ||
| [2011/12/01 11:42:57] @ Quit: PhilK: Excess Flood | ||
| [2011/12/01 11:45:23] @ PhilK joined channel #puppet | ||
| [2011/12/01 11:47:11] @ ezmobius|zoning is now known as ezmobius|zoning| | ||
| [2011/12/01 11:47:53] @ Quit: cliff-hm: Ping timeout: 255 seconds | ||
| [2011/12/01 11:48:26] <fixxxermet> I need to have the last step in my class to restart the server via an exec {}. How can I tell something to occur after everything else in a puppet file? | ||
| [2011/12/01 11:50:32] @ Quit: ccaum: Quit: ccaum | ||
| [2011/12/01 11:52:11] @ Quit: brunoleon_: Ping timeout: 244 seconds | ||
| [2011/12/01 11:54:28] @ slawek- joined channel #puppet | ||
| [2011/12/01 11:54:49] <mgw> fixxxermet: have you looked at notify, subscribe, etc? | ||
| [2011/12/01 11:55:23] <kenperkins> so I'm using puppet apply ....... and I'm getting a "could not find group puppet" error | ||
| [2011/12/01 11:55:38] <kenperkins> I thought puppet ensured that it's own requirements were present (i.e. user/group) | ||
| [2011/12/01 11:56:04] <mgw> kenperkins: what distro, how'd you install puppet? | ||
| [2011/12/01 11:56:20] <motomike> kenperkins: I thought so too, until I installed puppet via ruby gems | ||
| [2011/12/01 11:56:26] @ illsci left channel #puppet () | ||
| [2011/12/01 11:56:27] <kenperkins> mgw: Vagrant's base image of Ub 10.04 LTS, which comes with puppet | ||
| [2011/12/01 11:56:29] <kenperkins> that's as much as I know | ||
| [2011/12/01 11:56:53] <mgw> kenperkins: probably not via apt then — apt creates the user/group | ||
| [2011/12/01 11:57:12] <kenperkins> is there a way to make sure puppet does the right thing? | ||
| [2011/12/01 11:57:19] @ Quit: ken_barber: Quit: Leaving. | ||
| [2011/12/01 11:57:30] <mgw> meaning what? | ||
| [2011/12/01 11:57:54] <kenperkins> make sure groups are present etc | ||
| [2011/12/01 11:58:12] <mgw> what user are you running puppet as? | ||
| [2011/12/01 11:58:14] <mgw> root? | ||
| [2011/12/01 11:58:20] <kenperkins> presumably yes | ||
| [2011/12/01 11:59:45] <mgw> does anyone know why puppet apply would even need to have that user/group? I thought that user/group were for the puppet daemon | ||
| [2011/12/01 11:59:52] <mgw> what version of puppet do you have? | ||
| [2011/12/01 11:59:52] @ cliff-hm joined channel #puppet | ||
| [2011/12/01 12:00:00] <kenperkins> 2.7.1 | ||
| [2011/12/01 12:00:16] @ Quit: mcarpent: Ping timeout: 260 seconds | ||
| [2011/12/01 12:01:02] @ mcarpent joined channel #puppet | ||
| [2011/12/01 12:01:04] <mgw> and you're running "puppet apply somemanifest.pp"? | ||
| [2011/12/01 12:01:15] <kenperkins> yes | ||
| [2011/12/01 12:01:36] <mgw> with sudo? | ||
| [2011/12/01 12:01:54] <mgw> if not, what's the output of "whoami" | ||
| [2011/12/01 12:02:24] @ Quit: rsiegel: Quit: rsiegel | ||
| [2011/12/01 12:03:00] @ Quit: johnston: Ping timeout: 265 seconds | ||
| [2011/12/01 12:05:25] @ jakem_ joined channel #puppet | ||
| [2011/12/01 12:06:27] @ Quit: benkevan: Quit: leaving | ||
| [2011/12/01 12:06:37] <kenperkins> I presume sudo, yes | ||
| [2011/12/01 12:06:46] <kenperkins> I don't actually see the run, as it happens through vagrant up | ||
| [2011/12/01 12:06:47] @ Quit: mrwacky42: Ping timeout: 255 seconds | ||
| [2011/12/01 12:10:04] @ Quit: cliff-hm: Ping timeout: 245 seconds | ||
| [2011/12/01 12:12:58] @ dingus9 joined channel #puppet | ||
| [2011/12/01 12:13:11] @ mrwacky42 joined channel #puppet | ||
| [2011/12/01 12:13:32] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/12/01 12:16:05] @ mdocken joined channel #puppet | ||
| [2011/12/01 12:16:50] @ Quit: ryancoleman: Quit: Leaving. | ||
| [2011/12/01 12:18:06] @ dfamorato_ joined channel #puppet | ||
| [2011/12/01 12:19:21] @ mdocken left channel #puppet () | ||
| [2011/12/01 12:19:53] @ fredden joined channel #puppet | ||
| [2011/12/01 12:19:55] @ Quit: fredden: Remote host closed the connection | ||
| [2011/12/01 12:20:32] @ Quit: dfamorato: Ping timeout: 248 seconds | ||
| [2011/12/01 12:21:13] @ these_pants joined channel #puppet | ||
| [2011/12/01 12:23:22] @ cliff-hm joined channel #puppet | ||
| [2011/12/01 12:26:23] @ these_pants left channel #puppet () | ||
| [2011/12/01 12:30:56] @ Quit: sdog: Quit: Leaving. | ||
| [2011/12/01 12:30:59] @ sdog1 joined channel #puppet | ||
| [2011/12/01 12:31:40] @ natewalck joined channel #puppet | ||
| [2011/12/01 12:33:09] @ these_pants joined channel #puppet | ||
| [2011/12/01 12:33:28] @ KaiserBeto joined channel #puppet | ||
| [2011/12/01 12:33:51] @ KaiserBeto left channel #puppet () | ||
| [2011/12/01 12:35:41] @ dylants joined channel #puppet | ||
| [2011/12/01 12:36:04] @ Quit: localhost: Remote host closed the connection | ||
| [2011/12/01 12:37:07] @ Quit: lindenle: Read error: Connection reset by peer | ||
| [2011/12/01 12:37:14] @ localhost joined channel #puppet | ||
| [2011/12/01 12:38:58] <dingus9> is it possible to define the content of a file in multiple places(either by appending to an array or what ever and then realizing at the end? | ||
| [2011/12/01 12:41:55] @ tilgovi joined channel #puppet | ||
| [2011/12/01 12:43:18] <mgw> dingus9: concat can do it | ||
| [2011/12/01 12:46:54] @ ghg joined channel #puppet | ||
| [2011/12/01 12:47:30] <lisa> wow. puppetlabs-firewall is pretty nifty! | ||
| [2011/12/01 12:48:40] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/12/01 12:50:07] @ rharrison joined channel #puppet | ||
| [2011/12/01 12:50:40] <dingus9> mgw: Thanks, are you referring to https://github.com/ripienaar/puppet-concat | ||
| [2011/12/01 12:51:43] <mgw> dingus9: yes | ||
| [2011/12/01 12:51:50] <mgw> I think so at least | ||
| [2011/12/01 12:51:52] <mgw> one second | ||
| [2011/12/01 12:52:01] @ ken_barber joined channel #puppet | ||
| [2011/12/01 12:52:08] @ gniks joined channel #puppet | ||
| [2011/12/01 12:52:14] <dingus9> It looks pretty good | ||
| [2011/12/01 12:52:44] <mgw> yes… I got it from elsewhere, but that's the source | ||
| [2011/12/01 12:54:08] @ Quit: Atwa1337: Remote host closed the connection | ||
| [2011/12/01 12:54:24] <^conner> is using dashes ('-') in class names fully legitimate? | ||
| [2011/12/01 12:54:47] <dingus9> mgw: great I think it will work perfecto | ||
| [2011/12/01 12:56:37] @ Quit: brtl: Quit: Leaving. | ||
| [2011/12/01 12:56:43] <dingus9> ^conner: I prefer _ because it doesn't mess up my syntax highlighting but I think I've used - | ||
| [2011/12/01 12:57:58] <^conner> dingus9, foreman has problems with them but it appears to be a confirmed bug | ||
| [2011/12/01 12:59:54] @ duerF joined channel #puppet | ||
| [2011/12/01 13:00:26] @ Quit: car|0s: Remote host closed the connection | ||
| [2011/12/01 13:00:56] @ Djelibeybi joined channel #puppet | ||
| [2011/12/01 13:01:01] <walkeran> ^conner, dingus9: There are some versions of puppet that that just doesn't work... I don't remember the specifics, though. But I /do/ know that it's more than just foreman | ||
| [2011/12/01 13:01:03] <dingus9> ^conner: that may be why I use _, it's been a while though | ||
| [2011/12/01 13:01:22] @ brunoleon joined channel #puppet | ||
| [2011/12/01 13:02:39] <^conner> walkeran, oh, interesting... well someone pointed me at a patch that fixes foreman. I'm on puppet 2.7.6 | ||
| [2011/12/01 13:03:11] <walkeran> I honestly don't remember if it didn't work in earlier versions, and then was fixed in 2.7... or if it was vice-versa | ||
| [2011/12/01 13:03:40] <walkeran> I also don't remember if that had to do with the puppetmaster version, or the agent version... so I'm not of too much help, but I do know that I avoid dashes for that reason :D | ||
| [2011/12/01 13:06:01] @ Quit: natewalck: Quit: Outta here | ||
| [2011/12/01 13:07:12] @ Quit: ken_barber: Quit: Leaving. | ||
| [2011/12/01 13:07:37] @ Quit: mcarpent: Ping timeout: 244 seconds | ||
| [2011/12/01 13:08:11] @ ghaskins_ joined channel #puppet | ||
| [2011/12/01 13:09:17] @ Quit: ghaskins: Read error: Operation timed out | ||
| [2011/12/01 13:10:27] @ mcarpent joined channel #puppet | ||
| [2011/12/01 13:11:08] <mgw> i read somewhere that it works, but it's not legal | ||
| [2011/12/01 13:12:01] @ jab_doa joined channel #puppet | ||
| [2011/12/01 13:18:33] @ Quit: alfism: Quit: alfism | ||
| [2011/12/01 13:20:19] <ashp> Ha, I knew it was too good to be true, camptocamp's mysql module blew up on me..: | ||
| [2011/12/01 13:20:22] <ashp> err: /Stage[main]/Mysql::Server/Augeas[my.cnf/replication]: Could not evaluate: missing string argument 2 for set | ||
| [2011/12/01 13:20:27] <ashp> It was too perfect :D | ||
| [2011/12/01 13:21:05] @ Quit: brunoleon: Remote host closed the connection | ||
| [2011/12/01 13:23:51] <^conner> ashp, augeas support is often incomplete | ||
| [2011/12/01 13:24:05] <^conner> it's hard to write a comprehensive lens | ||
| [2011/12/01 13:24:55] <Dominic> probably an issue in the manifest in this case, a variable not being set? | ||
| [2011/12/01 13:25:23] <Dominic> --debug might help narrow it down | ||
| [2011/12/01 13:25:34] <Dominic> though the module looks pretty complex with overrides | ||
| [2011/12/01 13:26:24] @ alfism joined channel #puppet | ||
| [2011/12/01 13:26:43] <Dominic> otherwise have a look at the client catalog and search for the resource name, you should be able to see the commands in the resource, should be obvious which one's not right | ||
| [2011/12/01 13:28:27] @ illsci joined channel #puppet | ||
| [2011/12/01 13:28:41] <illsci> hey.... any way to edit a line in a file... or should I just template the whole thing | ||
| [2011/12/01 13:29:52] @ Quit: Stenbryggen: Ping timeout: 248 seconds | ||
| [2011/12/01 13:30:11] @ maes_ joined channel #puppet | ||
| [2011/12/01 13:30:43] @ bhearsum joined channel #puppet | ||
| [2011/12/01 13:30:48] <ashp> Yeah, I'm pretty sure the error is my fuckup in some way, I've added a few bits | ||
| [2011/12/01 13:30:51] <ashp> I'll work it out :) | ||
| [2011/12/01 13:31:10] <SFox> any idea why tagmail send out blank email ? | ||
| [2011/12/01 13:31:13] @ Holocaine joined channel #puppet | ||
| [2011/12/01 13:31:25] <SFox> it did not include the actually err | ||
| [2011/12/01 13:32:16] <bhearsum> so...i've got a directory on a client that currently has files in it (/etc/yum.repos.d, if it matters); i'd like to remove all of the _current_ files in that directory, and ensure that a specific one gets created with puppet. other than really hacky exec chaining i'm not sure how do this. is there a better way? | ||
| [2011/12/01 13:32:58] <colon_D> purge=>true | ||
| [2011/12/01 13:33:09] @ Quit: nitram_macair: Quit: nitram_macair | ||
| [2011/12/01 13:33:25] <bhearsum> colon_D: file { "/etc/yum.repos.d/": purge => true } ? | ||
| [2011/12/01 13:34:02] @ Quit: shawns: Ping timeout: 252 seconds | ||
| [2011/12/01 13:34:40] <colon_D> bhearsum: Yep! that with source to puppet:///modules/blah/yum.repos.d, as well as ensure => directory | ||
| [2011/12/01 13:35:02] <colon_D> purge removes all unmanaged items from the directory | ||
| [2011/12/01 13:35:33] <bhearsum> oh! | ||
| [2011/12/01 13:35:44] <colon_D> bhearsum: http://docs.puppetlabs.com/references/stable/type.html#file there is also recursive option | ||
| [2011/12/01 13:36:02] <bhearsum> i _think_ purge is going to do what i need.... | ||
| [2011/12/01 13:38:06] @ Quit: motomike: Remote host closed the connection | ||
| [2011/12/01 13:38:44] @ skm joined channel #puppet | ||
| [2011/12/01 13:38:51] @ Quit: LinuxCode: Quit: Connection Closed | ||
| [2011/12/01 13:39:25] @ motomike joined channel #puppet | ||
| [2011/12/01 13:39:48] @ maes_` joined channel #puppet | ||
| [2011/12/01 13:42:08] @ Quit: maes_: Ping timeout: 248 seconds | ||
| [2011/12/01 13:42:48] <SFox> I am following instruction from here: http://projects.puppetlabs.com/projects/puppet/wiki/Reports_And_Reporting .. master did send out email if there's an err, but the email is 'blank' .. i couldn't figure out why. | ||
| [2011/12/01 13:43:53] @ Quit: key: Remote host closed the connection | ||
| [2011/12/01 13:44:21] <walkeran> bhearsum: Not sure if you'd find this handy, but I have this class for creating "purgedirs", that will end up only containing files that are managed by puppet http://pastie.org/2867388 | ||
| [2011/12/01 13:44:22] <bhearsum> colon_D: looks like i did need recurse => true, but it worked! | ||
| [2011/12/01 13:44:31] @ alanevans joined channel #puppet | ||
| [2011/12/01 13:44:32] @ rutger_ joined channel #puppet | ||
| [2011/12/01 13:44:45] <bhearsum> walkeran: i'll check it out, thanks! | ||
| [2011/12/01 13:45:46] <walkeran> bhearsum: No problemo. Just a note, you have to create the empty_dir on your puppetmaster, and the only reason there's an 'ignore' line there, is because I have a file in that directory called '.ignore' (just so there's a file in the directory, because that's necessary for git) | ||
| [2011/12/01 13:46:36] <kenperkins> so I'm using ubuntu 10.04 LTS with 2.7.1 and getting this error which I don't get on my production machines | ||
| [2011/12/01 13:46:38] <kenperkins> Provider useradd does not support features manages_passwords; not managing attribute password | ||
| [2011/12/01 13:46:49] <Dominic> kenperkins: check you've got the ruby-shadow library | ||
| [2011/12/01 13:47:10] @ brtl joined channel #puppet | ||
| [2011/12/01 13:47:44] @ shawns joined channel #puppet | ||
| [2011/12/01 13:48:42] @ pednyc joined channel #puppet | ||
| [2011/12/01 13:53:24] <kenperkins> got it | ||
| [2011/12/01 13:53:35] <kenperkins> so, can someone look at the last line of this output: https://gist.github.com/1420173 | ||
| [2011/12/01 13:53:44] <kenperkins> I'm not understanding what's failing and why | ||
| [2011/12/01 13:54:26] <kenperkins> if I run it over and over again I get different failures every time, all equally confusing | ||
| [2011/12/01 13:55:08] <torrancew> kenperkins: Looks like you're not specifying a path => parameter for your exec resources | ||
| [2011/12/01 13:55:31] <walkeran> kenperkins: You have an exec that runs that tar... you need path => '/bin' or you need to make the exec run /bin/tar instead of just tar | ||
| [2011/12/01 13:56:08] <kenperkins> hm | ||
| [2011/12/01 13:56:39] @ Quit: dylants: Ping timeout: 240 seconds | ||
| [2011/12/01 13:57:09] <kenperkins> why would that work on other machines? | ||
| [2011/12/01 13:57:34] <kenperkins> basically, these modules and manifests work perfectly on my cloud provider, but I'm having a heck of a time getting them to work locally on a vm | ||
| [2011/12/01 13:57:43] <kenperkins> same base version of the os (ub 10.04lts) | ||
| [2011/12/01 13:58:32] <ashp> hey guys, http://fpaste.org/0qxd/ - this tells me "Syntax error at 'if'; expected '}'" on line 10 | ||
| [2011/12/01 13:58:52] <ashp> I just added that if $creates stuff, can you see any obvious syntax issues? | ||
| [2011/12/01 13:59:02] <ashp> (I think i mashed enter so 11 should be line 10 | ||
| [2011/12/01 13:59:26] <ashp> (it pasted weird, looking at it, the if statement isn't quite that weirdly laid out | ||
| [2011/12/01 13:59:45] <ashp> running to my train so hopefully my coworker will figure it out :D | ||
| [2011/12/01 14:00:23] @ lavaman joined channel #puppet | ||
| [2011/12/01 14:00:23] <walkeran> kenperkins: Good question :S They are all getting the same catalog and everything? By chance, might you have a resource default for execs that adds a "path" parameter? | ||
| [2011/12/01 14:01:28] <walkeran> ashp: You can't have an if statement inside a resource like that :) | ||
| [2011/12/01 14:01:40] <kenperkins> walkeran: I'll double check | ||
| [2011/12/01 14:02:03] <PWizard> I'd like to be able to test puppet configuration changes from a repository branch against a specific server before committing those changes to our trunk. Is there a guide out there on how to do this? My google-fu is failing me. We use svn, if that has an impact | ||
| [2011/12/01 14:03:00] <PWizard> Actually I just found this: http://projects.puppetlabs.com/projects/puppet/wiki/Branch_Testing - google-fu restored I suppose | ||
| [2011/12/01 14:04:55] @ Quit: uphillian: Quit: Leaving. | ||
| [2011/12/01 14:06:14] <kenperkins> Dominic: So i've now got libshadow-ruby1.8 getting plugged in and I'm not seeing the "provider useradd does not support...." notice anymore, but the passwords still don't seem to be working | ||
| [2011/12/01 14:06:42] <pll> Is there a way to just change permissions on a directory recursively ? | ||
| [2011/12/01 14:07:01] <pll> I don't need to manage all files under a hierarchy, just ensure the permissions are correct. | ||
| [2011/12/01 14:09:37] @ Quit: brandon_dacrib: Quit: brandon_dacrib | ||
| [2011/12/01 14:11:20] <kenperkins> actually check that | ||
| [2011/12/01 14:11:23] <kenperkins> I'm still getting the notice | ||
| [2011/12/01 14:12:31] <kenperkins> I've confirmed that libshadow-ruby is installed | ||
| [2011/12/01 14:15:44] @ Quit: cliff-hm: Ping timeout: 248 seconds | ||
| [2011/12/01 14:20:42] @ illsci left channel #puppet () | ||
| [2011/12/01 14:21:58] @ Quit: blentz: Ping timeout: 258 seconds | ||
| [2011/12/01 14:24:20] @ Quit: jodok: Remote host closed the connection | ||
| [2011/12/01 14:24:32] @ jodok joined channel #puppet | ||
| [2011/12/01 14:24:32] @ Quit: jodok: Changing host | ||
| [2011/12/01 14:24:32] @ jodok joined channel #puppet | ||
| [2011/12/01 14:24:32] @ mosen joined channel #puppet | ||
| [2011/12/01 14:26:43] @ Quit: slawek-: Quit: Linkinus - http://linkinus.com | ||
| [2011/12/01 14:28:18] @ Kazuhiro joined channel #puppet | ||
| [2011/12/01 14:29:28] <ChikuLinu__> Ìû | ||
| [2011/12/01 14:31:17] <kenperkins> any ideas? | ||
| [2011/12/01 14:32:02] @ Kazuhiro left channel #puppet () | ||
| [2011/12/01 14:32:17] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/12/01 14:32:42] @ Quit: ldlework: Ping timeout: 252 seconds | ||
| [2011/12/01 14:33:20] @ asibley joined channel #puppet | ||
| [2011/12/01 14:33:29] @ Quit: marczak: Ping timeout: 255 seconds | ||
| [2011/12/01 14:34:06] @ asibley left channel #puppet () | ||
| [2011/12/01 14:38:56] @ ken_barber joined channel #puppet | ||
| [2011/12/01 14:41:34] @ digr1 left channel #puppet () | ||
| [2011/12/01 14:43:05] @ Quit: rutger_: Remote host closed the connection | ||
| [2011/12/01 14:45:11] @ Quit: lborda: Ping timeout: 255 seconds | ||
| [2011/12/01 14:45:44] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/12/01 14:46:55] @ atommyc joined channel #puppet | ||
| [2011/12/01 14:47:16] @ Quit: asteve: Quit: asteve | ||
| [2011/12/01 14:49:24] @ Quit: ken_barber: Quit: Leaving. | ||
| [2011/12/01 14:49:39] @ devinacosta joined channel #puppet | ||
| [2011/12/01 14:50:16] <devinacosta> Hey I just downloaded Puppet Enterprise 2.0 and got it running on a node. I was using the Free version of puppet before, what is the best process to get the Puppet Enterprise clients installed on client machines? | ||
| [2011/12/01 14:50:23] @ Quit: sduchesneau: Remote host closed the connection | ||
| [2011/12/01 14:51:53] <clustermagnet> devinacosta: i could be wrong… but i've written a self push install script :) | ||
| [2011/12/01 14:52:03] <clustermagnet> depends on how you install your puppet | ||
| [2011/12/01 14:52:27] <devinacosta> well when i was using the free version i just used YUM to install the puppet client. | ||
| [2011/12/01 14:52:42] <clustermagnet> oh | ||
| [2011/12/01 14:52:45] <clustermagnet> i dont rpm | ||
| [2011/12/01 14:52:54] <clustermagnet> you could build your own rpm | ||
| [2011/12/01 14:53:04] <devinacosta> all my systems are RedHat Enterprise. | ||
| [2011/12/01 14:53:09] <clustermagnet> so? | ||
| [2011/12/01 14:53:33] <devinacosta> i'm not sure what the standard puppet enterprise install method is for migrating from free version to enterprise with enterprise clients? | ||
| [2011/12/01 14:53:50] <devinacosta> is it best to contact their support team? | ||
| [2011/12/01 14:53:58] <clustermagnet> i would imagine that shoudl be decided by YOUR expert :) | ||
| [2011/12/01 14:54:11] <clustermagnet> puppet is only as good as your admin | ||
| [2011/12/01 14:54:33] @ nul0op joined channel #puppet | ||
| [2011/12/01 14:54:40] <clustermagnet> since i have a flavor of OSes, i wrote my own | ||
| [2011/12/01 14:54:48] * Evolution orders Pro Puppet | ||
| [2011/12/01 14:55:39] <Evolution> wow, people who ordered 'Pro Puppet' on amazon also bought nickelback. | ||
| [2011/12/01 14:55:55] <Evolution> suddenly I'm questioning my automation decisions.... | ||
| [2011/12/01 14:55:56] <clustermagnet> devinacosta: http://pastie.org/2952120 | ||
| [2011/12/01 14:55:56] <jvc26> *chuckles* | ||
| [2011/12/01 14:56:03] <clustermagnet> Evolution: lol i know | ||
| [2011/12/01 14:56:06] <clustermagnet> that book is awesome | ||
| [2011/12/01 14:56:17] <clustermagnet> i now find rewriting my puppet configs more than anythong lol | ||
| [2011/12/01 14:56:30] <Evolution> clustermagnet: let me guess... you're a nickelback fan.... | ||
| [2011/12/01 14:56:38] <clustermagnet> im russian | ||
| [2011/12/01 14:56:44] <clustermagnet> :) | ||
| [2011/12/01 14:56:47] <clustermagnet> i love all musik | ||
| [2011/12/01 14:56:54] <clustermagnet> with vodka | ||
| [2011/12/01 14:56:56] <clustermagnet> and a woman | ||
| [2011/12/01 14:57:03] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/12/01 14:57:10] <clustermagnet> lol… irc sucks for doing borat impressions | ||
| [2011/12/01 14:57:12] <mosen> pour the vodka in your ears if it is nickelback | ||
| [2011/12/01 14:57:36] <clustermagnet> i like anything that was released before 1999 | ||
| [2011/12/01 14:57:45] <mgw> clustermagnet: как Вас зовут? | ||
| [2011/12/01 14:57:52] <clustermagnet> everything post 1999 is … well… trash | ||
| [2011/12/01 14:58:00] @ ccaum joined channel #puppet | ||
| [2011/12/01 14:58:07] @ Quit: ccaum: Client Quit | ||
| [2011/12/01 14:58:11] <clustermagnet> mgw Вася :) | ||
| [2011/12/01 14:58:55] <clustermagnet> ps… if you guys can suggest a better way to deploy puppet clients, im all ears | ||
| [2011/12/01 14:58:58] <clustermagnet> pastie above | ||
| [2011/12/01 14:59:06] @ Quit: zeroXten: Ping timeout: 252 seconds | ||
| [2011/12/01 15:01:07] @ Quit: saysjonathan: Quit: leaving | ||
| [2011/12/01 15:01:33] <hobbeswalsh> is there a way to recursively create a bunch of directories with puppet? | ||
| [2011/12/01 15:01:53] <clustermagnet> hobbeswalsh: sure, but dont use puppet as a file server | ||
| [2011/12/01 15:02:05] <hobbeswalsh> clustermagnet: not even serving files | ||
| [2011/12/01 15:02:15] <hobbeswalsh> I just want to make sure they're there | ||
| [2011/12/01 15:02:22] <hobbeswalsh> without using an exec | ||
| [2011/12/01 15:03:02] <mgw> hobbeswalsh: recuresively create parent directories or child directories? | ||
| [2011/12/01 15:03:10] <hobbeswalsh> parent directories | ||
| [2011/12/01 15:03:10] @ Quit: devinacosta: Quit: Page closed | ||
| [2011/12/01 15:03:32] <kenperkins> can anyone think of a reason libshadow-ruby wouldn't enable the manage_password feature of useradd to work? | ||
| [2011/12/01 15:03:36] <hobbeswalsh> mgw: I want to make sure that /unlikely/directory/name exists | ||
| [2011/12/01 15:03:40] <clustermagnet> hobbeswalsh: idea1 http://pastie.org/2952151 | ||
| [2011/12/01 15:03:44] <hobbeswalsh> of course its parents don't exist yet | ||
| [2011/12/01 15:03:58] <clustermagnet> but im sure the guys here would suggest a better way man | ||
| [2011/12/01 15:03:59] <hobbeswalsh> "force?" | ||
| [2011/12/01 15:04:01] <hobbeswalsh> let me read up on that | ||
| [2011/12/01 15:04:02] <joe-mac> yea, pre99 you get ace of base | ||
| [2011/12/01 15:04:06] <joe-mac> they were awesome. | ||
| [2011/12/01 15:04:35] <clustermagnet> чиж и ко :) | ||
| [2011/12/01 15:04:47] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/12/01 15:05:07] @ zwi joined channel #puppet | ||
| [2011/12/01 15:05:21] @ Quit: rubic1: Quit: Leaving. | ||
| [2011/12/01 15:05:27] <mgw> hobbewalsh: http://projects.puppetlabs.com/issues/86 | ||
| [2011/12/01 15:05:48] <mgw> clustermagnet: Матфей | ||
| [2011/12/01 15:06:17] <hobbeswalsh> clustermagnet: there's no "source" in my case | ||
| [2011/12/01 15:06:31] <clustermagnet> ah | ||
| [2011/12/01 15:06:32] <clustermagnet> well | ||
| [2011/12/01 15:06:33] <hobbeswalsh> are you suggesting I just make "source" a blank directory? | ||
| [2011/12/01 15:06:38] <clustermagnet> nah | ||
| [2011/12/01 15:06:51] <hobbeswalsh> and if I do your suggestion without "source" it fails D: | ||
| [2011/12/01 15:06:58] <clustermagnet> i dunno dood… i am a freak, would write my own python | ||
| [2011/12/01 15:07:01] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/12/01 15:07:21] <hobbeswalsh> ok.mkdir. nice | ||
| [2011/12/01 15:07:31] <hobbeswalsh> s/ok/os/g | ||
| [2011/12/01 15:10:15] @ marczak joined channel #puppet | ||
| [2011/12/01 15:12:16] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/12/01 15:14:26] <clustermagnet> guys, quick question… need to write my own , privately tailored svn modules | ||
| [2011/12/01 15:14:40] <clustermagnet> following this guyde to the T http://docs.puppetlabs.com/guides/modules.html#module-autoloading | ||
| [2011/12/01 15:14:54] <clustermagnet> uhm… i have a need of deploying 100+ websites/svn repos | ||
| [2011/12/01 15:15:01] <clustermagnet> whats the best way to keep variables | ||
| [2011/12/01 15:15:02] <clustermagnet> :) | ||
| [2011/12/01 15:15:22] <clustermagnet> this module will push out hook scripts, and stuff | ||
| [2011/12/01 15:15:47] <clustermagnet> the hook scripts will be erb templated | ||
| [2011/12/01 15:17:08] @ Quit: marczak: Ping timeout: 244 seconds | ||
| [2011/12/01 15:17:08] <clustermagnet> so ya, back to my original question… whats the best way to keep a set of variables inside a module? | ||
| [2011/12/01 15:17:22] <clustermagnet> i need to be able to keep track of website names | ||
| [2011/12/01 15:17:22] <joe-mac> you don't, you keep them outside and feed them in via extlookup or hydra | ||
| [2011/12/01 15:17:29] <joe-mac> otherwise your shit is unmaintainable and unshareable | ||
| [2011/12/01 15:17:38] <clustermagnet> joe-mac: right | ||
| [2011/12/01 15:17:41] @ marczak joined channel #puppet | ||
| [2011/12/01 15:17:52] <clustermagnet> joe-mac: so i should define those puppies in nodes huh | ||
| [2011/12/01 15:18:00] <clustermagnet> include websites or somerthing | ||
| [2011/12/01 15:18:48] <joe-mac> no, look up what extlookup and hydra are | ||
| [2011/12/01 15:18:55] <joe-mac> it's for separating the data from the logic in your manifests | ||
| [2011/12/01 15:19:06] <joe-mac> it keeps the data external to the code | ||
| [2011/12/01 15:19:22] <Dominic> ITYM hiera | ||
| [2011/12/01 15:19:34] <joe-mac> what is "ITYM" | ||
| [2011/12/01 15:19:44] <joe-mac> I'm usually pretty good at acronym guessing from reading too am,uch /. | ||
| [2011/12/01 15:19:44] <Dominic> I think you mean "hiera", not "hydra"? | ||
| [2011/12/01 15:19:48] <joe-mac> yea sorry | ||
| [2011/12/01 15:19:56] <joe-mac> I'm working with a tool called hydra on a contract | ||
| [2011/12/01 15:19:57] <joe-mac> my bad | ||
| [2011/12/01 15:19:59] <Dominic> heh | ||
| [2011/12/01 15:20:20] @ Djelibeybi joined channel #puppet | ||
| [2011/12/01 15:23:50] @ Quit: csanchez: Quit: csanchez | ||
| [2011/12/01 15:25:08] @ ghg joined channel #puppet | ||
| [2011/12/01 15:26:29] @ Quit: atommyc: Ping timeout: 265 seconds | ||
| [2011/12/01 15:28:16] <clustermagnet> which would you recommend? :) | ||
| [2011/12/01 15:28:35] @ Quit: kaptk2: Quit: Leaving. | ||
| [2011/12/01 15:28:42] @ emergion joined channel #puppet | ||
| [2011/12/01 15:28:58] @ Quit: n8: Quit: n8 | ||
| [2011/12/01 15:29:17] <clustermagnet> can you plz send some rtfm this way? | ||
| [2011/12/01 15:29:23] <clustermagnet> is this in the puppet pro book? | ||
| [2011/12/01 15:30:09] <joe-mac> http://www.lmgtfy.com/?q=extlookup+puppet | ||
| [2011/12/01 15:30:40] <clustermagnet> xoxo | ||
| [2011/12/01 15:30:44] <joe-mac> ;-) | ||
| [2011/12/01 15:31:44] @ Quit: marczak: Ping timeout: 245 seconds | ||
| [2011/12/01 15:33:36] @ marczak joined channel #puppet | ||
| [2011/12/01 15:37:00] @ Quit: shawns: Remote host closed the connection | ||
| [2011/12/01 15:39:57] @ Quit: alfism: Quit: alfism | ||
| [2011/12/01 15:40:33] @ Quit: marczak: Ping timeout: 244 seconds | ||
| [2011/12/01 15:43:18] <tolland> if I want to put some nodes in ldap can I specify more than one node terminus? | ||
| [2011/12/01 15:43:38] <tolland> it seems somewhat prohibitive that all the nodes need to be migrated to ldap in one go. | ||
| [2011/12/01 15:48:37] @ Quit: ^conner: Ping timeout: 240 seconds | ||
| [2011/12/01 15:48:59] @ ali3n0 joined channel #puppet | ||
| [2011/12/01 15:49:50] <clustermagnet> joe-mac: high five, exactly what i needed | ||
| [2011/12/01 15:49:56] <clustermagnet> is this covered in puppet book? | ||
| [2011/12/01 15:49:58] @ Quit: zwi: Remote host closed the connection | ||
| [2011/12/01 15:50:19] <joe-mac> clustermagnet: I don't recall | ||
| [2011/12/01 15:50:24] @ zwi joined channel #puppet | ||
| [2011/12/01 15:50:45] @ Quit: zwi: Remote host closed the connection | ||
| [2011/12/01 15:51:05] <joe-mac> anybody here slickw ith type/provider dev? I have changed the sshkey type for a couple reasons, and on every run it keeps re writing the keys to the known hosts file, I have a feeling I need to overload the should method or something | ||
| [2011/12/01 15:51:15] <the_ramink> clustermagnet: no, it's briefly described without examples | ||
| [2011/12/01 15:51:30] <clustermagnet> the_ramink: ah | ||
| [2011/12/01 15:51:31] <clustermagnet> k | ||
| [2011/12/01 15:51:41] <clustermagnet> i'll look anyways | ||
| [2011/12/01 15:52:13] @ zwi joined channel #puppet | ||
| [2011/12/01 15:52:31] @ Quit: zwi: Remote host closed the connection | ||
| [2011/12/01 15:53:05] @ zwi joined channel #puppet | ||
| [2011/12/01 15:53:24] @ Quit: jab_doa: Quit: Verlassend | ||
| [2011/12/01 15:54:00] @ Kazuhiro1 joined channel #puppet | ||
| [2011/12/01 15:54:04] @ Quit: sumsuch: Read error: Connection reset by peer | ||
| [2011/12/01 15:54:13] @ sumsuch joined channel #puppet | ||
| [2011/12/01 15:55:13] @ Quit: zwi: Remote host closed the connection | ||
| [2011/12/01 15:55:30] @ zwi joined channel #puppet | ||
| [2011/12/01 15:55:43] @ Quit: zwi: Remote host closed the connection | ||
| [2011/12/01 15:56:00] @ zwi joined channel #puppet | ||
| [2011/12/01 15:56:35] @ Quit: spiette: Ping timeout: 244 seconds | ||
| [2011/12/01 15:58:05] @ Quit: zwi: Remote host closed the connection | ||
| [2011/12/01 15:58:31] @ zwi joined channel #puppet | ||
| [2011/12/01 15:59:08] @ Quit: zwi: Remote host closed the connection | ||
| [2011/12/01 15:59:37] @ zwi joined channel #puppet | ||
| [2011/12/01 15:59:46] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/12/01 15:59:51] @ Quit: brtl: Quit: Leaving. | ||
| [2011/12/01 16:00:14] @ Quit: ali3n0: Quit: Leaving. | ||
| [2011/12/01 16:02:02] @ ^conner joined channel #puppet | ||
| [2011/12/01 16:02:25] @ jakem_ left channel #puppet ("Leaving") | ||
| [2011/12/01 16:07:33] @ Quit: zwi: Remote host closed the connection | ||
| [2011/12/01 16:07:33] @ Quit: Djelibeybi: Read error: Connection reset by peer | ||
| [2011/12/01 16:07:48] @ zwi joined channel #puppet | ||
| [2011/12/01 16:09:06] @ Djelibeybi joined channel #puppet | ||
| [2011/12/01 16:10:15] @ Quit: dan__t: Ping timeout: 252 seconds | ||
| [2011/12/01 16:10:18] @ Quit: duerF: Quit: Leaving | ||
| [2011/12/01 16:10:27] @ Kazuhiro1 left channel #puppet () | ||
| [2011/12/01 16:11:05] @ jroid_ joined channel #puppet | ||
| [2011/12/01 16:11:55] <dingus9> just out of curiosity, shouldn't file {ensure=> File['myfileobject' | ||
| [2011/12/01 16:12:09] <dingus9> '] } work | ||
| [2011/12/01 16:12:24] <dingus9> *hit enter accidentally | ||
| [2011/12/01 16:13:00] <agaffney> dingus9: umm, I don't think so | ||
| [2011/12/01 16:13:10] <agaffney> what are you expecting that to do? | ||
| [2011/12/01 16:13:27] <dingus9> anyhow I would think it should link to point to a puppet file resource | ||
| [2011/12/01 16:13:41] <dingus9> agaffney: nothing, just idealizing | ||
| [2011/12/01 16:14:34] <joe-mac> that doesn't make any sense | ||
| [2011/12/01 16:14:43] <joe-mac> you mean a symlink? | ||
| [2011/12/01 16:14:52] <agaffney> I assume that's what he was trying | ||
| [2011/12/01 16:14:56] <joe-mac> ah | ||
| [2011/12/01 16:14:57] <agaffney> but it still doesn't really make sense | ||
| [2011/12/01 16:15:26] <joe-mac> yea if you could reference the parameters of the resource as a hash, you could set it to File['whatever'][:path] | ||
| [2011/12/01 16:15:30] <joe-mac> can probably do it in the ruby dsl | ||
| [2011/12/01 16:15:39] <joe-mac> but, that's 'advanced' puppet usage | ||
| [2011/12/01 16:15:45] @ Quit: matti: Ping timeout: 252 seconds | ||
| [2011/12/01 16:16:12] @ Quit: l0n: Ping timeout: 244 seconds | ||
| [2011/12/01 16:16:27] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/12/01 16:17:04] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/12/01 16:17:18] <dingus9> agaffney: I think it does make sense, why should I need to declare a file's path multiple times throughout a manifest, if I want to require => File['blah'] it points to the resource | ||
| [2011/12/01 16:17:46] <joe-mac> but that points to a resource, how do you magcially know you want the 'path' parameter? | ||
| [2011/12/01 16:17:58] <joe-mac> re-read what I just said | ||
| [2011/12/01 16:18:09] @ marczak joined channel #puppet | ||
| [2011/12/01 16:18:20] <joe-mac> either use the ruby dsl or, set a variable and use that so you only have to edit it one place | ||
| [2011/12/01 16:19:39] @ Djelibeybi joined channel #puppet | ||
| [2011/12/01 16:20:05] <dingus9> joe-mac: I am just verbalizing, doesn't actually bother me that much? point is, I would think that if a File resource was the ensure, it could use that files path by default and assume it was linking to sed file, also would assume a require => File | ||
| [2011/12/01 16:20:32] <joe-mac> if you really think it's a good idea just file a feature request | ||
| [2011/12/01 16:21:06] <dingus9> joe-mac: well if its only a good idea to me? then I am just crazy! ;) | ||
| [2011/12/01 16:21:39] <dingus9> but I'm OK with that | ||
| [2011/12/01 16:23:34] @ frostynova joined channel #puppet | ||
| [2011/12/01 16:25:02] <joe-mac> anybody want to hire an admin with extensive puppet experience? | ||
| [2011/12/01 16:25:15] <agaffney> I'm sure somebody does :P | ||
| [2011/12/01 16:25:26] <cparedes> joe-mac: you looking? | ||
| [2011/12/01 16:25:34] <joe-mac> cparedes: indeed I am | ||
| [2011/12/01 16:25:36] <cparedes> need someone to take my spot in my company. :p | ||
| [2011/12/01 16:25:42] <cparedes> one sec | ||
| [2011/12/01 16:26:01] <agaffney> joe-mac: Box (the company I work for) is always looking for good ops people | ||
| [2011/12/01 16:26:07] <agaffney> and I get a nice referral bonus ;) | ||
| [2011/12/01 16:26:28] <joe-mac> agaffney: I am stuck in boston for the next 20 or so years | ||
| [2011/12/01 16:27:36] <dingus9> joe-mac: parol, state pen? | ||
| [2011/12/01 16:27:38] <joe-mac> so unless they do telecommute or are in this area | ||
| [2011/12/01 16:27:42] @ Quit: jroid_: Ping timeout: 258 seconds | ||
| [2011/12/01 16:28:00] <joe-mac> dingus9: ROFL | ||
| [2011/12/01 16:28:02] <joe-mac> child | ||
| [2011/12/01 16:28:03] <joe-mac> my son | ||
| [2011/12/01 16:28:44] <joe-mac> I would be open to moving to new york but my girlfriend wouldn't | ||
| [2011/12/01 16:28:51] <agaffney> joe-mac: there *was* a Boston office, but the people there just got moved out to CA and the office closed | ||
| [2011/12/01 16:29:01] <joe-mac> I <3 CA | ||
| [2011/12/01 16:29:05] <joe-mac> frm the north to the south | ||
| [2011/12/01 16:29:16] <agaffney> I've only lived here for a year, but I love it | ||
| [2011/12/01 16:29:19] <joe-mac> toio bad I can;'t move there hegh | ||
| [2011/12/01 16:29:30] <dingus9> oregon's better <3 silicon forest | ||
| [2011/12/01 16:29:41] <joe-mac> yea I hear portland is a helluva place | ||
| [2011/12/01 16:29:46] <joe-mac> for tech I mean | ||
| [2011/12/01 16:29:48] <dingus9> not that either is an option | ||
| [2011/12/01 16:29:59] <joe-mac> yea | ||
| [2011/12/01 16:30:04] <cparedes> man | ||
| [2011/12/01 16:30:06] <cparedes> i want to be in portland | ||
| [2011/12/01 16:30:12] <cparedes> (been in seattle my whole life) | ||
| [2011/12/01 16:30:21] @ Quit: hleitzell: Read error: Connection reset by peer | ||
| [2011/12/01 16:30:24] <cparedes> too many damn amazonians | ||
| [2011/12/01 16:30:27] @ hleitzell joined channel #puppet | ||
| [2011/12/01 16:30:40] <joe-mac> amazonians? like, large women? | ||
| [2011/12/01 16:30:43] <dingus9> Seattle's nice too? ah msft too | ||
| [2011/12/01 16:31:06] @ Quit: PWizard: Remote host closed the connection | ||
| [2011/12/01 16:31:19] <cparedes> joe-mac: unfortunately no, just a lot of dudes with blue badges | ||
| [2011/12/01 16:31:24] @ PWizard joined channel #puppet | ||
| [2011/12/01 16:31:27] <cparedes> ;\ | ||
| [2011/12/01 16:31:45] @ nitram_macair joined channel #puppet | ||
| [2011/12/01 16:31:48] <cparedes> dingus9: eh, i mean, seattle's nice, but after living here for so long and seeing it change a lot, i'd rather be elsewhere at this point | ||
| [2011/12/01 16:31:58] @ Quit: lilmatt: Quit: lilmatt | ||
| [2011/12/01 16:32:10] <cparedes> portland feels like what seattle was about 10 years ago or so | ||
| [2011/12/01 16:32:14] @ Quit: riftman: Ping timeout: 240 seconds | ||
| [2011/12/01 16:32:34] @ riftman joined channel #puppet | ||
| [2011/12/01 16:33:04] @ Quit: faulpaul: Ping timeout: 258 seconds | ||
| [2011/12/01 16:33:21] @ Quit: froztbyte: Ping timeout: 252 seconds | ||
| [2011/12/01 16:33:51] @ Quit: __igor__: Ping timeout: 260 seconds | ||
| [2011/12/01 16:34:07] @ froztbyte joined channel #puppet | ||
| [2011/12/01 16:34:41] @ faulpaul joined channel #puppet | ||
| [2011/12/01 16:34:48] @ Quit: zwi: Quit: Leaving. | ||
| [2011/12/01 16:35:12] @ __igor__ joined channel #puppet | ||
| [2011/12/01 16:35:49] <dpittman> cparedes: You could always apply for a job with Puppet Labs. We have slots for awesome staff and all. :) | ||
| [2011/12/01 16:35:58] <dpittman> cparedes: Good excuse to move down here. | ||
| [2011/12/01 16:36:26] <cparedes> aye, was thinking about it - i'll see. just joined up with a startup | ||
| [2011/12/01 16:36:34] <cparedes> we'll see if we actually survive or not. :P | ||
| [2011/12/01 16:36:48] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/12/01 16:36:52] <dpittman> cparedes: Good luck. :) | ||
| [2011/12/01 16:37:04] <joe-mac> start ups are fun til you burn out | ||
| [2011/12/01 16:37:29] <joe-mac> and you learn a lot, I would say working at a start up for almost 3 years I got about 6 or 7 years of regular work experience | ||
| [2011/12/01 16:37:33] @ Hyphenex joined channel #puppet | ||
| [2011/12/01 16:38:24] <Hyphenex> Quick question. I'm getting the error "err: Could not retrieve catalog from remote server: certificate verify failed" Could this be because the hostname I'm using on my client can't resolve on puppetmaster? | ||
| [2011/12/01 16:40:08] @ maxmartin joined channel #puppet | ||
| [2011/12/01 16:41:29] @ Quit: bodgit: Read error: Operation timed out | ||
| [2011/12/01 16:41:37] <dingus9> Hyphenex: sounds like cert fail | ||
| [2011/12/01 16:41:57] <dingus9> maybe running as non root user? or hostname changed? | ||
| [2011/12/01 16:42:08] @ Quit: williemach: Quit: Leaving. | ||
| [2011/12/01 16:42:23] @ Quit: mrwacky42: Ping timeout: 244 seconds | ||
| [2011/12/01 16:43:16] <Hyphenex> dingus9: the hostname shouldn't have changed.. I'm going to try and delete the puppet directory and start again on this client | ||
| [2011/12/01 16:43:35] <Hyphenex> dingus9: definitely running as root user though (it's the only user on this host :P Puppet hasn't created any others yet :P) | ||
| [2011/12/01 16:45:44] <Hyphenex> nahh, no luck. I just did a --revoke and --clean on puppetmaster, removed everything in /var/lib/puppet/ssl, generated new key, signed on the server and still the same error | ||
| [2011/12/01 16:46:00] @ Quit: marczak: Ping timeout: 252 seconds | ||
| [2011/12/01 16:46:09] <dingus9> Hyphenex: you have signed certs and had it working once upon a time? | ||
| [2011/12/01 16:46:47] <Hyphenex> dingus9: it's working for all the machines in my domain, but I'm trying to get this client working from another domain | ||
| [2011/12/01 16:48:36] <dingus9> Hypenex: ok so what does the puppet cert list print out on that client | ||
| [2011/12/01 16:48:41] <dingus9> serverside | ||
| [2011/12/01 16:48:47] @ mrwacky42 joined channel #puppet | ||
| [2011/12/01 16:50:07] <Hyphenex> dingus9: how do I show that? just puppetca --list --all? | ||
| [2011/12/01 16:51:22] <dingus9> puppet cert | ||
| [2011/12/01 16:51:49] <dingus9> puppet cert --help for commands? but something like puppet cert list --all and find your host | ||
| [2011/12/01 16:52:51] @ cthulhup joined channel #puppet | ||
| [2011/12/01 16:53:02] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/12/01 16:53:26] <cthulhup> greetings all | ||
| [2011/12/01 16:53:47] @ jroid_ joined channel #puppet | ||
| [2011/12/01 16:54:31] <cthulhup> qq - how much Ruby is available in the Puppet DSL. do you have access to String functions like split() for example? | ||
| [2011/12/01 16:54:59] <cthulhup> or do you have to write your manifests in Ruby? | ||
| [2011/12/01 16:55:34] @ Quit: ianbrandt: Quit: ianbrandt | ||
| [2011/12/01 16:58:37] <ashp> don't write your manifests in ruby :( | ||
| [2011/12/01 16:59:02] <Hyphenex> dingus9: on the server? "Could not parse for environment production" | ||
| [2011/12/01 17:00:24] @ rubic joined channel #puppet | ||
| [2011/12/01 17:01:44] <stahnma> cthulhup: split is available in the puppet dsl | ||
| [2011/12/01 17:02:13] <Hyphenex> I think it's failing because perhaps of the time zone difference? | ||
| [2011/12/01 17:04:47] @ skm joined channel #puppet | ||
| [2011/12/01 17:05:32] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/12/01 17:05:50] @ marczak joined channel #puppet | ||
| [2011/12/01 17:06:24] @ Dr_Memory joined channel #puppet | ||
| [2011/12/01 17:07:01] <Dr_Memory> virgin 2.7.2 installation (from the puppetlaps apt repo) on ubuntu lucid; running into a cert error the first time I run puppet agent on the puppet master: http://pastebin.com/E9PmdYZr | ||
| [2011/12/01 17:08:02] <Dr_Memory> slightly more context: http://pastebin.com/NbWCyj51 | ||
| [2011/12/01 17:08:49] <Volcane> there's a bug re initial certificate names for the master :( | ||
| [2011/12/01 17:09:20] <Dr_Memory> lovely. is there a workaround? I've tried regenerating the certs to no avail. | ||
| [2011/12/01 17:09:30] <cthulhup> stahnma: cool - is there any documentation that documents how much Ruby is available in the DSL? | ||
| [2011/12/01 17:09:33] <Dr_Memory> and altnames of course no longer works :-b | ||
| [2011/12/01 17:09:33] <Volcane> easiest fix is just to add --server puppet.mysite.amazonaws.com | ||
| [2011/12/01 17:09:49] <Volcane> to the puppetd run there | ||
| [2011/12/01 17:09:58] <Dr_Memory> Volcane: on _each_ client? or just the client on the master? | ||
| [2011/12/01 17:09:59] <stahnma> cthulhup: it's not really a matter of ruby being available. It's a matter of what language constructs are available in the puppet dsl | ||
| [2011/12/01 17:10:13] <Volcane> the proper fix is just to remake the cert with the alt names in it | ||
| [2011/12/01 17:10:16] <stahnma> cthulhup: http://docs.puppetlabs.com/guides/language_guide.html | ||
| [2011/12/01 17:10:31] <ashp> holy shit I cannot wait to upgrade to 2.7.8 because of #6907 | ||
| [2011/12/01 17:10:32] <gepetto> ashp: #6907 is http://projects.puppetlabs.com/issues/show/6907 "Puppet - Feature #6907: Ensure providers can be used in the same puppet run that their prerequisites are delivered in. It has a status of Merged - Pending Release and is assigned to -" | ||
| [2011/12/01 17:10:47] <stahnma> ashp: yeah, 6907 was huge | ||
| [2011/12/01 17:11:06] <ashp> It's been a pain in the ass for me a bunch of times with AWS type stuff | ||
| [2011/12/01 17:11:09] <ashp> having to hand install mysql first | ||
| [2011/12/01 17:11:17] <Volcane> Dr_Memory: oh but wait you're on 2.7.2? i dont think that should have that bug | ||
| [2011/12/01 17:11:37] <Dr_Memory> 2.7.6 specifically | ||
| [2011/12/01 17:11:52] <Dr_Memory> sorry, 2.7.2 was a typo | ||
| [2011/12/01 17:13:07] <Dr_Memory> also, how do I add an altname to a cert? puppet cert --help doesn't seem to suggest anything relevant. | ||
| [2011/12/01 17:13:27] <cthulhup> stahnma: i took a look through that already... but i'll take another look. thanks :) | ||
| [2011/12/01 17:14:45] <Volcane> Dr_Memory: shut puppet master, remove the master cert, puppet master --no-daemonize --verbose --dns_alt_names puppet | ||
| [2011/12/01 17:14:52] <Volcane> Dr_Memory: ^c it when its done and start it all as normal | ||
| [2011/12/01 17:15:21] <Dr_Memory> lordy. that'll be fun to script for cold start. :-b | ||
| [2011/12/01 17:16:54] <Dr_Memory> is there an open bug on this I can follow? | ||
| [2011/12/01 17:17:29] @ Quit: wilmoore: Remote host closed the connection | ||
| [2011/12/01 17:18:01] <Volcane> Dr_Memory: #10739 its already merged so will be sorted next release | ||
| [2011/12/01 17:18:01] <gepetto> Volcane: Dr_Memory: #10739 is http://projects.puppetlabs.com/issues/show/10739 "Puppet - Bug #10739: An initial installation of 2.7.6 results in a default certificate without alternate names. It has a status of Merged - Pending Release and is assigned to Josh Cooper" | ||
| [2011/12/01 17:18:25] <Dr_Memory> when does 2.7.8 come out? :) | ||
| [2011/12/01 17:18:33] @ Quit: kermit: Quit: Leaving. | ||
| [2011/12/01 17:18:44] <Dr_Memory> btw, thanks to both of you. | ||
| [2011/12/01 17:20:49] <Volcane> not sure what the plan is for release, stahnma owns that | ||
| [2011/12/01 17:22:44] @ ryancoleman joined channel #puppet | ||
| [2011/12/01 17:23:54] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/12/01 17:24:51] @ Quit: Wolfspyre1: Quit: Leaving. | ||
| [2011/12/01 17:25:57] @ jakkudanieru joined channel #puppet | ||
| [2011/12/01 17:26:08] @ kolla_ joined channel #puppet | ||
| [2011/12/01 17:26:14] <stahnma> Dr_Memory: 7 days at the soonest | ||
| [2011/12/01 17:26:19] <stahnma> 2.7.8rc2 went out today | ||
| [2011/12/01 17:26:31] <stahnma> if no critical bugs found, thursday next week | ||
| [2011/12/01 17:26:36] @ bodgit joined channel #puppet | ||
| [2011/12/01 17:27:18] @ rcrowley joined channel #puppet | ||
| [2011/12/01 17:27:22] @ Quit: alanna: Remote host closed the connection | ||
| [2011/12/01 17:27:53] @ alanna joined channel #puppet | ||
| [2011/12/01 17:28:10] <Dr_Memory> fingers crossed then :) | ||
| [2011/12/01 17:28:15] @ stuntmachine joined channel #puppet | ||
| [2011/12/01 17:30:42] @ langworthy joined channel #puppet | ||
| [2011/12/01 17:32:32] @ Quit: alanna: Ping timeout: 248 seconds | ||
| [2011/12/01 17:36:36] @ spidey_ joined channel #puppet | ||
| [2011/12/01 17:38:27] @ Quit: skm: Read error: Connection reset by peer | ||
| [2011/12/01 17:39:16] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/12/01 17:39:51] @ scsinutz joined channel #puppet | ||
| [2011/12/01 17:41:22] @ skm joined channel #puppet | ||
| [2011/12/01 17:41:33] @ Quit: nfagerlund: Remote host closed the connection | ||
| [2011/12/01 17:42:39] @ Quit: dingus9: Quit: This computer has gone to sleep | ||
| [2011/12/01 17:42:50] @ Quit: seanh-ansca: Ping timeout: 244 seconds | ||
| [2011/12/01 17:43:14] @ zwi joined channel #puppet | ||
| [2011/12/01 17:44:28] @ Quit: marczak: Ping timeout: 252 seconds | ||
| [2011/12/01 17:45:31] @ Quit: scsinutz: Quit: Leaving. | ||
| [2011/12/01 17:45:35] <spidey_> @user { | ||
| [2011/12/01 17:45:35] <spidey_> 'aa': | ||
| [2011/12/01 17:45:35] <spidey_> home => '/home/aa', | ||
| [2011/12/01 17:45:37] <spidey_> ensure => 'present', | ||
| [2011/12/01 17:45:39] <spidey_> groups => ['support'], | ||
| [2011/12/01 17:45:41] <spidey_> } | ||
| [2011/12/01 17:45:43] <spidey_> How do I append to the "groups" variable? | ||
| [2011/12/01 17:45:45] <spidey_> User["aa"] {groups +> ['new_group'] } | ||
| [2011/12/01 17:45:47] <spidey_> User["aa"] {groups += ['new_group'] } | ||
| [2011/12/01 17:45:49] <spidey_> I tried those they don't seem syntax happy. | ||
| [2011/12/01 17:45:51] <spidey_> Hi Guys, I got a question about modifying a virtual resource once it has been declared, e.g. | ||
| [2011/12/01 17:46:06] @ rcrowley joined channel #puppet | ||
| [2011/12/01 17:46:15] @ Quit: Kiall: Excess Flood | ||
| [2011/12/01 17:46:18] <agaffney> spidey_: you can't use that syntax in the same class | ||
| [2011/12/01 17:46:22] <agaffney> it has to be in a subclass | ||
| [2011/12/01 17:46:46] <spidey_> Oh ok, but which is the correct syntax out of the two? | ||
| [2011/12/01 17:47:31] @ matchaw_ joined channel #puppet | ||
| [2011/12/01 17:47:39] <mosen> plusignment is only for subclasses i think | ||
| [2011/12/01 17:47:43] <mosen> ya | ||
| [2011/12/01 17:47:49] @ Quit: matchaw___: Ping timeout: 240 seconds | ||
| [2011/12/01 17:48:01] <spidey_> thanks guys I'll give that a go :) | ||
| [2011/12/01 17:48:22] @ Quit: rcrowley: Client Quit | ||
| [2011/12/01 17:49:18] @ alanevans joined channel #puppet | ||
| [2011/12/01 17:49:23] @ nfagerlund joined channel #puppet | ||
| [2011/12/01 17:50:46] @ dfamorato joined channel #puppet | ||
| [2011/12/01 17:51:14] @ Quit: nfagerlund: Remote host closed the connection | ||
| [2011/12/01 17:51:46] @ rcrowley joined channel #puppet | ||
| [2011/12/01 17:52:15] @ l0n joined channel #puppet | ||
| [2011/12/01 17:53:43] @ Quit: rcrowley: Client Quit | ||
| [2011/12/01 17:54:01] @ Quit: mosen: Quit: Leaving | ||
| [2011/12/01 17:56:06] @ Quit: tblamer: Quit: Going offline, see ya! (www.adiirc.com) | ||
| [2011/12/01 17:58:26] @ Quit: mrwacky42: Ping timeout: 260 seconds | ||
| [2011/12/01 18:01:37] @ hugalua joined channel #puppet | ||
| [2011/12/01 18:03:43] @ Quit: dfamorato: Remote host closed the connection | ||
| [2011/12/01 18:04:08] @ dfamorato joined channel #puppet | ||
| [2011/12/01 18:06:51] @ Quit: the_ramink: Ping timeout: 260 seconds | ||
| [2011/12/01 18:08:05] @ Quit: zwi: Quit: Leaving. | ||
| [2011/12/01 18:08:40] @ Quit: dfamorato: Ping timeout: 244 seconds | ||
| [2011/12/01 18:12:32] @ Quit: zahna: Read error: Connection reset by peer | ||
| [2011/12/01 18:12:43] @ zahna joined channel #puppet | ||
| [2011/12/01 18:16:38] @ dbgster joined channel #puppet | ||
| [2011/12/01 18:19:32] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/12/01 18:19:36] @ nitram_macair left channel #puppet () | ||
| [2011/12/01 18:20:29] @ kermit joined channel #puppet | ||
| [2011/12/01 18:20:34] @ Quit: jakkudanieru: Remote host closed the connection | ||
| [2011/12/01 18:20:38] @ Quit: kermit: Changing host | ||
| [2011/12/01 18:20:38] @ kermit joined channel #puppet | ||
| [2011/12/01 18:24:41] @ Quit: rharrison: Quit: Leaving | ||
| [2011/12/01 18:26:52] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/12/01 18:28:13] @ Quit: cthulhup: Ping timeout: 265 seconds | ||
| [2011/12/01 18:32:13] @ Quit: gniks: Quit: Leaving. | ||
| [2011/12/01 18:32:59] @ Quit: stuntmachine: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/12/01 18:34:11] @ Kiall joined channel #puppet | ||
| [2011/12/01 18:35:53] @ pll` joined channel #puppet | ||
| [2011/12/01 18:36:15] @ Quit: pll: Remote host closed the connection | ||
| [2011/12/01 18:38:08] @ Quit: kermit: Remote host closed the connection | ||
| [2011/12/01 18:38:28] @ Quit: jroid_: Quit: ChatZilla 0.9.87 [Firefox 6.0.2/20110902133214] | ||
| [2011/12/01 18:38:33] @ stuntmachine joined channel #puppet | ||
| [2011/12/01 18:39:21] @ Quit: choonming: Quit: Leaving | ||
| [2011/12/01 18:40:39] @ Quit: stuntmachine: Client Quit | ||
| [2011/12/01 18:41:29] @ cthulhup joined channel #puppet | ||
| [2011/12/01 18:42:45] <cthulhup> stahnma: i'm back... i can't figure how to access string functions in the Puppet DSL. for example... how would i do this in the Puppet DSL. if $hostname.include?('blah') ....... | ||
| [2011/12/01 18:48:15] @ Quit: langworthy: Quit: langworthy | ||
| [2011/12/01 18:49:52] @ Quit: leifmadsen: Ping timeout: 248 seconds | ||
| [2011/12/01 18:50:38] @ leifmadsen joined channel #puppet | ||
| [2011/12/01 18:50:39] @ Quit: leifmadsen: Changing host | ||
| [2011/12/01 18:50:39] @ leifmadsen joined channel #puppet | ||
| [2011/12/01 18:51:49] @ thomas169 joined channel #puppet | ||
| [2011/12/01 18:52:12] @ Quit: spidey_: Remote host closed the connection | ||
| [2011/12/01 18:53:15] @ neonflux joined channel #puppet | ||
| [2011/12/01 18:54:18] @ mosen joined channel #puppet | ||
| [2011/12/01 18:54:38] @ zwi joined channel #puppet | ||
| [2011/12/01 18:54:49] @ Quit: leifmadsen: Ping timeout: 244 seconds | ||
| [2011/12/01 18:55:18] @ leifmadsen joined channel #puppet | ||
| [2011/12/01 18:56:12] @ Quit: nul0op: Quit: Leaving | ||
| [2011/12/01 18:56:26] @ Quit: sascha_: Quit: sascha_ | ||
| [2011/12/01 18:58:23] @ devonstclair joined channel #puppet | ||
| [2011/12/01 18:58:24] @ Quit: devonstclair: Remote host closed the connection | ||
| [2011/12/01 18:58:46] <whack> cthulhup: you probably want if $hostname =~ /blah/ | ||
| [2011/12/01 18:59:30] @ Quit: dbgster: Quit: dbgster | ||
| [2011/12/01 18:59:35] <whack> puppet's manifest language isn't an object oriented programming language, so while you could do 'foo.include?("bar")' in ruby, puppet manifests aren't ruby. | ||
| [2011/12/01 18:59:57] <whack> however, you can do ruby inside templates (since they're just ERB) | ||
| [2011/12/01 19:00:39] @ seanh-ansca joined channel #puppet | ||
| [2011/12/01 19:01:42] @ marczak joined channel #puppet | ||
| [2011/12/01 19:06:22] @ Quit: motomike: Quit: Leaving. | ||
| [2011/12/01 19:09:54] @ blentz joined channel #puppet | ||
| [2011/12/01 19:11:35] @ Quit: joe-mac: Remote host closed the connection | ||
| [2011/12/01 19:12:04] @ Quit: mgw: Quit: Leaving. | ||
| [2011/12/01 19:13:45] @ Quit: miche: Quit: Computer has gone to sleep. | ||
| [2011/12/01 19:16:33] @ joe-mac joined channel #puppet | ||
| [2011/12/01 19:18:57] @ skm joined channel #puppet | ||
| [2011/12/01 19:19:01] @ langworthy joined channel #puppet | ||
| [2011/12/01 19:21:00] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2011/12/01 19:22:11] @ seanh-ansca joined channel #puppet | ||
| [2011/12/01 19:23:26] <thomas169> if i make a package require a service, will that cause the package to wait for any potential service restarts (via other resources notifying the service) to happen? or will it just queue the package at any point that the service is in its defined state (potentially before a service restart)? | ||
| [2011/12/01 19:24:40] @ Quit: tilgovi: Remote host closed the connection | ||
| [2011/12/01 19:25:10] <nevyn> the latter | ||
| [2011/12/01 19:25:39] <nevyn> it orders it in the graph after the required resource is evaluated | ||
| [2011/12/01 19:25:47] <Volcane> the former :P | ||
| [2011/12/01 19:25:56] <nevyn> eek | ||
| [2011/12/01 19:26:03] @ nitram_macair_ joined channel #puppet | ||
| [2011/12/01 19:26:07] <torrancew> FIGHT! :) | ||
| [2011/12/01 19:26:15] <nevyn> which is also true actually | ||
| [2011/12/01 19:26:28] <Volcane> if the service is being refreshed it will happen first | ||
| [2011/12/01 19:26:30] <nevyn> the answer to your or question is yes | ||
| [2011/12/01 19:26:32] <Holocaine> Ok. Why would using import "foo" bork the evaluation order of classes? | ||
| [2011/12/01 19:26:43] * nevyn failed at reading the first half | ||
| [2011/12/01 19:27:01] <Holocaine> As soon as I try to move a few things out into an import everything starts bitching that one of my classes hasn't been evaulated and thus I can't refer to variables from it. | ||
| [2011/12/01 19:27:08] <Volcane> Holocaine: dont import | ||
| [2011/12/01 19:27:15] <Volcane> Holocaine: use the module layout as designed | ||
| [2011/12/01 19:28:56] <Holocaine> I tried that and it told me it couldn't find the classes, despite me passing --modulepath. | ||
| [2011/12/01 19:29:01] <Holocaine> Anyway. | ||
| [2011/12/01 19:29:10] <Holocaine> I just wanted to have this working about two hours ago. | ||
| [2011/12/01 19:29:41] <Volcane> if u want it working, then using puppet as its designed to work - modules with proper layout etc - is totally going to be the best option | ||
| [2011/12/01 19:29:50] <Holocaine> Yeah, I get that. | ||
| [2011/12/01 19:30:04] <Holocaine> But I tried that before and it didn't work, then I tried something else and that didn't work and so on and so forth. | ||
| [2011/12/01 19:30:10] <ryancoleman> Holocaine: this may help with that: http://docs.puppetlabs.com/guides/modules.html | ||
| [2011/12/01 19:30:10] <Holocaine> I'm just venting. | ||
| [2011/12/01 19:30:17] <ryancoleman> if you hadn't already seen it... | ||
| [2011/12/01 19:30:18] <Holocaine> ryancoleman: Trust me, I've read the docs. =) | ||
| [2011/12/01 19:30:21] <nevyn> you do have to import the module | ||
| [2011/12/01 19:30:24] <ryancoleman> ok. :-) | ||
| [2011/12/01 19:30:30] <nevyn> but it needs to be in a modulelayout. | ||
| [2011/12/01 19:30:39] <Volcane> Holocaine: then perhaps u should pastie your code - parse ordering is a bit dumb and has gotchas | ||
| [2011/12/01 19:30:41] <Holocaine> nevyn: I had modules/foo/manifests/init.pp, etc, etc, etc. | ||
| [2011/12/01 19:30:47] <nevyn> right | ||
| [2011/12/01 19:30:51] <nevyn> and you did import foo | ||
| [2011/12/01 19:30:53] <nevyn> ? | ||
| [2011/12/01 19:30:57] <Holocaine> nevyn: No, include. | ||
| [2011/12/01 19:31:30] <nevyn> import | ||
| [2011/12/01 19:31:34] <thomas169> Volcane: ok cool, thanks =) | ||
| [2011/12/01 19:31:41] <nevyn> you need import foo in your site.pp somewhere | ||
| [2011/12/01 19:31:51] <Volcane> nevyn: you dont need to import modules. | ||
| [2011/12/01 19:31:55] <nevyn> hrm | ||
| [2011/12/01 19:31:57] <nevyn> I do. | ||
| [2011/12/01 19:32:02] <Volcane> nevyn: thats the point of using puppet as designed, it auto imports | ||
| [2011/12/01 19:32:19] <ryancoleman> +1 to that.. and the module doc goes into that a bit. | ||
| [2011/12/01 19:32:43] <nevyn> maybe that's changed but on 0.25 I still need to import | ||
| [2011/12/01 19:32:46] <Volcane> in the v.distant past u had to import modules but thats improved | ||
| [2011/12/01 19:32:56] <Volcane> 0.25 should be fine already | ||
| [2011/12/01 19:33:17] @ choonming joined channel #puppet | ||
| [2011/12/01 19:33:55] <ryancoleman> auto-loading is one of those things that if you don't get it quite right, it seems like it's not even there.. once you understand how it works, it really makes life easier and just loads in all your classes. then you can just include or 'class { 'classname' } them in your node declaration. | ||
| [2011/12/01 19:37:38] <Holocaine> Ok, so having worked out this class thing (missing manifests directory in the modules), if I'm doing standalone (not puppet master) and I want to have a bunch of default declarations common to a bunch of manifests (eg Exec { path => ... }), how do I do that? | ||
| [2011/12/01 19:37:42] <Holocaine> If not with import? | ||
| [2011/12/01 19:38:38] <Volcane> standalone puppet can also have a site.pp | ||
| [2011/12/01 19:38:43] <Volcane> and even node files | ||
| [2011/12/01 19:38:48] <Volcane> complete iwth a node default | ||
| [2011/12/01 19:39:19] <Holocaine> Can you specify the node type to use? | ||
| [2011/12/01 19:39:27] <Holocaine> ie, not base it on hostname? | ||
| [2011/12/01 19:39:54] <Volcane> yeah there's a cli argument | ||
| [2011/12/01 19:40:09] <Volcane> every config option is on the cli too - so just check the config reference | ||
| [2011/12/01 19:42:01] <nevyn> ok so how does that work with an ENC? | ||
| [2011/12/01 19:42:40] <Volcane> nevyn: what? | ||
| [2011/12/01 19:42:57] <nevyn> so how does module autoloading work if you don't have node definitions? | ||
| [2011/12/01 19:43:35] <Volcane> it works based on the moduledir | ||
| [2011/12/01 19:43:37] @ wilmoore joined channel #puppet | ||
| [2011/12/01 19:43:39] <Volcane> nothing to do with node defintion | ||
| [2011/12/01 19:43:46] <Volcane> you tell it find my modules in /some/dir | ||
| [2011/12/01 19:43:49] <Volcane> then you do include foo | ||
| [2011/12/01 19:43:50] @ sascha_ joined channel #puppet | ||
| [2011/12/01 19:43:50] <nevyn> yes. | ||
| [2011/12/01 19:43:57] <nevyn> where do you do include foo? | ||
| [2011/12/01 19:43:57] <Volcane> and it goes /some/dir/foo/manifests/init.pp | ||
| [2011/12/01 19:44:07] <Volcane> the ENC sets what classes to include | ||
| [2011/12/01 19:44:18] <nevyn> right. | ||
| [2011/12/01 19:44:44] <Volcane> so the ENC is roughly a 1:1 replacement for a node block - unless you're an idiot and create a bunch of resources etc in your node blocks :) | ||
| [2011/12/01 19:45:23] <Volcane> u can use an ENC to set top scope variables and tell it what to include - suports param clsses too | ||
| [2011/12/01 19:48:30] @ Quit: bmahe: Quit: Leaving | ||
| [2011/12/01 19:51:13] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/12/01 19:51:15] @ Quit: alanevans: Ping timeout: 258 seconds | ||
| [2011/12/01 19:51:22] <matchaw_> Anyone know where the puppetlabs rails module it? | ||
| [2011/12/01 19:51:26] <matchaw_> *is? | ||
| [2011/12/01 19:52:16] @ stuntmachine joined channel #puppet | ||
| [2011/12/01 19:58:07] @ Quit: cthulhup: Ping timeout: 265 seconds | ||
| [2011/12/01 20:03:59] @ alanevans joined channel #puppet | ||
| [2011/12/01 20:05:54] @ ghaskins__ joined channel #puppet | ||
| [2011/12/01 20:08:49] @ Quit: ghaskins_: Ping timeout: 245 seconds | ||
| [2011/12/01 20:09:00] @ Quit: BManojlovic: Remote host closed the connection | ||
| [2011/12/01 20:09:30] @ kermit joined channel #puppet | ||
| [2011/12/01 20:11:04] @ Quit: stuntmachine: Quit: Computer has gone to sleep. | ||
| [2011/12/01 20:14:51] <joe-mac> PL has a new york office? | ||
| [2011/12/01 20:16:55] @ Quit: dezwart: Quit: ZZZzzz... | ||
| [2011/12/01 20:19:40] @ Quit: aherzog: Quit: aherzog | ||
| [2011/12/01 20:19:57] @ ldlework joined channel #puppet | ||
| [2011/12/01 20:20:51] @ z30 joined channel #puppet | ||
| [2011/12/01 20:21:21] @ lborda joined channel #puppet | ||
| [2011/12/01 20:24:16] @ Quit: KaZeR_W: Ping timeout: 260 seconds | ||
| [2011/12/01 20:31:02] @ rcrowley joined channel #puppet | ||
| [2011/12/01 20:31:35] @ Quit: rcrowley: Client Quit | ||
| [2011/12/01 20:32:19] @ KaZeR_W joined channel #puppet | ||
| [2011/12/01 20:34:46] @ Quit: z30: Ping timeout: 260 seconds | ||
| [2011/12/01 20:41:07] @ Quit: bolt12: Quit: Leaving. | ||
| [2011/12/01 20:47:58] @ Quit: choonming: Ping timeout: 244 seconds | ||
| [2011/12/01 20:49:37] @ Quit: marczak: Ping timeout: 244 seconds | ||
| [2011/12/01 20:54:04] @ marczak joined channel #puppet | ||
| [2011/12/01 21:01:31] @ Quit: jason^: Quit: WeeChat 0.3.5 | ||
| [2011/12/01 21:02:51] @ choonming joined channel #puppet | ||
| [2011/12/01 21:05:06] @ Quit: lborda: Ping timeout: 260 seconds | ||
| [2011/12/01 21:07:57] @ jason^ joined channel #puppet | ||
| [2011/12/01 21:08:48] @ tolland left channel #puppet () | ||
| [2011/12/01 21:09:02] @ Quit: zwi: Read error: Connection reset by peer | ||
| [2011/12/01 21:10:10] @ bolt12 joined channel #puppet | ||
| [2011/12/01 21:13:06] @ Quit: ryancoleman: Quit: Leaving. | ||
| [2011/12/01 21:15:07] @ gniks joined channel #puppet | ||
| [2011/12/01 21:19:12] @ Quit: ldlework: Ping timeout: 248 seconds | ||
| [2011/12/01 21:20:35] @ zwi joined channel #puppet | ||
| [2011/12/01 21:21:17] @ Quit: langworthy: Quit: langworthy | ||
| [2011/12/01 21:21:33] @ shadoi joined channel #puppet | ||
| [2011/12/01 21:21:46] @ langworthy joined channel #puppet | ||
| [2011/12/01 21:22:01] @ dissipate_ joined channel #puppet | ||
| [2011/12/01 21:22:25] @ sddd joined channel #puppet | ||
| [2011/12/01 21:26:44] <sddd> hi | ||
| [2011/12/01 21:28:32] @ Quit: thomas169: Quit: leaving | ||
| [2011/12/01 21:28:37] <sddd> i want to integrate mysql with otrs | ||
| [2011/12/01 21:28:47] <sddd> At both the servers mysql is being used at database | ||
| [2011/12/01 21:29:02] <sddd> May be one way could be to replicate few database tables from OTRS onto puppet database and use the information | ||
| [2011/12/01 21:29:16] <sddd> can any one help ? | ||
| [2011/12/01 21:30:17] @ tilgovi joined channel #puppet | ||
| [2011/12/01 21:31:17] @ hooper joined channel #puppet | ||
| [2011/12/01 21:32:21] @ Quit: wilmoore: Remote host closed the connection | ||
| [2011/12/01 21:39:28] @ Quit: joe-mac: Ping timeout: 248 seconds | ||
| [2011/12/01 21:43:47] @ KaiserBeto joined channel #puppet | ||
| [2011/12/01 21:44:06] <Volcane> yeah its pretty shit, esp here | ||
| [2011/12/01 21:44:10] <Volcane> woops, wrong # | ||
| [2011/12/01 21:45:03] @ rcrowley joined channel #puppet | ||
| [2011/12/01 21:45:20] @ Dr_Memory left channel #puppet () | ||
| [2011/12/01 21:47:12] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2011/12/01 21:47:39] @ Quit: l0n: | ||
| [2011/12/01 21:52:38] @ spidey_ joined channel #puppet | ||
| [2011/12/01 21:53:04] <spidey_> Hey Guys, is there anyway to get puppet to de-reference a variable name to a define name? | ||
| [2011/12/01 21:53:21] <spidey_> e.g. define aa () { does something } | ||
| [2011/12/01 21:53:48] <spidey_> ${bb} == aa if that makes sense | ||
| [2011/12/01 21:54:04] <spidey_> sorry i'm my not explaining well, its friday afternoon :) | ||
| [2011/12/01 21:56:07] @ Quit: ghanima: Quit: Leaving. | ||
| [2011/12/01 21:56:07] @ Quit: spidey_: Read error: Connection reset by peer | ||
| [2011/12/01 21:56:12] @ spidey_ joined channel #puppet | ||
| [2011/12/01 21:57:17] @ Quit: nitram_macair_: Quit: nitram_macair_ | ||
| [2011/12/01 21:58:19] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/12/01 21:59:22] @ the_ramink joined channel #puppet | ||
| [2011/12/01 21:59:52] <spidey_> Hi Guys, is there a way to de-reference a variable name to be used as a function call? | ||
| [2011/12/01 21:59:52] <spidey_> define create_something () { # does something } | ||
| [2011/12/01 21:59:52] <spidey_> node testing… { | ||
| [2011/12/01 21:59:54] <spidey_> $bb = "create_something" | ||
| [2011/12/01 21:59:56] <spidey_> ${bb} # to actually call create_something | ||
| [2011/12/01 21:59:58] <spidey_> } | ||
| [2011/12/01 22:00:00] <spidey_> Sorry if my terminology is off. | ||
| [2011/12/01 22:02:37] @ joe-mac joined channel #puppet | ||
| [2011/12/01 22:02:44] <whack> spidey_: ahh I see what you're asking. I don't know if that is possible | ||
| [2011/12/01 22:02:46] <whack> easy to test though | ||
| [2011/12/01 22:03:26] <whack> % puppet apply -e 'define foo() { notice("Hello, $title") } $thing = "foo" $thing { "test": ; }' | ||
| [2011/12/01 22:04:10] <whack> doesn't work for me. That said, unless you really have on idea what resource you're trying to create, you can achieve this with some conditionals (if/else or case) | ||
| [2011/12/01 22:04:28] <spidey_> whack: thanks for that i'll go back to the drawing board | ||
| [2011/12/01 22:04:45] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/12/01 22:05:46] @ Quit: yann2: Ping timeout: 260 seconds | ||
| [2011/12/01 22:05:55] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/12/01 22:06:02] @ Quit: Frodent: | ||
| [2011/12/01 22:06:37] @ Quit: tizzo-afk: Ping timeout: 240 seconds | ||
| [2011/12/01 22:09:36] @ Quit: Hyphenex: Quit: Hyphenex | ||
| [2011/12/01 22:12:55] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/12/01 22:13:04] @ Quit: Holocaine: Ping timeout: 248 seconds | ||
| [2011/12/01 22:13:29] <matchaw_> Hi, is anyone able to help with this :: http://pastie.org/2953457 | ||
| [2011/12/01 22:13:38] <matchaw_> having some trouble with variables. | ||
| [2011/12/01 22:14:04] <matchaw_> Having trouble redefining $my_var | ||
| [2011/12/01 22:14:38] @ Quit: gniks: Quit: Leaving. | ||
| [2011/12/01 22:16:20] @ Quit: mosen: Quit: Leaving | ||
| [2011/12/01 22:16:25] @ alanna joined channel #puppet | ||
| [2011/12/01 22:16:40] @ bmahe joined channel #puppet | ||
| [2011/12/01 22:16:40] @ Quit: bmahe: Changing host | ||
| [2011/12/01 22:16:40] @ bmahe joined channel #puppet | ||
| [2011/12/01 22:17:42] @ yann2 joined channel #puppet | ||
| [2011/12/01 22:18:08] @ yann2 is now known as Guest88325 | ||
| [2011/12/01 22:20:42] @ Quit: langworthy: Quit: langworthy | ||
| [2011/12/01 22:21:21] <matchaw_> no one about? | ||
| [2011/12/01 22:25:37] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/12/01 22:25:55] @ Quit: kermit: Quit: Leaving. | ||
| [2011/12/01 22:26:54] <frostynova> matchaw_: exec this snippet have no error in my env | ||
| [2011/12/01 22:27:30] @ kermit joined channel #puppet | ||
| [2011/12/01 22:27:37] <matchaw_> frostynove: I get : message: defined 'message' as 'value : variable is not defined' | ||
| [2011/12/01 22:27:53] <matchaw_> this should be "this is now defined" | ||
| [2011/12/01 22:30:54] @ skm joined channel #puppet | ||
| [2011/12/01 22:31:35] @ Enf joined channel #puppet | ||
| [2011/12/01 22:32:25] <frostynova> matchaw_: the my_var you passed is classa::setup's variable, not belong to classa::params | ||
| [2011/12/01 22:33:25] @ Quit: supplicant: Ping timeout: 240 seconds | ||
| [2011/12/01 22:34:12] <matchaw_> frostynova: classa::setup inherits classa::param therefore it should execute this class right? | ||
| [2011/12/01 22:34:25] @ jkoppe joined channel #puppet | ||
| [2011/12/01 22:34:47] <frostynova> yep | ||
| [2011/12/01 22:35:43] @ riha joined channel #puppet | ||
| [2011/12/01 22:36:17] <matchaw_> ok so I am confused as to why it does not work then | ||
| [2011/12/01 22:40:52] <frostynova> matchaw_: i don't know much about inherits, but i think params is executed before setup | ||
| [2011/12/01 22:41:40] <matchaw_> frostynova: I think you are correct, but if its a parametrized class then the variables will be setup first. | ||
| [2011/12/01 22:42:23] <whack> matchaw_: what you're doing should work, but yoou don't need inheritance | ||
| [2011/12/01 22:42:51] <matchaw_> whack: would you be able to modify my code to show what you mean? | ||
| [2011/12/01 22:43:01] <frostynova> i agree with whack | ||
| [2011/12/01 22:43:14] @ Quit: emergion: Quit: later... | ||
| [2011/12/01 22:43:50] <frostynova> you just need remove the inherits, only left include is ok | ||
| [2011/12/01 22:43:54] @ Quit: sddd: Ping timeout: 265 seconds | ||
| [2011/12/01 22:44:18] <matchaw_> I have tried using "include classa::param" instead of inheritence and it still fails. | ||
| [2011/12/01 22:44:18] <frostynova> inheritance is only used when you want to override some resources to the base class | ||
| [2011/12/01 22:45:22] <whack> matchaw_: https://gist.github.com/1422099 | ||
| [2011/12/01 22:45:47] <whack> though my example isn't entirely stable since 'classa::params' assumes classa::setup has been included prior | ||
| [2011/12/01 22:46:13] <whack> I would suggest whatever you are trying to do that makes you implement in this way can probably be done another way ;) | ||
| [2011/12/01 22:46:36] <frostynova> whack: good example | ||
| [2011/12/01 22:51:52] @ ali3n0 joined channel #puppet | ||
| [2011/12/01 22:52:07] <matchaw_> Thanks whack I will play around with it. | ||
| [2011/12/01 22:52:16] @ frostynova is now known as _flex | ||
| [2011/12/01 22:54:40] <matchaw_> line 7&9 are invalid in my setup as other classes use classa::params | ||
| [2011/12/01 22:55:15] <matchaw_> thats why I didn't use fully qualified variables there as you never know from which class it came from. | ||
| [2011/12/01 22:56:16] @ Quit: setient: Ping timeout: 248 seconds | ||
| [2011/12/01 22:57:13] @ setient joined channel #puppet | ||
| [2011/12/01 22:57:31] @ mrwacky42 joined channel #puppet | ||
| [2011/12/01 22:57:40] @ Quit: mrwacky42: Client Quit | ||
| [2011/12/01 22:58:42] @ jodok_ joined channel #puppet | ||
| [2011/12/01 22:59:13] @ Quit: dissipate_: Read error: Operation timed out | ||
| [2011/12/01 23:00:10] <whack> matchaw_: indeed, but what you're doing now isn't well supported and probably will be going away I think - it relies on a lot of magic | ||
| [2011/12/01 23:00:21] @ artkrz joined channel #puppet | ||
| [2011/12/01 23:00:59] <matchaw_> You gotta love magic! | ||
| [2011/12/01 23:01:06] <whack> matchaw_: you're probably best moving the data pieces into something like extlookup or hiera - something outside of the class/resource bits in puppet | ||
| [2011/12/01 23:01:44] @ siidd joined channel #puppet | ||
| [2011/12/01 23:01:49] <matchaw_> yes I was going to look at using extlookup. | ||
| [2011/12/01 23:01:56] <matchaw_> haven't got round to that yet. | ||
| [2011/12/01 23:02:08] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/12/01 23:02:42] <siidd> can any one tell how to customize the puppet dashboard? | ||
| [2011/12/01 23:02:50] <siidd> what languadge should i use ? | ||
| [2011/12/01 23:02:53] @ Quit: jodok: Ping timeout: 255 seconds | ||
| [2011/12/01 23:02:53] @ jodok_ is now known as jodok | ||
| [2011/12/01 23:03:16] <_flex> matchaw_: why not use a parametrized for classa::param? | ||
| [2011/12/01 23:03:26] <_flex> a parametrized class | ||
| [2011/12/01 23:03:29] @ nuknad joined channel #puppet | ||
| [2011/12/01 23:06:26] @ Quit: jaytaph: Ping timeout: 244 seconds | ||
| [2011/12/01 23:09:38] <siidd> hi..can any one know .......which language is used in puppet dashboard for communicating with the mysql database....?? | ||
| [2011/12/01 23:10:50] @ lak joined channel #puppet | ||
| [2011/12/01 23:10:50] @ Quit: lak: Changing host | ||
| [2011/12/01 23:10:51] @ lak joined channel #puppet | ||
| [2011/12/01 23:10:54] @ wilmoore joined channel #puppet | ||
| [2011/12/01 23:14:04] <Volcane> siidd: ruby | ||
| [2011/12/01 23:16:56] @ dezwart joined channel #puppet | ||
| [2011/12/01 23:17:40] @ Quit: jodok: Quit: jodok | ||
| [2011/12/01 23:21:38] @ rutger_ joined channel #puppet | ||
| [2011/12/01 23:23:08] @ Quit: apollo13: Quit: SIGILL | ||
| [2011/12/01 23:23:35] @ Quit: ali3n0: Ping timeout: 255 seconds | ||
| [2011/12/01 23:24:29] @ Quit: alanna: Remote host closed the connection | ||
| [2011/12/01 23:24:53] @ alanna joined channel #puppet | ||
| [2011/12/01 23:25:14] @ Quit: wilmoore: Remote host closed the connection | ||
| [2011/12/01 23:29:31] @ Quit: fpletz: Changing host | ||
| [2011/12/01 23:29:31] @ fpletz joined channel #puppet | ||
| [2011/12/01 23:29:46] @ Quit: alanna: Ping timeout: 260 seconds | ||
| [2011/12/01 23:30:20] @ Quit: tilgovi: Ping timeout: 255 seconds | ||
| [2011/12/01 23:32:04] @ DJClean joined channel #puppet | ||
| [2011/12/01 23:34:51] @ Meier joined channel #puppet | ||
| [2011/12/01 23:35:38] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/12/01 23:35:51] @ tizzo-afk joined channel #puppet | ||
| [2011/12/01 23:36:06] @ Quit: siidd: Ping timeout: 265 seconds | ||
| [2011/12/01 23:38:37] @ lynn joined channel #puppet | ||
| [2011/12/01 23:39:37] @ dissipate_ joined channel #puppet | ||
| [2011/12/01 23:40:55] @ supplicant joined channel #puppet | ||
| [2011/12/01 23:44:51] @ Quit: lynn: Quit: Page closed | ||
| [2011/12/01 23:46:19] @ Quit: hooper: Ping timeout: 245 seconds | ||
| [2011/12/01 23:46:20] @ Stenbryggen joined channel #puppet | ||
| [2011/12/01 23:47:46] @ ali3n0 joined channel #puppet | ||
| [2011/12/01 23:49:20] @ jedi4ever joined channel #puppet | ||
| [2011/12/01 23:53:36] @ mauve_ joined channel #puppet | ||
| [2011/12/01 23:54:40] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/12/01 23:56:16] @ Vasik|work joined channel #puppet | ||
| [2011/12/01 23:57:40] @ jaytaph joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!