Thursday, 2012-01-05

[2012/01/05 00:00:24] @ Log started by gepetto
[2012/01/05 00:00:24] @ Quit: gniks: Quit: Leaving.
[2012/01/05 00:00:52] @ jameshyde joined channel #puppet
[2012/01/05 00:04:54] @ Quit: benjiedmund: Remote host closed the connection
[2012/01/05 00:06:36] @ Quit: basic`: Quit: ZNC - http://znc.in
[2012/01/05 00:09:26] @ basic` joined channel #puppet
[2012/01/05 00:09:27] @ scooby2_ is now known as scooby2
[2012/01/05 00:09:56] @ Quit: scooby2: Changing host
[2012/01/05 00:09:57] @ scooby2 joined channel #puppet
[2012/01/05 00:12:47] <mukulm> Any idea about "Could not evaluate: No child processes" in puppet dashboard ?
[2012/01/05 00:14:05] @ bmahe joined channel #puppet
[2012/01/05 00:14:06] @ Quit: bmahe: Changing host
[2012/01/05 00:14:06] @ bmahe joined channel #puppet
[2012/01/05 00:15:29] @ Quit: kermit: Quit: Leaving.
[2012/01/05 00:17:23] @ kermit joined channel #puppet
[2012/01/05 00:17:42] @ Quit: kermit: Client Quit
[2012/01/05 00:18:03] @ Quit: Holocaine: Read error: Operation timed out
[2012/01/05 00:19:10] @ kermit joined channel #puppet
[2012/01/05 00:22:31] @ dissipate joined channel #puppet
[2012/01/05 00:25:25] @ Vasik|work joined channel #puppet
[2012/01/05 00:26:51] @ Quit: freezey: Quit: freezey
[2012/01/05 00:31:05] @ Demosthenes joined channel #puppet
[2012/01/05 00:32:02] @ Quit: ecapriolo|2: Ping timeout: 255 seconds
[2012/01/05 00:35:44] @ dan__t joined channel #puppet
[2012/01/05 00:37:43] @ Quit: neonflux: Quit: Leaving.
[2012/01/05 00:40:15] @ ben_duyujie left channel #puppet ()
[2012/01/05 00:41:14] @ Quit: fir31ight: Ping timeout: 276 seconds
[2012/01/05 00:41:47] @ fir31ight joined channel #puppet
[2012/01/05 00:43:25] @ neonflux joined channel #puppet
[2012/01/05 00:51:31] @ Quit: dissipate: Remote host closed the connection
[2012/01/05 00:52:10] @ dissipate joined channel #puppet
[2012/01/05 00:58:13] @ newt joined channel #puppet
[2012/01/05 01:00:58] @ ali3n0 joined channel #puppet
[2012/01/05 01:01:51] @ Quit: tilgovi: Remote host closed the connection
[2012/01/05 01:02:45] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/01/05 01:03:02] @ Quit: hfnix: Ping timeout: 248 seconds
[2012/01/05 01:04:40] @ radpanda^ joined channel #puppet
[2012/01/05 01:06:41] @ Quit: radpandaz: Ping timeout: 255 seconds
[2012/01/05 01:10:32] @ Quit: Carmivore: Remote host closed the connection
[2012/01/05 01:11:44] @ Quit: danblack: Quit: solitude begins
[2012/01/05 01:11:52] @ Carmivore joined channel #puppet
[2012/01/05 01:18:45] @ Quit: cwarden: Ping timeout: 240 seconds
[2012/01/05 01:22:46] @ Quit: nul0op: Ping timeout: 248 seconds
[2012/01/05 01:22:52] @ Quit: neonflux: Quit: Leaving.
[2012/01/05 01:27:15] @ Meier joined channel #puppet
[2012/01/05 01:27:55] @ Quit: ghg: Quit: Computer has gone to sleep.
[2012/01/05 01:29:32] @ dnjaramba joined channel #puppet
[2012/01/05 01:29:35] @ larstobi joined channel #puppet
[2012/01/05 01:34:21] @ tizzo is now known as tizzo-afk
[2012/01/05 01:35:12] @ nul0op joined channel #puppet
[2012/01/05 01:35:59] @ riha joined channel #puppet
[2012/01/05 01:38:26] @ Quit: Maliuta: Ping timeout: 252 seconds
[2012/01/05 01:39:38] @ JayTaph joined channel #puppet
[2012/01/05 01:40:29] @ Quit: DigitalFlux: Ping timeout: 240 seconds
[2012/01/05 01:41:12] @ Maliuta joined channel #puppet
[2012/01/05 01:43:33] @ DigitalFlux joined channel #puppet
[2012/01/05 01:43:45] @ Quit: ali3n0: Quit: Leaving.
[2012/01/05 01:44:07] @ Quit: dan__t: Read error: Connection reset by peer
[2012/01/05 01:47:35] @ Quit: JayTaph: Remote host closed the connection
[2012/01/05 01:47:49] @ JayTaph joined channel #puppet
[2012/01/05 01:49:14] @ Quit: and`: Ping timeout: 260 seconds
[2012/01/05 01:53:42] @ Quit: Maliuta: Read error: Connection reset by peer
[2012/01/05 01:55:41] @ Quit: Demosthenes: Read error: Connection reset by peer
[2012/01/05 01:55:57] @ Quit: mosen: Quit: Leaving
[2012/01/05 01:59:18] @ erthad joined channel #puppet
[2012/01/05 02:03:06] @ csanchez joined channel #puppet
[2012/01/05 02:04:40] @ Quit: nitram_macair_: Quit: nitram_macair_
[2012/01/05 02:07:25] @ jodok joined channel #puppet
[2012/01/05 02:07:26] @ Quit: jodok: Changing host
[2012/01/05 02:07:26] @ jodok joined channel #puppet
[2012/01/05 02:07:45] @ artkrz joined channel #puppet
[2012/01/05 02:08:59] <Dominic> mfridh, nated: https://bugzilla.redhat.com/show_bug.cgi?id=771097 if you want to track progress on the puppet/augeas issue
[2012/01/05 02:10:09] <Dominic> mfridh, nated: the plan is to put a new 2.6.x Fedora update out with the fix (though the patch is being discussed), though there's not a new upstream 2.6.x version coming out unless there's a security fix. If you're using 2.6.x from upstream, you'd have to patch yourself wth https://github.com/domcleal/puppet/commit/e3fc5c49.patch
[2012/01/05 02:11:04] @ Quit: erthad: Changing host
[2012/01/05 02:11:04] @ erthad joined channel #puppet
[2012/01/05 02:13:50] @ Quit: kelseyhightower: Quit: kelseyhightower
[2012/01/05 02:14:07] @ kelseyhightower joined channel #puppet
[2012/01/05 02:15:56] @ Quit: sdog: Remote host closed the connection
[2012/01/05 02:17:10] @ Quit: dnjaramba: Remote host closed the connection
[2012/01/05 02:17:49] @ Quit: nul0op: Ping timeout: 260 seconds
[2012/01/05 02:18:27] @ Quit: kelseyhightower: Ping timeout: 252 seconds
[2012/01/05 02:20:41] @ dnjaramba joined channel #puppet
[2012/01/05 02:25:58] @ Quit: basic`: Quit: ZNC - http://znc.in
[2012/01/05 02:28:09] @ Quit: shawns: Ping timeout: 240 seconds
[2012/01/05 02:28:12] <mukulm> Any idea about "Could not evaluate: No child processes" in puppet dashboard ?
[2012/01/05 02:28:40] <mukulm> I am getting the error message under failed resourses ?
[2012/01/05 02:31:05] @ ali3n0 joined channel #puppet
[2012/01/05 02:31:15] @ MattyM joined channel #puppet
[2012/01/05 02:31:23] @ hfnix joined channel #puppet
[2012/01/05 02:32:05] @ DJClean joined channel #puppet
[2012/01/05 02:32:26] @ pmorillon joined channel #puppet
[2012/01/05 02:37:39] @ kronn joined channel #puppet
[2012/01/05 02:37:53] @ semubiz joined channel #puppet
[2012/01/05 02:41:49] @ Quit: ldlework: Ping timeout: 240 seconds
[2012/01/05 02:43:12] @ rutger_ joined channel #puppet
[2012/01/05 02:43:21] <semubiz> question to puppet enterprise. I added an aggent to the puppet master by signing its certificate. also in /var/log/syslog, i see that 2 nodes are active. but in the console the new agent doesn't show up
[2012/01/05 02:44:07] @ shawns joined channel #puppet
[2012/01/05 02:44:09] @ Quit: dnjaramba: Ping timeout: 240 seconds
[2012/01/05 02:45:11] @ Quit: larstobi: Quit: Leaving.
[2012/01/05 02:45:32] <stahnma> semubiz: you getting a report or anything from the second node?
[2012/01/05 02:45:48] <stahnma> semubiz: (fair warning, it's almost midnight here, so I won't be up for long)
[2012/01/05 02:45:49] @ Demosthenes joined channel #puppet
[2012/01/05 02:46:50] <semubiz> stahnma: how can i look at the report of the agent? i waited for hours and the agent doesnt show up in console
[2012/01/05 02:47:13] <stahnma> when you say "agent doesn't show up" you mean just on the front page?
[2012/01/05 02:47:23] <stahnma> do you have iptables up?
[2012/01/05 02:47:33] <stahnma> so the report maybe can't get through to your console?
[2012/01/05 02:48:19] <semubiz> stahnma: yes on the front page of console i only see the master node. is the a discovery queue or something?
[2012/01/05 02:48:41] <stahnma> semubiz: not really. When the console receives a report, that kicks most everything off
[2012/01/05 02:48:56] <stahnma> hmm, do you have pe-puppet-dashboard-workers running on your console host?
[2012/01/05 02:49:01] <stahnma> that processes the reports as they arrive
[2012/01/05 02:49:15] @ Vorik joined channel #puppet
[2012/01/05 02:49:17] <stahnma> I mean, you should have that running, but it's possible it died...I guess, maybe
[2012/01/05 02:49:36] <stahnma> pe-puppet-dashboard-workers is also known as delayed_job in the process stack
[2012/01/05 02:49:42] @ dnjaramba joined channel #puppet
[2012/01/05 02:50:10] <stahnma> semubiz: I'd also check the reporurl in your /etc/puppetlabs/puppet.conf on the agent, and ensure it is correct (and can be resolved by the client)
[2012/01/05 02:50:19] <semubiz> stahnma: im making an evaluation of puppet and trying to getting it running. i dont have any expensive workers i think
[2012/01/05 02:51:07] <semubiz> stahnma: i configured the /etc/hosts of the agent so it can contact the master through the host name "puppet"
[2012/01/05 02:51:10] <stahnma> semubiz: it's not so much expensive workers (perhaps a misunderstanding there). There's an init script /etc/init.d/pe-puppet-dashboard-workers that starts a daemon called "delayed_job" to process incoming reports
[2012/01/05 02:52:15] <semubiz> stahnma: ok ill look at the processes
[2012/01/05 02:52:48] <stahnma> if you run "puppet agent --configprint reporturl" (I think that's correct) on the agent does that url look appropriate to you?
[2012/01/05 02:52:54] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/01/05 02:53:35] @ jeremy_ joined channel #puppet
[2012/01/05 02:54:02] <semubiz> stahnma: invalid parameter: reporturl
[2012/01/05 02:54:09] @ Quit: hfnix: Quit: Leaving.
[2012/01/05 02:54:29] <stahnma> semubiz: hmm. I don't have a PE install right handy...
[2012/01/05 02:55:44] <stahnma> maybe grep reporturl from /etc/puppetlabs/puppet/puppet.conf
[2012/01/05 02:55:46] @ Quit: jeremy: Ping timeout: 276 seconds
[2012/01/05 02:56:08] @ jeremy joined channel #puppet
[2012/01/05 02:56:09] @ Quit: jeremy: Changing host
[2012/01/05 02:56:09] @ jeremy joined channel #puppet
[2012/01/05 02:56:56] <stahnma> I'd like to know if you're attempting to send reports or failing prior to that. Sadly that's super easy to tell if it bails while running the report processer
[2012/01/05 02:56:57] <semubiz> stahnma: yes report url seems correct. goes to localhost
[2012/01/05 02:57:06] <stahnma> on the agent?
[2012/01/05 02:57:19] <semubiz> no on the master
[2012/01/05 02:57:51] <mukulm> I have a production classes as production_01 & test class as test_01 in the /etc/puppet/modules without inheriting or mentioning a test class in site.pp but still some users are effected by test_01 class ?
[2012/01/05 02:57:56] <stahnma> so the agent on the system with the master is showing up fine in the consoel correct?
[2012/01/05 02:58:05] <stahnma> how about on the agent?
[2012/01/05 02:58:12] <stahnma> the reporurl thing
[2012/01/05 02:58:17] @ Quit: jeremy_: Ping timeout: 255 seconds
[2012/01/05 02:58:56] <semubiz> stahnma: yes in the console i see the local host.
[2012/01/05 02:58:59] <stahnma> mukulm: are you importing anywhere?
[2012/01/05 02:59:09] <mukulm> no
[2012/01/05 02:59:17] <stahnma> semubiz: ok, so in teh /etc/puppetlabs/puppet.conf on the agent, is the reporturl correct?
[2012/01/05 02:59:27] <stahnma> mukulm: kind of a shot in the dark there ;) Any includes?
[2012/01/05 02:59:47] <semubiz> stahnma: on the agent i do not have such a file
[2012/01/05 02:59:52] <mukulm> no not included any where
[2012/01/05 03:00:02] <stahnma> semubiz: on the agent you don't have /etc/puppetlabs/puppet/puppet.conf?
[2012/01/05 03:00:17] <stahnma> I think I missed a puppet in there on the last message I typed
[2012/01/05 03:00:40] <stahnma> mukulm: hmm. How do you define what classes get assigned? In site.pp or an ENC ?
[2012/01/05 03:01:11] <semubiz> stahnma: no (i copied your path into console). did i maybe install the wrong client on agent
[2012/01/05 03:01:25] @ Quit: comptona: Quit: Leaving.
[2012/01/05 03:01:39] <stahnma> semubiz: sounds like the agent installation didn't occur properly (one way or another)
[2012/01/05 03:01:44] <semubiz> stahnma: on agent i installed sudo apt-get install puppet
[2012/01/05 03:01:51] <stahnma> semubiz: ahhh
[2012/01/05 03:01:54] <stahnma> that explains everything
[2012/01/05 03:02:15] <stahnma> semubiz: that requires much more work to get going. I'd use the PE installer on the agent
[2012/01/05 03:02:22] <stahnma> it's much richer experience
[2012/01/05 03:03:00] <semubiz> stahnma: ah ok. so i can take the same install files on agent, and there i just select the client role?
[2012/01/05 03:03:10] @ Quit: dnjaramba: Ping timeout: 268 seconds
[2012/01/05 03:03:12] <stahnma> semubiz: yup
[2012/01/05 03:03:33] <stahnma> to remove confusion, I'd probably uninstall puppet from apt-get first
[2012/01/05 03:03:41] <stahnma> they can run side-by-side, but can cause confusion
[2012/01/05 03:04:24] <semubiz> stahnma: thank you very much. can i remove the certificate on the master to retain the license?
[2012/01/05 03:04:35] <stahnma> semubiz: yup
[2012/01/05 03:05:03] @ sdog joined channel #puppet
[2012/01/05 03:05:06] <stahnma> semubiz: I think that's a puppet cert clean or puppet cert rm action of some type (exact syntax is escaping me)
[2012/01/05 03:05:08] @ Quit: sdog: Changing host
[2012/01/05 03:05:08] @ sdog joined channel #puppet
[2012/01/05 03:05:32] <semubiz> stahnma: thanks for your help. dont want to keep u up
[2012/01/05 03:05:52] <stahnma> semubiz: no worries.
[2012/01/05 03:06:24] <stahnma> mukulm: I think I'm heading to sleep. If you're still having some confusion about 8 hours from now, let me know. I imagine somebody in here can help :)
[2012/01/05 03:07:10] @ mayak joined channel #puppet
[2012/01/05 03:08:12] @ dnjaramba joined channel #puppet
[2012/01/05 03:09:18] <kronn> I've got a setup-problem: according to the error-message, the hostname does not match.
[2012/01/05 03:09:40] <kronn> however, `hostname -f` looks like a fqdn
[2012/01/05 03:09:50] @ raphdg joined channel #puppet
[2012/01/05 03:10:08] @ Stenbryggen joined channel #puppet
[2012/01/05 03:10:08] <kronn> and i can connect successfully with `openssl s_client`
[2012/01/05 03:10:30] <kronn> node and master are Ubuntu machines with puppet from apt (2.7.1)
[2012/01/05 03:14:36] @ danblack joined channel #puppet
[2012/01/05 03:14:39] @ jedi4ever joined channel #puppet
[2012/01/05 03:14:42] @ Quit: jedi4ever: Client Quit
[2012/01/05 03:15:33] @ octane- joined channel #puppet
[2012/01/05 03:15:57] @ basic` joined channel #puppet
[2012/01/05 03:19:16] @ arBmind joined channel #puppet
[2012/01/05 03:29:28] @ c0mmunytj joined channel #puppet
[2012/01/05 03:29:39] <c0mmunytj> ciao #list
[2012/01/05 03:29:43] @ c0mmunytj left channel #puppet ()
[2012/01/05 03:29:55] <mukulm> production_01 classe is defined in site.pp
[2012/01/05 03:30:08] @ Quit: aculich: Quit: Leaving.
[2012/01/05 03:32:21] @ redpepper is now known as RedPepper
[2012/01/05 03:32:23] @ Vorik left channel #puppet ()
[2012/01/05 03:32:37] @ Quit: jodok: Quit: jodok
[2012/01/05 03:32:48] @ Vorik joined channel #puppet
[2012/01/05 03:33:03] @ aculich joined channel #puppet
[2012/01/05 03:33:35] <Vorik> mayak: did you get my email?
[2012/01/05 03:33:36] @ Quit: jfroche: Ping timeout: 240 seconds
[2012/01/05 03:33:37] @ Quit: jameshyde: Quit: Leaving
[2012/01/05 03:34:10] @ cirbri joined channel #puppet
[2012/01/05 03:34:25] @ Holocaine joined channel #puppet
[2012/01/05 03:34:32] @ jodok joined channel #puppet
[2012/01/05 03:38:19] @ Quit: aculich: Ping timeout: 268 seconds
[2012/01/05 03:38:43] @ Quit: munhitsu__: Remote host closed the connection
[2012/01/05 03:40:53] @ Quit: newt: Ping timeout: 244 seconds
[2012/01/05 03:41:24] @ aculich joined channel #puppet
[2012/01/05 03:42:02] @ larstobi joined channel #puppet
[2012/01/05 03:42:44] @ Quit: aculich: Remote host closed the connection
[2012/01/05 03:43:13] @ newt joined channel #puppet
[2012/01/05 03:45:27] @ trickyf joined channel #puppet
[2012/01/05 03:48:09] @ nan0r joined channel #puppet
[2012/01/05 03:50:30] @ Quit: basic`: Quit: ZNC - http://znc.in
[2012/01/05 03:51:40] @ Quit: larstobi: Ping timeout: 276 seconds
[2012/01/05 03:52:40] @ basic` joined channel #puppet
[2012/01/05 03:52:47] @ larstobi joined channel #puppet
[2012/01/05 03:53:05] @ Ramonster joined channel #puppet
[2012/01/05 03:55:28] @ Quit: nico: Quit: changing host
[2012/01/05 03:55:54] @ nul0op joined channel #puppet
[2012/01/05 03:56:07] @ nico joined channel #puppet
[2012/01/05 03:56:24] @ larstobi1 joined channel #puppet
[2012/01/05 03:56:55] @ Quit: larstobi: Read error: Connection reset by peer
[2012/01/05 03:57:16] @ Quit: basic`: Quit: ZNC - http://znc.in
[2012/01/05 03:58:04] <daff> is the puppet-users Google group heavily moderated? or am I too stupid for that fancy new gmail-like interface?
[2012/01/05 03:58:06] @ Quit: jodok: Quit: jodok
[2012/01/05 03:58:16] <daff> it's been hours since I posted but so far none of my posts show up
[2012/01/05 03:59:25] @ basic` joined channel #puppet
[2012/01/05 04:01:33] @ Quit: elasticdog: Ping timeout: 248 seconds
[2012/01/05 04:01:44] @ Quit: vincent_vdk: Ping timeout: 255 seconds
[2012/01/05 04:01:45] @ Quit: dcsobralWork: Ping timeout: 255 seconds
[2012/01/05 04:02:05] @ Quit: dlb__: Ping timeout: 248 seconds
[2012/01/05 04:02:15] @ vincent_vdk joined channel #puppet
[2012/01/05 04:02:29] @ dlb__ joined channel #puppet
[2012/01/05 04:03:22] @ lkoranda joined channel #puppet
[2012/01/05 04:03:54] @ elasticdog joined channel #puppet
[2012/01/05 04:05:28] @ Quit: dissipate: Remote host closed the connection
[2012/01/05 04:07:45] @ fronlius joined channel #puppet
[2012/01/05 04:08:39] @ Quit: larstobi1: Quit: Leaving.
[2012/01/05 04:08:54] @ larstobi joined channel #puppet
[2012/01/05 04:10:54] @ quit (okay bye)
[2012/01/05 04:17:50] @ Joined channel #puppet
[2012/01/05 04:17:50] @ Topic is "Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 and 2.6.13 available at downloads.puppetlabs.com yum.puppetlabs.com apt.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A | December Newsletter http://bit.ly/nl11-12"
[2012/01/05 04:17:50] @ Topic set by stahnma!~stahnma@fedora/stahnma on Fri Dec 30 19:50:33 -0500 2011
[2012/01/05 04:18:07] @ Mode +Ccnt by lindbohm.freenode.net
[2012/01/05 04:19:16] @ Quit: Vorik: Quit: Leaving.
[2012/01/05 04:20:09] @ Vorik joined channel #puppet
[2012/01/05 04:23:24] @ Quit: Niarf: Quit: Leaving.
[2012/01/05 04:23:32] @ Quit: danblack: Ping timeout: 276 seconds
[2012/01/05 04:24:09] @ Quit: bmahe: Quit: Leaving
[2012/01/05 04:28:05] @ Quit: nul0op: Quit: Leaving
[2012/01/05 04:28:08] @ ezryx joined channel #puppet
[2012/01/05 04:28:17] @ nul0op joined channel #puppet
[2012/01/05 04:31:10] @ Quit: dnjaramba: Read error: Connection reset by peer
[2012/01/05 04:31:35] @ Quit: larstobi: Ping timeout: 252 seconds
[2012/01/05 04:35:07] @ DbT_ joined channel #puppet
[2012/01/05 04:36:38] <ptman> so what do people think about cdist? http://www.nico.schottelius.org/blog/migrating-away-from-puppet-to-cdist/
[2012/01/05 04:36:53] <ptman> was this already discussed?
[2012/01/05 04:39:07] @ Quit: Vorik: Remote host closed the connection
[2012/01/05 04:39:48] <mukulm> What "Could not evaluate: No child processes means in dashboad as i getting err message ?
[2012/01/05 04:40:06] @ dnjaramba joined channel #puppet
[2012/01/05 04:41:24] @ jfroche joined channel #puppet
[2012/01/05 04:45:21] @ Kernel_Core joined channel #puppet
[2012/01/05 04:45:24] <Kernel_Core> hi lal
[2012/01/05 04:47:36] @ Niarf joined channel #puppet
[2012/01/05 04:49:29] <kronn> Hi! What exactly do i need the certdnsnames/dns_alt_names config option for?
[2012/01/05 04:49:54] <kronn> I have been reading a lot about it and also have some setup-issues.
[2012/01/05 04:50:02] @ Quit: cirbri: Quit: leaving
[2012/01/05 04:50:33] <kronn> it seems like a solution (node and master have different domains), but I don't understand it completely
[2012/01/05 04:50:50] <kronn> can anyone clarify that for me?
[2012/01/05 04:51:07] @ Quit: DbT_: Quit: So long.
[2012/01/05 04:52:34] @ Vorik joined channel #puppet
[2012/01/05 04:54:15] @ chmac joined channel #puppet
[2012/01/05 04:54:29] <Kernel_Core> how do I include a class in class ?
[2012/01/05 04:55:01] @ cirbri joined channel #puppet
[2012/01/05 04:56:55] <kronn> Kernel_Core: class foo { include bar } works for me.
[2012/01/05 04:57:02] @ andreaturli joined channel #puppet
[2012/01/05 04:57:07] <kronn> given bar is a class
[2012/01/05 04:57:09] @ Quit: Vorik: Client Quit
[2012/01/05 04:57:39] @ Vorik joined channel #puppet
[2012/01/05 04:57:45] @ Quit: aj__: Quit: Leaving
[2012/01/05 05:01:10] <Kernel_Core> kronn: but for me it didn't work
[2012/01/05 05:01:18] <Kernel_Core> I acctually used this :
[2012/01/05 05:01:28] <Kernel_Core> class apached-conf{
[2012/01/05 05:01:28] <Kernel_Core> include {cert-conf}
[2012/01/05 05:02:04] <_rc> the extra braces aren't going to help. also try and avoid using - in your class names
[2012/01/05 05:02:06] <Kernel_Core> the error is :Could not parse for environment production: Syntax error at '}'; expected '}'
[2012/01/05 05:02:29] @ Quit: dnjaramba: Read error: Connection reset by peer
[2012/01/05 05:02:30] <kronn> Kernel_Core: +1 to _rc :)
[2012/01/05 05:03:09] <Kernel_Core> kronn: ?!
[2012/01/05 05:03:33] <kronn> I have classes like this:
[2012/01/05 05:03:40] <kronn> class mysql::server {
[2012/01/05 05:03:49] <kronn> include mysql::client
[2012/01/05 05:03:59] <kronn> # extra stuff
[2012/01/05 05:04:00] <kronn> }
[2012/01/05 05:04:52] <_rc> include {cert-conf} # that's just not going to work. include cert-conf *might*, depending on puppet version
[2012/01/05 05:05:25] @ Quit: mukulm: Quit: Page closed
[2012/01/05 05:05:46] <Kernel_Core> _rc: I am running 2.6.12
[2012/01/05 05:06:46] <_rc> Kernel_Core: you're safe for now I think, but you should still avoid '-' in identifiers as it breaks in some contexts, when it parses it as cert - conf (maths)
[2012/01/05 05:06:59] @ dnjaramba joined channel #puppet
[2012/01/05 05:07:26] <Kernel_Core> _rc: I removed brackets and the errCould not find class cert-conf in namespaces apached-conf at /etc/puppet/manifests/classes/apache-install/apached-conf.pp:2 on node web1.lab.freephoo.peopleinteractive.local
[2012/01/05 05:07:44] <Kernel_Core> _rc: I removed brackets and the error is : Could not find class cert-conf in namespaces apached-conf at /etc/puppet/manifests/classes/apache-install/apached-conf.pp:2 on node web1.lab.freephoo.peopleinteractive.local
[2012/01/05 05:08:13] <_rc> well that's because it couldn't find the class
[2012/01/05 05:08:39] <Kernel_Core> _rc: how do I put the class in the path ?
[2012/01/05 05:08:41] <_rc> where's it declared, and how would puppet know?
[2012/01/05 05:09:13] <_rc> you're better off restructuring your code into modules, so the autoloader can help you. http://docs.puppetlabs.com/guides/modules.html#module-autoloading
[2012/01/05 05:09:39] @ drnexus joined channel #puppet
[2012/01/05 05:10:02] <chmac> Is the learning-puppet-vm available as an AMI?
[2012/01/05 05:10:04] <Kernel_Core> I created a folder apached-install : and I imported the content of the folder in site.pp import "classes/apache-install/*"
[2012/01/05 05:10:21] <henk> Don’t use import!
[2012/01/05 05:10:24] <chmac> Paying $2 for a few hours usage vs setting up my network in virtualbox seems like a worth trade off :-)
[2012/01/05 05:10:47] <Kernel_Core> henk: why ? what is the problem of import ?
[2012/01/05 05:11:18] <_rc> it sucks
[2012/01/05 05:12:08] <henk> Kernel_Core: It’s overused. In 90% of the cases I have seen people use it, modules would have been the much better choice.
[2012/01/05 05:13:30] <Kernel_Core> _rc: how do you solve the mess of having 100 or 200 classes ? I figured out that having seperate folders make it easier to manage .
[2012/01/05 05:14:46] <_rc> don't have a classes/ hierachy. put your classes in modules. modules are folders that make it easier to manage
[2012/01/05 05:14:55] @ _zack left channel #puppet ()
[2012/01/05 05:15:09] @ Quit: newt: Quit: gone with a wind
[2012/01/05 05:15:12] @ Prometheus joined channel #puppet
[2012/01/05 05:15:35] <_rc> they're a better way to achive what you're trying to fake up with your directory hierarchy and import statement
[2012/01/05 05:16:39] <Kernel_Core> _rc: so I will read about modules , I think the solution is working with modules :) Thank you !
[2012/01/05 05:17:43] @ Quit: aglet: Quit: ZNC - http://znc.in
[2012/01/05 05:18:13] @ aglet joined channel #puppet
[2012/01/05 05:20:47] @ robthoms joined channel #puppet
[2012/01/05 05:20:59] <robthoms> Buongiorno, amici.
[2012/01/05 05:21:22] @ Quit: basic`: Changing host
[2012/01/05 05:21:22] @ basic` joined channel #puppet
[2012/01/05 05:21:34] @ Quit: Demosthenes: Quit: leaving
[2012/01/05 05:21:36] @ cakery joined channel #puppet
[2012/01/05 05:21:55] <robthoms> I want a nice way to make a puppet run fail on the client side if a particular class is included (via some ENC-logic).
[2012/01/05 05:22:08] @ kolla joined channel #puppet
[2012/01/05 05:22:38] <robthoms> I think that the notify { "whatever": } resource blends into the output too much.. I guess I could use an Exec.. but frankly, I'd rather the puppet run just fail loudly.
[2012/01/05 05:23:22] <semubiz> puppet enterprise: how can i show security and normal updates for packages of my nodes?
[2012/01/05 05:23:24] <_rc> it has to be on the client side? you can't just fail compilation?
[2012/01/05 05:23:27] <cakery> we want to use puppet to keep the configuration of our software up to date, but we also want to set the configuration via the provided rest interface, i was thinking of writing a 'sync url' type that acted like a file, but with GET/POST instead of read/write... does this sound sensible, or am I completely overlooking the right solution?
[2012/01/05 05:23:56] <mayak> Vorik: Thank you very much for your mail. I will give it a try this afternoon (CET).
[2012/01/05 05:24:02] @ Quit: cakery: Remote host closed the connection
[2012/01/05 05:26:43] <nevyn> so does anyone know of references on code management and release strategies for system management code?
[2012/01/05 05:27:45] @ danblack joined channel #puppet
[2012/01/05 05:27:55] @ Quit: Prometheus: Quit: leaving
[2012/01/05 05:28:13] @ em295 joined channel #puppet
[2012/01/05 05:28:30] <robthoms> Hi nevyn.
[2012/01/05 05:28:33] <nevyn> I've found little beyond use modules and keep it in a vcs
[2012/01/05 05:28:34] <nevyn> hi
[2012/01/05 05:28:48] <robthoms> nevyn, #linuxaus days, no? :-)
[2012/01/05 05:28:59] <nevyn> probably...
[2012/01/05 05:29:00] <robthoms> (rmt)
[2012/01/05 05:29:08] @ Vorik_ joined channel #puppet
[2012/01/05 05:29:09] <Wicla> Hello. I'm trying to get a relationship between a few modules to work. However I'm unable to do so. Wouldn't "Class['module1'] -> Class['module2'] <- Class['module3']. Wouldn't that make both module1 and module2 require module3 before module2 is "parsed"?. Puppet does module3 before module2 anyway
[2012/01/05 05:29:11] <robthoms> So yes.. a nice release strategy is possible with puppet
[2012/01/05 05:29:23] <nevyn> robthoms: I don't doubt it.
[2012/01/05 05:29:45] <nevyn> robthoms: I was just wondering if anyone had written anything on it.
[2012/01/05 05:29:54] <Wicla> oops. Sorry. Should be different pointers. They're pointing out from module2. Not in to
[2012/01/05 05:30:05] @ willaerk joined channel #puppet
[2012/01/05 05:30:08] @ inecas joined channel #puppet
[2012/01/05 05:30:19] <robthoms> nevyn, modulepath = /etc/puppet/modules/config:/etc/puppet/environments/$environment
[2012/01/05 05:30:25] <nevyn> right.
[2012/01/05 05:30:31] <nevyn> that's not the hard bit.
[2012/01/05 05:30:43] <robthoms> nevyn, modulepath = /etc/puppet/modules/config:/etc/puppet/environments/$environment/app:/etc/puppet/environments/$environment/dist
[2012/01/05 05:31:10] <robthoms> Then symlinks, or however, within that.
[2012/01/05 05:31:17] @ cakery joined channel #puppet
[2012/01/05 05:31:20] <nevyn> robthoms: so we're using git and dynamic branches and can implement per branch access control etc
[2012/01/05 05:31:53] <robthoms> We actually package up our puppet recipes - an always-trunk config module, a released dist that app's can target, and then app's themselves, with their own releases (against certain dist versions)
[2012/01/05 05:31:56] @ jodok joined channel #puppet
[2012/01/05 05:31:56] <nevyn> the real issue is around code progression and promotion
[2012/01/05 05:32:02] @ Quit: jodok: Changing host
[2012/01/05 05:32:02] @ jodok joined channel #puppet
[2012/01/05 05:32:04] <cakery> sorry, my client died - did anyone say anything to me since my post?
[2012/01/05 05:32:34] <nevyn> cakery: I was going to...
[2012/01/05 05:32:37] <semubiz> is puppet enterprise conceptionally able to detect and notify package updates (security and normal updates)? in the console i can only detect differences between nodes, but not updates
[2012/01/05 05:32:53] @ Quit: andreaturli: Read error: No route to host
[2012/01/05 05:33:02] <robthoms> nevyn, Indeed.. it's why we (Nokia Berlin) ended up setting up a build & test chain for our puppet recipes. We've got too many developers & admins touching the stuff. :-)
[2012/01/05 05:33:18] @ Quit: jodok: Remote host closed the connection
[2012/01/05 05:33:39] @ jodok joined channel #puppet
[2012/01/05 05:33:48] <nevyn> robthoms: so my plan roughly looks like this (all sorts of crazy dev branches.. which can be rewound or rebased or whatever...)
[2012/01/05 05:34:21] <nevyn> a testing branch which only accepts ff merges if it hits this removing it is a revert no history revision
[2012/01/05 05:34:35] <robthoms> nevyn, We also say "a tag is a tag, no changes allowed" which isn't easily possible if we're using only a vcs.
[2012/01/05 05:34:39] <nevyn> testing -> UAT -> Production with signoffs...
[2012/01/05 05:34:54] <nevyn> robthoms: git can.
[2012/01/05 05:35:11] <robthoms> Good to know.
[2012/01/05 05:35:36] <nevyn> if you have a git hash it's by definition immutable
[2012/01/05 05:35:48] <nevyn> and exactly the same state of the tree.
[2012/01/05 05:36:25] <robthoms> If you use the hashes, sure. ;-)
[2012/01/05 05:36:44] <nevyn> or if you use signed tags.
[2012/01/05 05:36:57] <nevyn> so hashes in the CMDB is the plan ;)
[2012/01/05 05:37:25] @ andreaturli joined channel #puppet
[2012/01/05 05:37:40] <robthoms> nevyn, how many distinct sets of puppet recipes are you dealing with?
[2012/01/05 05:37:51] <cakery> nevyn, yes?
[2012/01/05 05:37:53] <robthoms> Or is it fairly homogeneous?
[2012/01/05 05:38:24] <nevyn> robthoms: so we ahve multiple clients
[2012/01/05 05:38:30] <nevyn> but common policy
[2012/01/05 05:38:39] @ Quit: bobra: Ping timeout: 252 seconds
[2012/01/05 05:38:54] <nevyn> robthoms: so all customer departements and agencies have the same base security policy that's central
[2012/01/05 05:39:07] <robthoms> nevyn, And then they create puppet recipes?
[2012/01/05 05:39:11] <nevyn> nope
[2012/01/05 05:39:13] <nevyn> we do.
[2012/01/05 05:40:01] <nevyn> my initial plan is that the sysadmins will use puppet and may delegate some modules to middleware teams.
[2012/01/05 05:41:23] <robthoms> Ok.. it probably wouldn't hurt regardless to have a layer of indirection in there - a dist/site module with the common modules.. and that's released.. then "apps"/machine types that use a specific site/site module.
[2012/01/05 05:41:42] <robthoms> And then a common module that always runs off trunk.
[2012/01/05 05:42:01] <robthoms> (ok, our trunk is post-testing)
[2012/01/05 05:42:42] <nevyn> robthoms: so we are a shared service bureau providing services to multiple departments
[2012/01/05 05:42:46] @ Quit: andreaturli: Remote host closed the connection
[2012/01/05 05:43:36] @ bobra joined channel #puppet
[2012/01/05 05:44:24] <robthoms> We provide the base platform, and a set of common modules (which we call dist) that can be used by sysadmins/developers. They always target the latest dist, and then they tag releases. Only tagged releases can go into production.
[2012/01/05 05:44:29] @ larsar joined channel #puppet
[2012/01/05 05:44:48] <robthoms> We also use the ENC functionality to integrate with our CMDB.
[2012/01/05 05:44:53] @ sebnash joined channel #puppet
[2012/01/05 05:44:57] <nevyn> so how are you doing that?
[2012/01/05 05:45:12] <nevyn> cause I have thougths about it but I'd be interested to hear how you're doing it.
[2012/01/05 05:45:27] @ Quit: danblack: Ping timeout: 276 seconds
[2012/01/05 05:47:21] @ Quit: Holocaine:
[2012/01/05 05:47:30] <robthoms> Each system has 3 variables associated with it.. app/role/release (as well as optional variables, which can be used in later substitution).. The puppet environment name comes from $app_$release .. and role is used when loading the configuration data (stored in YAML format, included in a specific order).
[2012/01/05 05:48:13] @ lanky joined channel #puppet
[2012/01/05 05:48:19] <robthoms> We also have a base platform class that's included in this order (it includes YAML for $dist_version, determined at runtime based on the symlink - so that we can change the interface)
[2012/01/05 05:48:21] <nevyn> this is in the cmdb?
[2012/01/05 05:48:29] <nevyn> that the 3 variables are stored as attributes?
[2012/01/05 05:51:51] <robthoms> Yes.
[2012/01/05 05:52:14] @ larstobi joined channel #puppet
[2012/01/05 05:52:14] <nevyn> cool
[2012/01/05 05:52:57] <nevyn> so do you increment dist under change and push your fleet to the new dist code?
[2012/01/05 05:53:05] @ Quit: Spads_: Ping timeout: 240 seconds
[2012/01/05 05:54:43] @ Quit: lanky: Quit: Leaving
[2012/01/05 05:55:06] @ Spads joined channel #puppet
[2012/01/05 05:55:41] <robthoms> nevyn, We release a new dist whenever we want, and change control happens on the app side here (because they have to switch to use the latest one at release time - or so the theory goes)
[2012/01/05 05:55:55] <robthoms> (well, at development time.. always develop against latest dist)
[2012/01/05 05:56:15] @ lanky joined channel #puppet
[2012/01/05 05:56:40] <nevyn> so when you release a new dist... how does it get to production?
[2012/01/05 05:57:48] <nevyn> or do existing "live" systems only get the dist they were released with?
[2012/01/05 06:01:28] <robthoms> nevyn, existing live systems only get the dist they were released with.. we have a "config" module for immediately released stuff (and of course, the ENC config data is immediate)
[2012/01/05 06:02:04] <nevyn> robthoms: so how do you modify production systems with puppet? or you don't?
[2012/01/05 06:02:23] <robthoms> To install new puppet modules, right now we have a yum repository & a standalone puppet script that people have to edit.. this could be simpler though. ;-)
[2012/01/05 06:02:25] <nevyn> if their puppet code is frozen or am I missunderstanding dist?
[2012/01/05 06:02:39] @ ben_duyujie joined channel #puppet
[2012/01/05 06:02:44] @ Quit: lanky: Quit: Leaving
[2012/01/05 06:03:15] @ emmanuelux joined channel #puppet
[2012/01/05 06:03:31] <robthoms> nevyn, We make new releases of dist; apps make new releases of their puppet modules (against our dist modules) and update the ENC YAML configs if necessary; and finally the node release is incremented (after change approval)
[2012/01/05 06:04:00] @ lanky joined channel #puppet
[2012/01/05 06:04:45] <nevyn> robthoms: so have you seen this: http://hunnur.com/blog/2010/10/dynamic-git-branch-puppet-environments/
[2012/01/05 06:04:54] <nevyn> robthoms: ah...
[2012/01/05 06:06:12] <robthoms> nevyn, We didn't want to be responsible for breaking random production systems with dist releases.. so it's up to the app teams/admins to develop & test first. ;-)
[2012/01/05 06:07:18] <robthoms> I'm particularly fond of our ENC though. Although it can be a bit confusing at first (we have a lot of contractors coming through)
[2012/01/05 06:07:33] <nevyn> robthoms: how do you manage that?
[2012/01/05 06:08:09] @ Quit: danikov: Quit: danikov
[2012/01/05 06:08:10] @ Quit: rubic: Ping timeout: 268 seconds
[2012/01/05 06:08:17] <robthoms> By putting releases into the hands of the app teams (app team = developers + a sysadmin)
[2012/01/05 06:09:14] <nevyn> how do you manage the contractors?
[2012/01/05 06:09:23] <nevyn> the app team thing makes sense...
[2012/01/05 06:09:45] <nevyn> but is a far more devopsy orgchart than I have to work with.
[2012/01/05 06:09:51] <robthoms> ;-)
[2012/01/05 06:10:00] <robthoms> It's quite new, the devopsy thing.. but it seems to be working OK.
[2012/01/05 06:10:26] <nevyn> we've actually gone backwards in orgchart imho
[2012/01/05 06:10:40] <nevyn> we've gone from a combined server and storage support team
[2012/01/05 06:11:04] <nevyn> to a windows l2, windows l3, unix l1/2, and storage& backup teams
[2012/01/05 06:11:27] <robthoms> Contractors, we normally limit their access to a single app's repositories and to their production machines (ugh).. but they can still cause enough havoc.
[2012/01/05 06:11:47] <nevyn> oh so they can make changes to production machines outside puppet AWESOME!
[2012/01/05 06:12:11] <robthoms> Yeah.. not the direction my team wants to go in. ;-)
[2012/01/05 06:12:26] <nevyn> robthoms: but baby steps?
[2012/01/05 06:13:29] <nevyn> robthoms: are you going to lca?
[2012/01/05 06:13:32] <robthoms> But we've gone full circle, from where it was almost impossible for the sysadmins to get into production DCs (I wrote a well used wiki page called TunnelMadness) to where every man and his dog can request access. I want a happy middle ground.
[2012/01/05 06:13:55] <robthoms> nevyn, Berlin's a long way away.. and my international trip this year will be to South Africa. :)
[2012/01/05 06:14:03] <nevyn> robthoms: :(
[2012/01/05 06:15:15] <nevyn> ballarat is a long way from berlin
[2012/01/05 06:18:11] <artkrz> hey guys, in manifest can I do something like this: if $hostname =~ /^(app|db)\.+$/ { ... } ?
[2012/01/05 06:18:25] <bd> robthoms: would you write up the way you use puppet and make it a blog article somewhere?
[2012/01/05 06:18:32] <artkrz> to match any hostname starting with app or db
[2012/01/05 06:18:47] <nevyn> robthoms: I'll add a hear hear! to bd's comment
[2012/01/05 06:18:48] <bd> artkrz: yes, see selectors
[2012/01/05 06:19:12] <robthoms> bd: Oliver Hookins did a talk at Puppetcamp in Amsterdam about it. ;-)
[2012/01/05 06:19:37] <_rc> artkrz: what happened when you tried?
[2012/01/05 06:19:39] <robthoms> Unfortunately I haven't seen a good recording of it yet. But the slides are probably available.
[2012/01/05 06:19:52] <bd> robinbowes: link, or didn't happen ;)
[2012/01/05 06:19:54] <artkrz> _rc: i just don't see changes being applied
[2012/01/05 06:20:28] <_rc> why would hostname have a literal . in it?
[2012/01/05 06:20:55] <artkrz> bd: i don't think selectors are good: i'm talking about mathcin app1-1.dns.com, app1-2.., app3.. and same with db
[2012/01/05 06:21:28] <cakery> we want to use puppet to keep the configuration of our software up to date, but we also want to set the configuration via the provided rest interface, i was thinking of writing a 'sync url' type that acted like a file, but with GET/POST instead of read/write... does this sound sensible, or am I completely overlooking the right solution?
[2012/01/05 06:21:40] <_rc> artkrz: \. means '.' not 'any character'
[2012/01/05 06:21:57] * artkrz facepalms
[2012/01/05 06:22:25] @ rubic joined channel #puppet
[2012/01/05 06:22:32] <artkrz> ok, i'll try without it
[2012/01/05 06:23:26] <robthoms> cakery, That sounds odd. You *could* use webdav .. but I suggest using a version control system at the very least, and have it checked out automatically on the puppetmaster. Use at the very least puppet environments, such a development/staging/production and have some test systems.
[2012/01/05 06:24:10] <robthoms> cakery, You could also use the ENC functionality (or something similar like hiera) to retrieve configuration values from another location.
[2012/01/05 06:24:25] <nevyn> cakery: so where are you going to execute this restful configuration contro?
[2012/01/05 06:24:33] <nevyn> on the client running puppetd
[2012/01/05 06:24:45] @ danikov joined channel #puppet
[2012/01/05 06:28:30] <semubiz> is puppet enterprise conceptionally able to detect and notify package updates (security and normal updates)? in the console i can only detect differences between nodes, but not updates
[2012/01/05 06:29:31] <henk> puppet is not a software management tool.
[2012/01/05 06:29:42] @ robthoms_ joined channel #puppet
[2012/01/05 06:30:22] <nevyn> isn't that exactly what it is?
[2012/01/05 06:30:39] @ mapope joined channel #puppet
[2012/01/05 06:30:45] <henk> Nope, it’s a configuration management tool.
[2012/01/05 06:30:46] <nevyn> a tool for manageing software (and other resources)
[2012/01/05 06:30:59] @ danblack joined channel #puppet
[2012/01/05 06:31:31] @ Quit: scobal: Read error: Connection reset by peer
[2012/01/05 06:31:32] @ Quit: robthoms: Read error: Connection reset by peer
[2012/01/05 06:31:33] <semubiz> yeah im looking for similar features regarding packages as i have in ubuntu landscape
[2012/01/05 06:31:58] <henk> And it has rudimentary package management ability but doesn’t come anywhere close to actual software management tools. It’s not supposed to replace apt/dpkg/yum/rpm or anything, just make use of those in an automated way.
[2012/01/05 06:32:08] <nevyn> oh right.
[2012/01/05 06:32:47] <nevyn> henk: I only wish it'd replace pkg
[2012/01/05 06:33:13] <nevyn> ;)
[2012/01/05 06:33:17] <henk> semubiz: I use apt-dater to keep my apt/dpkg-based machines up to date. Combined with apt-checks in icinga.
[2012/01/05 06:33:18] @ robthoms__ joined channel #puppet
[2012/01/05 06:33:51] @ de_ joined channel #puppet
[2012/01/05 06:34:07] <de_> hi folks!
[2012/01/05 06:34:11] <henk> nevyn: pkg? What’s that again? Mac? Slackware?
[2012/01/05 06:34:12] <henk> or did you mean dpkg?
[2012/01/05 06:34:22] @ scobal joined channel #puppet
[2012/01/05 06:34:51] <de_> is it possible to have all active roles of a node in one textfile on the node? (how?)
[2012/01/05 06:34:58] @ Quit: mapope: Read error: Connection reset by peer
[2012/01/05 06:34:58] @ Quit: robthoms_: Read error: Connection reset by peer
[2012/01/05 06:35:19] <henk> What are roles?
[2012/01/05 06:35:24] <de_> puppet roles
[2012/01/05 06:35:25] <artkrz> de_: what ?
[2012/01/05 06:35:55] <_rc> if you describe each role as a class, then you can say that's there as classes.txt
[2012/01/05 06:36:04] <henk> de_: Well, who would have thought you are talking about puppet… o_O
[2012/01/05 06:36:21] <de_> yeah exactly thats what i want, a list of included/inherited classes
[2012/01/05 06:36:34] <de_> henk: ;)
[2012/01/05 06:36:34] <_rc> /var/lib/puppet/classes.txt
[2012/01/05 06:36:44] <henk> Why do you say roles then?
[2012/01/05 06:37:22] <semubiz> henk:sounds interesting. do these tools need user/pw to update the packages of the hosts? because in landscape it's neat thats not needed
[2012/01/05 06:37:27] <de_> we call it roles internally...
[2012/01/05 06:37:41] <de_> but ehm, on the clients doesnt exist a classes.txt
[2012/01/05 06:37:45] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/01/05 06:38:11] <henk> semubiz: uhm, not needed? Then there surely must be a daemon running on the host, right?
[2012/01/05 06:38:26] <nevyn> henk: solaris
[2012/01/05 06:38:41] <semubiz> henk: yes on the hosts only a landscape-client is needed
[2012/01/05 06:38:52] <henk> semubiz: "only"?
[2012/01/05 06:38:54] <_rc> de_: the point henk is steering you twoards is that your internal names for things, they only make sense internally
[2012/01/05 06:39:27] <henk> semubiz: I’d much rather have a user on a machine than a constantly running service created by canonical ;
[2012/01/05 06:39:27] <semubiz> henk: after that its easy to manage the hosts through landscape. the only downside is it costs license fees
[2012/01/05 06:39:29] <henk> ;)
[2012/01/05 06:39:49] * nevyn points to the operations team internally who everywhere else in industry would be called "tape operators"
[2012/01/05 06:39:55] <_rc> de_: puppetd --genconfig | grep classfile
[2012/01/05 06:39:56] <henk> semubiz: To answer your question: apt-dater uses ssh and a user allowed to run apt-get/aptitude without password.
[2012/01/05 06:40:03] <de_> _rc: yes i should think of the other point of view....
[2012/01/05 06:40:23] <henk> nevyn: Never used solaris actually… Is pkg that bad?
[2012/01/05 06:40:45] <nevyn> henk: it's basically a tar file with incomplete or broken metadata.
[2012/01/05 06:40:59] <semubiz> henk: so apt-dater is installed as an agent on the hosts? and the apt-check and icinga are running on a central host?
[2012/01/05 06:41:03] <henk> hehe, ok :)
[2012/01/05 06:41:06] <cakery> nevyn, yeah there would be a puppet client on the node with the rest server, to also ensure that the package it is configuring is installed etc
[2012/01/05 06:41:10] <nevyn> henk: you can only really install things at deployment time because the dependancy data in the vendor packages is so godaweful
[2012/01/05 06:42:01] <nevyn> henk: not to mention the patching horror where sun have in the past released kernel jumbo patches that rely on the sendmail package being installed to apply at all
[2012/01/05 06:42:04] <nevyn> awesome!
[2012/01/05 06:42:05] <de_> wow, you guys are awesome, thanks a lot!
[2012/01/05 06:42:14] <henk> semubiz: The apt-check for icinga needs nrpe and the user running nrpe on the client needs to run the apt stuff as root via sudo. apt-dater uses some helper scripts on the clients but no constantly running service.
[2012/01/05 06:42:30] <henk> nevyn: uhm, wtf? o_O
[2012/01/05 06:42:39] <nevyn> henk: yeah that's what I said.
[2012/01/05 06:43:08] <henk> Thanks for giving me reasons to stay away ;) Though I try to stay away as far as possible from sun stuff already 'g'
[2012/01/05 06:43:17] <nevyn> henk: sol 11 makes it better.
[2012/01/05 06:43:29] <henk> sure :)
[2012/01/05 06:43:29] <kjetilho> it doesn't apply to Solaris 10 either
[2012/01/05 06:44:19] <nevyn> kjetilho: the sendmail thing might have been 8 or 9
[2012/01/05 06:45:12] <nevyn> kjetilho: but installing sunw stuff post deployment is.. adventurous there's nothing like apt or yum for 1st party packages.
[2012/01/05 06:45:27] @ Quit: dnjaramba:
[2012/01/05 06:45:34] <kjetilho> what do you call pkg ?
[2012/01/05 06:45:41] <nevyn> pkgadd
[2012/01/05 06:45:51] <kjetilho> oh, Solaris 10 FCS
[2012/01/05 06:45:57] <nevyn> FCS?
[2012/01/05 06:46:15] <kjetilho> First Customer Ship
[2012/01/05 06:46:25] <kjetilho> ie. 10.0
[2012/01/05 06:46:30] <nevyn> yeah.
[2012/01/05 06:46:58] <kjetilho> or have I been completely brainwashed by using OpenSolaris? didn't they introduce pkg in update 4 or something?
[2012/01/05 06:47:09] <nevyn> NO!
[2012/01/05 06:47:12] <nevyn> it's comming in 11
[2012/01/05 06:47:12] <kjetilho> oh.
[2012/01/05 06:47:35] <kjetilho> never mind me, then :-)
[2012/01/05 06:48:11] <nevyn> but the traditional solaris guys are all Wahh it's like a ubuntu clone with the SMF hate and blah
[2012/01/05 06:48:39] <nevyn> everyone pretty much agrees that pkg should be kicked back to the 80's when it was stillborn
[2012/01/05 06:48:39] @ seanh-ansca joined channel #puppet
[2012/01/05 06:48:51] <nevyn> pkginfo pkgadd etc.
[2012/01/05 06:49:04] <nevyn> the ones that are a tarfile with simple metadata
[2012/01/05 06:49:14] <nevyn> that's usually wrong
[2012/01/05 06:50:49] @ Quit: Kernel_Core: Ping timeout: 240 seconds
[2012/01/05 06:55:41] <Vorik_> Nevermind...
[2012/01/05 06:58:53] @ Quit: ironmunk: Read error: No route to host
[2012/01/05 07:00:23] <nevyn> anyway.....
[2012/01/05 07:04:38] @ Quit: Vorik: Quit: http://quassel-irc.org - Chat comfortably. Anywhere.
[2012/01/05 07:05:20] @ Vorik joined channel #puppet
[2012/01/05 07:05:38] @ Quit: Vorik: Client Quit
[2012/01/05 07:05:55] @ Quit: Vorik_: Remote host closed the connection
[2012/01/05 07:06:15] @ Vorik joined channel #puppet
[2012/01/05 07:11:37] @ Quit: seanh-ansca: Read error: Connection reset by peer
[2012/01/05 07:11:43] @ seanh-ansca joined channel #puppet
[2012/01/05 07:12:12] @ Quit: nan0r: Quit: Leaving.
[2012/01/05 07:16:04] @ Quit: Carmivore: Remote host closed the connection
[2012/01/05 07:17:25] @ Carmivore joined channel #puppet
[2012/01/05 07:18:02] @ okelet joined channel #puppet
[2012/01/05 07:20:46] @ Quit: Stenbryggen: Quit: Leaving.
[2012/01/05 07:21:10] @ Quit: Vasik|work: Remote host closed the connection
[2012/01/05 07:22:00] <okelet> hi, is there any reason about puppet-dashboard-1.2.4 is not available for RH5 in the yum repo?
[2012/01/05 07:22:58] @ Quit: choonming: Quit: Leaving
[2012/01/05 07:23:52] @ Stenbryggen joined channel #puppet
[2012/01/05 07:30:21] @ Kernel_Core joined channel #puppet
[2012/01/05 07:34:32] @ nan0r joined channel #puppet
[2012/01/05 07:36:21] @ Quit: rubic: Quit: Leaving.
[2012/01/05 07:36:59] @ Quit: okelet: Quit: Page closed
[2012/01/05 07:44:07] <cakery> nevyn?
[2012/01/05 07:44:46] <nevyn> yep
[2012/01/05 07:45:45] <cakery> any more thoughts on my issue?
[2012/01/05 07:46:03] @ Quit: AshishH: Remote host closed the connection
[2012/01/05 07:46:17] @ |Majestic| joined channel #puppet
[2012/01/05 07:46:39] <nevyn> cakery: so you've stated things several times but I'm not sure I understand it properly.
[2012/01/05 07:46:51] <nevyn> you have some piece of software that's configured via a rest api?
[2012/01/05 07:47:25] @ car|0s joined channel #puppet
[2012/01/05 07:47:43] @ kronn left channel #puppet ()
[2012/01/05 07:47:56] <robthoms__> nevyn, I thought he wanted to configure puppet recipes via REST.
[2012/01/05 07:48:38] <cakery> nevyn, right
[2012/01/05 07:49:22] <nevyn> cakery: and you want to drive this rest api from puppet?
[2012/01/05 07:49:33] @ Kernel_Core left channel #puppet ()
[2012/01/05 07:49:37] <cakery> yes
[2012/01/05 07:51:17] <robthoms__> cakery, Will this fit into a model where you can (a) query current state, (b) query the intended state, (c) compare the two, (d) if different, change the current state, and go back to (a)
[2012/01/05 07:51:18] <robthoms__> ?
[2012/01/05 07:51:42] <nevyn> ooh good question.
[2012/01/05 07:52:08] <cakery> robthoms__, yes
[2012/01/05 07:52:59] <robthoms__> cakery, Then Puppet should work fine.. You could use a custom provider (a bit of ruby programming) ... alternatively, if the API itself doesn't mind being called with the same thing repeatedly, you could just trigger it every time.
[2012/01/05 07:53:22] <robthoms__> You will have to nominate some client machine running Puppet to do the actual REST calls for you.
[2012/01/05 07:53:33] <nevyn> that's the bit I find wierd.
[2012/01/05 07:54:24] <nevyn> is the configuration of the software via rest related to other systems in the enterprise?
[2012/01/05 07:54:33] <nevyn> cakery: ^^
[2012/01/05 07:55:14] <cakery> well thats what i mean, either i exec a script that does the rest call, or i extend puppet to have some kind of rest type, that basically takes a url instead of a file path and uses get/post instead of read write
[2012/01/05 07:55:39] <cakery> nevyn, i don;t understand your question
[2012/01/05 07:56:31] <nevyn> cakery: it's basically is the desired state of the software dependant or related to other systems configuration
[2012/01/05 07:56:31] <robthoms__> One example configuration: Template the file you want to upload with puppet templates.. add a notify => to trigger an Exec doing the upload.
[2012/01/05 07:57:27] <robthoms__> Then you keep the "is it changed?" logic on the machine running Puppet.. it will run the first time puppet runs though (or if you rebuild the machine or remove the file), so that will have to be safe.
[2012/01/05 07:58:32] <robthoms__> The more complicated way is to implement a Type and Provider for it, which will query the REST API to determine if there's been a change.
[2012/01/05 07:59:22] <cakery> robhoms, which way is cleaner, more elegant, reusable, more puppet like etc?
[2012/01/05 07:59:33] <nevyn> write a provider and type
[2012/01/05 07:59:43] <nevyn> but it's kinda odd.
[2012/01/05 07:59:50] <nevyn> in that you need to do it from somewhere
[2012/01/05 07:59:52] <robthoms__> Definitely more elegant.. but it's significantly more work.
[2012/01/05 08:00:07] <nevyn> so the resource will be assigned to a system that isn't nessicarilly the system it's configuring
[2012/01/05 08:00:11] <nevyn> (but could be)
[2012/01/05 08:00:30] <robthoms__> Personally, I would "cheat", so long as the REST API deals nicely with uploading the same content.
[2012/01/05 08:00:42] <robthoms__> (what's the word for this characteristic again? my mind's a blank)
[2012/01/05 08:00:46] @ inecas_ joined channel #puppet
[2012/01/05 08:00:54] <nevyn> idempotent
[2012/01/05 08:00:56] @ Quit: inecas: Ping timeout: 240 seconds
[2012/01/05 08:01:12] <robthoms__> Danke. :-)
[2012/01/05 08:01:16] <cakery> nevyn, yeah
[2012/01/05 08:01:18] @ tmclaugh joined channel #puppet
[2012/01/05 08:01:47] <nevyn> so this software configured via rest. is running on a system that's a puppet client?
[2012/01/05 08:03:06] <cakery> yes
[2012/01/05 08:03:37] <nevyn> so you could connect to the rest api from the local machine?
[2012/01/05 08:04:57] <cakery> yes
[2012/01/05 08:05:55] <nevyn> so that or the puppetmaster would be the nodes I'd run it from
[2012/01/05 08:08:54] @ natewalck joined channel #puppet
[2012/01/05 08:09:29] <cakery> so is it betetr to run it by exec'ing a script, or by extending puppet to handle url resources?
[2012/01/05 08:09:51] <nevyn> so is the config something that's sensible to model as a resource?
[2012/01/05 08:10:17] <cakery> essentially yes
[2012/01/05 08:10:33] @ skm joined channel #puppet
[2012/01/05 08:10:43] <nevyn> can you tell me what the software is? is it custom or COTS?
[2012/01/05 08:11:51] <cakery> we are trying to design a way of managing configuration for our own software using puppet
[2012/01/05 08:13:19] <nevyn> cakery: and it's configured at runtime via rest only? or it also has a config file?
[2012/01/05 08:13:46] @ Quit: skm: Client Quit
[2012/01/05 08:14:54] <cakery> all config validation is done via rest, so its the only sensible way of manipulting the config
[2012/01/05 08:15:24] <nevyn> so if you do an update via rest... does the app update the config on disk?
[2012/01/05 08:15:53] <cakery> yes
[2012/01/05 08:16:25] @ kelseyhightower joined channel #puppet
[2012/01/05 08:16:43] <nevyn> and if you give the system the configuration it's currently running via rest does it do nothing or does it do a reload or something else unpleasant.
[2012/01/05 08:17:25] <cakery> it does nothing
[2012/01/05 08:17:32] @ newt joined channel #puppet
[2012/01/05 08:17:33] <nevyn> excellent
[2012/01/05 08:18:12] <nevyn> so as robthoms__ said you could do an easy step 1 by generating a desired config and just stuffing it over the rest interface every puppet run
[2012/01/05 08:18:34] @ skm joined channel #puppet
[2012/01/05 08:18:37] <nevyn> does the application support "get current config" via rest?
[2012/01/05 08:19:39] <cakery> nevyn, yes
[2012/01/05 08:19:44] <nevyn> ok
[2012/01/05 08:20:11] <nevyn> so the easy way is just stuff a desired state config in via rest every puppet run.
[2012/01/05 08:20:22] <nevyn> however puppet won't log changes in state in this case.
[2012/01/05 08:21:00] @ aculich joined channel #puppet
[2012/01/05 08:21:30] @ Quit: ckauhaus: Quit: Leaving.
[2012/01/05 08:22:16] <nevyn> so to do it the "propper" puppety way. you'd need a type or types to describe the config and a provider that provides conversion from the set of resources of your new type to a config to be loaded via rest
[2012/01/05 08:22:40] <nevyn> and from a config pulled via rest to the resource abstraction
[2012/01/05 08:23:01] <nevyn> but it may not be worth it to go to that much effort
[2012/01/05 08:23:26] <cakery> it seems like a useful abstraction to provide to the puppet community though
[2012/01/05 08:23:41] <nevyn> in particular if the configuration of your software is not generic. it may make more sense to use a template or augeas
[2012/01/05 08:24:33] <robthoms__> Hmm.. or: exec { "getconfig": get current config via REST to /etc/configstate.xxx } file { "/etc/configstate.xxx": content => template('templatefile'), requires => Exec['getconfig'], notify => Exec['syncconfig'] }; Exec { 'syncconfig': call command to upload config }
[2012/01/05 08:24:49] <nevyn> right.
[2012/01/05 08:24:50] <robthoms__> And make syncconfig not run every time.
[2012/01/05 08:25:42] <nevyn> cakery: puppet types and resources are really ment to model things that have multiple equivielent implementations.
[2012/01/05 08:25:55] <robthoms__> cakery, If it's a very standard REST interface using none or HTTPS auth or something nicely configurable, it could be a nice provider/type to write. If it's something too custom, not so much. :-)
[2012/01/05 08:26:11] @ ben_duyujie left channel #puppet ()
[2012/01/05 08:26:32] @ gniks joined channel #puppet
[2012/01/05 08:26:48] @ Quit: jodok: Quit: jodok
[2012/01/05 08:26:54] <robthoms__> A simple GET / PUT with basic auth or a single auth cookie, for example.
[2012/01/05 08:27:56] <nevyn> cakery: for example.. there's a virtualhost type. which in theory could be a virtualhost for apache or iis or whatever webserver supports virtualhosts
[2012/01/05 08:28:05] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2012/01/05 08:29:02] @ jodok joined channel #puppet
[2012/01/05 08:29:03] @ Quit: jodok: Changing host
[2012/01/05 08:29:03] @ jodok joined channel #puppet
[2012/01/05 08:29:19] <cakery> I'm advocating a duplicate of file, that uses get/put instead of read/write and basic auth, seems very reusable?
[2012/01/05 08:29:31] @ gazoombo joined channel #puppet
[2012/01/05 08:29:34] @ Quit: jodok: Remote host closed the connection
[2012/01/05 08:29:51] @ jodok joined channel #puppet
[2012/01/05 08:29:52] @ Quit: jodok: Changing host
[2012/01/05 08:29:52] @ jodok joined channel #puppet
[2012/01/05 08:29:54] <nevyn> why duplicate file
[2012/01/05 08:29:59] <nevyn> why not just a file provider
[2012/01/05 08:30:28] <nevyn> and use name to specify the uri.
[2012/01/05 08:30:32] <cakery> because there might be extensions ie auth passwords etc
[2012/01/05 08:30:35] <nevyn> except you need auth details and stuff.
[2012/01/05 08:30:44] <nevyn> I'd still probably extend file
[2012/01/05 08:30:56] <nevyn> then you could also have a webdav provider.
[2012/01/05 08:31:14] <nevyn> the issue remains where does such a resource belong.
[2012/01/05 08:34:23] @ Quit: gniks: Quit: Leaving.
[2012/01/05 08:34:27] <robthoms__> I actually find it hard to believe that noone's done this before.. but my google skills fail me.
[2012/01/05 08:34:36] @ robthoms__ is now known as rmt_
[2012/01/05 08:34:50] <rmt_> Pazah.. nickchange.
[2012/01/05 08:34:51] @ Quit: jodok: Quit: jodok
[2012/01/05 08:36:35] <nevyn> hrm
[2012/01/05 08:43:15] @ djm68 joined channel #puppet
[2012/01/05 08:46:52] @ inecas joined channel #puppet
[2012/01/05 08:48:06] @ brandon_dacrib joined channel #puppet
[2012/01/05 08:49:57] @ Quit: sietse: Disconnected by services
[2012/01/05 08:51:00] @ Quit: inecas_: Ping timeout: 260 seconds
[2012/01/05 08:53:29] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2012/01/05 08:53:33] @ Quit: djm68: Remote host closed the connection
[2012/01/05 08:54:11] @ uphillian joined channel #puppet
[2012/01/05 08:54:33] @ Quit: HarrisonZhu: Quit: Leaving.
[2012/01/05 08:54:47] <cakery> yeah I'm surprised it hasnt been done before, seems very useful, i'd be very appreciative if it did exist!
[2012/01/05 08:54:53] @ IndyMichaelB joined channel #puppet
[2012/01/05 08:56:45] @ Quit: |Majestic|: Ping timeout: 240 seconds
[2012/01/05 08:58:29] @ Quit: cmoates: Ping timeout: 252 seconds
[2012/01/05 08:59:52] @ zwi joined channel #puppet
[2012/01/05 09:00:13] @ capt_rogers joined channel #puppet
[2012/01/05 09:00:18] @ cliff-hm joined channel #puppet
[2012/01/05 09:01:08] @ marczak joined channel #puppet
[2012/01/05 09:01:23] @ choonming joined channel #puppet
[2012/01/05 09:06:07] @ Quit: kelseyhightower: Quit: kelseyhightower
[2012/01/05 09:06:54] @ kelseyhightower joined channel #puppet
[2012/01/05 09:07:25] @ Quit: kelseyhightower: Client Quit
[2012/01/05 09:07:56] <nevyn> night.
[2012/01/05 09:09:32] @ Quit: hal-j: Quit: Leaving.
[2012/01/05 09:10:05] <rmt_> Night nevyn
[2012/01/05 09:14:42] @ vata joined channel #puppet
[2012/01/05 09:16:34] <larstobi> is it possible to do something like this? package { 'httpd': ensure => '2.2.*' } to install the latest version available of the 2.2 minor release?
[2012/01/05 09:17:14] @ Quit: blentz: Ping timeout: 244 seconds
[2012/01/05 09:17:30] @ Quit: bobra: Ping timeout: 252 seconds
[2012/01/05 09:18:21] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/01/05 09:21:36] @ lborda joined channel #puppet
[2012/01/05 09:24:12] <rmt_> larstobi, I haven't seen that syntax before .. it'd be cool, though..
[2012/01/05 09:24:33] @ skm joined channel #puppet
[2012/01/05 09:25:07] <larstobi> rmt_: I'm looking at the source, it seems it supports regex. I'll try it and report on success.
[2012/01/05 09:25:49] @ brandon_dacrib joined channel #puppet
[2012/01/05 09:26:21] @ sduchesneau joined channel #puppet
[2012/01/05 09:26:58] @ gniks joined channel #puppet
[2012/01/05 09:27:00] @ Quit: gniks: Changing host
[2012/01/05 09:27:00] @ gniks joined channel #puppet
[2012/01/05 09:27:11] @ Quit: brandon_dacrib: Remote host closed the connection
[2012/01/05 09:27:23] @ brandon_dacrib joined channel #puppet
[2012/01/05 09:27:29] @ tnguyen joined channel #puppet
[2012/01/05 09:30:40] @ freezey joined channel #puppet
[2012/01/05 09:33:06] @ Quit: RedPepper: Ping timeout: 252 seconds
[2012/01/05 09:33:17] @ tnguyen left channel #puppet ()
[2012/01/05 09:34:59] <larstobi> rmt_: it works :)
[2012/01/05 09:35:30] @ Quit: zwi: Quit: Leaving.
[2012/01/05 09:35:34] <rmt_> larstobi, ooh. nice. :)
[2012/01/05 09:35:43] <rmt_> larstobi, yum or deb or other?
[2012/01/05 09:36:06] @ RedPepper joined channel #puppet
[2012/01/05 09:36:31] <rmt_> (although I'd hope that every case works)
[2012/01/05 09:36:59] <larstobi> rmt_: with a caveat, it seems: it's not really regex, it's only wildcard. So, 2.2.* fails if there are no packages of version 2.2.x (that is including the period as a symbol, not as a special character). So, while 2.2* works, it could also install 2.24...
[2012/01/05 09:37:13] <larstobi> it' supported on yum at least
[2012/01/05 09:37:23] @ cwebber joined channel #puppet
[2012/01/05 09:39:24] @ Quit: Stenbryggen: Quit: Leaving.
[2012/01/05 09:39:33] <rmt_> That's ok.. all real versions #s have 3 components anyway.. ;-)
[2012/01/05 09:41:13] <larstobi> hehe
[2012/01/05 09:41:57] @ muhdiekuh joined channel #puppet
[2012/01/05 09:42:10] <marksteele> question: I only want to support a production environment, do I need to define dev settings?
[2012/01/05 09:42:22] <marksteele> dashboard is complaining about not having dev database configured
[2012/01/05 09:43:11] @ joe-mac joined channel #puppet
[2012/01/05 09:44:00] @ blentz joined channel #puppet
[2012/01/05 09:45:26] @ rcrowley joined channel #puppet
[2012/01/05 09:45:49] @ Quit: rocket: Read error: Operation timed out
[2012/01/05 09:46:02] @ Quit: mogitaff: Quit: Leaving
[2012/01/05 09:46:05] <Vorik> marksteele: Try giving the RAILS_ENV=production variable with the command
[2012/01/05 09:47:05] <marksteele> ran this: RAILS_ENV=production sudo -u puppet-dashboard rake cert:create_key_pair
[2012/01/05 09:47:07] <marksteele> same
[2012/01/05 09:48:28] @ katfallond joined channel #puppet
[2012/01/05 09:48:37] @ and` joined channel #puppet
[2012/01/05 09:48:42] @ rocket joined channel #puppet
[2012/01/05 09:48:54] <Vorik> marksteele: sudo -u puppet-dashboard rake RAILS_ENV=production cert:create_key_pair
[2012/01/05 09:49:49] @ Quit: cliff-hm: Ping timeout: 276 seconds
[2012/01/05 09:49:56] @ Quit: and`: Client Quit
[2012/01/05 09:50:01] @ and` joined channel #puppet
[2012/01/05 09:51:02] @ kangman joined channel #puppet
[2012/01/05 09:51:06] <marksteele> fixed thanks
[2012/01/05 09:51:15] @ madhatter joined channel #puppet
[2012/01/05 09:51:41] @ madhatter is now known as Guest68368
[2012/01/05 10:00:34] <Vorik> marksteele: super! :)
[2012/01/05 10:00:35] @ Quit: aculich: Ping timeout: 252 seconds
[2012/01/05 10:00:43] @ tizzo-afk is now known as tizzo
[2012/01/05 10:00:48] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/01/05 10:01:23] @ cliff-hm joined channel #puppet
[2012/01/05 10:01:42] @ Quit: Guest68368: Ping timeout: 248 seconds
[2012/01/05 10:04:24] @ jodok joined channel #puppet
[2012/01/05 10:04:24] @ Quit: jodok: Changing host
[2012/01/05 10:04:24] @ jodok joined channel #puppet
[2012/01/05 10:05:19] @ Quit: Wolfspyre: Quit: Leaving.
[2012/01/05 10:05:58] @ Wolfspyre joined channel #puppet
[2012/01/05 10:06:14] @ ldlework joined channel #puppet
[2012/01/05 10:07:29] @ Quit: joe-mac: Ping timeout: 240 seconds
[2012/01/05 10:07:34] @ Quit: and`: Changing host
[2012/01/05 10:07:34] @ and` joined channel #puppet
[2012/01/05 10:07:46] <Raboo> i have reinstalled a machine
[2012/01/05 10:07:58] <Raboo> given the machine same name and host
[2012/01/05 10:08:11] <Raboo> cleaned the old cert using puppetca
[2012/01/05 10:08:14] @ madhatter joined channel #puppet
[2012/01/05 10:08:40] @ madhatter is now known as Guest91193
[2012/01/05 10:09:39] <marksteele> Raboo: dunno about puppetca, but I manually cleaned up the ca folder (in /usr/share/puppet) of filenames with that hostname, and edited the inventory file and the index file
[2012/01/05 10:09:47] <marksteele> worked fo rme
[2012/01/05 10:09:48] <marksteele> for me
[2012/01/05 10:09:58] @ fhd joined channel #puppet
[2012/01/05 10:10:12] <Raboo> but it says clean is for a reinstall
[2012/01/05 10:10:27] * marksteele shrugs
[2012/01/05 10:10:29] <Raboo> err: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key
[2012/01/05 10:10:37] <Raboo> err: Could not send report: SSL_CTX_use_PrivateKey:: key values mismatch
[2012/01/05 10:10:41] <Raboo> this is on the puppet client
[2012/01/05 10:10:58] @ Quit: and`: Quit: leaving
[2012/01/05 10:11:05] @ and` joined channel #puppet
[2012/01/05 10:11:10] <_rc> in what order did you realise you needed to clean the cert, clean it, in respect to rebuilding the host?
[2012/01/05 10:11:22] @ Quit: and`: Changing host
[2012/01/05 10:11:22] @ and` joined channel #puppet
[2012/01/05 10:11:53] @ Quit: Meier: Quit: Leaving.
[2012/01/05 10:12:15] @ Quit: erkules|away: Changing host
[2012/01/05 10:12:15] @ erkules|away joined channel #puppet
[2012/01/05 10:12:18] @ erkules|away is now known as erkules
[2012/01/05 10:12:32] @ MartVisser joined channel #puppet
[2012/01/05 10:13:11] <Raboo> _rc i think i reinstalled the server first, fired up puppet
[2012/01/05 10:13:25] <Raboo> then i realized that i need to remove the certs
[2012/01/05 10:13:59] @ aculich joined channel #puppet
[2012/01/05 10:14:39] <_rc> Raboo: so you removed the cert from the master, and did what to the one on the client? forgot it?
[2012/01/05 10:14:49] @ geekbri joined channel #puppet
[2012/01/05 10:15:18] <Raboo> do i need to do it on the client?
[2012/01/05 10:15:22] @ Quit: [-mX-]: Quit: Linkinus - http://linkinus.com
[2012/01/05 10:15:46] <_rc> what you need to do right now is delete the one on the client, the one on the master, and then try again
[2012/01/05 10:15:57] <Raboo> # /opt/tc-puppet/bin/puppet cert list --all
[2012/01/05 10:15:58] <Raboo> notice: Signed certificate request for ca
[2012/01/05 10:15:58] <Raboo> notice: Rebuilding inventory file
[2012/01/05 10:16:00] <Raboo> that was the client
[2012/01/05 10:16:30] <_rc> the client isn't a ca, but it does have a part-signed key
[2012/01/05 10:16:42] <Raboo> ok
[2012/01/05 10:16:55] <Raboo> so rm -rf /etc/puppet/ssl on the client?
[2012/01/05 10:16:56] <_rc> it sent a request for the master to sign it, which the master declined
[2012/01/05 10:16:59] <Raboo> and on the master?
[2012/01/05 10:16:59] <_rc> yes
[2012/01/05 10:17:04] <_rc> and clean on the master
[2012/01/05 10:17:20] <Vorik> Raboo: client -> stop puppet, remove certificates on client. Server -> puppetca clean [hostname]. Client -> start puppet. Server -> sign certificate. Client -> start puppet again
[2012/01/05 10:17:48] @ chmac7 joined channel #puppet
[2012/01/05 10:18:03] @ Quit: chmac: Ping timeout: 252 seconds
[2012/01/05 10:18:27] <Raboo> lol
[2012/01/05 10:18:29] <Raboo> /opt/tc-puppet/lib/ruby/site_ruby/1.8/puppet/util/plugins.rb:49:in `expand_path': No such file or directory - getcwd (Errno::ENOENT)
[2012/01/05 10:18:34] <Raboo> epic fail
[2012/01/05 10:19:19] <Raboo> i recreated the ssl dir
[2012/01/05 10:19:21] <Raboo> now it works
[2012/01/05 10:19:26] <Raboo> or starts
[2012/01/05 10:20:27] <Raboo> ok thanks guys, now it works
[2012/01/05 10:20:33] <Vorik> Raboo: super.. :)
[2012/01/05 10:21:40] <Raboo> great, now i only gotta port all my modules to suse
[2012/01/05 10:21:43] <Raboo> i hate suse
[2012/01/05 10:21:54] <Raboo> why is it stil alive
[2012/01/05 10:22:23] <Vorik> ugh. me too... suse sucks.
[2012/01/05 10:22:55] <Raboo> but i've managed to build semi-cross-compatible rpms between rhel and suse
[2012/01/05 10:22:57] <Raboo> :-)
[2012/01/05 10:23:19] <Raboo> the only package that didn't work as cross compilant was ruby
[2012/01/05 10:23:51] <bd> thats sick
[2012/01/05 10:24:25] <Raboo> so i have one repo for redhat with all packages, and another for suse with only ruby, that ruby has a higher build version that the redhat one. So in suse when it depends on ruby it downloads the one from the suse repo and everything works
[2012/01/05 10:24:59] @ Quit: Guest78306: Remote host closed the connection
[2012/01/05 10:25:00] <Raboo> but let me tell you guys, working in suse is hell
[2012/01/05 10:25:14] <bd> you don't like yast? *scnr*
[2012/01/05 10:25:37] <Raboo> *G* you think?
[2012/01/05 10:25:59] <Raboo> if you want to install openssl-devel in suse
[2012/01/05 10:26:05] <Raboo> you need to download a SDK DVD
[2012/01/05 10:26:20] <Raboo> and use yast to create a "addon software"
[2012/01/05 10:26:36] <Raboo> then somehow it uses that ISO as a repository
[2012/01/05 10:26:48] <bd> I haven't touched suse in a couple of years. mmy memory is, you can do it the suse, way, the suse way and maybe the suse way. you can also do it your way, but that just means pain.
[2012/01/05 10:27:23] <Raboo> suse is linux for windows users
[2012/01/05 10:27:57] <Raboo> they have yast and some webbased management tool and it defaults a server install with gnome
[2012/01/05 10:28:13] <Raboo> how insane is that, why do i want a server with X11?
[2012/01/05 10:28:30] <Raboo> and it's kind of hell to remove X11 during the install
[2012/01/05 10:29:25] <brd> Raboo: deadrat does that
[2012/01/05 10:29:26] <Raboo> it autoadds X11 stuff as "recommended requires" even when selecting "Minimal System" only
[2012/01/05 10:29:55] <Raboo> brd deadrat?
[2012/01/05 10:30:03] <brd> Raboo: redhat
[2012/01/05 10:30:16] <Raboo> redhat has a minmimal install that is quite good
[2012/01/05 10:30:29] <brd> not really
[2012/01/05 10:30:31] <Raboo> redhat minimal has openssh installed at least
[2012/01/05 10:30:35] <brd> I want a minimal install to ssh and yum
[2012/01/05 10:30:37] <brd> nothing else
[2012/01/05 10:31:03] <Raboo> ok
[2012/01/05 10:31:08] <brd> 300+ packages in a "minimal" install is a case of YOU ARE DOING IT WRONG
[2012/01/05 10:31:17] <Raboo> hehe
[2012/01/05 10:31:24] <brd> they want to install all their gui config crap
[2012/01/05 10:31:28] <Raboo> well suse is worse, belive me
[2012/01/05 10:31:31] <kjetilho> brd: it's called SUPPORTING THE LINUX STANDARD BASE
[2012/01/05 10:31:45] <Raboo> redhat-lsb :)
[2012/01/05 10:31:46] <kjetilho> complain to the LSB people, not Red Hat.
[2012/01/05 10:31:54] <Raboo> redhat-lsb aren't installed on minimal install
[2012/01/05 10:31:55] <brd> kjetilho: redhat doesn't have to do that :)
[2012/01/05 10:32:00] <em295> are uyou installing @base
[2012/01/05 10:32:22] <Raboo> who is you?
[2012/01/05 10:32:48] <em295> pardon me: brd
[2012/01/05 10:33:16] <brd> no, I switched to my own kickstart a install
[2012/01/05 10:33:21] @ john111 joined channel #puppet
[2012/01/05 10:33:23] <Raboo> brd what gui config crap?
[2012/01/05 10:33:24] <brd> s/a/to
[2012/01/05 10:33:35] <Raboo> didn't know what came in minimal install
[2012/01/05 10:33:41] @ john111 is now known as Guest70593
[2012/01/05 10:33:42] @ Quit: Guest70593: Remote host closed the connection
[2012/01/05 10:34:06] <em295> %packages --nobase
[2012/01/05 10:34:07] <em295> @Core
[2012/01/05 10:34:31] <em295> then specify what pkgs you want after that until you are happy cf can do the rest
[2012/01/05 10:34:53] <em295> hope i'm not telling u to suck an egg
[2012/01/05 10:35:38] @ rluque joined channel #puppet
[2012/01/05 10:36:02] <brd> I dunno, I haven't touched this since like RHEL 5.3
[2012/01/05 10:36:17] <brd> my base install of packages is like 25
[2012/01/05 10:36:37] <brd> dunno what it ends up being with deps
[2012/01/05 10:36:57] @ tizzo is now known as tizzo-afk
[2012/01/05 10:39:34] @ riha left channel #puppet ()
[2012/01/05 10:40:29] @ labrown joined channel #puppet
[2012/01/05 10:40:49] @ Quit: ezryx: Read error: Connection reset by peer
[2012/01/05 10:40:57] @ ezryx joined channel #puppet
[2012/01/05 10:41:07] <rluque> 1
[2012/01/05 10:41:47] @ Quit: rluque: Quit: leaving
[2012/01/05 10:42:12] <Raboo> err: Failed to apply catalog: Parameter path failed: File paths must be fully qualified, not 'undef' at /etc/puppet/modules/snmpd/manifests/config.pp:9
[2012/01/05 10:42:18] <Raboo> what does this actually mean?
[2012/01/05 10:42:28] <Raboo> i cannot have like content => template("snmpd/snmpd.conf.erb"),
[2012/01/05 10:42:39] <Raboo> it needs to be full path?
[2012/01/05 10:42:54] <_rc> no, that's fine, let's see the rest of that resource
[2012/01/05 10:43:18] @ zwi joined channel #puppet
[2012/01/05 10:44:01] @ neonflux joined channel #puppet
[2012/01/05 10:44:08] <Raboo> http://pastie.org/3131788
[2012/01/05 10:44:39] <lisa> Raboo: verify the value of the $snmpd::params::service_config
[2012/01/05 10:44:48] @ joe-mac joined channel #puppet
[2012/01/05 10:44:50] <lisa> dump its value to a test file
[2012/01/05 10:46:13] @ vocis joined channel #puppet
[2012/01/05 10:46:17] <Raboo> lisa how?
[2012/01/05 10:46:50] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2012/01/05 10:47:05] <Raboo> and why does this problem only appear on suse and not centos? I'm pretty sure i've tested this on a centos box before
[2012/01/05 10:47:12] <lisa> Raboo: file { "/tmp/foo": content => $snmpd::params::service_config, }
[2012/01/05 10:47:14] @ dan__t joined channel #puppet
[2012/01/05 10:47:54] <Raboo> lisa can i put that above the current file line?
[2012/01/05 10:48:05] <lisa> Raboo: yep
[2012/01/05 10:49:12] <Raboo> it didn't create any /tmp/foo
[2012/01/05 10:49:30] <Raboo> i'm guessing since that same module failed
[2012/01/05 10:49:34] <_rc> take away your current busted resource
[2012/01/05 10:50:51] <Raboo> hehe
[2012/01/05 10:50:57] <Raboo> resourceS
[2012/01/05 10:51:22] <Raboo> i did that, and next module failed
[2012/01/05 10:51:47] <Raboo> it's best i don't have "yum" module for my suse server
[2012/01/05 10:51:49] <Raboo> :)
[2012/01/05 10:52:29] @ ckauhaus joined channel #puppet
[2012/01/05 10:52:34] <Raboo> ohh, it's the vmware module, trying to create a yum repo
[2012/01/05 10:52:39] <Raboo> on a suse server
[2012/01/05 10:53:38] @ ken_barber joined channel #puppet
[2012/01/05 10:54:18] @ Quit: octane-: Quit: octane-
[2012/01/05 10:54:19] <Raboo> yumrepo is that a custom resource or a built in puppet?
[2012/01/05 10:54:43] @ Quit: capt_rogers: Remote host closed the connection
[2012/01/05 10:54:45] @ Quit: larstobi: Quit: Leaving.
[2012/01/05 10:55:22] <agaffney> Raboo: puppet built-in
[2012/01/05 10:55:32] <lisa> you are better off managing the .repo files
[2012/01/05 10:55:40] @ rluque joined channel #puppet
[2012/01/05 10:56:14] @ Quit: sdog: Remote host closed the connection
[2012/01/05 10:56:50] @ st33v joined channel #puppet
[2012/01/05 10:58:07] <Raboo> hmm there doesn't seem to be a zypper repo provider for puppet
[2012/01/05 10:58:23] <Raboo> so install yum in suse?
[2012/01/05 10:58:29] <agaffney> heh, no
[2012/01/05 10:58:33] <Raboo> isn't that like cheating?
[2012/01/05 10:58:38] <agaffney> take lisa's suggestion and manage the files yourself
[2012/01/05 10:59:01] <lisa> cheating? pragmatic
[2012/01/05 10:59:23] <Raboo> ok, agaffney, lisa, that might be the best way..
[2012/01/05 10:59:52] <Raboo> it feels like it was like two months ago since i was even playing with the modules
[2012/01/05 10:59:53] @ Quit: abc04: Remote host closed the connection
[2012/01/05 11:00:34] @ swygue joined channel #puppet
[2012/01/05 11:00:50] @ abc06 joined channel #puppet
[2012/01/05 11:01:28] @ tilgovi joined channel #puppet
[2012/01/05 11:01:42] @ abc06 left channel #puppet ()
[2012/01/05 11:01:44] @ abc06 joined channel #puppet
[2012/01/05 11:01:50] <Raboo> i think i will continue from home..
[2012/01/05 11:01:54] <Raboo> thanks guys/girls
[2012/01/05 11:01:58] <lisa> o/
[2012/01/05 11:01:59] <lisa> good luck
[2012/01/05 11:02:02] @ Quit: swygue: Client Quit
[2012/01/05 11:02:14] @ swygue joined channel #puppet
[2012/01/05 11:02:48] <Raboo> thanks, i'm gonna need it
[2012/01/05 11:03:41] <lisa> is the creator/maintainer of puppetlabs-firewall here?
[2012/01/05 11:03:42] @ Quit: rluque: Read error: Connection reset by peer
[2012/01/05 11:04:04] @ rluque joined channel #puppet
[2012/01/05 11:04:22] @ ghg joined channel #puppet
[2012/01/05 11:04:52] @ benjiedmund joined channel #puppet
[2012/01/05 11:05:46] <codec> lisa: ken_barber
[2012/01/05 11:05:53] <lisa> ooo
[2012/01/05 11:06:20] <lisa> ken_barber: any plans for ipt_recent module support? :) i don't want to hack it in myself <_<
[2012/01/05 11:07:39] <rluque> Hi all, I have two modules that require the same file. As I think it is not possible to control the order of execution for modules I define the file resource in both modules, but I get a "duplicate definition" error.
[2012/01/05 11:08:23] <rluque> How can I get that only the first module applied creates the file, but not the second one?
[2012/01/05 11:08:56] <_rc> extract the resource into a common module, use it from both
[2012/01/05 11:08:57] @ Quit: ckauhaus: Ping timeout: 240 seconds
[2012/01/05 11:10:10] <rluque> _rc: thank you, I will try this way
[2012/01/05 11:11:52] <Dewin> Hmm. How hard would it be to make something that's like a file resource, recursing into subdirectories... but treating every found file as a template rather than a static file?
[2012/01/05 11:13:03] @ Quit: astrostl: Read error: Operation timed out
[2012/01/05 11:13:19] <Dewin> It's probably the 'wrong' way to do things, but it'd be a fast way to adapt an existing configuration to Puppet.
[2012/01/05 11:14:24] @ astrostl joined channel #puppet
[2012/01/05 11:15:52] @ Quit: rutger_: Remote host closed the connection
[2012/01/05 11:16:11] <ken_barber> lisa: #11100
[2012/01/05 11:16:12] <gepetto> ken_barber: lisa: #11100 is http://projects.puppetlabs.com/issues/show/11100 "Puppet Labs Modules - Feature #11100: firewall: Add support for "recent" iptables module. It has a status of Accepted and is assigned to -"
[2012/01/05 11:16:20] <lisa> \o/
[2012/01/05 11:16:42] <lisa> ken_barber: in the work flow "accepted" means: "Yes, this is something I will undertake" ?
[2012/01/05 11:16:55] @ astrostl_ joined channel #puppet
[2012/01/05 11:17:05] @ Quit: lovemj: Ping timeout: 252 seconds
[2012/01/05 11:17:16] <ken_barber> lisa: indeed. as apposed to 'no thats a silly idea :-)'. but its not being developed on this minute. happy to take a patch though :-).
[2012/01/05 11:17:26] * lisa laughs
[2012/01/05 11:17:32] <lisa> ken_barber: i don't do rspec tho :P
[2012/01/05 11:17:52] @ Quit: raphdg: Remote host closed the connection
[2012/01/05 11:17:56] @ lovemj joined channel #puppet
[2012/01/05 11:18:06] <ken_barber> lisa: I have a wrapper around it for this translation … so you just fill in a hash more or less which makes life easier.
[2012/01/05 11:18:07] <fallen> is it possible to get the parent scope $name within a define/class?
[2012/01/05 11:18:17] @ benkevan joined channel #puppet
[2012/01/05 11:18:41] @ Quit: astrostl: Ping timeout: 255 seconds
[2012/01/05 11:18:52] <lisa> ken_barber: yeah, i deciphered the code and it looks like you just add keys to provider/firewall/iptables.rb (or ip6tables.rb) then update type/firewall.rb. seems pretty straightforward.
[2012/01/05 11:18:56] @ cwarden joined channel #puppet
[2012/01/05 11:19:33] <ken_barber> lisa: indeed. well - one would hope so. you also have to get the order right :-).
[2012/01/05 11:19:38] <lisa> yea
[2012/01/05 11:19:43] <lisa> the ordering is "fun"
[2012/01/05 11:19:55] <ken_barber> lisa: updating this hash here: https://github.com/puppetlabs/puppetlabs-firewall/blob/master/spec/fixtures/iptables/conversion_hash.rb will give you automatic rspec for converstion to & from iptables to the resource.
[2012/01/05 11:20:09] <ken_barber> lisa: one entry for each direction more or less
[2012/01/05 11:20:20] <lisa> oh, nifty
[2012/01/05 11:20:40] <ken_barber> lisa: yeah - this kind of test is a very specific pattern so I figure I'd make it easier on contributors
[2012/01/05 11:20:50] <lisa> ken_barber: how's #10275 progressing? :)
[2012/01/05 11:20:50] <gepetto> lisa: ken_barber: #10275 is http://projects.puppetlabs.com/issues/show/10275 "Puppet Labs Modules - Feature #10275: firewall: proposal - 'order' parameter. It has a status of Needs Decision and is assigned to -"
[2012/01/05 11:21:16] <ken_barber> lisa: dan carley was working on it.
[2012/01/05 11:21:33] @ Quit: lkoranda: Quit: Ex-Chat
[2012/01/05 11:21:36] <ken_barber> lisa: last time I spoke to him it was looking okay … but I figure his day job has tied him up.
[2012/01/05 11:21:45] <lisa> okay
[2012/01/05 11:21:50] @ Quit: benjiedmund: Remote host closed the connection
[2012/01/05 11:22:19] <ken_barber> lisa: is this lisa from london? or a different lisa?
[2012/01/05 11:22:26] <lisa> ken_barber: i am in toronto
[2012/01/05 11:22:52] @ Quit: astrostl_:
[2012/01/05 11:23:10] <ken_barber> lisa: aah indeed. I used to work for a big company in waterloo - I bet you can guess which one.
[2012/01/05 11:23:10] @ astrostl joined channel #puppet
[2012/01/05 11:23:17] * lisa laughs
[2012/01/05 11:23:25] <lisa> RIM!
[2012/01/05 11:23:27] @ Quit: amoe: Read error: Connection reset by peer
[2012/01/05 11:25:28] @ Quit: rluque: Read error: Connection reset by peer
[2012/01/05 11:25:43] @ rluque joined channel #puppet
[2012/01/05 11:25:55] @ tizzo-afk is now known as tizzo
[2012/01/05 11:26:02] <lisa> i'll have a crack at the ipt_recent thing. with luck i don't lock myself out.
[2012/01/05 11:26:10] <ken_barber> lisa: good luck :-)
[2012/01/05 11:26:22] <lisa> thanks....boy that doesn't sound encouraging
[2012/01/05 11:26:52] @ benjiedmund joined channel #puppet
[2012/01/05 11:27:48] @ astrostl_ joined channel #puppet
[2012/01/05 11:28:34] @ Quit: abc06: Remote host closed the connection
[2012/01/05 11:28:41] @ Quit: astrostl: Read error: Operation timed out
[2012/01/05 11:29:08] @ amoe joined channel #puppet
[2012/01/05 11:29:52] @ kelseyhightower joined channel #puppet
[2012/01/05 11:29:55] @ abc08 joined channel #puppet
[2012/01/05 11:30:14] @ Reepicheep joined channel #puppet
[2012/01/05 11:30:32] @ newtMcKerr joined channel #puppet
[2012/01/05 11:31:25] @ Quit: iFire`:
[2012/01/05 11:32:01] @ iFire joined channel #puppet
[2012/01/05 11:32:02] @ Quit: iFire: Changing host
[2012/01/05 11:32:03] @ iFire joined channel #puppet
[2012/01/05 11:33:48] @ john111 joined channel #puppet
[2012/01/05 11:34:05] @ john111 is now known as Guest25484
[2012/01/05 11:36:47] <Wolfspyre> if I'm casing off of $hostname; and I want to match somehostnametype-### but not somehostnametype-somethingelse-### /^somehostnametype-\d*/ should fit the bill, right?
[2012/01/05 11:37:54] @ SpComb joined channel #puppet
[2012/01/05 11:37:55] @ Quit: rluque: Read error: Connection reset by peer
[2012/01/05 11:38:05] @ rluque joined channel #puppet
[2012/01/05 11:40:42] @ mayak left channel #puppet ()
[2012/01/05 11:40:44] @ Quit: jmeeuwen: Ping timeout: 255 seconds
[2012/01/05 11:43:47] @ hyde left channel #puppet ()
[2012/01/05 11:45:14] @ Quit: Guest25484: Remote host closed the connection
[2012/01/05 11:50:49] @ Quit: pmorillon: Quit: pmorillon
[2012/01/05 11:55:15] @ Quit: cirbri: Quit: leaving
[2012/01/05 11:55:33] <denton> Wolfspyre: probably this instead /^somehostnametype-\d+/ to force a match on one or more digits instead of zero or more
[2012/01/05 11:56:19] <cakery> how do i have a path default for esec, but also add individual things to the path in othe execs?
[2012/01/05 11:56:52] @ djm68 joined channel #puppet
[2012/01/05 11:57:53] @ jmeeuwen joined channel #puppet
[2012/01/05 11:59:13] <fallen> Is there any way to get the un-lower-case'd name of a parent class? I'm trying to muck around with inline_template and scope.parent.resource.name, and scope.parent.resource.parameters[:name], but to no avail
[2012/01/05 12:00:08] <fallen> _rc: any hints for today's question? xD
[2012/01/05 12:00:43] @ Quit: alanevans: Remote host closed the connection
[2012/01/05 12:00:59] <_rc> I don't know what you're trying to get at at all, so no
[2012/01/05 12:01:11] <fallen> scope.parent.resource.tags.last
[2012/01/05 12:02:06] <_rc> still doesn't mean anything to me
[2012/01/05 12:02:11] @ Quit: jmeeuwen: Ping timeout: 252 seconds
[2012/01/05 12:02:16] <_rc> $module_name?
[2012/01/05 12:02:18] <linux00002> does puppetmaster need to be >2.6 for me to be able to use parameterized classes?
[2012/01/05 12:02:30] <_rc> linux00002: yes
[2012/01/05 12:02:34] <fallen> _rc I'm trying to make a general-purpose define for mass file management, and it should include the callers name when expanding file locations (files/$hostname/$caller/$name)
[2012/01/05 12:02:35] <linux00002> damn
[2012/01/05 12:02:39] <fallen> _rc: turns out blank
[2012/01/05 12:03:12] @ RedPepper is now known as redpepper
[2012/01/05 12:03:34] <fallen> is tehre any better way than $parent = inline_template("<%= scope.parent.resource.tags.last%>") ?
[2012/01/05 12:04:36] <fallen> $caller_module_name returns a already-messed-around name, like "teste" becomes "Teste"
[2012/01/05 12:05:35] @ denstark joined channel #puppet
[2012/01/05 12:05:51] <fallen> another option I found was do Mass_file { container => $name } before using the mass_file define
[2012/01/05 12:06:04] @ Quit: lwhalen: Ping timeout: 240 seconds
[2012/01/05 12:06:14] <fallen> although the less I should deppend on user definition, the better
[2012/01/05 12:06:18] <denstark> Hey guys, just to make sure I'm on the right page, if I have a public facing puppet server, no clients can grab configs from it until I sign their cert, correct?
[2012/01/05 12:06:33] <fallen> _rc: have I clarified it enough?
[2012/01/05 12:06:38] <denstark> are there any other security measures that are best practice?
[2012/01/05 12:06:56] @ Quit: Guest91193: Ping timeout: 240 seconds
[2012/01/05 12:08:55] @ Quit: MartVisser: Ping timeout: 268 seconds
[2012/01/05 12:09:15] @ john111 joined channel #puppet
[2012/01/05 12:09:32] @ john111 is now known as Guest99818
[2012/01/05 12:09:55] @ joshkraemer joined channel #puppet
[2012/01/05 12:11:22] @ Quit: joshkraemer: Client Quit
[2012/01/05 12:11:42] @ joshkraemer joined channel #puppet
[2012/01/05 12:12:36] @ Quit: de_: Remote host closed the connection
[2012/01/05 12:12:41] @ Quit: muhdiekuh: Quit: muhdiekuh
[2012/01/05 12:13:50] @ mogitaff joined channel #puppet
[2012/01/05 12:14:02] @ nfagerlund joined channel #puppet
[2012/01/05 12:14:12] @ jmeeuwen joined channel #puppet
[2012/01/05 12:14:14] @ Quit: nan0r: Ping timeout: 252 seconds
[2012/01/05 12:16:50] @ Quit: ali3n0: Read error: Operation timed out
[2012/01/05 12:17:45] <rluque> I'm getting the following type of warnings: "Dependency File[...] has failures: true" How can I get more detail about the error?
[2012/01/05 12:18:35] <_rc> look two or three lines up in the logs
[2012/01/05 12:21:37] @ lwhalen joined channel #puppet
[2012/01/05 12:21:38] <devicenull> hmm
[2012/01/05 12:21:56] <devicenull> for cron, the docs say: The minute at which to run the cron job. Optional; if specified, must be between 0 and 59, inclusive.
[2012/01/05 12:22:03] <devicenull> but the example shows: minute => '*/10'
[2012/01/05 12:22:14] <devicenull> I guess the values aren't enforced at all?
[2012/01/05 12:22:48] <brd> denstark: I just stumbled on upon this: http://projects.puppetlabs.com/projects/puppet/wiki/Certificates_And_Security
[2012/01/05 12:23:13] @ ali3n0 joined channel #puppet
[2012/01/05 12:24:23] <marut> devicenull: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/cron.rb
[2012/01/05 12:25:04] @ redpepper is now known as RedPepper
[2012/01/05 12:26:04] @ Quit: Guest99818: Remote host closed the connection
[2012/01/05 12:27:49] @ Quit: lanky: Quit: Leaving
[2012/01/05 12:28:45] @ wilmoore joined channel #puppet
[2012/01/05 12:29:30] <rluque> _rc: thank you!
[2012/01/05 12:29:48] @ Quit: rluque: Quit: leaving
[2012/01/05 12:30:32] @ Quit: fronlius: Read error: Connection reset by peer
[2012/01/05 12:30:35] @ fronlius_ joined channel #puppet
[2012/01/05 12:30:39] @ sdog joined channel #puppet
[2012/01/05 12:30:46] @ Quit: sdog: Changing host
[2012/01/05 12:30:46] @ sdog joined channel #puppet
[2012/01/05 12:32:15] @ octane- joined channel #puppet
[2012/01/05 12:34:01] @ countskm joined channel #puppet
[2012/01/05 12:34:57] <countskm> any suggestions for how to log when puppet checks a resource and it is in the correct state?
[2012/01/05 12:35:56] <countskm> specifically i am looking at a paramterized class and capturing the args somewhere in a log?
[2012/01/05 12:36:22] @ |Majestic| joined channel #puppet
[2012/01/05 12:36:39] @ Quit: octane-: Ping timeout: 240 seconds
[2012/01/05 12:37:42] @ Quit: nevyn: Ping timeout: 244 seconds
[2012/01/05 12:38:09] <countskm> ah - think i see - i can add parameters to the name of the resource (e.g. Exec) and then parse the report and find them
[2012/01/05 12:38:18] @ trickyf left channel #puppet ()
[2012/01/05 12:39:47] @ Quit: inecas: Quit: Leaving
[2012/01/05 12:39:49] @ nevyn joined channel #puppet
[2012/01/05 12:41:20] @ slseed1969 joined channel #puppet
[2012/01/05 12:42:18] @ ghanima joined channel #puppet
[2012/01/05 12:42:19] @ alanevans joined channel #puppet
[2012/01/05 12:42:26] @ Quit: langworthy: Quit: langworthy
[2012/01/05 12:43:31] @ shanlar joined channel #puppet
[2012/01/05 12:48:32] @ ianbrandt joined channel #puppet
[2012/01/05 12:48:37] @ Quit: ali3n0: Quit: Leaving.
[2012/01/05 12:49:20] @ kenperkins joined channel #puppet
[2012/01/05 12:49:52] @ lak joined channel #puppet
[2012/01/05 12:49:53] @ Quit: lak: Changing host
[2012/01/05 12:49:53] @ lak joined channel #puppet
[2012/01/05 12:50:24] @ mrwacky42 joined channel #puppet
[2012/01/05 12:52:50] @ williemach joined channel #puppet
[2012/01/05 12:53:02] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2012/01/05 12:53:03] <pll> How does one use a custom fact from within another custom fact ?
[2012/01/05 12:53:12] @ motomike joined channel #puppet
[2012/01/05 12:53:30] <lisa> FACTCEPTION
[2012/01/05 12:53:39] <pll> e.g. I can do : 'require 'facter/domain' to get my DNS domain.
[2012/01/05 12:53:55] <pll> Is there a similar path for custom facts distributed by puppet ?
[2012/01/05 12:54:07] <_rc> Facter.value('somefact')
[2012/01/05 12:54:10] <countskm> http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts
[2012/01/05 12:54:32] @ scsinutz joined channel #puppet
[2012/01/05 12:54:41] <countskm> u can youse Facter.{fact}
[2012/01/05 12:54:56] <countskm> then Facter.value('{fact}')
[2012/01/05 12:55:00] <pll> Thanks _rc I was just looking for that page :)
[2012/01/05 12:55:20] <_rc> pll: you mean to thank countskm
[2012/01/05 12:55:25] @ the_ramink joined channel #puppet
[2012/01/05 12:55:37] <countskm> anyone have success running puppet inspect standalone?
[2012/01/05 12:55:47] <countskm> bash-3.2# envpuppet puppet inspect --confdir=/etc/puppet
[2012/01/05 12:55:49] <countskm> Could not run: Could not find catalog for dacb0210a
[2012/01/05 12:55:49] @ scsinutz left channel #puppet ()
[2012/01/05 12:57:44] <countskm> looks like a cool sub-command
[2012/01/05 12:58:46] * countskm looking at lib/puppet/application/inspect.rb
[2012/01/05 12:58:53] <pll> So, what's the difference between Facter.somefact, Facter.value('somefact'), and Facter['somfact'].value() ?
[2012/01/05 12:59:04] <countskm> i think Facter.somefact loads it
[2012/01/05 12:59:13] <kenperkins> can you nest case's in ruby/puppet
[2012/01/05 12:59:22] <countskm> ah the 3rd is doing 1 and 2 in one statement
[2012/01/05 12:59:31] <countskm> 1 loads, 2 references the value
[2012/01/05 12:59:32] <_rc> they're all synomyms
[2012/01/05 13:00:11] <countskm> _rc thought you had to load but looking it up does that?
[2012/01/05 13:00:17] @ Quit: greenmang0: Read error: Operation timed out
[2012/01/05 13:00:18] <pll> Is there a "best practice" wrt which one to use ?
[2012/01/05 13:00:40] <_rc> the first is handled by method_missing, the second is explicit, and the third defines the [] method
[2012/01/05 13:01:20] @ justin_donaldson joined channel #puppet
[2012/01/05 13:01:25] @ Quit: ken_barber: Quit: Leaving.
[2012/01/05 13:01:25] <_rc> just use the same one all the way through, so you can forget there's a difference. my preference is for Facter.value(.factname') because it makes it obvious what you're asking for
[2012/01/05 13:01:41] @ pcarlisle joined channel #puppet
[2012/01/05 13:02:27] @ gazoombo1 joined channel #puppet
[2012/01/05 13:03:51] @ john111 joined channel #puppet
[2012/01/05 13:04:08] @ john111 is now known as Guest45033
[2012/01/05 13:04:27] @ Quit: gazoombo: Ping timeout: 255 seconds
[2012/01/05 13:04:50] @ Quit: jyrkip: Ping timeout: 252 seconds
[2012/01/05 13:05:18] @ Quit: Guest45033: Remote host closed the connection
[2012/01/05 13:05:36] <chmac7> Anyone recommend a good getting started tutorial using puppet forge to build a LAMP server?
[2012/01/05 13:05:44] @ Quit: aculich: Ping timeout: 240 seconds
[2012/01/05 13:05:46] @ Quit: teratoma: Quit: leaving
[2012/01/05 13:05:49] @ Quit: joshkraemer: Quit: joshkraemer
[2012/01/05 13:05:58] <chmac7> I'm reading the intro on the documentation, but I'd like to get stuck in and actually build something useful.
[2012/01/05 13:06:25] @ jyrkip joined channel #puppet
[2012/01/05 13:07:20] @ Quit: gwmngilfen: Quit: No Ping reply in 180 seconds.
[2012/01/05 13:07:21] @ Quit: idnar: Remote host closed the connection
[2012/01/05 13:07:30] @ Quit: nfagerlund: Remote host closed the connection
[2012/01/05 13:07:53] @ Quit: nul0op: Ping timeout: 252 seconds
[2012/01/05 13:08:05] @ scsinutz joined channel #puppet
[2012/01/05 13:09:17] @ Quit: n1x0n: Ping timeout: 252 seconds
[2012/01/05 13:09:34] @ Quit: newtMcKerr: Quit: Leaving.
[2012/01/05 13:09:37] <marut> chmac7: http://docs.puppetlabs.com/learning/ if that's not the intro you're already talking about :)
[2012/01/05 13:09:39] @ nfagerlund joined channel #puppet
[2012/01/05 13:10:45] <chmac7> marut: Yeah, that's what I'm reading.
[2012/01/05 13:10:58] @ idnar joined channel #puppet
[2012/01/05 13:11:04] @ gwmngilfen joined channel #puppet
[2012/01/05 13:11:18] <chmac7> I figure I don't need to know every aspect of puppet, I'm only managing a handful of servers, and they're all pretty standard. I'm guessing I'll find everything I need in existing classes (probably the wrong word!)
[2012/01/05 13:11:51] <countskm> chmac7: check out example42 once u get more comfortable: https://github.com/example42/puppet-modules
[2012/01/05 13:11:52] @ Quit: gazoombo1: Read error: Connection reset by peer
[2012/01/05 13:11:55] @ gazoombo joined channel #puppet
[2012/01/05 13:12:13] @ Quit: londo: Ping timeout: 252 seconds
[2012/01/05 13:12:38] <chmac7> countskm: Wow, there's a lot in there! :-)
[2012/01/05 13:12:40] @ newtMcKerr joined channel #puppet
[2012/01/05 13:12:50] <countskm> yes
[2012/01/05 13:13:01] <chmac7> countskm: I read somewhere that most modules are found on github rather than forge.
[2012/01/05 13:13:20] <countskm> also i recommend pro puppet the book highly
[2012/01/05 13:13:53] <chmac7> Ok, I've seen other recommendations for that I think.
[2012/01/05 13:14:05] <chmac7> example42 looks like it'll cover more than my needs.
[2012/01/05 13:14:31] @ comptona joined channel #puppet
[2012/01/05 13:14:33] <chmac7> I want an ubuntu based server booted, updated, a few users installed, apache, php, mysql installed, and that's about it. :-)
[2012/01/05 13:15:03] <countskm> chmac7: yeah it might be overkill but tuck it away for another time - lots of ideas
[2012/01/05 13:15:06] @ Quit: lwhalen: Ping timeout: 252 seconds
[2012/01/05 13:15:19] <chmac7> countskm: It looks like I can grab the pieces I need and ignore the rest.
[2012/01/05 13:15:27] @ Quit: nfagerlund: Remote host closed the connection
[2012/01/05 13:15:32] <chmac7> countskm: Seems like the best resource I've seen so far, thanks a lot.
[2012/01/05 13:15:33] <countskm> one of the modules called 'foo' is a boiler plate i believe
[2012/01/05 13:15:36] @ chmac7 is now known as chmac
[2012/01/05 13:15:48] <chmac> Awesome, I'll read up.
[2012/01/05 13:15:53] <chmac> Now time for food. :-)
[2012/01/05 13:15:57] <chmac> G'night.
[2012/01/05 13:15:58] @ Quit: chmac: Quit: Leaving
[2012/01/05 13:16:06] <countskm> good luck
[2012/01/05 13:16:34] * countskm is happy he has puppet running smoothly on aix :-)
[2012/01/05 13:17:05] <countskm> i realized my problem was i was using ruby 187 patch-level 0 ... doh!
[2012/01/05 13:17:58] @ Quit: laen_: Remote host closed the connection
[2012/01/05 13:19:22] @ Quit: jcape: Quit: jcape
[2012/01/05 13:19:51] @ jcape joined channel #puppet
[2012/01/05 13:20:17] @ teratoma joined channel #puppet
[2012/01/05 13:20:57] @ n1x0n joined channel #puppet
[2012/01/05 13:23:44] @ john7771 joined channel #puppet
[2012/01/05 13:24:27] @ Quit: john7771: Remote host closed the connection
[2012/01/05 13:24:35] @ Quit: arBmind: Quit: HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day...
[2012/01/05 13:25:26] @ nfagerlund joined channel #puppet
[2012/01/05 13:25:29] @ Quit: lak: Quit: Leaving.
[2012/01/05 13:26:53] @ john7771 joined channel #puppet
[2012/01/05 13:27:05] @ Quit: abc08: Remote host closed the connection
[2012/01/05 13:27:12] <gepetto> ::redmine:: Wiki edit: Internal_Development_Process (#84) @ http://projects.puppetlabs.com/projects/puppet/wiki/Internal_Development_Process?version=84 (by Jason McKerr)
[2012/01/05 13:28:23] @ madhatter joined channel #puppet
[2012/01/05 13:28:32] @ lwhalen joined channel #puppet
[2012/01/05 13:28:46] @ Quit: jodok: Quit: jodok
[2012/01/05 13:28:48] @ madhatter is now known as Guest56492
[2012/01/05 13:29:02] @ Quit: danikov: Quit: danikov
[2012/01/05 13:29:12] <denstark> brd: thanks, chekcing it out now ;)
[2012/01/05 13:29:13] @ laen_ joined channel #puppet
[2012/01/05 13:31:06] @ Quit: Niall: Quit: Page closed
[2012/01/05 13:31:24] @ Quit: ezryx: Remote host closed the connection
[2012/01/05 13:31:32] @ Quit: nfagerlund: Remote host closed the connection
[2012/01/05 13:32:48] @ sjoeboo joined channel #puppet
[2012/01/05 13:37:05] @ lak joined channel #puppet
[2012/01/05 13:37:06] @ Quit: lak: Changing host
[2012/01/05 13:37:06] @ lak joined channel #puppet
[2012/01/05 13:42:14] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/01/05 13:43:08] @ langworthy joined channel #puppet
[2012/01/05 13:44:13] @ Asako joined channel #puppet
[2012/01/05 13:44:22] <Asako> Database isn't the current migration version: expected 20110729201310, got 20090916215745 You must either run 'rake db:migrate' or set environmental variable NO_MIGRATION_CHECK
[2012/01/05 13:44:26] <Asako> does anybody know how to fix this?
[2012/01/05 13:44:32] <Asako> and yes, I ran rake
[2012/01/05 13:44:56] @ Quit: jmeeuwen: Ping timeout: 240 seconds
[2012/01/05 13:45:51] @ Quit: MattyM: Remote host closed the connection
[2012/01/05 13:46:04] <the_ramink> Asako: rake RAILS_ENV=production db:migrate with whatever environment you're using
[2012/01/05 13:46:14] <Asako> did that oto
[2012/01/05 13:46:15] <Asako> too
[2012/01/05 13:47:03] @ paxos joined channel #puppet
[2012/01/05 13:47:16] <Asako> can't I just change the version number in the database?
[2012/01/05 13:47:17] <the_ramink> Asako: this is the puppet dashboard I assume?
[2012/01/05 13:47:18] @ Quit: em295: Quit: em295
[2012/01/05 13:47:55] @ rharrison joined channel #puppet
[2012/01/05 13:48:01] <Asako> yeah, for dashboard
[2012/01/05 13:48:12] <Asako> I did an sql dump from the current server
[2012/01/05 13:48:26] <the_ramink> what version of dashboard was the old server?
[2012/01/05 13:48:32] <Asako> 1.2.2
[2012/01/05 13:48:39] <Asako> same as the new one
[2012/01/05 13:49:10] <the_ramink> That seems unlikely if the migration starts with 2009
[2012/01/05 13:49:14] <Asako> we mask everything else so that's the only version that can get installed any way
[2012/01/05 13:49:53] <Asako> hmm
[2012/01/05 13:50:06] <Asako> should I rename the db and then just overwrite it?
[2012/01/05 13:50:46] @ Quit: tilgovi: Read error: Connection reset by peer
[2012/01/05 13:50:49] <marksteele> anyone use mcollective and puppetral?
[2012/01/05 13:51:03] <Asako> the version number has to be in a table somewhere
[2012/01/05 13:51:23] @ iceman111_E_65 joined channel #puppet
[2012/01/05 13:51:51] @ Quit: lwhalen: Quit: Leaving
[2012/01/05 13:52:38] @ Quit: omry_: Ping timeout: 244 seconds
[2012/01/05 13:52:43] @ aculich joined channel #puppet
[2012/01/05 13:53:25] <the_ramink> Asako: the version number is the version of the schema so Rails knows whether your db is ready for the new code. If you're schema is not in line with the code, then I suspect the Dashboard won't load, work, whatever. You can change it, but it's not going to do you good. fwiw, I'd suspect a db with a schema starting with 2009 to be pre 1.1 based or earlier.
[2012/01/05 13:53:38] @ Quit: csanchez: Quit: csanchez
[2012/01/05 13:54:02] @ nfagerlund joined channel #puppet
[2012/01/05 13:54:38] @ Quit: sebnash: Quit: Linkinus - http://linkinus.com
[2012/01/05 13:54:57] <rharrison> I'm trying to figure out how to build a template so that it will include text if another module is included for a node
[2012/01/05 13:55:29] @ danikov joined channel #puppet
[2012/01/05 13:55:39] <rharrison> the task I'm working on is snmpd. I've got a simple template that I apply to all machines. http://fpaste.org/uMVU/
[2012/01/05 13:56:43] @ iceman111_E_65 left channel #puppet ()
[2012/01/05 13:56:54] <Asako> the_ramink, yeah, it didn't like when I changed that
[2012/01/05 13:57:08] @ Quit: fronlius_: Quit: fronlius_
[2012/01/05 13:57:13] <rharrison> but if squid is installed and configured on the machine I want snmpd to proxy the squid snmp interfaces so I need a template that looks like this: http://fpaste.org/Skaz/
[2012/01/05 13:57:28] @ jmeeuwen joined channel #puppet
[2012/01/05 13:58:01] @ lwhalen joined channel #puppet
[2012/01/05 13:59:40] <Asako> I guess if anything I'll redump the db
[2012/01/05 14:00:03] <rharrison> I thought about simply using resource overides to change the value of source for the file resource (http://fpaste.org/gC6I/) but then it occured to me I might want to do this type of thing more than once.
[2012/01/05 14:00:15] @ Quit: ^conner: Ping timeout: 255 seconds
[2012/01/05 14:01:58] @ erthad left channel #puppet ()
[2012/01/05 14:02:48] @ ken_barber joined channel #puppet
[2012/01/05 14:04:09] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2012/01/05 14:05:38] @ omry_ joined channel #puppet
[2012/01/05 14:05:38] @ RedPepper is now known as redpepper
[2012/01/05 14:06:50] @ scsinutz left channel #puppet ()
[2012/01/05 14:06:54] @ Quit: omry_: Max SendQ exceeded
[2012/01/05 14:07:17] @ omry_ joined channel #puppet
[2012/01/05 14:08:26] <druonysus> do I need an init.pp in the /etc/puppet/manifests/ or only in the manifests dir in the modules I am building?
[2012/01/05 14:08:29] @ Quit: joe-mac: Ping timeout: 240 seconds
[2012/01/05 14:10:42] @ bmahe joined channel #puppet
[2012/01/05 14:10:58] <Asako> thanks for the help
[2012/01/05 14:11:00] <jhelwig> druonysus: Only in the manifests dir of the modules you're building.
[2012/01/05 14:11:19] <druonysus> jhelwig: okay
[2012/01/05 14:12:35] @ ^conner joined channel #puppet
[2012/01/05 14:13:01] <druonysus> If I am building a module for a client server set of services should I have a different module for the server and the client?
[2012/01/05 14:13:14] @ Quit: aculich: Quit: Leaving.
[2012/01/05 14:13:26] <druonysus> or would I just declare the classes and then specify in the node what to use
[2012/01/05 14:13:28] <druonysus> ?
[2012/01/05 14:15:14] @ fronlius joined channel #puppet
[2012/01/05 14:15:58] <crazed> anyone ever have puppet runs hang on "debug: /Schedule[weekly]: Skipping device resources because running on a host"
[2012/01/05 14:16:01] <crazed> i'm not sure how to debug this one
[2012/01/05 14:16:57] @ Quit: nfagerlund: Remote host closed the connection
[2012/01/05 14:19:13] @ cliff-hm joined channel #puppet
[2012/01/05 14:23:15] @ Quit: lak: Quit: Leaving.
[2012/01/05 14:23:41] @ KaiserBeto joined channel #puppet
[2012/01/05 14:24:06] <eric0> crazed: strace/truss?
[2012/01/05 14:24:38] <eric0> crazed: i would guess it is not hanging on that, its hanging on the next thing.
[2012/01/05 14:27:12] @ lak joined channel #puppet
[2012/01/05 14:27:13] @ Quit: lak: Changing host
[2012/01/05 14:27:13] @ lak joined channel #puppet
[2012/01/05 14:27:50] @ Quit: astrostl_:
[2012/01/05 14:34:28] @ Stenbryggen joined channel #puppet
[2012/01/05 14:36:13] @ nfagerlund joined channel #puppet
[2012/01/05 14:36:40] <crazed> eric0: it wound up being a recursively controlled directory with way too many files
[2012/01/05 14:41:08] @ skm joined channel #puppet
[2012/01/05 14:49:15] @ Quit: cliff-hm: Ping timeout: 268 seconds
[2012/01/05 14:50:27] @ Quit: kolla: Remote host closed the connection
[2012/01/05 14:52:03] @ jodok joined channel #puppet
[2012/01/05 14:52:04] @ Quit: jodok: Changing host
[2012/01/05 14:52:04] @ jodok joined channel #puppet
[2012/01/05 14:55:21] @ Quit: pcarlisle: Read error: Connection reset by peer
[2012/01/05 14:55:53] @ JayTaph_ joined channel #puppet
[2012/01/05 14:56:06] @ pcarlisle joined channel #puppet
[2012/01/05 14:57:18] @ Quit: skm: Ping timeout: 276 seconds
[2012/01/05 14:59:14] @ Quit: JayTaph: Ping timeout: 252 seconds
[2012/01/05 14:59:14] @ JayTaph_ is now known as JayTaph
[2012/01/05 14:59:40] @ philcorchary joined channel #puppet
[2012/01/05 14:59:42] @ philcorchary left channel #puppet ()
[2012/01/05 15:01:37] @ cliff-hm joined channel #puppet
[2012/01/05 15:02:51] @ abc09 joined channel #puppet
[2012/01/05 15:04:37] @ Quit: Guest56492: Ping timeout: 240 seconds
[2012/01/05 15:05:34] @ skm joined channel #puppet
[2012/01/05 15:08:27] @ ali3n0 joined channel #puppet
[2012/01/05 15:08:36] @ devinacosta joined channel #puppet
[2012/01/05 15:10:19] @ Quit: newtMcKerr: Quit: Leaving.
[2012/01/05 15:13:00] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2012/01/05 15:13:28] @ teddymills joined channel #puppet
[2012/01/05 15:16:00] @ Quit: tietack: Ping timeout: 258 seconds
[2012/01/05 15:16:07] @ Quit: Niarf: Ping timeout: 276 seconds
[2012/01/05 15:18:06] @ Quit: skm: Read error: Connection reset by peer
[2012/01/05 15:20:08] @ Guest56492 joined channel #puppet
[2012/01/05 15:20:39] @ Quit: natewalck: Read error: Connection reset by peer
[2012/01/05 15:21:25] @ donavanm joined channel #puppet
[2012/01/05 15:21:26] @ Majestic joined channel #puppet
[2012/01/05 15:22:41] @ donavanm left channel #puppet ()
[2012/01/05 15:23:16] @ Quit: seanh-ansca: Ping timeout: 240 seconds
[2012/01/05 15:24:28] @ Quit: |Majestic|: Read error: Operation timed out
[2012/01/05 15:25:21] @ Quit: Zugschlus: Quit: kernel update
[2012/01/05 15:26:16] @ Quit: devinacosta: Quit: Page closed
[2012/01/05 15:26:56] @ Quit: Wolfspyre: Quit: Leaving.
[2012/01/05 15:27:18] @ Wolfspyre joined channel #puppet
[2012/01/05 15:28:05] @ Quit: marczak: Quit: leaving
[2012/01/05 15:28:12] @ Niarf joined channel #puppet
[2012/01/05 15:29:02] @ juicelsu009 joined channel #puppet
[2012/01/05 15:32:06] @ natewalck joined channel #puppet
[2012/01/05 15:32:12] @ skm joined channel #puppet
[2012/01/05 15:34:53] @ Quit: cliff-hm: Ping timeout: 268 seconds
[2012/01/05 15:36:11] @ csanchez joined channel #puppet
[2012/01/05 15:37:34] @ Quit: benjiedmund: Ping timeout: 276 seconds
[2012/01/05 15:37:39] @ benjiedmund joined channel #puppet
[2012/01/05 15:38:13] @ Quit: csanchez: Client Quit
[2012/01/05 15:38:57] @ Quit: paxos: Quit: Leaving.
[2012/01/05 15:44:03] <pll> How does one do string comparison within a template ?
[2012/01/05 15:44:37] <pll> I want to do something like <% if module_name =~ /foo/ %>
[2012/01/05 15:44:43] @ marczak joined channel #puppet
[2012/01/05 15:45:03] <pll> I have no idea if =~ is the correct way, I'm mostly a perl guy :)
[2012/01/05 15:46:00] @ Djelibeybi joined channel #puppet
[2012/01/05 15:47:59] @ Quit: lborda: Ping timeout: 276 seconds
[2012/01/05 15:48:57] <daff> anyone know why my messages to the puppet-users google group don't show up there?
[2012/01/05 15:50:55] <Hunner> pll: Ruby String object has a =~ method, yes :)
[2012/01/05 15:51:14] <pll> Yeah, thanks, just found that...
[2012/01/05 15:51:44] @ paxos joined channel #puppet
[2012/01/05 15:52:37] @ Quit: ghg: Ping timeout: 252 seconds
[2012/01/05 15:52:52] @ lborda joined channel #puppet
[2012/01/05 15:53:14] @ newtMcKerr joined channel #puppet
[2012/01/05 15:56:51] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/01/05 16:02:08] <marksteele> how can I find out where to drop a custom type?
[2012/01/05 16:02:39] @ Quit: omry_: Ping timeout: 240 seconds
[2012/01/05 16:02:43] @ Quit: ali3n0: Quit: Leaving.
[2012/01/05 16:02:43] <marksteele> for the agent that is
[2012/01/05 16:03:03] <marksteele> I tried /var/lib/puppet/lib, didn't work
[2012/01/05 16:03:04] <Hunner> marksteele: It would be in the lib/ directory of any module, mirroring where it would go in the puppet source tree
[2012/01/05 16:03:09] <marksteele> ah
[2012/01/05 16:03:16] @ IndyMichaelB_ joined channel #puppet
[2012/01/05 16:03:22] <Hunner> So /etc/puppet/modules/custom/lib/puppet/typo/foo.rb would be an example
[2012/01/05 16:03:23] <marksteele> and if I want to make it system-wide?
[2012/01/05 16:03:40] @ Quit: lak: Quit: Leaving.
[2012/01/05 16:03:40] <marksteele> or just drop it anywhere and it'll be found everywhere?
[2012/01/05 16:03:42] <Hunner> And the agents will download it at the beginning of a puppet run if they have pluginsync turned on
[2012/01/05 16:04:09] <Hunner> Drop it anywhere and it will be found by all agents with pluginsync = true
[2012/01/05 16:04:15] <marksteele> thanks
[2012/01/05 16:04:21] @ Quit: natewalck: Quit: Outta here
[2012/01/05 16:05:50] @ joe-mac joined channel #puppet
[2012/01/05 16:06:33] <pll> How can I determine what class called a template ?
[2012/01/05 16:06:56] @ Quit: IndyMichaelB: Ping timeout: 240 seconds
[2012/01/05 16:06:57] @ IndyMichaelB_ is now known as IndyMichaelB
[2012/01/05 16:06:57] <wilco> I'm having a problem with environments... I have the following: http://pastebin.com/hFNA2nKD in my puppet.conf but when the master starts up, it appears to be looking for 'production' using the variables in [master] instead of [production]... this is 2.6.12
[2012/01/05 16:07:11] <wilco> are the docs not correct for 2.6? This says it should work... http://docs.puppetlabs.com/guides/environment.html
[2012/01/05 16:08:35] <Volcane> have to set the environment on the client
[2012/01/05 16:10:05] @ Quit: Guest56492: Ping timeout: 276 seconds
[2012/01/05 16:10:49] <Hunner> Hmm. That link is timing out for me on my wifi laptop and 3g phone
[2012/01/05 16:11:00] <wilco> yeah, but the problem is that starting master fails because
[2012/01/05 16:11:30] <Volcane> times out for me too yeah
[2012/01/05 16:11:35] <wilco> it looks for everything to be under /etc/puppet/env/production/...
[2012/01/05 16:12:06] @ Quit: brtl: Quit: Leaving.
[2012/01/05 16:12:16] @ Quit: sduchesneau: Quit: Leaving
[2012/01/05 16:12:19] <wilco> hm, I have both [puppetmasterd] and [master], maybe that's why...
[2012/01/05 16:12:46] @ Holocaine joined channel #puppet
[2012/01/05 16:15:18] @ oCean joined channel #puppet
[2012/01/05 16:15:32] @ pcarlisle joined channel #puppet
[2012/01/05 16:16:23] <wilco> ould not prepare for execution: Got 1 failure(s) while initializing: change from absent to directory failed: Cannot create /etc/puppet/env/production/manifests; parent directory /etc/puppet/env/production does not exist
[2012/01/05 16:17:51] @ cmoates joined channel #puppet
[2012/01/05 16:18:37] <Hunner> Puppet will try to ensure => directory on $manifests, which is why it's trying to do that
[2012/01/05 16:18:46] <Hunner> (when the puppet master starts)
[2012/01/05 16:18:57] <wilco> ah
[2012/01/05 16:19:06] <Hunner> You usually don't need $manifests, just $manifest and $modulepath
[2012/01/05 16:19:18] <Hunner> (if you only have a site.pp and modules)
[2012/01/05 16:19:32] <wilco> do you mean $manifestdir?
[2012/01/05 16:20:12] <Hunner> Perhaps I do :)
[2012/01/05 16:20:23] <Hunner> yes, $manifests -> $manifestdir
[2012/01/05 16:20:34] <wilco> great, that fixes it... thanks Hunner
[2012/01/05 16:21:29] @ omry_ joined channel #puppet
[2012/01/05 16:21:33] @ Guest56492 joined channel #puppet
[2012/01/05 16:22:27] @ jab_doa joined channel #puppet
[2012/01/05 16:22:28] @ Quit: jab_doa: Changing host
[2012/01/05 16:22:28] @ jab_doa joined channel #puppet
[2012/01/05 16:22:34] <marut> wilco: are you guys using git for environments / revision control?
[2012/01/05 16:22:58] <wilco> yeah
[2012/01/05 16:23:00] <marut> check out https://github.com/pdxcat/puppetsync if you haven't found something like it already
[2012/01/05 16:24:22] <wilco> Interesting... I've already got a post-commit that does the mainline checkout but haven't done anything with the envs
[2012/01/05 16:24:44] <wilco> er, master branch/production env
[2012/01/05 16:24:46] <marut> theCAT is trying to move towards git submodules so as to better seperate out development (and sharing) of puppet modules. This does all the environment stuff and additionally works well with git submodules
[2012/01/05 16:25:06] @ Quit: nfagerlund: Remote host closed the connection
[2012/01/05 16:26:09] @ Prometheus joined channel #puppet
[2012/01/05 16:26:11] <marut> see also http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ and http://hunnur.com/blog/2010/10/dynamic-git-branch-puppet-environments/
[2012/01/05 16:26:30] @ lak joined channel #puppet
[2012/01/05 16:26:32] @ Quit: lak: Changing host
[2012/01/05 16:26:32] @ lak joined channel #puppet
[2012/01/05 16:26:48] @ Quit: benjiedmund: Remote host closed the connection
[2012/01/05 16:26:49] <marut> dynamic environments make life easy down the road.
[2012/01/05 16:27:06] @ pdxleif joined channel #puppet
[2012/01/05 16:27:12] @ benjiedmund joined channel #puppet
[2012/01/05 16:27:32] @ nfagerlund joined channel #puppet
[2012/01/05 16:27:58] <wilco> I just looked over something in the newsletter thingy that I think was Adrien's blog post
[2012/01/05 16:29:24] @ Quit: Dewin: Read error: Connection reset by peer
[2012/01/05 16:29:30] @ Quit: newtMcKerr: Quit: Leaving.
[2012/01/05 16:30:17] @ Dewin joined channel #puppet
[2012/01/05 16:30:43] <wilco> are you using separate git submodules for each module?
[2012/01/05 16:31:06] <marut> not for each yet. we have legacy working against us. we've been doing puppet since CharlieS was unix lead in theCAT
[2012/01/05 16:31:16] <marut> we're breaking modules out one by one as I get free time
[2012/01/05 16:31:21] <marut> that is, not very quickly ;)
[2012/01/05 16:31:52] @ wilmoore_ joined channel #puppet
[2012/01/05 16:31:53] <marut> right now most of our modules are in a monolithic repo with dynamic branch-based environments
[2012/01/05 16:32:04] <marut> the repo has maybe 5 or 6 submodules so far
[2012/01/05 16:32:16] <Hunner> You can have two dirs in your $modulepath; one for all-in-one-repo modules, and one where each module is a submodule
[2012/01/05 16:32:23] <wilco> yeah, we're still actually making modules for stuff that he & mattw did
[2012/01/05 16:32:26] <Hunner> that way they don't all have to be git'ized
[2012/01/05 16:32:53] @ Quit: tmclaugh: Excess Flood
[2012/01/05 16:33:00] <marut> s/git'ized/git submodularized/ ? :)
[2012/01/05 16:33:28] <Hunner> Well you have to git'ize them before they can be submodularized
[2012/01/05 16:33:56] <marut> heh; everything ever should be in git. or some kind of revision control. anything else is just terrifying. ;)
[2012/01/05 16:34:02] <Hunner> submodules are kind of a pain to deal with though :(
[2012/01/05 16:34:39] <marut> yeah, that's the downside. Pro: ease of access control, sharing, plugging in modules from github, elsewhere. Con: additional complexity and learning.
[2012/01/05 16:34:41] <Hunner> You hack/commit, then have to commit your commits
[2012/01/05 16:34:57] @ Quit: wilmoore: Ping timeout: 240 seconds
[2012/01/05 16:35:17] <Hunner> But git puppet environments = win
[2012/01/05 16:35:57] @ mbrannigan joined channel #puppet
[2012/01/05 16:36:15] <marut> ...and hey, you should keep up the legacy. I'm pretty sure PSU was the first org spotted using dynamic environments.
[2012/01/05 16:36:35] <marut> and we are the inspiration behind both of those blog posts ;)
[2012/01/05 16:36:52] <Hunner> Yeah. I've set a few customers up with your setup
[2012/01/05 16:37:03] <marut> Hunner++
[2012/01/05 16:37:13] <Asako> will a SIGHUP make puppet reread it's config file?
[2012/01/05 16:37:14] <marut> adrient++ too
[2012/01/05 16:37:53] <mbrannigan> i have a variable set $server_environment which i'll be using in a module to include a particular config. This syntax doesn't seem to be valid: http://pastebin.com/fPE6349z
[2012/01/05 16:38:13] @ ali3n0 joined channel #puppet
[2012/01/05 16:38:38] <adrient> marut++
[2012/01/05 16:39:04] @ Quit: wilmoore_: Remote host closed the connection
[2012/01/05 16:39:10] @ Quit: cparedes: Remote host closed the connection
[2012/01/05 16:39:29] @ wilmoore joined channel #puppet
[2012/01/05 16:39:49] <Hunner> Asako: the daemon should stat its puppet.conf every few seconds, so it shouldn't need a hup... but it should make it reread it yes
[2012/01/05 16:40:06] <nlew> Asako: SIGHUP looks like it will entirely re-exec the agent.
[2012/01/05 16:40:19] <Asako> ok
[2012/01/05 16:40:27] @ PotatoRape joined channel #puppet
[2012/01/05 16:40:38] <Asako> yeah, I didn't even need to signal it
[2012/01/05 16:40:58] <Hunner> mbrannigan: afaik you can't use regexes in cases. You can in 'if' statements though
[2012/01/05 16:41:15] <mbrannigan> ah :)
[2012/01/05 16:41:53] <elasticdog> with `if $puppetversion < 2.6` in a manifest, I'm getting a "comparison of String with Float" error and can't figure out why
[2012/01/05 16:42:04] @ Quit: lborda: Quit: Ex-Chat
[2012/01/05 16:42:07] <elasticdog> doesn't matter if I quote 2.6 or not
[2012/01/05 16:42:20] @ lborda joined channel #puppet
[2012/01/05 16:42:44] @ cliff-hm joined channel #puppet
[2012/01/05 16:42:46] <Hunner> I bet < doesn't work with strings
[2012/01/05 16:43:14] <nlew> It does, but doesn't work on numbers compared against strings
[2012/01/05 16:43:35] <charlieS> marut: in my defense, modules didn't even exist back then :P
[2012/01/05 16:43:48] <elasticdog> how would I compare versions that might have minor values as well, e.g. 2.6.1
[2012/01/05 16:43:52] * Hunner is wrong. it does
[2012/01/05 16:43:59] <nlew> and puppet doesn't fall back to the string representation of the number in this case :/
[2012/01/05 16:44:04] <joe-mac> elasticdog: Hunner is right
[2012/01/05 16:44:12] @ Quit: Asako: Quit: Client exiting
[2012/01/05 16:44:15] <joe-mac> or a mix of hunner and nlew heh
[2012/01/05 16:44:17] <Hunner> < > do alphabetic ordering
[2012/01/05 16:44:18] <joe-mac> ran into this the othr day
[2012/01/05 16:44:23] <nlew> I think this could be called a bug, I'm not sure
[2012/01/05 16:44:29] <joe-mac> meh I disagree
[2012/01/05 16:44:34] <wilco> versioncmp maybe?
[2012/01/05 16:44:35] <marut> charlieS: I know. And I laud you guys for choosing puppet. Not your fault best practice didn't exist back then ;)
[2012/01/05 16:44:35] <joe-mac> I want an error if I try comparing string and number
[2012/01/05 16:44:55] <Hunner> elasticdog: version comparison is a non-trivial thing. I'd look for a version comparison ruby lib and write a custom puppet function
[2012/01/05 16:45:01] <wilco> http://docs.puppetlabs.com/references/stable/function.html#versioncmp
[2012/01/05 16:45:27] <wilco> Hopefully it handles at least $puppetversion correctly :)
[2012/01/05 16:45:38] <nlew> wilco: elasticdog: heh that should do it
[2012/01/05 16:45:40] <elasticdog> awesome, that looks like exactly what I'd need
[2012/01/05 16:45:45] <mbrannigan> hmm... i'm still getting a parsing error ':'; expected '}'
[2012/01/05 16:45:55] <eric0> Hunner: regex in cases? A OK since 0.25
[2012/01/05 16:46:16] <Hunner> whoa, I didn't know about versioncmp() :)
[2012/01/05 16:46:18] <eric0> sorry just saw that in scrollback
[2012/01/05 16:46:32] <nlew> eric0: You can do case /foo/ { x => y }, but not case foo { /x/ => y }
[2012/01/05 16:46:48] <nlew> Err, x: {y} I guess :P
[2012/01/05 16:47:08] @ seanh-ansca joined channel #puppet
[2012/01/05 16:47:23] @ Quit: motomike: Remote host closed the connection
[2012/01/05 16:47:31] <nlew> eric0: just kidding! I can't read apparently
[2012/01/05 16:47:33] <eric0> case foo { /x/: a /y/: b } absolutely works
[2012/01/05 16:47:50] <nlew> I'm entirely backward on that one heh
[2012/01/05 16:47:56] <mbrannigan> Hunner: here's what I'm getting... http://pastebin.com/v8SsfR8n
[2012/01/05 16:48:19] <gepetto> ::redmine:: Wiki edit: Internal_Development_Process (#85) @ http://projects.puppetlabs.com/projects/puppet/wiki/Internal_Development_Process?version=85 (by Jeff McCune)
[2012/01/05 16:48:33] <mbrannigan> can include statements have variables in them?
[2012/01/05 16:48:43] @ motomike joined channel #puppet
[2012/01/05 16:49:21] <eric0> yes but they need to be like this include("foo::${bar}::baz")
[2012/01/05 16:50:59] @ skm joined channel #puppet
[2012/01/05 16:51:04] <elasticdog> wilco: thanks, that did the trick!
[2012/01/05 16:52:00] <mbrannigan> eric0: indeed they do... worked great! thanks
[2012/01/05 16:52:31] <wilco> cool
[2012/01/05 16:52:49] <gepetto> ::redmine:: Wiki edit: Internal_Development_Process (#86) @ http://projects.puppetlabs.com/projects/puppet/wiki/Internal_Development_Process?version=86 (by Jeff McCune)
[2012/01/05 16:53:24] @ Quit: kangman: Remote host closed the connection
[2012/01/05 16:56:20] @ newtMcKerr joined channel #puppet
[2012/01/05 16:57:04] @ shawns|work joined channel #puppet
[2012/01/05 16:58:05] <ablew> so i'm having an issue where i can't use puppet.domain for my clients
[2012/01/05 16:58:38] <ablew> if i pass --server=fqdn to the clients they're able to check in, but if they juse use the CNAME I get err: Could not retrieve catalog from remote server: hostname not match with the server certificate
[2012/01/05 16:58:49] <ablew> do I need to do something fancy with the certificate on the puppetmaster?
[2012/01/05 16:59:40] @ cparedes joined channel #puppet
[2012/01/05 17:01:14] @ Quit: teddymills: Remote host closed the connection
[2012/01/05 17:01:38] @ Quit: sdog: Quit: Leaving.
[2012/01/05 17:04:28] @ Quit: joe-mac: Remote host closed the connection
[2012/01/05 17:04:31] <eric0> ablew: the puppetmaster cert needs to have all the names that clients might use to contact it in its subjectAltName attributes
[2012/01/05 17:05:11] <ablew> eric0: makes sense...can I add additional names to the cert or do I have to generate a new one?
[2012/01/05 17:05:18] <eric0> ablew: the best way to make that happen is to use 'puppet cert generate --certdnsnames=puppet:puppet.subdomain:other-cname1:cname2 realhostname.domain.com'
[2012/01/05 17:05:29] @ nkts joined channel #puppet
[2012/01/05 17:05:37] @ Quit: PotatoRape: Remote host closed the connection
[2012/01/05 17:06:01] <ablew> eric0: thanks!
[2012/01/05 17:06:08] <tty00> is it possible to change puppetmasterd port on commandline?
[2012/01/05 17:06:36] <nlew> tty00: use --masterport
[2012/01/05 17:06:46] <tty00> nlew: thank you!
[2012/01/05 17:07:23] @ Quit: uphillian: Quit: Leaving.
[2012/01/05 17:08:47] <agaffney> eric0: isn't --certdnsnames gone in 2.6.12+?
[2012/01/05 17:09:04] <agaffney> or does it still work when using 'puppetca generate'?
[2012/01/05 17:09:24] <agaffney> I was wondering about that, because I rely on that to generate master certs in my multi-master setup
[2012/01/05 17:10:05] @ matchaw___ joined channel #puppet
[2012/01/05 17:10:16] @ Quit: matchaw_: Ping timeout: 240 seconds
[2012/01/05 17:10:33] <ablew> agaffney: just noticed that actually
[2012/01/05 17:12:36] @ Quit: brandon_dacrib: Remote host closed the connection
[2012/01/05 17:12:40] @ Quit: freezey: Quit: freezey
[2012/01/05 17:12:56] @ Quit: benkevan: Read error: Connection reset by peer
[2012/01/05 17:14:01] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2012/01/05 17:14:41] @ nul0op joined channel #puppet
[2012/01/05 17:15:54] @ Quit: JayTaph: Quit: JayTaph
[2012/01/05 17:17:31] @ quit (seeya)
[2012/01/05 17:20:56] @ Joined channel #puppet
[2012/01/05 17:20:56] @ Topic is "Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 and 2.6.13 available at downloads.puppetlabs.com yum.puppetlabs.com apt.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A | December Newsletter http://bit.ly/nl11-12"
[2012/01/05 17:20:56] @ Topic set by stahnma!~stahnma@fedora/stahnma on Fri Dec 30 19:50:33 -0500 2011
[2012/01/05 17:21:13] @ Mode +Ccnt by lindbohm.freenode.net
[2012/01/05 17:22:11] @ gunk joined channel #puppet
[2012/01/05 17:22:40] @ Quit: lusis: Remote host closed the connection
[2012/01/05 17:22:41] @ Quit: mattswe: Remote host closed the connection
[2012/01/05 17:23:01] @ Quit: geekbri: Remote host closed the connection
[2012/01/05 17:23:36] @ Djelibeybi joined channel #puppet
[2012/01/05 17:23:40] @ Quit: ali3n0: Quit: Leaving.
[2012/01/05 17:24:30] @ mattswe joined channel #puppet
[2012/01/05 17:25:34] @ aculich joined channel #puppet
[2012/01/05 17:27:10] @ Quit: booi: Quit: Leaving
[2012/01/05 17:28:13] @ lusis joined channel #puppet
[2012/01/05 17:28:33] @ Quit: labrown: Quit: Leaving
[2012/01/05 17:29:58] @ pcarlisle joined channel #puppet
[2012/01/05 17:31:28] @ noakes_ joined channel #puppet
[2012/01/05 17:32:12] @ Quit: pcarlisle: Client Quit
[2012/01/05 17:33:54] @ Quit: noakes: Ping timeout: 268 seconds
[2012/01/05 17:33:54] @ noakes_ is now known as noakes
[2012/01/05 17:36:20] @ luckman212_ joined channel #puppet
[2012/01/05 17:37:02] @ Quit: noakes: Remote host closed the connection
[2012/01/05 17:37:20] @ noakes joined channel #puppet
[2012/01/05 17:39:09] @ Quit: luckman212: Ping timeout: 240 seconds
[2012/01/05 17:39:19] @ Quit: Guest56492: Quit: Thanks for the fish.
[2012/01/05 17:40:32] @ Quit: gazoombo: Quit: Leaving.
[2012/01/05 17:40:48] @ mosen joined channel #puppet
[2012/01/05 17:40:59] @ Quit: marczak: Ping timeout: 252 seconds
[2012/01/05 17:41:12] @ chadskidmore joined channel #puppet
[2012/01/05 17:43:18] @ ghg joined channel #puppet
[2012/01/05 17:45:51] @ kolla joined channel #puppet
[2012/01/05 17:50:11] @ gazoombo joined channel #puppet
[2012/01/05 17:52:20] @ mygirlllllll joined channel #puppet
[2012/01/05 17:52:42] * mygirlllllll my last video http://adf.ly/4XCtS
[2012/01/05 17:53:08] @ Quit: katfallond: Quit: katfallond
[2012/01/05 17:53:56] @ Mode +o Volcane by ChanServ
[2012/01/05 17:54:01] @ mygirlllllll has been kicked from #puppet by Volcane (mygirlllllll)
[2012/01/05 17:54:08] @ Quit: garethr: Remote host closed the connection
[2012/01/05 17:54:10] @ Quit: arnihermann: Read error: Connection reset by peer
[2012/01/05 17:54:10] @ Quit: WALoeIII: Read error: Connection reset by peer
[2012/01/05 17:54:11] @ Quit: bk_one: Remote host closed the connection
[2012/01/05 17:54:11] @ Quit: mattswe: Remote host closed the connection
[2012/01/05 17:54:12] @ Quit: wolfeidau: Read error: Connection reset by peer
[2012/01/05 17:54:13] @ Quit: lusis: Read error: Connection reset by peer
[2012/01/05 17:54:13] @ Quit: cparedes: Read error: Connection reset by peer
[2012/01/05 17:54:14] @ Quit: devicenull: Remote host closed the connection
[2012/01/05 17:54:15] @ Quit: tswicegood: Remote host closed the connection
[2012/01/05 17:54:15] @ Quit: kesor: Remote host closed the connection
[2012/01/05 17:54:15] @ maxmartin joined channel #puppet
[2012/01/05 17:55:39] @ Quit: fronlius: Quit: fronlius
[2012/01/05 17:56:22] @ mattswe joined channel #puppet
[2012/01/05 17:56:39] @ garethr joined channel #puppet
[2012/01/05 17:56:59] <haus> fast reaction time
[2012/01/05 17:57:25] @ bk_one joined channel #puppet
[2012/01/05 17:57:55] <eric0> i thought that was legit #puppet issue
[2012/01/05 17:57:58] @ kesor joined channel #puppet
[2012/01/05 17:58:37] <tessier> Why does puppet keep recopying these files every few days saying they changed? I am monitoring the source files and they are not changing.
[2012/01/05 18:00:27] @ cparedes joined channel #puppet
[2012/01/05 18:00:51] @ muhdiekuh joined channel #puppet
[2012/01/05 18:01:10] <jorhett> are they binary files?
[2012/01/05 18:01:19] <jorhett> might be being optimized nightly
[2012/01/05 18:01:42] <jorhett> on centos it's at 4am by default cron :)
[2012/01/05 18:01:49] <tessier> Ah.. hmm...they are binary.
[2012/01/05 18:01:56] <tessier> But the timestamps on the files are not changing.
[2012/01/05 18:02:05] <tessier> And wouldn't they be optimized once and then left alone?
[2012/01/05 18:02:19] <jorhett> yes, but the optimized version won't match on one system to another
[2012/01/05 18:02:22] <tessier> Or at least not changed anymore?
[2012/01/05 18:02:26] <jorhett> so they get recopied, then reoptimized
[2012/01/05 18:02:30] <Hunner> ah hah :)
[2012/01/05 18:02:35] <tessier> ah..hmm.
[2012/01/05 18:02:36] <jorhett> unless you set replace => false
[2012/01/05 18:02:54] <jorhett> we decided to avoid copying binaries
[2012/01/05 18:03:06] <tessier> I should probably avoid that also. I should rpm these.
[2012/01/05 18:03:14] <tessier> jorhett: Do you rpm them? Or build them locally somehow?
[2012/01/05 18:03:17] <jorhett> the other choice is to disable prelink
[2012/01/05 18:03:35] <jorhett> in our case it was someone being lazy about copying a directory structure
[2012/01/05 18:03:40] @ devicenull joined channel #puppet
[2012/01/05 18:03:46] <jorhett> they just wanted config file changes, didn't actually need binary changes
[2012/01/05 18:04:58] @ Quit: gazoombo: Quit: Leaving.
[2012/01/05 18:05:33] @ Quit: blentz: Ping timeout: 252 seconds
[2012/01/05 18:06:26] @ Quit: skm: Ping timeout: 276 seconds
[2012/01/05 18:06:28] @ WALoeIII joined channel #puppet
[2012/01/05 18:06:32] @ halcyonCorsair left channel #puppet ("http://quassel-irc.org - Chat comfortably. Anywhere.")
[2012/01/05 18:06:54] @ wolfeidau joined channel #puppet
[2012/01/05 18:09:38] @ pcarlisle joined channel #puppet
[2012/01/05 18:09:55] @ Quit: mbrannigan: Quit: Leaving
[2012/01/05 18:10:54] @ coogle joined channel #puppet
[2012/01/05 18:11:31] <coogle> I have a question -- I need to from a puppet client define a variable used in manifests located on a separate puppet master
[2012/01/05 18:11:38] <coogle> how can I do that?
[2012/01/05 18:12:01] <agaffney> custom fact
[2012/01/05 18:12:32] <coogle> I'm really not use how to use that stuff, the documentation is sort of confusing for someone who doesn't use ruby at all
[2012/01/05 18:12:34] <tessier> jorhett: Thanks for the prelink clue. I've been wondering why this has been happening for months.:)
[2012/01/05 18:12:48] <coogle> agaffney: can you give me a link to a really straightforward example of using it?
[2012/01/05 18:13:12] <coogle> or otherwise provide one? I really just need to set a simple string
[2012/01/05 18:13:39] <nfagerlund> coogle: If you use the stdlib module (https://github.com/puppetlabs/puppetlabs-stdlib/), you can make custom facts with no code.
[2012/01/05 18:13:55] <nfagerlund> coogle: by basically just putting a file in a directory on the node.
[2012/01/05 18:15:03] <coogle> nfagerlund: okay that's pretty useful. Now to figure out how to use stdlib
[2012/01/05 18:15:59] <nfagerlund> coogle: Since the "super-fact" that lets you make those facts gets distributed to clients via pluginsync, you just have to put the module in your puppet master's modulepath. You don't even have to reference it in your manifests.
[2012/01/05 18:16:11] <eric0> hi nfagerlund --i made a little change for something that's bugged me on the doc mainpage for a while, what do you think?
[2012/01/05 18:16:17] <nfagerlund> coogle: Just download it, rename it from "puppetlabs-stdlib" to "stdlib", and you should be good to go.
[2012/01/05 18:16:22] <coogle> nfagerlund: so just download this thing and put it in /etc/pupppet/modules/stdlib
[2012/01/05 18:16:25] <coogle> ?
[2012/01/05 18:16:46] <eric0> (pull request email came through a few minutes ago)
[2012/01/05 18:16:47] <nfagerlund> coogle: Yup.
[2012/01/05 18:16:57] <coogle> nfagerlund: sweet. I'll give it a shot
[2012/01/05 18:17:52] <nfagerlund> eric0: Oh hey, good catch. Will merge, thanks.
[2012/01/05 18:19:34] @ skm joined channel #puppet
[2012/01/05 18:19:44] @ Quit: the_ramink: Ping timeout: 244 seconds
[2012/01/05 18:20:00] @ the_ramink joined channel #puppet
[2012/01/05 18:20:51] <eric0> cool, thank you
[2012/01/05 18:21:26] @ Quit: Prometheus: Ping timeout: 248 seconds
[2012/01/05 18:22:23] @ Quit: jab_doa: Quit: Verlassend
[2012/01/05 18:22:48] @ arnihermann joined channel #puppet
[2012/01/05 18:22:51] @ Quit: st33v: Quit: st33v
[2012/01/05 18:23:08] @ Quit: lborda: Quit: Ex-Chat
[2012/01/05 18:26:17] @ Prometheus joined channel #puppet
[2012/01/05 18:27:07] @ tswicegood joined channel #puppet
[2012/01/05 18:31:44] @ benkevan joined channel #puppet
[2012/01/05 18:32:09] @ Quit: chjohnst: Quit: My damn controlling terminal disappeared!
[2012/01/05 18:32:18] @ wilmoore_ joined channel #puppet
[2012/01/05 18:32:36] @ Quit: jbarratt: Ping timeout: 240 seconds
[2012/01/05 18:32:55] @ Quit: luckman212_: Remote host closed the connection
[2012/01/05 18:34:37] @ Quit: garethr: Remote host closed the connection
[2012/01/05 18:36:05] @ Quit: wilmoore: Ping timeout: 255 seconds
[2012/01/05 18:39:09] @ garethr joined channel #puppet
[2012/01/05 18:39:15] @ jbarratt joined channel #puppet
[2012/01/05 18:40:52] @ Quit: vata: Quit: Leaving.
[2012/01/05 18:41:45] @ Quit: chadskidmore: Quit: Computer has gone to sleep.
[2012/01/05 18:42:14] @ tizzo is now known as tizzo-afk
[2012/01/05 18:43:31] @ elguero joined channel #puppet
[2012/01/05 18:44:56] <coogle> nfagerlund: How do I know if stdlib loaded?
[2012/01/05 18:46:43] <nfagerlund> coogle: try running puppet agent --test on the node. you should see a line like the following:
[2012/01/05 18:46:47] <nfagerlund> info: Loading facts in facter_dot_d
[2012/01/05 18:47:23] <coogle> nfagerlund: right now I'm running it locally off a local set of scripts
[2012/01/05 18:47:46] @ Quit: teratoma: Ping timeout: 260 seconds
[2012/01/05 18:47:47] <coogle> nfagerlund: puppet --modulepath="/home/id/puppet/modules" "/home/id/puppet/manifests/site.pp"
[2012/01/05 18:48:17] @ teratoma joined channel #puppet
[2012/01/05 18:48:33] <nfagerlund> coogle: ah. Add the --verbose flag, hopefully you'll see that same info: line.
[2012/01/05 18:48:54] <coogle> nfagerlund: okay it's loading, but my facts don't seem to be
[2012/01/05 18:49:15] <coogle> nfagerlund: I have a /etc/facts.d/facts.json with two facts, one is id_branch
[2012/01/05 18:49:25] <coogle> and i'm referencing it in the manifest as $::id_branch
[2012/01/05 18:49:32] <coogle> but I'm getting an undef
[2012/01/05 18:49:49] @ Quit: muhdiekuh: Quit: muhdiekuh
[2012/01/05 18:50:26] @ Quit: xet7: Quit: Lähdössä
[2012/01/05 18:50:44] <nfagerlund> coogle: huh, odd. I'm not sure what to do about that. Try it with the plaintext format, see if that works?
[2012/01/05 18:51:03] @ Quit: jodok: Quit: jodok
[2012/01/05 18:51:38] @ Quit: negronjl: Read error: Operation timed out
[2012/01/05 18:52:34] <coogle> nfagerlund: nope didn't help :(
[2012/01/05 18:53:04] <coogle> i have /etc/facts.d/facts.txt
[2012/01/05 18:53:11] <coogle> and two lines.. id_branch=development is one of the lines
[2012/01/05 18:53:27] @ negronjl joined channel #puppet
[2012/01/05 18:53:32] <coogle> and then I have a selector in a class..
[2012/01/05 18:53:42] <coogle> $foo = $::id_branch ? { ... }
[2012/01/05 18:54:00] <coogle> and i'm getting a "no matching value for selcetor param 'undef'
[2012/01/05 18:54:01] @ cosman2001 joined channel #puppet
[2012/01/05 18:54:25] @ rems joined channel #puppet
[2012/01/05 18:55:02] <cosman2001> hey, I am seeiing bug #1958 with puppet 2.7.9 on rhel5.7 x86 and ruby 1.8.5
[2012/01/05 18:55:03] <gepetto> cosman2001: hey: #1958 is http://projects.puppetlabs.com/issues/show/1958 "Puppet - Bug #1958: directoryservice provider sometimes seems to break the provider selection. It has a status of Duplicate and is assigned to Luke Kanies"
[2012/01/05 18:55:55] <rems> k
[2012/01/05 18:57:13] <cosman2001> it may be keeping my puppet run from finishing
[2012/01/05 18:57:18] <coogle> nfagerlund: figured it out
[2012/01/05 18:57:34] <coogle> nfagerlund: the issue is the stand-alone fact loading thing used by stdlib looks in /etc/facts.d/
[2012/01/05 18:57:38] <nfagerlund> coogle: ooh! what was it? (<-- couldn't figure it out)
[2012/01/05 18:57:43] <coogle> but the stdlib version uses /etc/facter/facts.d/
[2012/01/05 18:57:58] <nfagerlund> oh! so the documentation was off. Darn.
[2012/01/05 18:58:04] <coogle> nfagerlund: not really
[2012/01/05 18:58:07] <coogle> http://forge.puppetlabs.com/puppetlabs/stdlib/2.2.1
[2012/01/05 18:58:13] <coogle> is correct, which is what I should have read
[2012/01/05 18:58:27] <coogle> but I was looking at the stand alone module that isn't a part of stdlib https://github.com/ripienaar/facter-facts/tree/master/facts-dot-d#readme
[2012/01/05 18:58:34] @ Quit: cmoates: Quit: Leaving
[2012/01/05 18:58:55] @ noakes_ joined channel #puppet
[2012/01/05 18:59:01] <nfagerlund> Oh, okay, gotcha. Yeah, that's distracting because you have to go there to see the fact formats, but it doesn't use the same directory.
[2012/01/05 18:59:20] <nfagerlund> Well cool. So will this let you do what you were trying to do, now that you've got it working
[2012/01/05 18:59:24] <nfagerlund> ?
[2012/01/05 18:59:34] <coogle> yep i think so
[2012/01/05 18:59:35] @ Quit: Wolfspyre: Quit: Leaving.
[2012/01/05 18:59:42] <coogle> simplifies a lot of what i was trying to do actually
[2012/01/05 19:00:01] <coogle> I'll have to refactor my manifests now to really use this to its full potential
[2012/01/05 19:00:04] <coogle> because I had a lot of hacks
[2012/01/05 19:01:08] @ hal-j joined channel #puppet
[2012/01/05 19:01:09] @ Quit: noakes: Ping timeout: 240 seconds
[2012/01/05 19:01:09] @ noakes_ is now known as noakes
[2012/01/05 19:01:09] @ Quit: zwi: Ping timeout: 240 seconds
[2012/01/05 19:04:32] @ Quit: ghg: Ping timeout: 252 seconds
[2012/01/05 19:04:50] @ Quit: gniks: Quit: Leaving.
[2012/01/05 19:05:24] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/01/05 19:06:51] @ ghg joined channel #puppet
[2012/01/05 19:07:47] @ Quit: swygue: Ping timeout: 244 seconds
[2012/01/05 19:08:22] @ gazoombo joined channel #puppet
[2012/01/05 19:08:24] @ Quit: gazoombo: Client Quit
[2012/01/05 19:09:23] @ rems left channel #puppet ()
[2012/01/05 19:10:26] @ Quit: neonflux: Quit: Leaving.
[2012/01/05 19:10:46] @ Quit: noakes: Quit: noakes
[2012/01/05 19:12:04] @ skm joined channel #puppet
[2012/01/05 19:13:01] @ Quit: Reepicheep: Quit: Ex-Chat
[2012/01/05 19:13:06] @ hfnix joined channel #puppet
[2012/01/05 19:15:30] @ Quit: aculich: Remote host closed the connection
[2012/01/05 19:15:37] @ noakes joined channel #puppet
[2012/01/05 19:18:49] @ Quit: DJClean: Read error: Operation timed out
[2012/01/05 19:26:31] @ Quit: emmanuelux: Remote host closed the connection
[2012/01/05 19:27:49] @ Quit: ghg: Ping timeout: 240 seconds
[2012/01/05 19:27:53] @ Quit: willaerk: Read error: Operation timed out
[2012/01/05 19:29:05] @ Quit: benkevan: Quit: leaving
[2012/01/05 19:29:32] @ Quit: seanh-ansca: Quit: Leaving.
[2012/01/05 19:32:05] @ Quit: newt: Quit: gone with a wind
[2012/01/05 19:32:13] @ wallblom joined channel #puppet
[2012/01/05 19:32:28] @ Quit: lak: Quit: Leaving.
[2012/01/05 19:34:13] @ rubic joined channel #puppet
[2012/01/05 19:37:39] @ tmclaugh joined channel #puppet
[2012/01/05 19:40:15] @ Wolfspyre joined channel #puppet
[2012/01/05 19:40:51] @ ghg joined channel #puppet
[2012/01/05 19:42:38] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2012/01/05 19:43:19] @ Quit: noakes: Quit: noakes
[2012/01/05 19:44:10] <elasticdog> I'm wanting to mirror apt.puppetlabs.com, but am not sure what package I should pull via rsync (a little confused by what's there and this thread: http://is.gd/TCaUFp)
[2012/01/05 19:44:42] @ noakes joined channel #puppet
[2012/01/05 19:46:01] <elasticdog> rsync://apt.puppetlabs.com/packages/apt gets everything, but it seems like a bit of a mess...does anyone know what is going to be updated going forward?
[2012/01/05 19:47:43] @ rcrowley joined channel #puppet
[2012/01/05 19:50:32] @ Spads_ joined channel #puppet
[2012/01/05 19:51:14] @ Quit: rcrowley: Client Quit
[2012/01/05 19:51:28] @ rcrowley joined channel #puppet
[2012/01/05 19:52:59] @ Quit: paxos: Quit: Leaving.
[2012/01/05 19:53:23] @ Quit: basic`: Quit: ZNC - http://znc.in
[2012/01/05 19:53:53] @ Quit: ken_barber: Quit: Leaving.
[2012/01/05 19:53:55] @ Quit: benjiedmund: Remote host closed the connection
[2012/01/05 19:54:02] @ Quit: Spads: Ping timeout: 252 seconds
[2012/01/05 19:55:17] @ basic` joined channel #puppet
[2012/01/05 19:55:21] <cosman2001> does puppet enterprise 2.0 have a api for 3rd party tools to integrate with?
[2012/01/05 19:55:31] @ williemach left channel #puppet ()
[2012/01/05 19:55:35] <gepetto> ::redmine:: Wiki edit: Bootstrapping_With_Puppet (#1) @ http://projects.puppetlabs.com/projects/puppet/wiki/Bootstrapping_With_Puppet?version=1 (by Nick Fagerlund)
[2012/01/05 19:55:55] @ tizzo-afk is now known as tizzo
[2012/01/05 19:56:16] @ Quit: dan__t: Ping timeout: 276 seconds
[2012/01/05 19:58:04] @ tmclaugh_ joined channel #puppet
[2012/01/05 19:59:47] @ Quit: tmclaugh: Ping timeout: 255 seconds
[2012/01/05 19:59:47] @ tmclaugh_ is now known as tmclaugh
[2012/01/05 19:59:49] @ Maliuta joined channel #puppet
[2012/01/05 20:04:23] @ Quit: newtMcKerr: Quit: Leaving.
[2012/01/05 20:04:43] @ freezey joined channel #puppet
[2012/01/05 20:04:44] @ gniks joined channel #puppet
[2012/01/05 20:05:06] @ Quit: ianbrandt: Quit: ianbrandt
[2012/01/05 20:08:55] @ Quit: langworthy: Quit: langworthy
[2012/01/05 20:11:51] @ Quit: nfagerlund: Remote host closed the connection
[2012/01/05 20:13:48] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2012/01/05 20:14:23] @ Quit: alanevans: Remote host closed the connection
[2012/01/05 20:14:24] @ Quit: MrBIOS: Ping timeout: 252 seconds
[2012/01/05 20:16:35] @ Quit: wilmoore_: Remote host closed the connection
[2012/01/05 20:17:20] @ kmscherer joined channel #puppet
[2012/01/05 20:17:45] @ tizzo is now known as tizzo-afk
[2012/01/05 20:17:57] @ Quit: kmscherer: Remote host closed the connection
[2012/01/05 20:19:04] @ Quit: freezey: Quit: freezey
[2012/01/05 20:20:24] @ checkers joined channel #puppet
[2012/01/05 20:21:15] <checkers> what's the standard syntax to instantiate a define when you don't want to pass any parameters? just foo:bar { "foobar": }
[2012/01/05 20:22:20] <shawns|work> modulename::definename { "bla": }
[2012/01/05 20:26:46] <checkers> thanks
[2012/01/05 20:28:39] @ Quit: cwarden: Ping timeout: 240 seconds
[2012/01/05 20:29:20] <stahnma> cosman2001: yes for the most part. Depends on exactly what you want to do
[2012/01/05 20:29:37] <stahnma> cosman2001: you might talk to teyo (teyo at puppetlabs.com)
[2012/01/05 20:30:23] @ seanh-ansca joined channel #puppet
[2012/01/05 20:31:05] @ leifmadsen joined channel #puppet
[2012/01/05 20:33:01] @ gazoombo joined channel #puppet
[2012/01/05 20:35:44] @ Quit: `Kevin: Ping timeout: 240 seconds
[2012/01/05 20:37:22] @ `Kevin joined channel #puppet
[2012/01/05 20:38:36] @ Quit: gazoombo: Ping timeout: 240 seconds
[2012/01/05 20:38:46] @ gazoombo joined channel #puppet
[2012/01/05 20:41:47] @ Quit: djm68: Remote host closed the connection
[2012/01/05 20:43:15] <cosman2001> stahnma, anything documented?
[2012/01/05 20:46:25] @ newtMcKerr joined channel #puppet
[2012/01/05 20:47:30] @ Quit: comptona: Ping timeout: 255 seconds
[2012/01/05 20:49:14] @ Quit: leifmadsen: Quit: This is how I roll; animal print pants outta control!
[2012/01/05 20:53:11] @ Quit: the_ramink: Ping timeout: 244 seconds
[2012/01/05 20:54:16] @ Spads joined channel #puppet
[2012/01/05 20:54:40] <jorhett> Hmmmm.
[2012/01/05 20:54:55] <eric0> cosman2001: http://docs.puppetlabs.com/guides/rest_api.html ??
[2012/01/05 20:55:06] <jorhett> Okay, so the dashboard gets upset if you use a real valid SSL certificate
[2012/01/05 20:55:29] @ alanevans joined channel #puppet
[2012/01/05 20:55:54] @ Quit: Maliuta: Remote host closed the connection
[2012/01/05 20:56:18] @ Maliuta joined channel #puppet
[2012/01/05 20:56:50] <duey> does anyone know of a library that provides a bunch of general additional functions in puppet?
[2012/01/05 20:56:56] @ Quit: mrwacky42: Ping timeout: 240 seconds
[2012/01/05 20:56:57] @ Quit: Spads_: Ping timeout: 240 seconds
[2012/01/05 20:56:58] <duey> string functions etc
[2012/01/05 20:56:59] <jorhett> stdlib ?
[2012/01/05 20:58:03] @ Quit: jimby: Ping timeout: 255 seconds
[2012/01/05 20:58:47] <duey> sweet thanks
[2012/01/05 20:59:38] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2012/01/05 21:07:32] @ root_ joined channel #puppet
[2012/01/05 21:11:07] @ langworthy joined channel #puppet
[2012/01/05 21:11:42] @ neonflux joined channel #puppet
[2012/01/05 21:16:34] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/01/05 21:18:17] @ djm68 joined channel #puppet
[2012/01/05 21:19:08] @ Quit: gniks: Quit: Leaving.
[2012/01/05 21:20:04] @ Stuttergart_ joined channel #puppet
[2012/01/05 21:20:49] <Stuttergart_> Trying to script a backup of my Puppet Enterprise demo server. Does anyone have a pointer to a document that lists all of the things that should be backed up for DR? MySQL databases certainly. And...
[2012/01/05 21:21:36] <nevyn> Stuttergart_: it doesn't self-host?
[2012/01/05 21:21:48] @ erkules|away joined channel #puppet
[2012/01/05 21:22:34] <Stuttergart_> nevyn: self host?
[2012/01/05 21:23:02] <nevyn> we use puppet to build puppetmasters.
[2012/01/05 21:23:28] <nevyn> so you build a really naieve puppetmaster and then immediately have puppet reconfigure it to be "right"
[2012/01/05 21:23:38] @ gniks joined channel #puppet
[2012/01/05 21:23:45] <Stuttergart_> nevyn: Puppet Enterprise
[2012/01/05 21:24:02] <Stuttergart_> the workflow you describe is what I do for Open Source puppetd and puppetmasterd
[2012/01/05 21:24:06] <Stuttergart_> precisely
[2012/01/05 21:24:22] <nevyn> if pe doesn't support this I'm gonna be sad.
[2012/01/05 21:24:32] @ Quit: erkules: Ping timeout: 268 seconds
[2012/01/05 21:24:39] <Stuttergart_> but I'm testing Puppet Enterprise on AWS and, as an exercise, writing scripts to do backups for when the PE node has only ephemeral storage.
[2012/01/05 21:24:48] @ Quit: gniks: Client Quit
[2012/01/05 21:25:04] @ Quit: shanlar: Ping timeout: 240 seconds
[2012/01/05 21:25:13] <Stuttergart_> so dumping backups to S3 or similar
[2012/01/05 21:25:22] <Stuttergart_> but not sure everything that needs a backup
[2012/01/05 21:28:46] @ Quit: Djelibeybi: Read error: No route to host
[2012/01/05 21:29:24] @ Djelibey_ joined channel #puppet
[2012/01/05 21:29:31] @ Quit: kinsel: Remote host closed the connection
[2012/01/05 21:29:49] @ Quit: Djelibey_: Client Quit
[2012/01/05 21:30:04] @ Djelibeybi joined channel #puppet
[2012/01/05 21:30:04] <pdxleif> Is there a way to require => Package["libgmp", "libffi"] things that should already be installed by other stuff, that I haven't specified package { ensure=> installed} explicitly for?
[2012/01/05 21:30:09] <pdxleif> Or is that bad practice?
[2012/01/05 21:30:10] @ kinsel joined channel #puppet
[2012/01/05 21:30:32] @ odoacre left channel #puppet ("Leaving")
[2012/01/05 21:30:57] <eric0> pdxleif: not quite sure what you're asking
[2012/01/05 21:33:04] <pdxleif> Maybe I just want to get an error if those libs aren't there, even though I'm 99% sure they've already been installed by apt-get as dependencies of other packages I've installed through puppet.
[2012/01/05 21:33:23] <pdxleif> Even though I havent' set up a method of providing them as a contingency.
[2012/01/05 21:34:07] <pdxleif> Like "require => Package['bash']" - pretty sure it's already gonna be there anyways.
[2012/01/05 21:35:42] <eric0> you can't require resources that you don't declare someplace, so a require=>Pakcage[libgmp] isn't going to work without a corresponding package{libgmp:} somewhere in the catalog
[2012/01/05 21:39:53] @ Quit: seanh-ansca: Quit: Leaving.
[2012/01/05 21:40:50] @ zwi joined channel #puppet
[2012/01/05 21:42:37] @ Quit: Callek: Ping timeout: 252 seconds
[2012/01/05 21:42:48] @ Callek_ joined channel #puppet
[2012/01/05 21:42:51] @ Callek_ is now known as Callek
[2012/01/05 21:48:41] @ gnufreak joined channel #puppet
[2012/01/05 21:50:28] <gnufreak> hi - I'm using puppet 2.6.2 and am trying to make use of $module_name variable that's (according to puppet's docs) set by the parser. I'm doing this by defining a test module and a test class, within which there's only one line which reads:
[2012/01/05 21:50:47] @ maxmartin joined channel #puppet
[2012/01/05 21:50:50] <gnufreak> class test { notify {"XXX ${module_name} YYY": } }
[2012/01/05 21:51:09] <gnufreak> but I'm not getting the expected "XXX test YYY"
[2012/01/05 21:51:15] @ tizzo-afk is now known as tizzo
[2012/01/05 21:51:17] <gnufreak> is there something I'm doing wrong?
[2012/01/05 21:51:34] <gnufreak> I can display $serverip the same way just fine
[2012/01/05 21:51:53] <gnufreak> and other variables - only $module_name and $caller_module_name don't work for me
[2012/01/05 21:58:03] @ Quit: tizzo: Quit: ZNC - http://znc.sourceforge.net
[2012/01/05 21:58:13] @ astrostl joined channel #puppet
[2012/01/05 22:00:36] @ Quit: choonming: Quit: Leaving
[2012/01/05 22:02:46] @ Quit: Callek: Read error: Connection reset by peer
[2012/01/05 22:03:13] @ Callek joined channel #puppet
[2012/01/05 22:04:54] @ Quit: Stenbryggen: Quit: Leaving.
[2012/01/05 22:05:25] @ Stenbryggen joined channel #puppet
[2012/01/05 22:05:56] @ Quit: bmahe: Quit: Leaving
[2012/01/05 22:06:47] @ Spads_ joined channel #puppet
[2012/01/05 22:10:10] @ Quit: Spads: Ping timeout: 268 seconds
[2012/01/05 22:13:41] @ Quit: tmclaugh: Quit: tmclaugh
[2012/01/05 22:13:47] @ jhelwig is now known as jhelwig_
[2012/01/05 22:15:02] @ jhelwig_ is now known as jhelwig
[2012/01/05 22:21:27] @ choonming joined channel #puppet
[2012/01/05 22:29:18] @ tizzo-afk joined channel #puppet
[2012/01/05 22:30:53] @ Quit: tizzo-afk: Client Quit
[2012/01/05 22:34:43] @ Quit: teratoma: Quit: leaving
[2012/01/05 22:36:55] @ Quit: langworthy: Quit: langworthy
[2012/01/05 22:39:08] @ Quit: vincent_vdk: Ping timeout: 252 seconds
[2012/01/05 22:47:04] @ the_ramink joined channel #puppet
[2012/01/05 22:48:32] @ Quit: Majestic: Ping timeout: 240 seconds
[2012/01/05 22:53:35] @ Jacky joined channel #puppet
[2012/01/05 22:54:23] @ jimby joined channel #puppet
[2012/01/05 22:55:33] @ Quit: DigitalFlux: Quit: No Ping reply in 180 seconds.
[2012/01/05 22:55:48] @ DigitalFlux joined channel #puppet
[2012/01/05 22:55:49] @ Quit: DigitalFlux: Changing host
[2012/01/05 22:55:49] @ DigitalFlux joined channel #puppet
[2012/01/05 22:56:37] @ vincent_vdk joined channel #puppet
[2012/01/05 22:59:01] @ tizzo-afk joined channel #puppet
[2012/01/05 23:01:04] @ kenperkins joined channel #puppet
[2012/01/05 23:03:10] @ bobra joined channel #puppet
[2012/01/05 23:06:52] @ dissipate joined channel #puppet
[2012/01/05 23:07:02] @ Quit: dissipate: Changing host
[2012/01/05 23:07:02] @ dissipate joined channel #puppet
[2012/01/05 23:16:28] @ rcrowley joined channel #puppet
[2012/01/05 23:16:57] @ eskp joined channel #puppet
[2012/01/05 23:17:28] @ Quit: bobra: Remote host closed the connection
[2012/01/05 23:17:35] <eskp> is anyone using puppi to deploy apps from git repos?
[2012/01/05 23:20:06] <nevyn> no.. but there are ways and means.
[2012/01/05 23:20:14] <nevyn> things like vcsrepo might help
[2012/01/05 23:20:21] @ Quit: tizzo-afk: Quit: ZNC - http://znc.sourceforge.net
[2012/01/05 23:20:27] <nevyn> but you also might consider deployment tools like capistrano
[2012/01/05 23:23:10] @ bobra joined channel #puppet
[2012/01/05 23:23:56] @ langworthy joined channel #puppet
[2012/01/05 23:24:24] @ Quit: rubic: Quit: Leaving.
[2012/01/05 23:27:27] @ freezey joined channel #puppet
[2012/01/05 23:29:02] @ Guest63552 joined channel #puppet
[2012/01/05 23:30:46] @ AshishH joined channel #puppet
[2012/01/05 23:32:58] @ Quit: Jacky: Read error: Connection reset by peer
[2012/01/05 23:33:20] @ Jacky joined channel #puppet
[2012/01/05 23:33:38] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/01/05 23:35:04] @ Quit: kelseyhightower: Quit: kelseyhightower
[2012/01/05 23:35:25] <Guest63552> what is puppet?
[2012/01/05 23:36:33] @ Quit: KaiserBeto: Quit: Leaving.
[2012/01/05 23:38:29] <dissipate> Guest63552, puppet is a configuration management tool
[2012/01/05 23:39:11] @ ben_duyujie joined channel #puppet
[2012/01/05 23:39:31] @ ben_duyujie left channel #puppet ()
[2012/01/05 23:39:56] @ Quit: freezey: Quit: freezey
[2012/01/05 23:41:34] @ Quit: dissipate: Quit: Leaving
[2012/01/05 23:43:03] @ joshkraemer joined channel #puppet
[2012/01/05 23:44:12] @ Quit: joshkraemer: Client Quit
[2012/01/05 23:44:28] @ joshkraemer joined channel #puppet
[2012/01/05 23:45:08] @ Quit: joshkraemer: Client Quit
[2012/01/05 23:46:45] @ Quit: basic`: Changing host
[2012/01/05 23:46:45] @ basic` joined channel #puppet
[2012/01/05 23:47:32] @ Quit: zwi: Quit: Leaving.
[2012/01/05 23:48:16] @ zwi joined channel #puppet
[2012/01/05 23:48:57] @ comptona joined channel #puppet
[2012/01/05 23:50:21] @ [1]Jacky joined channel #puppet
[2012/01/05 23:50:49] @ Quit: paroneayea: Ping timeout: 240 seconds
[2012/01/05 23:51:21] @ Quit: Stenbryggen: Quit: Leaving.
[2012/01/05 23:51:49] @ Stenbryggen joined channel #puppet
[2012/01/05 23:51:51] @ Quit: Jacky: Ping timeout: 248 seconds
[2012/01/05 23:51:51] @ [1]Jacky is now known as Jacky
[2012/01/05 23:54:07] @ paroneayea joined channel #puppet

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