Tuesday, 2012-02-21

[2012/02/21 00:04:34] @ Log started by gepetto
[2012/02/21 00:04:34] @ kindjal joined channel #puppet
[2012/02/21 00:05:23] @ Quit: Tobu: Ping timeout: 240 seconds
[2012/02/21 00:05:30] @ negronjl joined channel #puppet
[2012/02/21 00:05:31] <kindjal> If a node get manifest foo and bar applied to it, is there some way within class "bar" that I can detect if class "foo" is being applied too?
[2012/02/21 00:08:00] @ ezmobius joined channel #puppet
[2012/02/21 00:10:15] @ diamond^boy joined channel #puppet
[2012/02/21 00:15:13] @ Djelibeybi joined channel #puppet
[2012/02/21 00:16:03] @ Maliuta joined channel #puppet
[2012/02/21 00:18:12] @ Quit: lborda: Quit: Ex-Chat
[2012/02/21 00:21:58] @ Quit: samkottler: Remote host closed the connection
[2012/02/21 00:22:48] @ Tobu joined channel #puppet
[2012/02/21 00:23:02] @ Quit: mgw: Quit: Leaving.
[2012/02/21 00:23:16] @ samkottler joined channel #puppet
[2012/02/21 00:26:04] @ Quit: diamond^boy: Ping timeout: 260 seconds
[2012/02/21 00:26:27] @ Quit: lwhalen: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/
[2012/02/21 00:27:06] @ diamond^boy joined channel #puppet
[2012/02/21 00:27:08] @ whack is now known as notwhack
[2012/02/21 00:27:13] @ notwhack is now known as whack
[2012/02/21 00:31:38] @ djm68 joined channel #puppet
[2012/02/21 00:31:42] @ Quit: Holocaine: Ping timeout: 272 seconds
[2012/02/21 00:33:09] @ xjiujiu joined channel #puppet
[2012/02/21 00:34:15] @ kindjal left channel #puppet ()
[2012/02/21 00:37:15] @ kerframil joined channel #puppet
[2012/02/21 00:37:56] @ Quit: samkottler: Ping timeout: 276 seconds
[2012/02/21 00:40:03] @ Quit: xjiujiu: Remote host closed the connection
[2012/02/21 00:46:11] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/21 00:47:10] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2012/02/21 00:49:08] @ danblack joined channel #puppet
[2012/02/21 00:49:23] <ABK> somewhat more detailed and specific problem using puppetlabs module 'puppet-vcsrepo' http://pastie.org/3425099
[2012/02/21 00:49:27] <ABK> http://pastie.org/3425099
[2012/02/21 00:49:58] @ nevyn joined channel #puppet
[2012/02/21 00:51:44] @ Quit: diamond^boy: Ping timeout: 260 seconds
[2012/02/21 00:53:26] @ samkottler joined channel #puppet
[2012/02/21 00:57:36] @ noyb_ is now known as noyb
[2012/02/21 00:59:08] @ Quit: caofg: Quit: 离开
[2012/02/21 01:02:46] @ Quit: loganspencer: Quit: Computer has gone to sleep.
[2012/02/21 01:04:31] @ Quit: gniks: Quit: Leaving.
[2012/02/21 01:04:55] @ Quit: trespan_: Ping timeout: 240 seconds
[2012/02/21 01:06:39] @ Quit: samkottler: Ping timeout: 252 seconds
[2012/02/21 01:13:56] @ allyourbase joined channel #puppet
[2012/02/21 01:14:03] <allyourbase> arh
[2012/02/21 01:14:03] @ msf_ is now known as msf
[2012/02/21 01:14:52] @ allyourbase is now known as allurbase
[2012/02/21 01:14:55] @ msf left channel #puppet ()
[2012/02/21 01:15:16] @ Quit: cwebber: Quit: Leaving.
[2012/02/21 01:17:48] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/02/21 01:21:16] @ Quit: VladGh: Ping timeout: 240 seconds
[2012/02/21 01:21:39] @ Quit: spicyWith: Quit: spicyWith
[2012/02/21 01:21:47] @ spicyWith joined channel #puppet
[2012/02/21 01:24:12] @ sdog joined channel #puppet
[2012/02/21 01:24:44] @ Quit: Bass2: Ping timeout: 244 seconds
[2012/02/21 01:24:44] @ Quit: Bass10: Ping timeout: 244 seconds
[2012/02/21 01:27:30] @ Quit: allurbase: Quit: Page closed
[2012/02/21 01:30:35] @ Quit: sdog: Ping timeout: 245 seconds
[2012/02/21 01:30:50] @ Quit: spicyWith: Quit: spicyWith
[2012/02/21 01:30:58] @ spicyWith joined channel #puppet
[2012/02/21 01:31:11] @ Brookss joined channel #puppet
[2012/02/21 01:33:11] @ ali3n0 joined channel #puppet
[2012/02/21 01:33:16] @ jaydg joined channel #puppet
[2012/02/21 01:35:58] @ Quit: spicyWith: Read error: Connection reset by peer
[2012/02/21 01:38:40] @ jameshyde joined channel #puppet
[2012/02/21 01:41:31] @ the_ramink joined channel #puppet
[2012/02/21 01:43:51] @ rburton- joined channel #puppet
[2012/02/21 01:46:19] @ Quit: justin_donaldson: Quit: Leaving.
[2012/02/21 01:47:37] @ Quit: noyb: Quit: Leaving
[2012/02/21 01:48:38] @ Quit: mosen: Quit: Leaving
[2012/02/21 01:52:21] @ Quit: littleidea: Read error: Connection reset by peer
[2012/02/21 01:53:38] @ littleidea joined channel #puppet
[2012/02/21 01:59:32] @ Quit: metcalfc: Quit: Leaving
[2012/02/21 02:00:14] @ Quit: larstobi: Quit: Leaving.
[2012/02/21 02:05:24] @ critpizza joined channel #puppet
[2012/02/21 02:11:05] @ Quit: littleidea: Quit: littleidea
[2012/02/21 02:17:01] @ Vulcan[OMNI]_ joined channel #puppet
[2012/02/21 02:17:35] @ sdog joined channel #puppet
[2012/02/21 02:17:44] @ houdini joined channel #puppet
[2012/02/21 02:18:45] <houdini> What actually is puppetmaster? I can'f ind it in gem repo, only in apt-get
[2012/02/21 02:20:19] <Brookss> I read the homepage, pdf and features and still can't answer that houdini. Its not very straightforward except flashy words like Infrastructure being overly used
[2012/02/21 02:20:53] @ Quit: Vulcan[OMNI]: Ping timeout: 245 seconds
[2012/02/21 02:21:46] @ KaZeR_W joined channel #puppet
[2012/02/21 02:22:05] @ Quit: critpizza: Remote host closed the connection
[2012/02/21 02:22:07] <the_ramink> lo45k hjnq2n 1b\
[2012/02/21 02:22:44] <houdini> Brooks: I also understand, that is's contain web server, I'll try to search on github
[2012/02/21 02:23:30] @ Quit: sdog: Ping timeout: 245 seconds
[2012/02/21 02:25:01] <houdini> Brooks: By the way, loot at this: https://github.com/puppetlabs/puppet/tree/master/sbin puppetmasterd is in puppet gem
[2012/02/21 02:25:32] @ Quit: ali3n0: Quit: Leaving.
[2012/02/21 02:28:10] <the_ramink> houdini: it's a single binary, it's just whether you're running it as a master or not. The puppetmasterd packages usually contain an init script
[2012/02/21 02:30:12] @ larstobi joined channel #puppet
[2012/02/21 02:30:36] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/02/21 02:31:07] @ MattyM joined channel #puppet
[2012/02/21 02:31:28] @ DJClean joined channel #puppet
[2012/02/21 02:36:12] @ ali3n0 joined channel #puppet
[2012/02/21 02:36:25] @ sdog joined channel #puppet
[2012/02/21 02:36:36] @ Quit: sdog: Changing host
[2012/02/21 02:36:36] @ sdog joined channel #puppet
[2012/02/21 02:42:45] @ Brookss left channel #puppet ()
[2012/02/21 02:44:25] @ csanchez joined channel #puppet
[2012/02/21 02:47:59] @ jodok joined channel #puppet
[2012/02/21 02:48:00] @ Quit: jodok: Changing host
[2012/02/21 02:48:00] @ jodok joined channel #puppet
[2012/02/21 02:48:21] @ Quit: Niarf: Quit: Leaving.
[2012/02/21 02:50:17] @ Quit: Enoria: Remote host closed the connection
[2012/02/21 02:52:40] @ Enoria joined channel #puppet
[2012/02/21 02:53:51] @ aheritier joined channel #puppet
[2012/02/21 02:54:01] @ jiboumans_ joined channel #puppet
[2012/02/21 02:54:14] @ Quit: Enoria: Remote host closed the connection
[2012/02/21 02:56:25] @ Enoria joined channel #puppet
[2012/02/21 03:01:00] @ Ramonster joined channel #puppet
[2012/02/21 03:02:09] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 03:02:43] @ csanchez joined channel #puppet
[2012/02/21 03:03:55] @ Quit: hooper_: Ping timeout: 244 seconds
[2012/02/21 03:04:09] @ Quit: behrendsj_: Ping timeout: 240 seconds
[2012/02/21 03:04:20] @ verwilst joined channel #puppet
[2012/02/21 03:05:41] @ jcorrius joined channel #puppet
[2012/02/21 03:07:41] @ Quit: ezmobius: Quit: peace out
[2012/02/21 03:08:00] @ pieter_ joined channel #puppet
[2012/02/21 03:08:56] @ skm joined channel #puppet
[2012/02/21 03:09:24] @ Quit: ABK: Ping timeout: 260 seconds
[2012/02/21 03:09:55] @ ABK joined channel #puppet
[2012/02/21 03:10:00] @ seanh-ansca joined channel #puppet
[2012/02/21 03:10:10] @ critpizza joined channel #puppet
[2012/02/21 03:12:05] @ trespan_ joined channel #puppet
[2012/02/21 03:13:04] @ behrendsj joined channel #puppet
[2012/02/21 03:14:40] @ Quit: seanh-ansca: Client Quit
[2012/02/21 03:20:22] @ tremble joined channel #puppet
[2012/02/21 03:20:23] @ Quit: tremble: Changing host
[2012/02/21 03:20:23] @ tremble joined channel #puppet
[2012/02/21 03:20:27] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 03:20:47] @ csanchez joined channel #puppet
[2012/02/21 03:21:15] @ Quit: duerF: Quit: Leaving
[2012/02/21 03:22:14] @ Quit: jiboumans_: Quit: jiboumans_
[2012/02/21 03:23:01] @ pmorillon joined channel #puppet
[2012/02/21 03:25:00] @ Stenbryggen joined channel #puppet
[2012/02/21 03:28:38] @ Holocaine joined channel #puppet
[2012/02/21 03:30:14] @ octe joined channel #puppet
[2012/02/21 03:30:18] <octe> hi
[2012/02/21 03:30:33] <octe> i keep getting this error when applying puppet to a node: Could not retrieve catalog from remote server: Error 400 on SERVER: Exported resource File[/etc/munin/munin-conf.d/foo.example.org] cannot override local resource on node bar.example.org
[2012/02/21 03:30:56] <octe> i know what the error says, but i dont really understand how it happens
[2012/02/21 03:31:26] <octe> can't see how there'd be a local duplicate resource
[2012/02/21 03:31:29] @ Quit: the_ramink: Read error: Connection reset by peer
[2012/02/21 03:32:12] @ ezmobius joined channel #puppet
[2012/02/21 03:34:23] @ the_ramink joined channel #puppet
[2012/02/21 03:38:33] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 03:38:52] @ csanchez joined channel #puppet
[2012/02/21 03:40:03] @ jonhattan joined channel #puppet
[2012/02/21 03:41:05] @ Quit: the_ramink: Read error: Connection reset by peer
[2012/02/21 03:42:08] @ adp is now known as cpc6128
[2012/02/21 03:43:10] @ duerF joined channel #puppet
[2012/02/21 03:45:59] @ Quit: n0ts: Ping timeout: 252 seconds
[2012/02/21 03:46:10] @ cpc6128 is now known as adp
[2012/02/21 03:46:27] @ n0ts joined channel #puppet
[2012/02/21 03:47:03] @ nan0r joined channel #puppet
[2012/02/21 03:47:27] @ Quit: bmahe: Quit: Leaving
[2012/02/21 03:56:06] @ inecas joined channel #puppet
[2012/02/21 03:56:58] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 03:57:09] @ Quit: ablew: Ping timeout: 252 seconds
[2012/02/21 03:57:16] @ pmorillon_ joined channel #puppet
[2012/02/21 03:57:26] @ Quit: pmorillon_: Client Quit
[2012/02/21 03:57:28] @ Quit: pmorillon: Read error: Operation timed out
[2012/02/21 03:57:55] @ Quit: joshcooper: Quit: joshcooper
[2012/02/21 03:58:48] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/02/21 03:59:12] @ Quit: Prometheus: Ping timeout: 244 seconds
[2012/02/21 03:59:29] @ pmorillon joined channel #puppet
[2012/02/21 03:59:44] @ Quit: shiruken: Read error: Connection reset by peer
[2012/02/21 03:59:45] @ ezryx joined channel #puppet
[2012/02/21 03:59:55] @ shiruken joined channel #puppet
[2012/02/21 04:00:15] @ Quit: trespan_: Ping timeout: 240 seconds
[2012/02/21 04:03:52] @ Quit: rburton-: Quit: rburton-
[2012/02/21 04:05:52] @ marrusl joined channel #puppet
[2012/02/21 04:08:14] @ fronlius joined channel #puppet
[2012/02/21 04:08:21] @ Quit: Spads: Remote host closed the connection
[2012/02/21 04:09:02] @ Quit: fronlius: Client Quit
[2012/02/21 04:10:18] @ w3lly joined channel #puppet
[2012/02/21 04:11:40] @ ckauhaus joined channel #puppet
[2012/02/21 04:14:42] @ csanchez joined channel #puppet
[2012/02/21 04:15:10] @ Tobu joined channel #puppet
[2012/02/21 04:17:35] @ trickyf joined channel #puppet
[2012/02/21 04:18:20] @ lkoranda joined channel #puppet
[2012/02/21 04:21:13] @ Razique joined channel #puppet
[2012/02/21 04:22:22] @ mdirkse joined channel #puppet
[2012/02/21 04:25:57] @ Quit: kerframil: Ping timeout: 252 seconds
[2012/02/21 04:27:22] @ nik0 joined channel #puppet
[2012/02/21 04:27:52] @ nik0 is now known as niko
[2012/02/21 04:32:22] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 04:32:33] @ Vasik|work joined channel #puppet
[2012/02/21 04:32:46] @ csanchez joined channel #puppet
[2012/02/21 04:35:50] @ mayak joined channel #puppet
[2012/02/21 04:37:40] @ Quit: houdini: Quit: Page closed
[2012/02/21 04:38:54] @ Quit: ghanima: Quit: Leaving.
[2012/02/21 04:41:05] @ ezmobius is now known as ezmobius|zoning
[2012/02/21 04:44:47] @ Quit: nan0r: Quit: Leaving.
[2012/02/21 04:44:57] @ nan0r joined channel #puppet
[2012/02/21 04:49:01] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 04:50:49] @ csanchez joined channel #puppet
[2012/02/21 04:51:22] @ Quit: brd: Ping timeout: 272 seconds
[2012/02/21 04:52:04] @ brd joined channel #puppet
[2012/02/21 04:52:39] @ Quit: mick_laptop: Read error: Connection reset by peer
[2012/02/21 04:53:00] @ Quit: danikov: Quit: danikov
[2012/02/21 04:53:16] @ Quit: karthick87: Ping timeout: 272 seconds
[2012/02/21 04:56:30] @ fronlius joined channel #puppet
[2012/02/21 04:57:57] @ ezmobius|zoning is now known as ezmobius|zoning|
[2012/02/21 05:00:55] @ Quit: jodok: Quit: jodok
[2012/02/21 05:03:19] @ Spads joined channel #puppet
[2012/02/21 05:04:04] <ABK> is there a documentation link particular to loading custom facts in a manifest for using them in module
[2012/02/21 05:04:12] <ABK> either using plugins or anything
[2012/02/21 05:04:36] <ABK> I wanna load up facts from factfile of mcollective into puppet module and use them up
[2012/02/21 05:04:50] <_rc> http://docs.puppetlabs.com/guides/plugins_in_modules.html
[2012/02/21 05:05:11] <NuclearLucifer> http://docs.puppetlabs.com/guides/plugins_in_modules.html
[2012/02/21 05:05:18] <NuclearLucifer> ah, sorry.
[2012/02/21 05:05:20] <_rc> jinx!
[2012/02/21 05:05:25] <solarisfire> :-)
[2012/02/21 05:06:08] @ karthick87 joined channel #puppet
[2012/02/21 05:06:39] <ABK> saw this before, this doesn't have details on how to go about with facter part
[2012/02/21 05:07:10] <NuclearLucifer> http://docs.puppetlabs.com/guides/custom_facts.html
[2012/02/21 05:07:24] <NuclearLucifer> This one does.
[2012/02/21 05:07:26] <_rc> so you mean documentation on how to write a custom fact too?
[2012/02/21 05:07:41] @ ctracey__ joined channel #puppet
[2012/02/21 05:07:51] @ jeremy_ joined channel #puppet
[2012/02/21 05:08:31] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 05:08:57] @ csanchez joined channel #puppet
[2012/02/21 05:11:03] @ Quit: ctracey_: Ping timeout: 252 seconds
[2012/02/21 05:14:02] @ Razique_ joined channel #puppet
[2012/02/21 05:14:21] @ Quit: Razique: Read error: No route to host
[2012/02/21 05:14:21] @ Razique_ is now known as Razique
[2012/02/21 05:14:34] @ danikov joined channel #puppet
[2012/02/21 05:14:40] <iksik> hm, all defined variables inside of class or node section are visible in global scope?
[2012/02/21 05:16:06] <NuclearLucifer> Variables defined in node definition are available for global node scope.
[2012/02/21 05:16:08] @ Quit: jcorrius: Read error: Operation timed out
[2012/02/21 05:19:22] @ Quit: pmorillon: Ping timeout: 240 seconds
[2012/02/21 05:22:39] @ Quit: karthick87: Read error: Connection reset by peer
[2012/02/21 05:22:44] @ Quit: Holocaine:
[2012/02/21 05:22:47] @ boats joined channel #puppet
[2012/02/21 05:24:13] @ Quit: jameshyde: Read error: Operation timed out
[2012/02/21 05:24:57] @ kerframil joined channel #puppet
[2012/02/21 05:26:43] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 05:27:03] @ csanchez joined channel #puppet
[2012/02/21 05:28:38] @ cristobalmiguel joined channel #puppet
[2012/02/21 05:29:27] @ gwmngilfen left channel #puppet ("http://quassel-irc.org - Chat comfortably. Anywhere.")
[2012/02/21 05:30:15] @ Kazuhiro joined channel #puppet
[2012/02/21 05:30:55] @ Quit: Spads: *.net *.split
[2012/02/21 05:30:56] @ Quit: Londo_: *.net *.split
[2012/02/21 05:30:58] @ Quit: Crshman: *.net *.split
[2012/02/21 05:30:59] @ Quit: olc: *.net *.split
[2012/02/21 05:31:44] <solarisfire> Guys, when running function_create_resources is there any documentation on what the normal names of the created resources are?
[2012/02/21 05:32:19] <kjetilho> it's no different than other File Exec or whatever resources
[2012/02/21 05:32:45] @ Quit: objectiveous: Read error: Connection reset by peer
[2012/02/21 05:32:53] @ objectiveous joined channel #puppet
[2012/02/21 05:33:42] @ Quit: cristobalmiguel:
[2012/02/21 05:33:44] @ Quit: betsys_: Quit: ~ Trillian Astra - www.trillian.im ~
[2012/02/21 05:33:51] @ Quit: Edgan: Quit: Edgan
[2012/02/21 05:34:46] @ Quit: BLZbubba: Read error: Operation timed out
[2012/02/21 05:35:19] @ Quit: marcoecc: Read error: Connection reset by peer
[2012/02/21 05:36:04] @ Quit: the_weanus: Ping timeout: 255 seconds
[2012/02/21 05:36:07] @ Crshman joined channel #puppet
[2012/02/21 05:36:07] @ Spads joined channel #puppet
[2012/02/21 05:36:08] @ Quit: Spads: Changing host
[2012/02/21 05:36:08] @ Spads joined channel #puppet
[2012/02/21 05:36:22] @ olc joined channel #puppet
[2012/02/21 05:36:50] @ Quit: Caesar: Ping timeout: 252 seconds
[2012/02/21 05:37:01] @ Quit: nanliu: Ping timeout: 260 seconds
[2012/02/21 05:37:04] @ Edgan joined channel #puppet
[2012/02/21 05:37:21] @ mutante left channel #puppet ()
[2012/02/21 05:37:22] @ nanliu joined channel #puppet
[2012/02/21 05:37:24] @ Caesar joined channel #puppet
[2012/02/21 05:37:25] @ the_weanus joined channel #puppet
[2012/02/21 05:37:36] @ Quit: Caesar: Changing host
[2012/02/21 05:37:36] @ Caesar joined channel #puppet
[2012/02/21 05:37:37] @ Quit: nanliu: Changing host
[2012/02/21 05:37:37] @ nanliu joined channel #puppet
[2012/02/21 05:37:37] @ BLZbubba joined channel #puppet
[2012/02/21 05:37:55] @ Guest21614 joined channel #puppet
[2012/02/21 05:37:58] @ amoe_ is now known as amoe
[2012/02/21 05:39:15] @ Quit: kerframil: Changing host
[2012/02/21 05:39:15] @ kerframil joined channel #puppet
[2012/02/21 05:41:09] @ Quit: olc: *.net *.split
[2012/02/21 05:41:12] @ Quit: Crshman: *.net *.split
[2012/02/21 05:41:13] @ Quit: Spads: *.net *.split
[2012/02/21 05:42:13] @ Quit: inecas: Quit: Leaving
[2012/02/21 05:44:31] @ Quit: csanchez: Quit: csanchez
[2012/02/21 05:46:40] @ Spads joined channel #puppet
[2012/02/21 05:50:03] @ Quit: JayTaph: Ping timeout: 245 seconds
[2012/02/21 05:50:53] @ Quit: ezmobius|zoning|: Quit: peace out
[2012/02/21 05:52:49] @ Crshman joined channel #puppet
[2012/02/21 05:53:13] <solarisfire> Why can the error "Invalid parameter file on node" not show what parameter file is causing the problem :-(
[2012/02/21 05:53:31] <Volcane> whats the full error?
[2012/02/21 05:53:44] <solarisfire> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter file on node htl-bacula1
[2012/02/21 05:54:28] <Volcane> lame
[2012/02/21 05:54:38] <Volcane> my guess is its not file, but some other resorce
[2012/02/21 05:54:48] <Volcane> where you have file => ... thats not acceptable
[2012/02/21 05:54:53] <solarisfire> yeah if I comment out a single function call it works...
[2012/02/21 05:54:55] @ Quit: ldlework: Ping timeout: 240 seconds
[2012/02/21 05:54:57] <Volcane> ah
[2012/02/21 05:55:02] <Volcane> whats the function call?
[2012/02/21 05:55:10] <solarisfire> new one i'm developing
[2012/02/21 05:55:25] <solarisfire> but it works exactly the same as another one
[2012/02/21 05:56:04] <Volcane> you'll have to paste up the code in question on pastie.org i guess
[2012/02/21 05:56:09] <solarisfire> yeah 1 sec
[2012/02/21 05:56:32] @ olc joined channel #puppet
[2012/02/21 05:58:01] <solarisfire> http://pastebin.com/Q7RE24Dh
[2012/02/21 05:58:48] <Volcane> bacula::config::fileset takes fileset not file
[2012/02/21 05:59:07] <_rc> it doesn't take exclude either
[2012/02/21 05:59:12] <Volcane> yup
[2012/02/21 05:59:21] <solarisfire> *facepalm*
[2012/02/21 05:59:26] <Volcane> heh
[2012/02/21 05:59:28] <solarisfire> didn't realise the naming mattered in that case
[2012/02/21 05:59:32] <solarisfire> << learning
[2012/02/21 05:59:50] <_rc> I'd hate for it to guess
[2012/02/21 06:00:03] <solarisfire> Yeah me too now I think about it
[2012/02/21 06:00:34] <solarisfire> Thought it may have put files into bacula::config::fileset::files and excludes into bacula::config::fileset::excludes....
[2012/02/21 06:00:43] <solarisfire> but in hindsight that's total overcomplicating it
[2012/02/21 06:04:50] @ Quit: _rc: Quit: kernel time
[2012/02/21 06:07:33] @ trespan_ joined channel #puppet
[2012/02/21 06:07:49] @ xDamox joined channel #puppet
[2012/02/21 06:08:42] @ bio__ joined channel #puppet
[2012/02/21 06:09:06] @ Quit: ChoHag: Ping timeout: 252 seconds
[2012/02/21 06:09:19] @ ChoHag joined channel #puppet
[2012/02/21 06:13:59] @ Quit: Guest21614: Read error: Connection reset by peer
[2012/02/21 06:14:34] @ _rc joined channel #puppet
[2012/02/21 06:14:51] @ Quit: Kazuhiro: Quit: Leaving.
[2012/02/21 06:16:52] @ Guest21614 joined channel #puppet
[2012/02/21 06:20:59] @ Gwayne joined channel #puppet
[2012/02/21 06:21:00] @ Quit: Gwayne: Changing host
[2012/02/21 06:21:00] @ Gwayne joined channel #puppet
[2012/02/21 06:23:06] @ MartVisser joined channel #puppet
[2012/02/21 06:28:02] @ St3v3o joined channel #puppet
[2012/02/21 06:31:37] @ JayTaph joined channel #puppet
[2012/02/21 06:31:38] <solarisfire> ok traced it now
[2012/02/21 06:32:03] <solarisfire> it wasn't parameter file
[2012/02/21 06:32:09] <solarisfire> it was a parameter called file
[2012/02/21 06:32:13] @ karthick87 joined channel #puppet
[2012/02/21 06:32:14] <solarisfire> in the hash stored in my manifest
[2012/02/21 06:32:17] <_rc> yes
[2012/02/21 06:32:19] <kjetilho> solarisfire: we told you that *yesterday*
[2012/02/21 06:32:24] @ Quit: ABK: Ping timeout: 260 seconds
[2012/02/21 06:32:40] <solarisfire> ahhh this thing scrolls to fast with people joining and leaving I miss things :(
[2012/02/21 06:32:46] <_rc> also that's what Volcane pointed out to you about 30 minutes ago
[2012/02/21 06:33:05] <_rc> and I also pointed out you have that other parameter that wouldn't work
[2012/02/21 06:33:09] <kjetilho> solarisfire: /ignore #puppet parts joins exits
[2012/02/21 06:33:16] <solarisfire> yeah, I just don't understand how the code I'm copy-pastaing worked.....
[2012/02/21 06:33:45] @ Quit: larstobi: Quit: Leaving.
[2012/02/21 06:34:36] @ wreiner joined channel #puppet
[2012/02/21 06:35:27] <solarisfire> that didn't work kjetilho :(
[2012/02/21 06:35:39] <solarisfire> says unknown arg parts, joins, exits
[2012/02/21 06:36:03] @ Quit: Guest21614: Quit: bye
[2012/02/21 06:36:22] @ marcoecc joined channel #puppet
[2012/02/21 06:36:40] @ Quit: meltemi_: Ping timeout: 240 seconds
[2012/02/21 06:36:41] @ dan__t joined channel #puppet
[2012/02/21 06:37:08] <kjetilho> solarisfire: ok, you'll have to look up the docs for your client, then. btw, I had a typo (for irrsi): it should be quits, not exits
[2012/02/21 06:37:41] <solarisfire> im just on xchat... I'll look it up at some point. Thanks though :-)
[2012/02/21 06:40:32] @ Quit: verwilst: Quit: Ex-Chat
[2012/02/21 06:41:54] @ Gwayne- joined channel #puppet
[2012/02/21 06:42:01] @ Quit: Gwayne-: Remote host closed the connection
[2012/02/21 06:45:55] @ meltemi joined channel #puppet
[2012/02/21 06:47:18] <solarisfire> Lol it was one option in a right-click menu...
[2012/02/21 06:48:55] @ Quit: dan__t: Ping timeout: 245 seconds
[2012/02/21 06:51:54] @ grzany_ joined channel #puppet
[2012/02/21 06:56:38] @ larstobi joined channel #puppet
[2012/02/21 06:58:04] @ ki0_ joined channel #puppet
[2012/02/21 06:59:52] @ dan__t joined channel #puppet
[2012/02/21 07:02:23] @ jdunck is now known as jdunck_away
[2012/02/21 07:02:28] @ jdunck_away is now known as jdunck
[2012/02/21 07:04:32] @ Quit: wreiner: Quit: Leaving
[2012/02/21 07:06:40] @ pmorillon joined channel #puppet
[2012/02/21 07:14:05] @ ken_barber joined channel #puppet
[2012/02/21 07:15:11] @ |Majestic| joined channel #puppet
[2012/02/21 07:18:10] @ Kazuhiro joined channel #puppet
[2012/02/21 07:21:40] @ Quit: scobal: Read error: Connection reset by peer
[2012/02/21 07:21:47] @ scobal joined channel #puppet
[2012/02/21 07:21:50] @ Quit: scobal: Remote host closed the connection
[2012/02/21 07:23:21] @ Dyson joined channel #puppet
[2012/02/21 07:30:24] @ plasmonyc joined channel #puppet
[2012/02/21 07:31:01] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2012/02/21 07:31:21] @ Ramonster joined channel #puppet
[2012/02/21 07:35:46] @ Bass2 joined channel #puppet
[2012/02/21 07:35:48] @ Bass10 joined channel #puppet
[2012/02/21 07:40:17] @ csanchez joined channel #puppet
[2012/02/21 07:40:21] @ IndyMichaelB joined channel #puppet
[2012/02/21 07:41:49] @ Quit: Tobu: Remote host closed the connection
[2012/02/21 07:41:56] @ Tobu joined channel #puppet
[2012/02/21 07:45:19] @ ABK joined channel #puppet
[2012/02/21 07:47:05] @ Quit: ABK: Remote host closed the connection
[2012/02/21 07:50:28] @ mogitaff joined channel #puppet
[2012/02/21 07:50:35] @ Quit: Gwayne: Remote host closed the connection
[2012/02/21 07:52:20] @ Quit: karthick87: Ping timeout: 244 seconds
[2012/02/21 07:53:17] @ Quit: AshishH: Ping timeout: 265 seconds
[2012/02/21 07:56:22] @ st33v joined channel #puppet
[2012/02/21 07:56:39] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 07:58:25] <ashak> I'm trying tomodify some of the puppet code that configures HP switches, but i'm having a few problems. I started by putting some Puppet.debug(whatever) statements into the code, but not all of them seem to output to the debug log. Specifically... if I have debug in method a and debug in method b, and then some code calls method a, then method b, i'll see the debug from method a, but the debug from method b never makes it to teh debug log.
[2012/02/21 07:58:30] @ csanchez joined channel #puppet
[2012/02/21 07:58:48] @ Quit: marrusl: Ping timeout: 245 seconds
[2012/02/21 07:59:09] <ashak> In method b there's code using net telnet to talk to a switch, it waitsfor somethign, doesn't receive it and times out.
[2012/02/21 07:59:31] <ashak> But there's Puppet.debug() statements before the code that waits for something. Those are the ones that I never see.
[2012/02/21 07:59:38] <ashak> Am I being dumb? :)
[2012/02/21 08:02:14] @ inecas joined channel #puppet
[2012/02/21 08:02:25] @ Quit: bobra: Read error: Connection reset by peer
[2012/02/21 08:02:37] @ johnston_ joined channel #puppet
[2012/02/21 08:03:19] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2012/02/21 08:05:18] @ karthick87 joined channel #puppet
[2012/02/21 08:05:34] @ tmclaugh joined channel #puppet
[2012/02/21 08:06:02] @ bobra joined channel #puppet
[2012/02/21 08:06:22] @ rgsteele joined channel #puppet
[2012/02/21 08:09:43] @ cwebber joined channel #puppet
[2012/02/21 08:09:44] @ Quit: cwebber: Client Quit
[2012/02/21 08:11:19] @ marrusl joined channel #puppet
[2012/02/21 08:11:23] @ Quit: plasmonyc: Quit: Leaving.
[2012/02/21 08:13:04] @ Quit: st33v: Quit: st33v
[2012/02/21 08:13:10] @ th[i]as joined channel #puppet
[2012/02/21 08:13:32] @ jcorrius joined channel #puppet
[2012/02/21 08:14:17] <th[i]as> jcorrius : seems like a small world! :-)
[2012/02/21 08:15:17] <jcorrius> th[i]as: it really is :)
[2012/02/21 08:15:58] @ scobal joined channel #puppet
[2012/02/21 08:16:16] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 08:16:17] @ Quit: Tobu: Ping timeout: 260 seconds
[2012/02/21 08:16:36] @ csanchez joined channel #puppet
[2012/02/21 08:16:38] @ Quit: danblack: Quit: solitude begins
[2012/02/21 08:18:28] <th[i]as> maybe a silly question, but as of right now, where is the supported puppet-module-tool? on github it says it's now a face, but the puppet 2.7.10 rpm I have doesn't include the module.rb file that would make that work...
[2012/02/21 08:19:43] @ Quit: karthick87: Quit: Leaving
[2012/02/21 08:19:46] @ Tobu joined channel #puppet
[2012/02/21 08:21:19] <Dominic> th[i]as: should be in .11
[2012/02/21 08:21:47] <Dominic> (http://projects.puppetlabs.com/issues/7656#note-30)
[2012/02/21 08:23:52] @ Kazuhiro1 joined channel #puppet
[2012/02/21 08:24:56] <th[i]as> Dominic: ok, I'll wait then... but in the meantime this gives an excuse to people like me to not be putting their modules up on the forge ;-)
[2012/02/21 08:25:29] @ nan0r1 joined channel #puppet
[2012/02/21 08:25:42] <Dominic> PMT still works
[2012/02/21 08:26:56] @ Scott-Mc joined channel #puppet
[2012/02/21 08:27:22] @ opsmason joined channel #puppet
[2012/02/21 08:28:55] @ Quit: nan0r: Ping timeout: 245 seconds
[2012/02/21 08:32:57] @ BobbyD_FL joined channel #puppet
[2012/02/21 08:33:17] @ cliff-hm joined channel #puppet
[2012/02/21 08:34:18] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 08:34:41] @ csanchez joined channel #puppet
[2012/02/21 08:34:57] @ sygnous|mbp joined channel #puppet
[2012/02/21 08:34:58] @ Quit: sygnous|mbp: Changing host
[2012/02/21 08:34:58] @ sygnous|mbp joined channel #puppet
[2012/02/21 08:36:51] @ Quit: kbotnen: Remote host closed the connection
[2012/02/21 08:37:55] @ Quit: bobra: Ping timeout: 240 seconds
[2012/02/21 08:38:43] @ IndyMichaelB joined channel #puppet
[2012/02/21 08:38:51] @ Quit: tecto_: Quit: tecto_
[2012/02/21 08:40:45] <solarisfire> does anyone have an example of an if statement for a template that igonores that part of the template if a variable is empty?
[2012/02/21 08:42:05] <_rc> it's just a simple if statement
[2012/02/21 08:42:30] <solarisfire> so just <% if compression -%> <% end -%> would work?
[2012/02/21 08:42:32] @ Quit: sygnous|mbp: Remote host closed the connection
[2012/02/21 08:42:43] <_rc> it should, yes
[2012/02/21 08:42:51] @ sygnous|mbp joined channel #puppet
[2012/02/21 08:42:52] @ Quit: sygnous|mbp: Changing host
[2012/02/21 08:42:52] @ sygnous|mbp joined channel #puppet
[2012/02/21 08:42:53] <solarisfire> too easy :-)
[2012/02/21 08:44:38] <solarisfire> yeah too easy :-(
[2012/02/21 08:44:56] <solarisfire> think it may be because those variables do exist but are populated with ''
[2012/02/21 08:46:35] <th[i]as> <% if ! compression.empty? -%> maybe?
[2012/02/21 08:47:32] <dcarley> what th[i]as said.
[2012/02/21 08:47:34] @ Quit: Kazuhiro1: Quit: Leaving.
[2012/02/21 08:48:05] @ jim80net joined channel #puppet
[2012/02/21 08:48:12] @ ecolitan joined channel #puppet
[2012/02/21 08:48:15] @ Quit: uphillian: Remote host closed the connection
[2012/02/21 08:48:41] <solarisfire> perfect :D th[i]as wins :-)
[2012/02/21 08:49:58] @ choonming_ joined channel #puppet
[2012/02/21 08:51:08] @ Quit: ken_barber: Ping timeout: 244 seconds
[2012/02/21 08:51:16] <solarisfire> So close to being able to push this update to github :D
[2012/02/21 08:51:25] @ cwebber joined channel #puppet
[2012/02/21 08:52:25] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 08:52:43] @ csanchez joined channel #puppet
[2012/02/21 08:53:56] @ jarrwlee joined channel #puppet
[2012/02/21 08:56:42] @ mgw joined channel #puppet
[2012/02/21 08:56:49] @ Quit: csanchez: Ping timeout: 244 seconds
[2012/02/21 08:57:01] @ Quit: cliff-hm: Read error: Operation timed out
[2012/02/21 08:58:10] @ mapope joined channel #puppet
[2012/02/21 08:58:11] @ speedieg joined channel #puppet
[2012/02/21 08:58:35] @ Quit: scobal: Read error: Connection reset by peer
[2012/02/21 08:58:53] @ Quit: Chosi: Ping timeout: 260 seconds
[2012/02/21 08:59:27] @ ken_barber joined channel #puppet
[2012/02/21 08:59:37] @ uphillian joined channel #puppet
[2012/02/21 09:01:20] @ scobal joined channel #puppet
[2012/02/21 09:01:39] @ Quit: mapope: Read error: Connection reset by peer
[2012/02/21 09:02:28] @ gazoombo joined channel #puppet
[2012/02/21 09:02:49] @ csanchez joined channel #puppet
[2012/02/21 09:03:24] <jarrwlee> Is there a separate channel for my mcollective questions or is here appropriate?
[2012/02/21 09:04:07] @ lborda joined channel #puppet
[2012/02/21 09:04:33] <_rc> there's an #mcollective
[2012/02/21 09:05:00] <jarrwlee> I found that on google, but it was empty...
[2012/02/21 09:05:07] <jarrwlee> looks to be still
[2012/02/21 09:05:20] <jarrwlee> unless it's just my IRC client :(
[2012/02/21 09:05:23] @ Chosi joined channel #puppet
[2012/02/21 09:06:50] <_rc> it's on this network, 72 nicks on there atm
[2012/02/21 09:07:47] @ sduchesneau joined channel #puppet
[2012/02/21 09:10:52] @ Quit: jarrwlee:
[2012/02/21 09:11:05] @ jarrwlee joined channel #puppet
[2012/02/21 09:12:23] @ Quit: lkoranda: Quit: Ex-Chat
[2012/02/21 09:12:54] @ lkoranda joined channel #puppet
[2012/02/21 09:13:21] @ cliff-hm joined channel #puppet
[2012/02/21 09:13:35] @ Quit: blentz: Ping timeout: 240 seconds
[2012/02/21 09:19:56] @ jtanner joined channel #puppet
[2012/02/21 09:20:37] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 09:20:57] @ csanchez joined channel #puppet
[2012/02/21 09:24:14] @ dkr joined channel #puppet
[2012/02/21 09:24:54] @ laudo joined channel #puppet
[2012/02/21 09:25:44] @ eedri joined channel #puppet
[2012/02/21 09:25:48] <eedri> ohadlevy, ping
[2012/02/21 09:26:03] <ohadlevy> eedri: pong
[2012/02/21 09:26:07] <eedri> ohadlevy, hey..
[2012/02/21 09:26:29] <eedri> ohadlevy, is there a way in puppet to force latest rpm to update another rpm at the same time?
[2012/02/21 09:26:43] <eedri> ohadlevy, otherwise the yum update will fail
[2012/02/21 09:27:15] @ i0n joined channel #puppet
[2012/02/21 09:27:15] <ohadlevy> eedri: using a real package manager? :) your spec file should define a minimum version of the other package
[2012/02/21 09:27:25] <laudo> Just tested to upgrade from 1.6.4 to 1.7.10. After the upgrade i got this error "Duplicate definition: Ip6tables[] is already defined in file " on line 19 cannot redefine. Don't get it because it worked with 1.6.4. I posted my code here http://www.pastie.org/private/wjyyclisykrgyromne5kha . Would be nice if someone could give me some ideas how i can fix this
[2012/02/21 09:27:39] <eedri> ohadlevy, i know there is a problem with the spec file, but currently i have no control over it
[2012/02/21 09:27:51] <eedri> ohadlevy, this mean that yum update pkg1 will fail
[2012/02/21 09:27:57] @ leifmadsen joined channel #puppet
[2012/02/21 09:28:01] @ tuxaddicted joined channel #puppet
[2012/02/21 09:28:04] <eedri> ohadlevy, only yum update pkg1 pkg2 will successed
[2012/02/21 09:28:21] <ohadlevy> eedri: you could try update pkg2 and then pkg1 ?
[2012/02/21 09:28:29] <eedri> ohadlevy, same problem
[2012/02/21 09:28:42] <ohadlevy> eedri: then with an exec afaik
[2012/02/21 09:29:05] <_rc> laudo: "$name-data" is better written as "${name}-data", if that's what you mean
[2012/02/21 09:29:26] @ Quit: j^2: Read error: Operation timed out
[2012/02/21 09:29:38] <_rc> laudo: whatever variable it's resolving, it's resolving to "", hence your error
[2012/02/21 09:29:55] @ grzany| joined channel #puppet
[2012/02/21 09:30:09] <eedri> ohadlevy, what do you mean?
[2012/02/21 09:30:11] <laudo> _rc: intresting ok ill fix that and see if it runs
[2012/02/21 09:30:18] @ Quit: lkoranda: Quit: Ex-Chat
[2012/02/21 09:30:19] <eedri> ohadlevy, running exec: yum update pkg1 pkg2
[2012/02/21 09:30:19] <eedri> ?
[2012/02/21 09:30:24] @ Quit: opsmason: Quit: opsmason
[2012/02/21 09:30:39] @ lkoranda joined channel #puppet
[2012/02/21 09:31:17] @ blentz joined channel #puppet
[2012/02/21 09:31:58] @ j^2 joined channel #puppet
[2012/02/21 09:32:00] <ohadlevy> eedri: yes
[2012/02/21 09:32:42] @ opsmason joined channel #puppet
[2012/02/21 09:34:30] @ rsnhyperion joined channel #puppet
[2012/02/21 09:35:28] @ cdracars joined channel #puppet
[2012/02/21 09:35:55] @ plasmonyc joined channel #puppet
[2012/02/21 09:36:02] @ Quit: Stenbryggen: Quit: Leaving.
[2012/02/21 09:36:21] @ astrostl joined channel #puppet
[2012/02/21 09:36:49] <grzany|> ?
[2012/02/21 09:36:57] <zooz> is there a variable such as $class_name or similar?
[2012/02/21 09:38:28] @ Quit: grzany|: Quit: Bye
[2012/02/21 09:39:25] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 09:40:15] @ beejeebus-afk is now known as beejeebus
[2012/02/21 09:40:44] <astrostl> $name or $title should do it
[2012/02/21 09:41:01] <astrostl> if you're in a define, it returns the name of the type you're rolling
[2012/02/21 09:41:02] @ csanchez joined channel #puppet
[2012/02/21 09:41:07] <astrostl> but in a class, it returns the name of the class
[2012/02/21 09:41:14] @ mbrannigan joined channel #puppet
[2012/02/21 09:42:07] <laudo> no doesn't fix it. Here the code with the error mesg. http://www.pastie.org/private/7xpdzco1xunojaagztupbq . Not sure why in 2.6.4 it works and doesn't complain about double definition and in 2.7.10 it brakes.
[2012/02/21 09:42:25] <mbrannigan> is there a way to recursively copy a directory and set permissions on the directories? I'd like /web/myapp to be 750 and the rest of the tree can be regular permissions (755 for directories and 644 for files)
[2012/02/21 09:43:23] @ Quit: alup__: Read error: Connection reset by peer
[2012/02/21 09:44:10] <mbrannigan> *blush* nevermind
[2012/02/21 09:44:18] @ littleidea joined channel #puppet
[2012/02/21 09:44:19] <mbrannigan> chmod the source
[2012/02/21 09:44:36] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/02/21 09:44:59] <zooz> astrostl, what if I am in a resource type "file" and I need a to get a class name?
[2012/02/21 09:44:59] <astrostl> i think it's better to be explicit, mbrannigan
[2012/02/21 09:45:26] <astrostl> zooz: it will still be returned
[2012/02/21 09:45:28] <mbrannigan> astrostl, me too, but when i mode => 750 in the file resource, all the files get 750 permissions... ick
[2012/02/21 09:45:36] @ Tobu joined channel #puppet
[2012/02/21 09:45:42] <astrostl> if you are in a type within a class, $name/$title should return the name of the CLASS - not the type
[2012/02/21 09:46:05] @ ldlework joined channel #puppet
[2012/02/21 09:46:10] <SpComb> after changing an agent's hostname (and re-signing it a new cert etc), I'm getting an error with my resources: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Package[hpacucli] to [nil]; resource ["Package", [nil]] already exists at /etc/puppet/modules/apt/manifests/package.pp:45 on node ...
[2012/02/21 09:46:25] @ q-rban is now known as q0rban
[2012/02/21 09:46:30] <mbrannigan> astrostl, i saw some chatter about a dirmode parameter, but I don't see that in the docs
[2012/02/21 09:47:08] <zooz> astrostl, thanks
[2012/02/21 09:47:11] <SpComb> in this case the resource uesd here looks like `package { $name: name=> $<parameter that is undef> }`
[2012/02/21 09:47:24] <astrostl> that one would be annoying. you could do multiple file types, or get dirty and notify a chmod exec
[2012/02/21 09:47:54] <mgw> class foo inherits bar { } — given this, how can I access the string 'foo' within the class bar?
[2012/02/21 09:48:04] <astrostl> SpComb: why are you using $name?
[2012/02/21 09:48:17] <astrostl> mgw: do you mean a variable?
[2012/02/21 09:48:25] <mgw> astrostl: yes
[2012/02/21 09:48:34] <astrostl> mgw: $module::class::variable
[2012/02/21 09:48:43] <astrostl> and you don't need inheritance to do that, it's just variable scoping
[2012/02/21 09:48:51] <astrostl> in general, use of inheritance is not recommended
[2012/02/21 09:48:58] <SpComb> astrostl: it's my own `apt::package ($package_name = undef) { package { $name: name => $package_name, ... } }` type that does magics for debconf and such
[2012/02/21 09:49:00] @ Quit: kermit: Ping timeout: 244 seconds
[2012/02/21 09:49:07] <astrostl> SpComb: a define?
[2012/02/21 09:49:10] <SpComb> astrostl: yes
[2012/02/21 09:49:23] <mgw> ok, here's my real problem — I have a snippet of code in one module that I want to include in every other module
[2012/02/21 09:49:34] <astrostl> make it a class
[2012/02/21 09:49:41] <astrostl> then include module::class
[2012/02/21 09:49:42] <SpComb> http://projects.puppetlabs.com/issues/4285 <-- but I'm guessing that it's just this bug on 2.6.2, but there's no word of any workaround
[2012/02/21 09:49:51] <SpComb> or what version it's fixed in, even
[2012/02/21 09:49:53] <mgw> and that snippet of code needs to know the 'calling' class
[2012/02/21 09:50:08] @ joe-mac1 joined channel #puppet
[2012/02/21 09:50:27] <mgw> so just use class {'bar': caller => 'foo'} or something like that?
[2012/02/21 09:50:37] <astrostl> SpComb: a patch was merged for that a year ago
[2012/02/21 09:50:56] <SpComb> but hm, seems changing it to `name => $package_name ? { undef => $name, default => $package_name }` works
[2012/02/21 09:51:05] <astrostl> mgw: what you are describing is starting to sound like more of a job for a define
[2012/02/21 09:51:23] <astrostl> what are you actually doing with this snippet?
[2012/02/21 09:51:32] <mgw> setting params for the calling class
[2012/02/21 09:51:36] @ gniks joined channel #puppet
[2012/02/21 09:51:37] @ Quit: gniks: Changing host
[2012/02/21 09:51:37] @ gniks joined channel #puppet
[2012/02/21 09:51:44] <astrostl> what kind of params?
[2012/02/21 09:51:48] <mgw> specifically, pulling data from hiera
[2012/02/21 09:51:59] <mgw> based on the (calling) class name
[2012/02/21 09:52:00] <astrostl> i was going to say this sounds like a job for extlookup/hiera...
[2012/02/21 09:52:19] <mgw> in this case it's for firewall data
[2012/02/21 09:52:20] <mbrannigan> astrostl, ok.. i'll give the exec a shot
[2012/02/21 09:52:31] <astrostl> SpComb: pastebin
[2012/02/21 09:52:46] @ marczak joined channel #puppet
[2012/02/21 09:52:57] <astrostl> mgw: you could consider exported resources for firewall rules
[2012/02/21 09:53:02] <mbrannigan> astrostl, thanks :)
[2012/02/21 09:53:10] <mgw> in my hiera data — I have a 'firewall' and then for specific classes I have, say, bind: {firewall: [foo, bar]}
[2012/02/21 09:53:31] <mgw> astrostl: exported resources?
[2012/02/21 09:53:40] <astrostl> mgw: http://docs.puppetlabs.com/guides/exported_resources.html
[2012/02/21 09:53:50] @ theRoUS joined channel #puppet
[2012/02/21 09:53:51] @ Quit: theRoUS: Changing host
[2012/02/21 09:53:51] @ theRoUS joined channel #puppet
[2012/02/21 09:53:56] @ raphink joined channel #puppet
[2012/02/21 09:54:11] <mgw> ah, i'm using puppet apply — will that work with puppet apply?
[2012/02/21 09:54:13] @ Quit: ctracey: Ping timeout: 245 seconds
[2012/02/21 09:54:17] <astrostl> definitely not
[2012/02/21 09:54:18] @ Quit: dan__t: Quit: Leaving
[2012/02/21 09:54:26] @ YuriAlberto1 joined channel #puppet
[2012/02/21 09:54:34] <ohadlevy> mgw: it would, if you use a db with puppet apply
[2012/02/21 09:54:35] <YuriAlberto1> hola a todos..
[2012/02/21 09:54:59] <YuriAlberto1> alguien de buena voluntad que pueda ayudarme en actualizar el kernel para slacko?
[2012/02/21 09:55:07] <astrostl> you can use a db with apply?
[2012/02/21 09:55:11] <ohadlevy> astrostl: sure
[2012/02/21 09:55:16] <astrostl> there i go saying "definitely"...
[2012/02/21 09:55:40] <mgw> ohadlevy: thanks, that might be a good option
[2012/02/21 09:56:30] <mgw> i'm reading on this… i've always though of 'exported resources' being used for one host to find data about another — but it can be used for one service to know about another as well?
[2012/02/21 09:56:45] <joe-mac1> I use stored configs for a variety of things
[2012/02/21 09:57:04] <joe-mac1> integration with third party apps, for finding info about other nodes in the infrastructure, nagios setup etc
[2012/02/21 09:57:09] <astrostl> mgw: the puppet 2.7 cookbook has a section on doing exactly what you want
[2012/02/21 09:57:14] <joe-mac1> of course if you are large scale, stored configs may not be an option
[2012/02/21 09:57:29] <astrostl> http://www.amazon.com/Puppet-2-7-Cookbook-John-Arundel/dp/1849515387/ref=sr_1_1?ie=UTF8&qid=1329836235&sr=8-1
[2012/02/21 09:57:30] <joe-mac1> that is until the new code PL has been working on is out
[2012/02/21 09:57:55] <SpComb> astrostl: the workaround seems to work; http://pastebin.com/VvRsbGp8
[2012/02/21 09:57:58] <astrostl> starts at page 222. kindle edition is only $15. HIGHLY recommend the book.
[2012/02/21 09:58:09] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 09:58:16] <mgw> is there a non-kindle ebook?
[2012/02/21 09:58:18] @ Quit: YuriAlberto1: Quit: YuriAlberto1
[2012/02/21 09:58:27] <mgw> astrostl: did you write it?
[2012/02/21 09:58:28] <mgw> ;-)
[2012/02/21 09:58:34] @ abetterlie joined channel #puppet
[2012/02/21 09:58:42] <astrostl> god no
[2012/02/21 09:58:54] <astrostl> if you buy straight from the publisher there are other formats
[2012/02/21 09:58:56] <astrostl> epub, etc.
[2012/02/21 09:59:01] @ Quit: laudo: Quit: Page closed
[2012/02/21 09:59:09] @ csanchez joined channel #puppet
[2012/02/21 09:59:39] <astrostl> http://www.packtpub.com/puppet-2-7-for-reliable-secure-systems-cloud-computing-cookbook/book $22 for a slow of formats
[2012/02/21 09:59:46] <astrostl> even plain old pdf
[2012/02/21 09:59:59] <mgw> ok, great
[2012/02/21 10:00:01] <mgw> thank you
[2012/02/21 10:00:08] <astrostl> expense it :)
[2012/02/21 10:00:16] <astrostl> this is your job, presumably.
[2012/02/21 10:00:24] <joe-mac1> isn't the puppet cookbook available online for free
[2012/02/21 10:00:30] <astrostl> different cookbook
[2012/02/21 10:00:40] <astrostl> this is a large, actual book
[2012/02/21 10:00:57] <astrostl> http://www.puppetcookbook.com/ is just vignettes (nice ones, though)
[2012/02/21 10:01:25] <astrostl> SpComb: you can take variables into defines and assign defaults there
[2012/02/21 10:01:31] @ jwhitlock_zzz is now known as jwhitlock
[2012/02/21 10:01:45] <astrostl> SpComb: define foo::bar($ineedthisvariable,$thisoneisoptional="defaultvalue) { }
[2012/02/21 10:01:56] @ nan0r joined channel #puppet
[2012/02/21 10:02:01] <astrostl> might make your logic more readable
[2012/02/21 10:02:08] <astrostl> won't have to do tests internally
[2012/02/21 10:02:51] <aricg> wow 300 pages...
[2012/02/21 10:02:54] @ jwhitlock is now known as jwhitlock_zzz
[2012/02/21 10:03:05] @ Quit: nan0r1: Ping timeout: 245 seconds
[2012/02/21 10:03:29] <astrostl> have you ever looked at UNIX POWER TOOLS by oreilly?
[2012/02/21 10:03:36] <astrostl> the puppet 2.7 cookbook is kinda like that
[2012/02/21 10:03:56] <astrostl> a few pages on a large variety of subjects: here's an idea, here's how you do it, here are some resources if you want to learn more
[2012/02/21 10:04:01] @ neilsaunders joined channel #puppet
[2012/02/21 10:04:49] <realist> aricg: who published it?
[2012/02/21 10:04:57] <realist> astrostl, rather.
[2012/02/21 10:05:07] @ Quit: opsmason: Read error: Connection reset by peer
[2012/02/21 10:05:07] <astrostl> google!
[2012/02/21 10:05:08] <aricg> http://bitfieldconsulting.com/cookbook
[2012/02/21 10:05:11] <joe-mac1> one of the bitfield giuys wrote it
[2012/02/21 10:05:13] <joe-mac1> yea
[2012/02/21 10:05:23] @ Quit: Vasik|work: Remote host closed the connection
[2012/02/21 10:05:23] <astrostl> it's published by packt.
[2012/02/21 10:05:32] @ extraordinaire joined channel #puppet
[2012/02/21 10:05:34] @ opsmason joined channel #puppet
[2012/02/21 10:06:13] <aricg> its 2012, i shoud beable to give the author money directly, what does he need to split profits with amazon on an ebook...
[2012/02/21 10:07:36] @ Quit: ldlework: Ping timeout: 240 seconds
[2012/02/21 10:08:11] <joe-mac1> because they published it?
[2012/02/21 10:08:20] <joe-mac1> the author isn'ta t home with his printing press
[2012/02/21 10:08:22] <joe-mac1> making books
[2012/02/21 10:08:25] <neilsaunders> Hi All - I'm a newcomer to Puppet and have run in to issues getting a node configured ("Could not retrieve catalog from remote server: Error 400 on SERVER") - Hoping this is the right place to get help? Is there a checklist I could run through?
[2012/02/21 10:08:37] <aricg> joe-mac, i mean in the case that i only want an ebook
[2012/02/21 10:08:50] <joe-mac1> still, author writes the book, all the formatting, editing, etc
[2012/02/21 10:08:51] @ nkts joined channel #puppet
[2012/02/21 10:08:53] <joe-mac1> those people deserve their due
[2012/02/21 10:08:59] <aricg> clearly amazon printing a copy is a legitimate value added service
[2012/02/21 10:09:02] <joe-mac1> an author is only a piece of the puzzle
[2012/02/21 10:09:46] <aricg> well unless every piece of infrastructure down to his primary school teacher is going to be included, I have to disagree.
[2012/02/21 10:09:59] @ Quit: jaydg: Remote host closed the connection
[2012/02/21 10:10:03] @ Quit: cliff-hm: Ping timeout: 260 seconds
[2012/02/21 10:10:56] <mbrannigan> exec is a valid resource type, right?
[2012/02/21 10:10:59] <mbrannigan> O.o
[2012/02/21 10:11:24] <mbrannigan> I have an exec resource in my manifest and i'm getting a message "Invalid resource type exec"
[2012/02/21 10:11:55] <mbrannigan> exec { 'fix_permissions': command => 'chmod 750 /web/app', refreshonly => true, }
[2012/02/21 10:12:04] <brunoleon> neilsaunders: check the node is reaching the server in the server log
[2012/02/21 10:12:05] <SpComb> astrostl: won't help here, because `$package_name = $name` doesn't work as a default in 2.6.2 either :)
[2012/02/21 10:12:27] <SpComb> I should probably really just update to the 2.7.x in squeeze-backports
[2012/02/21 10:12:35] @ Kernel_Core joined channel #puppet
[2012/02/21 10:12:38] <Kernel_Core> hi all
[2012/02/21 10:12:45] <mgw> if I call params::load (load is a define) from another class (admin) will vars defined within the define be local to params of admin class?
[2012/02/21 10:12:48] <joe-mac1> SpComb: probably easier to use apt.pl.com?
[2012/02/21 10:14:15] <Kernel_Core> after I upgraded puppet from 2.6.12 to 2.7.9 , I cannot import my classes in site.pp like import "classes/hosts/*"
[2012/02/21 10:14:27] @ Quit: extraordinaire: Quit: Lost terminal
[2012/02/21 10:14:35] <joe-mac1> Kernel_Core: that technique is discouraged
[2012/02/21 10:14:43] <mbrannigan> does that exec resource look valid?
[2012/02/21 10:14:47] <iksik> is there any way to detect node ip from puppet?
[2012/02/21 10:14:50] <Kernel_Core> joe-mac: whyy ?!
[2012/02/21 10:14:54] <joe-mac1> iksik: $ipaddress
[2012/02/21 10:14:59] <joe-mac1> or $::ipaddress now
[2012/02/21 10:15:03] <jim80net> mbrannigan: y u no use file {}?
[2012/02/21 10:15:12] <iksik> joe-mac1: is there any list of these which i can read?
[2012/02/21 10:15:31] <mbrannigan> jim80net, i want the head of the directory tree 750, the subsequent dirs 755 and the files 644
[2012/02/21 10:15:49] <jim80net> also, to use refreshonly, you'll want a subscribe or notify relationship
[2012/02/21 10:15:54] <joe-mac1> Kernel_Core: if you've setup puppet properly, everything should be auto imported- that being said, afaik it will still work in newer releases
[2012/02/21 10:16:02] <jim80net> mbrannigan: http://docs.puppetlabs.com/references/stable/type.html#exec
[2012/02/21 10:16:04] <mbrannigan> jim80net, i notify => Exec from the file
[2012/02/21 10:16:04] <joe-mac1> it's just the antithesis of best practice
[2012/02/21 10:16:12] <joe-mac1> iksik: you mean documentation?
[2012/02/21 10:16:21] <iksik> eh
[2012/02/21 10:16:23] <joe-mac1> evertything that a node spits out from facter -p is available to use in puppet manifests
[2012/02/21 10:16:24] <mbrannigan> jim80net, yes, i took a look at that
[2012/02/21 10:16:33] @ Quit: MartVisser: Quit: Leaving
[2012/02/21 10:16:49] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 10:16:51] <mbrannigan> the exec looks just fine in comparison to that document and other examples. I'm wondering if there's something else going on
[2012/02/21 10:16:51] <Kernel_Core> joe-mac1: I created different Enviroment and in every environemtn I import the related and needed classes... but it seems it doesn't work
[2012/02/21 10:17:15] @ csanchez joined channel #puppet
[2012/02/21 10:17:32] @ extraordinaire joined channel #puppet
[2012/02/21 10:17:37] <neilsaunders> brunoleon: Thanks. /var/log/messages: puppetmaster puppet-master[3144]: Could not find node 'node1.localdomain'; cannot compile
[2012/02/21 10:17:46] <mgw> asked a different way: where should defines go that are globally accessible?
[2012/02/21 10:18:26] <neilsaunders> brunoleon: nodes.pp: node 'node1.localdomain' { include hhh-db }
[2012/02/21 10:18:36] <neilsaunders> And thats it
[2012/02/21 10:18:49] @ Quit: nated_: Quit: Lost terminal
[2012/02/21 10:19:00] <brunoleon> neilsaunders: did you import nodes.pp somewhere ?
[2012/02/21 10:19:22] @ Quit: plasmonyc: Remote host closed the connection
[2012/02/21 10:19:23] @ rcrowley joined channel #puppet
[2012/02/21 10:20:00] @ plasmonyc joined channel #puppet
[2012/02/21 10:20:10] @ cliff-hm joined channel #puppet
[2012/02/21 10:20:11] <neilsaunders> brunoleon: Yup - In sites.pp, in the manifests directory.
[2012/02/21 10:20:56] <neilsaunders> brunoleon: Sorry, site.pp (Singular)
[2012/02/21 10:20:58] <joe-mac1> mgw: I would caution you to stay away from global definitions
[2012/02/21 10:21:08] <joe-mac1> it is best practice for *everything* to be in modules
[2012/02/21 10:21:13] <lisa> Can an if statement do a comparison on facts based on a regex with something like if ( $fact =~ /^6\.\d+/ ) { ...stuff ... } ?
[2012/02/21 10:21:20] <joe-mac1> things that are global, I typically put in my 'common' module
[2012/02/21 10:21:43] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2012/02/21 10:23:45] <lisa> turns out you can
[2012/02/21 10:23:59] @ Quit: neilsaunders: Excess Flood
[2012/02/21 10:24:09] <joe-mac1> indeed, regexes are nice
[2012/02/21 10:24:11] @ neilsaunders joined channel #puppet
[2012/02/21 10:24:26] <lisa> i'm just running into another problem now :(
[2012/02/21 10:25:16] <lisa> i'm trying to use lsb facts before redhat-lsb is installed. what a pain
[2012/02/21 10:26:53] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/02/21 10:27:21] <joe-mac1> put redhat-lsb in your kickstart/preseed/ami
[2012/02/21 10:27:27] @ Quit: extraordinaire: Remote host closed the connection
[2012/02/21 10:27:28] <joe-mac1> err s/preseed//
[2012/02/21 10:27:34] <joe-mac1> so used to saying that phrase I oput it in there lol
[2012/02/21 10:27:36] <lisa> do not have one just yet.
[2012/02/21 10:27:48] <joe-mac1> you could try stages
[2012/02/21 10:27:51] <joe-mac1> see if that works
[2012/02/21 10:27:57] <_rc> it doesn't
[2012/02/21 10:28:05] <lisa> dreamcrusher :(
[2012/02/21 10:28:14] <jarrwlee> How do I add new mcollective agents to the PE dashboard?
[2012/02/21 10:29:14] <lisa> it is shocking just how many dependencies are required for redhat-lsb.
[2012/02/21 10:29:39] <_rc> they took it pretty literally
[2012/02/21 10:29:45] @ freezey joined channel #puppet
[2012/02/21 10:30:22] <mbrannigan> Re: Exec => http://pastie.org/3427621
[2012/02/21 10:31:03] <mbrannigan> I really don't see what the issue is
[2012/02/21 10:31:21] <_rc> which is line 45?
[2012/02/21 10:32:32] @ Quit: opsmason: Quit: opsmason
[2012/02/21 10:32:32] <mbrannigan> _rc, line 45 is line 12 in pastie
[2012/02/21 10:32:43] <kjetilho> lisa: yes, it is a regression in RHEL 6.1
[2012/02/21 10:32:50] <mbrannigan> _rc, sorry for the discrepancy
[2012/02/21 10:32:57] <kjetilho> lisa: 6.0 was reasonable
[2012/02/21 10:33:28] <lisa> kjetilho: centos 6.2 has 108 packages from a minimal install :(
[2012/02/21 10:33:33] <jim80net> mbrannigan: the code looks good, and i'm assuming you have a path default somewhere else.
[2012/02/21 10:33:37] <mbrannigan> _rc, when i comment that out it runs fine
[2012/02/21 10:34:02] @ Quit: johnston_: Quit: Page closed
[2012/02/21 10:34:21] <solarisfire> lisa: Yeah it's minimal but still installs packages for x, which is crazy!!
[2012/02/21 10:34:41] @ Quit: neilsaunders: Excess Flood
[2012/02/21 10:34:59] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 10:35:04] <lisa> what the hell? all kinds of crap is installed now. what a mess
[2012/02/21 10:35:05] @ Quit: sygnous|mbp: Ping timeout: 244 seconds
[2012/02/21 10:35:13] @ neilsaunders joined channel #puppet
[2012/02/21 10:35:19] @ csanchez joined channel #puppet
[2012/02/21 10:35:30] <mbrannigan> _rc that = the whole exec thing... i have Exec { ... } setup in my site.pp
[2012/02/21 10:36:15] @ aelman joined channel #puppet
[2012/02/21 10:36:24] <jim80net> mbrannigan: what happens if you remove the notify and refresh?
[2012/02/21 10:37:52] <jim80net> if it fails after that, i'd look at the preceding context, for an orphan quote or something
[2012/02/21 10:37:55] <astrostl> Kernel_Core: read http://projects.puppetlabs.com/issues/8433
[2012/02/21 10:38:11] <mbrannigan> ill check
[2012/02/21 10:38:40] @ jonhattan_ joined channel #puppet
[2012/02/21 10:38:41] @ Quit: freezey: Quit: freezey
[2012/02/21 10:39:09] <dcarley> lsb can die with fire. if you only need lsbmajdistrelease then just construct it from operatingsystemrelease.
[2012/02/21 10:39:37] @ Quit: jonhattan: Remote host closed the connection
[2012/02/21 10:39:43] @ jonhattan_ is now known as jonhattan
[2012/02/21 10:40:11] <crazed> Puppet 2.7.10 pulled due to issues
[2012/02/21 10:40:14] <crazed> damn when did that happen
[2012/02/21 10:40:29] <crazed> are there any low traffic puppet mailing lists for important things like that?
[2012/02/21 10:41:02] <lisa> dcarley: yep i think we're going to do that.
[2012/02/21 10:41:50] @ opsmason joined channel #puppet
[2012/02/21 10:41:54] <joe-mac1> crazed: idk, I mean puppet-users and puppet-dev but far from low traffic
[2012/02/21 10:42:13] <dcarley> lisa: https://gist.github.com/1778618 or do versioncmp().
[2012/02/21 10:42:41] <crazed> joe-mac1: maybe we should start one?
[2012/02/21 10:42:53] <joe-mac1> crazed: file a ticket with PL
[2012/02/21 10:42:58] <crazed> hm okay
[2012/02/21 10:43:00] <joe-mac1> well
[2012/02/21 10:43:01] <joe-mac1> first
[2012/02/21 10:43:02] <dcarley> crazed: there's a puppet-announce.
[2012/02/21 10:43:05] <joe-mac1> search to make sure there isn't one
[2012/02/21 10:43:08] <joe-mac1> bingo
[2012/02/21 10:43:13] <joe-mac1> problem solved
[2012/02/21 10:43:16] <lisa> dcarley: ah! nice.
[2012/02/21 10:43:22] <mbrannigan> _rc, same error message when i comment out the notifyonly and the refresh
[2012/02/21 10:43:33] <jim`> So I've got a module that contains some custom types, it's being distributed via plugin sync but puppet doesn't plugin sync by default.
[2012/02/21 10:43:39] <mbrannigan> jim80net, sorry.. that was for you
[2012/02/21 10:43:40] <jim`> I have classes that reference the type defined in the module, but can't enable pluginsync on my clients (via puppet) as the manifest doesn't compile due to the missing types.
[2012/02/21 10:43:48] <joe-mac1> 2.7.10 is seriously f'd.... so glad I deployed 2.7.9
[2012/02/21 10:43:52] <jim`> How do I get the module out to the clients?
[2012/02/21 10:43:57] <joe-mac1> when I started this new dayjob I mean
[2012/02/21 10:44:08] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/02/21 10:44:23] <crazed> dcarley: where can i find that one
[2012/02/21 10:44:36] <crazed> nvm it's on google
[2012/02/21 10:44:38] <mbrannigan> jim80net, same error message when i comment out the notifyonly and the refresh
[2012/02/21 10:44:57] <crazed> doesn't seem anyone announced 2.7.10 was puled though
[2012/02/21 10:45:05] <crazed> or that it was available so, that's fine i guess
[2012/02/21 10:45:09] @ bsg_kwolf joined channel #puppet
[2012/02/21 10:45:29] @ ghg joined channel #puppet
[2012/02/21 10:46:11] @ Quit: snk: Quit: leaving
[2012/02/21 10:46:20] @ snk joined channel #puppet
[2012/02/21 10:46:24] @ syntaxx joined channel #puppet
[2012/02/21 10:46:37] @ Quit: leifmadsen: Read error: Connection reset by peer
[2012/02/21 10:46:51] <syntaxx> hi if i am receiving this error /usr/lib/ruby/1.8/net/http.rb:586:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read finished A: tlsv1 alert unknown ca (OpenSSL::SSL::SSLError) during puppet run what should be to check?
[2012/02/21 10:47:24] <joe-mac1> syntaxx: ensure the server you're connecting to is in the CN field of the SSL certificate presented by the server you're connecting to
[2012/02/21 10:47:35] <joe-mac1> openssl s_client -connect $servername:8140
[2012/02/21 10:47:39] <joe-mac1> then look at CN
[2012/02/21 10:47:56] <joe-mac1> does it match the name of the what you pass to --server? if you pass nothing to --server, the name is 'puppet'
[2012/02/21 10:48:10] <joe-mac1> a common problem is people run puppetmaster on a box named like ertioyashast834523.yourorg.com
[2012/02/21 10:48:18] <joe-mac1> and then the client by default wants the cn to be puppet
[2012/02/21 10:48:48] <syntaxx> ok so whenever i ran the puppetd i always need to put the --server?
[2012/02/21 10:48:52] <joe-mac1> in that case you must modify the certname setting in puppet.conf in the master section of the puppet.conf file on the master to be 'puppet'... then make sure your nodes can resolve 'puppet'
[2012/02/21 10:48:55] @ laudo joined channel #puppet
[2012/02/21 10:48:55] <joe-mac1> ^^
[2012/02/21 10:49:04] <joe-mac1> this is how I always set up puppet
[2012/02/21 10:49:12] <syntaxx> ok thanks a lot
[2012/02/21 10:49:59] @ brandon_dacrib joined channel #puppet
[2012/02/21 10:50:04] <laudo> I have to install rvm stuff with puppet. I saw that there a 4 modules on github already. Does somone has experience with one of them? Not sure which one is the best to take
[2012/02/21 10:50:19] <mgw> still working on this…. is there a way for a define to set a variable in the scope of the 'calling' class?
[2012/02/21 10:51:46] <syntaxx> joe-mac1: yeah looks like it the CN is the same as the --server though
[2012/02/21 10:52:13] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 10:52:39] @ Quit: kyzh: Ping timeout: 240 seconds
[2012/02/21 10:53:08] @ sygnous|mbp joined channel #puppet
[2012/02/21 10:53:24] @ csanchez joined channel #puppet
[2012/02/21 10:53:49] @ leifmadsen joined channel #puppet
[2012/02/21 10:55:05] @ johnston_ joined channel #puppet
[2012/02/21 10:55:23] @ stkrzysiak joined channel #puppet
[2012/02/21 10:55:59] <jim80net> mbrannigan: that's unusual. I'd start breaking it apart, taking chunks and throwing them in different pp's then running puppet apply --noop against them.
[2012/02/21 10:56:14] <jim80net> but i'm not sure what it might be.
[2012/02/21 10:56:26] <mbrannigan> jim80net, ok. thanks for taking a look at it!
[2012/02/21 10:56:59] <joe-mac1> syntaxx: then your local cert was probably not signed by the same CA
[2012/02/21 10:57:00] @ Stenbryggen joined channel #puppet
[2012/02/21 10:58:13] <syntaxx> joe-mac, ok how can i fix it?
[2012/02/21 10:59:06] <Kernel_Core> joe-mac: Puppet Server ----> debug: importing '/etc/puppet/environments/Nasp_Lab/manifests/classes/puppet-ex.pp' in environment Lab <------ but in client I get err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class puppet-ext-l for pupet-client on node puppetclient1
[2012/02/21 10:59:18] @ cwarden joined channel #puppet
[2012/02/21 10:59:25] <Kernel_Core> joe-mac: Puppet Server ----> debug: importing '/etc/puppet/environments/Nasp_Lab/manifests/classes/puppet-ex.pp' in environment Lab <------ but in client I get err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class puppet-ext-l for pupetclient1 on node puppetclient1
[2012/02/21 10:59:37] <Kernel_Core> ops
[2012/02/21 11:00:06] <Kernel_Core> so it seems that puppet 2.7.9 is importing the class? right ?
[2012/02/21 11:00:24] @ Quit: MattyM: Remote host closed the connection
[2012/02/21 11:02:03] @ Quit: pieter_: Quit: Ex-Chat
[2012/02/21 11:02:37] <joe-mac1> seems like it but you probably need to just take this moment to fix your code layout
[2012/02/21 11:02:52] <joe-mac1> if you don't, you're just delaying the inevitable, and making your life harder
[2012/02/21 11:02:53] <joe-mac1> in the end
[2012/02/21 11:03:19] <joe-mac1> I wouldn't be surprised if, as puppet evolves, and import becomes less necessary, if it is someday deprecated as a function
[2012/02/21 11:03:36] @ Quit: tremble: Quit: Leaving
[2012/02/21 11:04:12] @ Quit: cwarden: Ping timeout: 265 seconds
[2012/02/21 11:04:20] @ cwarden joined channel #puppet
[2012/02/21 11:04:38] @ Quit: theRoUS: Ping timeout: 245 seconds
[2012/02/21 11:05:00] <Kernel_Core> joe-mac1: I use import because it is easier to manage the different classes
[2012/02/21 11:05:46] @ dan__t joined channel #puppet
[2012/02/21 11:06:06] @ Quit: kjalil: Ping timeout: 252 seconds
[2012/02/21 11:06:15] @ Quit: lborda: Ping timeout: 240 seconds
[2012/02/21 11:07:25] @ emmanuelux joined channel #puppet
[2012/02/21 11:07:39] @ benkevan joined channel #puppet
[2012/02/21 11:08:32] @ lborda joined channel #puppet
[2012/02/21 11:09:42] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 11:09:59] @ Quit: marczak: Quit: leaving
[2012/02/21 11:10:22] @ Tobu joined channel #puppet
[2012/02/21 11:11:28] @ csanchez joined channel #puppet
[2012/02/21 11:12:40] @ Quit: sdog: Ping timeout: 245 seconds
[2012/02/21 11:14:15] @ Quit: octane-: Quit: Leaving.
[2012/02/21 11:16:39] @ Yann2 joined channel #puppet
[2012/02/21 11:17:09] <Yann2> hello puppet friends :) I'm trying to set the concatdir for the puppet concat module, and I fail to understand where I can set it. Any hint maybe?
[2012/02/21 11:18:07] @ lwhalen joined channel #puppet
[2012/02/21 11:18:11] @ lak joined channel #puppet
[2012/02/21 11:18:12] @ Quit: lak: Changing host
[2012/02/21 11:18:12] @ lak joined channel #puppet
[2012/02/21 11:19:19] <joe-mac1> Kernel_Core: but if you structure your code properly, import is superfluous
[2012/02/21 11:19:23] <joe-mac1> and the code is easier to manage
[2012/02/21 11:19:41] @ newtMcKerr joined channel #puppet
[2012/02/21 11:19:46] @ theRoUS joined channel #puppet
[2012/02/21 11:19:47] @ Quit: theRoUS: Changing host
[2012/02/21 11:19:47] @ theRoUS joined channel #puppet
[2012/02/21 11:20:21] <syntaxx> joe-mac1, ok how can i make my local cert sign by the CA?
[2012/02/21 11:20:31] @ marczak joined channel #puppet
[2012/02/21 11:21:44] @ kjalil joined channel #puppet
[2012/02/21 11:21:45] @ ldlework joined channel #puppet
[2012/02/21 11:21:46] @ rcrowley joined channel #puppet
[2012/02/21 11:22:17] <joe-mac1> syntaxx: stop puppet, blow away var lib puppet ssl on the node, start puppet, sign cert on master, start puppet on node again
[2012/02/21 11:22:26] @ samkottler joined channel #puppet
[2012/02/21 11:23:17] @ Quit: kjalil: Client Quit
[2012/02/21 11:23:35] <syntaxx> joe-mac1, alright thanks a lot!
[2012/02/21 11:24:28] <jim80net> syntaxx: I referred to this page so often, it's damn near the top of my browser cache: https://github.com/puppetlabs/puppetlabs-cve20113872/blob/master/README-ssh-only.markdown
[2012/02/21 11:24:45] <syntaxx> thanks!
[2012/02/21 11:25:13] @ kjalil joined channel #puppet
[2012/02/21 11:25:23] <joe-mac1> heh, have had scripts to redo my entire infra in a pinch
[2012/02/21 11:25:41] <joe-mac1> I lost the glue script but still have all the meat
[2012/02/21 11:27:57] @ Quit: eedri: Read error: Operation timed out
[2012/02/21 11:27:57] @ extraordinaire joined channel #puppet
[2012/02/21 11:28:14] <cdracars> I'm bring to figure out how to use run stages anyone have a good resource on how to do it?
[2012/02/21 11:28:19] @ Quit: djm68: Remote host closed the connection
[2012/02/21 11:28:36] @ kenperkins joined channel #puppet
[2012/02/21 11:29:08] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 11:29:32] @ csanchez joined channel #puppet
[2012/02/21 11:29:56] @ Quit: cliff-hm: Read error: Connection reset by peer
[2012/02/21 11:32:54] @ seanh-ansca joined channel #puppet
[2012/02/21 11:33:04] <fixxxermet> I'm working on upgrading from 0.25.5 to 2.7.9... I don't have a specific questions but, anything I should know or look out for while testing all my classes and modules?
[2012/02/21 11:33:23] @ Quit: seanh-ansca: Read error: Connection reset by peer
[2012/02/21 11:33:38] @ seanh-ansca joined channel #puppet
[2012/02/21 11:33:43] <joe-mac1> well, number one you'll need to change any source url's that don't have modules in the url
[2012/02/21 11:33:46] <fixxxermet> So far, things are 'just working fine'
[2012/02/21 11:33:55] <joe-mac1> you'll want to update all globally acccessed vars to be $::var instead of $var
[2012/02/21 11:33:59] <fixxxermet> ok
[2012/02/21 11:34:19] <joe-mac1> check the daemon/messages log on your master for errors only reported by the master
[2012/02/21 11:34:24] <joe-mac1> you may be missing ab unch of warnings
[2012/02/21 11:34:32] @ Quit: cwebber: Quit: Leaving.
[2012/02/21 11:34:39] <fixxxermet> like puppet:///modulename/file.cnof?
[2012/02/21 11:35:13] @ Quit: mogitaff: Ping timeout: 260 seconds
[2012/02/21 11:35:20] @ mrebersv joined channel #puppet
[2012/02/21 11:35:56] @ mrebersv is now known as Boss2
[2012/02/21 11:38:16] <Boss2> Running puppet 2.7.1, ruby 1.8.7, facter 1.6.0 on solaris 10 and running into a problem...
[2012/02/21 11:38:41] <Boss2> on one of the 25 servers, vfstab gets the same issues described in http://projects.puppetlabs.com/issues/6845
[2012/02/21 11:39:03] <Boss2> but that was supposed to be fixed in 2.6.9 (and in fact, 24 of 25 servers would say it was fixed)
[2012/02/21 11:39:37] <Boss2> i've quadruple checked versioning of everything involved, and it's all identical, right down to the kernel patch number
[2012/02/21 11:39:47] <Boss2> identical hardware (not that it would matter)
[2012/02/21 11:39:56] <Boss2> has anyone seen issues like this?
[2012/02/21 11:40:08] <joe-mac1> fixxxermet: no, like puppet:///modules/modulename/file.conf is the new way
[2012/02/21 11:40:42] @ Quit: inecas: Quit: Leaving
[2012/02/21 11:41:45] <fixxxermet> ah
[2012/02/21 11:41:59] <extraordinaire> cdracars: not the most amazing example, but have a look at https://gist.github.com/e614bef1e0b3f194fd15
[2012/02/21 11:42:34] <extraordinaire> also http://glarizza.posterous.com/using-run-stages-with-puppet :)
[2012/02/21 11:42:43] <cdracars> extraordinaire: thanks!
[2012/02/21 11:44:24] @ neonflux joined channel #puppet
[2012/02/21 11:44:32] @ Quit: Tobu: Ping timeout: 260 seconds
[2012/02/21 11:44:44] @ Quit: tuxaddicted: Quit: leaving
[2012/02/21 11:45:54] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 11:47:15] <mbrannigan> what's the best way in a manifest to check to see if a variable has been set?
[2012/02/21 11:47:31] <mbrannigan> if $myvar == undef { ... }?
[2012/02/21 11:47:37] @ csanchez joined channel #puppet
[2012/02/21 11:47:40] @ Quit: lak: Quit: Leaving.
[2012/02/21 11:48:33] @ Quit: mayak: Read error: Connection reset by peer
[2012/02/21 11:51:01] <Boss2> mbrannigan: that's what I'd do
[2012/02/21 11:51:38] @ Quit: ezryx: Read error: Connection reset by peer
[2012/02/21 11:51:49] @ ezryx joined channel #puppet
[2012/02/21 11:51:58] <flipwork> heh, so the certificate fails when trying to retreive files...but not for anything else
[2012/02/21 11:52:04] <flipwork> plugin sync works, resources get applied
[2012/02/21 11:52:31] <Boss2> mbrannigan: haven't tried it this way, but since it's ruby if $myvar == defined? might be the right way to say it
[2012/02/21 11:53:05] <flipwork> I wish I knew what part of the cert it isn't ok with
[2012/02/21 11:53:27] <flipwork> oh wait, this is my fault.
[2012/02/21 11:53:28] <_rc> Boss2: apart from it's not ruby
[2012/02/21 11:53:34] @ sdog joined channel #puppet
[2012/02/21 11:54:08] @ _moses_ joined channel #puppet
[2012/02/21 11:54:13] <Boss2> _rc: lol. maybe i'm mixing it up with chef, which i've also been testing out recently
[2012/02/21 11:54:18] <joe-mac1> undef is an actual value
[2012/02/21 11:54:22] <joe-mac1> if you're evaluating strings
[2012/02/21 11:54:35] <joe-mac1> evaluation will make an undef string to be ""
[2012/02/21 11:54:40] <Kernel_Core> is there any reference for puppet 2.7 ? I am useing 2.6 and I want to migrate to 2.7 , I used variables in my class files , but it generates error in 2.7 :(
[2012/02/21 11:54:46] <joe-mac1> or should I say, a non specified var
[2012/02/21 11:55:05] <joe-mac1> like if you don't specify $var and run "notice "$var"' it will just be a blank message
[2012/02/21 11:55:12] <joe-mac1> if you set it to undef it might actually say undef
[2012/02/21 11:55:45] <Phibs> 2.7.11 plox
[2012/02/21 11:56:03] <joe-mac1> nah it still shows blank
[2012/02/21 11:56:37] @ Quit: lborda: Quit: Ex-Chat
[2012/02/21 11:56:42] <joe-mac1> it's actually kinda weird how undef works
[2012/02/21 11:56:55] <joe-mac1> I keep getting side tracked, buyt you can test your assumptions and prove/disprove them with puppet apply
[2012/02/21 11:57:07] <joe-mac1> now gbtw'ing
[2012/02/21 11:58:57] @ Quit: ghg: Quit: Out of here.
[2012/02/21 11:59:29] @ Quit: sdog: Changing host
[2012/02/21 11:59:29] @ sdog joined channel #puppet
[2012/02/21 11:59:44] <Kernel_Core> puppet 2.7 is some sort of crap :(
[2012/02/21 11:59:45] <Boss2> _rc: the puppet site says that starting with 2.6, manifests can be written in ruby
[2012/02/21 12:00:07] @ labrown joined channel #puppet
[2012/02/21 12:00:18] <_rc> Boss2: can be, usually aren't, and the question was about using the not-ruby lang
[2012/02/21 12:01:19] @ Quit: pmorillon: Quit: pmorillon
[2012/02/21 12:01:20] <Boss2> cool.
[2012/02/21 12:01:34] @ tizzo- joined channel #puppet
[2012/02/21 12:01:56] <Boss2> anyone know why puppet 2.7.1 would be incorrectly modifying /etc/vfstab on solaris using the /etc/fstab (linux) format?
[2012/02/21 12:01:57] @ SirScott1 joined channel #puppet
[2012/02/21 12:02:05] <joe-mac1> Boss2: a provider error
[2012/02/21 12:02:22] <joe-mac1> run it in debug mode, liekly it is somehow coming to the conclusion that it should use the linux provider
[2012/02/21 12:02:33] @ plasmonyc1 joined channel #puppet
[2012/02/21 12:02:34] @ Quit: tizzo-afk: Ping timeout: 245 seconds
[2012/02/21 12:02:35] @ Quit: SirScott_: Ping timeout: 245 seconds
[2012/02/21 12:02:35] @ Quit: Daviey: Ping timeout: 245 seconds
[2012/02/21 12:02:37] @ Quit: Enoria: Ping timeout: 245 seconds
[2012/02/21 12:02:38] @ Quit: idnar: Ping timeout: 245 seconds
[2012/02/21 12:02:39] @ Quit: Silence_: Ping timeout: 245 seconds
[2012/02/21 12:02:40] @ Quit: kambiz: Ping timeout: 245 seconds
[2012/02/21 12:02:40] @ Quit: hleitzell: Ping timeout: 245 seconds
[2012/02/21 12:02:41] @ hleitzell joined channel #puppet
[2012/02/21 12:02:57] <fixxxermet> How would a template that has: if has_template?<% branch %> be written to use the correct top-level scope ($::)?
[2012/02/21 12:02:59] @ Quit: dballing: Ping timeout: 245 seconds
[2012/02/21 12:03:03] @ Quit: plasmonyc: Read error: Connection reset by peer
[2012/02/21 12:03:05] <Boss2> joe-mac1: thanks. did it before and didn't see anything, but I'll look harder this time
[2012/02/21 12:03:06] @ clemens joined channel #puppet
[2012/02/21 12:03:07] @ Quit: clemens: Client Quit
[2012/02/21 12:03:21] @ kambiz_ joined channel #puppet
[2012/02/21 12:03:21] @ kambiz_ is now known as kambiz
[2012/02/21 12:03:23] @ Quit: swills: Ping timeout: 245 seconds
[2012/02/21 12:03:24] @ Quit: th[i]as: Ping timeout: 245 seconds
[2012/02/21 12:03:27] @ Quit: marrusl: Ping timeout: 244 seconds
[2012/02/21 12:03:27] @ clustermagnet joined channel #puppet
[2012/02/21 12:03:44] <_rc> fixxxermet: sorry, do you mean has_variable?
[2012/02/21 12:03:55] <fixxxermet> hah, yeah
[2012/02/21 12:04:13] @ kloeri_ joined channel #puppet
[2012/02/21 12:04:23] @ marrusl joined channel #puppet
[2012/02/21 12:04:40] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 12:04:53] @ boats2 joined channel #puppet
[2012/02/21 12:05:27] <fixxxermet> same question though
[2012/02/21 12:05:30] @ Quit: kloeri: Remote host closed the connection
[2012/02/21 12:05:31] @ Quit: masterzen: Ping timeout: 245 seconds
[2012/02/21 12:05:31] @ Quit: ckauhaus: Ping timeout: 245 seconds
[2012/02/21 12:05:32] @ Quit: palt: Ping timeout: 245 seconds
[2012/02/21 12:05:32] @ th[i]as joined channel #puppet
[2012/02/21 12:05:44] @ csanchez joined channel #puppet
[2012/02/21 12:05:54] @ Quit: sietse_: Ping timeout: 245 seconds
[2012/02/21 12:05:54] @ Quit: lotheac: Ping timeout: 245 seconds
[2012/02/21 12:05:54] @ masterzen joined channel #puppet
[2012/02/21 12:06:20] <joe-mac1> fixxxermet: scope.lookupvar("::toplevelvar")
[2012/02/21 12:06:21] @ palt joined channel #puppet
[2012/02/21 12:06:37] @ sietse joined channel #puppet
[2012/02/21 12:06:43] @ Quit: antoon_i: Ping timeout: 245 seconds
[2012/02/21 12:06:57] @ lotheac joined channel #puppet
[2012/02/21 12:06:59] @ antoon_i joined channel #puppet
[2012/02/21 12:07:09] @ Quit: telmich: Ping timeout: 245 seconds
[2012/02/21 12:07:09] @ Quit: sebian: Ping timeout: 245 seconds
[2012/02/21 12:07:14] @ telmich joined channel #puppet
[2012/02/21 12:07:15] @ Quit: telmich: Changing host
[2012/02/21 12:07:15] @ telmich joined channel #puppet
[2012/02/21 12:07:17] @ Quit: ali3n0: Quit: Leaving.
[2012/02/21 12:07:52] @ sebian joined channel #puppet
[2012/02/21 12:07:53] @ Enoria joined channel #puppet
[2012/02/21 12:08:23] @ Quit: boats: Ping timeout: 245 seconds
[2012/02/21 12:08:24] @ Quit: tdb: Ping timeout: 245 seconds
[2012/02/21 12:08:28] @ dballing joined channel #puppet
[2012/02/21 12:08:37] @ crazed_ joined channel #puppet
[2012/02/21 12:08:51] <fixxxermet> So that variable now returns undefined. Is a variable under a node in the nodes.pp file considered top level (::)?
[2012/02/21 12:09:13] @ Quit: xanthspod: Ping timeout: 245 seconds
[2012/02/21 12:09:28] @ Quit: crazed: Remote host closed the connection
[2012/02/21 12:09:30] @ Quit: grzany_: Quit: Ex-Chat
[2012/02/21 12:09:33] @ tdb joined channel #puppet
[2012/02/21 12:09:38] @ Quit: ewoud: Ping timeout: 245 seconds
[2012/02/21 12:09:41] @ xanthspod joined channel #puppet
[2012/02/21 12:09:45] @ Daviey joined channel #puppet
[2012/02/21 12:09:54] <_rc> fixxxermet: no
[2012/02/21 12:10:19] <fixxxermet> Where would that variable belong then?
[2012/02/21 12:10:42] @ Tobu joined channel #puppet
[2012/02/21 12:10:48] @ Quit: kinsel8: Ping timeout: 260 seconds
[2012/02/21 12:10:51] @ freezey joined channel #puppet
[2012/02/21 12:10:53] @ Quit: th[i]as: Ping timeout: 245 seconds
[2012/02/21 12:10:54] @ Quit: raphink: Ping timeout: 245 seconds
[2012/02/21 12:11:35] @ ewoud joined channel #puppet
[2012/02/21 12:11:42] @ Quit: zooz: Quit: Leaving IRC
[2012/02/21 12:12:00] @ Quit: larstobi: Quit: Leaving.
[2012/02/21 12:12:16] @ Quit: lkoranda: Quit: Ex-Chat
[2012/02/21 12:12:39] @ th[i]as joined channel #puppet
[2012/02/21 12:13:30] <fixxxermet> ah, I didn't need the ::
[2012/02/21 12:13:35] <fixxxermet> makes sense
[2012/02/21 12:13:48] @ Quit: rutger_: Ping timeout: 245 seconds
[2012/02/21 12:14:39] <_rc> without the :: it picked it up from dynamic scope iirc. node scope is an odd thing I don't think you can reach
[2012/02/21 12:15:26] @ rutger_ joined channel #puppet
[2012/02/21 12:15:57] @ linsys left channel #puppet ()
[2012/02/21 12:16:18] @ raphink joined channel #puppet
[2012/02/21 12:16:19] @ Quit: raphink: Changing host
[2012/02/21 12:16:19] @ raphink joined channel #puppet
[2012/02/21 12:16:29] <astrostl> i would like to find, in a template, the ip address in the 10.0.x.x subnet which is assigned to the host
[2012/02/21 12:16:44] @ Quit: th[i]as: Ping timeout: 245 seconds
[2012/02/21 12:16:44] <astrostl> could be ipaddress_ethx - usually eth1, sometimes eth0, sometimes eth4, etc.
[2012/02/21 12:17:04] <astrostl> what would the best canonical way be to do this? inline ruby with a hash or something?
[2012/02/21 12:17:29] <astrostl> what i want is effectively <%= the_10.0.x.x_ip %>
[2012/02/21 12:17:39] @ th[i]as joined channel #puppet
[2012/02/21 12:18:39] <_rc> it's probably best to make your own custom fact for it
[2012/02/21 13:15:34] @ Log started by gepetto
[2012/02/21 13:15:34] @ Joined channel #puppet
[2012/02/21 13:15:34] @ Topic is "Puppet 2.7.10 pulled due to issues | Jan Newsletter http://bit.ly/nl12-01| Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 at {yum,apt,downloads}.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A"
[2012/02/21 13:15:34] @ Topic set by stahnma!~stahnma@fedora/stahnma on Sun Feb 19 17:27:21 -0500 2012
[2012/02/21 13:15:50] @ Mode +Ccnt by leguin.freenode.net
[2012/02/21 13:15:50] <Boss2> of course i typed my name
[2012/02/21 13:15:54] <greenman> heh
[2012/02/21 13:16:20] * epac puts on his dark glasses
[2012/02/21 13:16:29] @ larstobi joined channel #puppet
[2012/02/21 13:16:54] * epac hands a pair to boss2
[2012/02/21 13:16:54] @ Quit: Chosi: Read error: Operation timed out
[2012/02/21 13:17:03] * Boss2 prepares dead drop for epac
[2012/02/21 13:17:15] <epac> everyone, this is just the final test. please look into the little red light here
[2012/02/21 13:17:27] <Boss2> lol
[2012/02/21 13:17:32] * epac activate memory zapping device
[2012/02/21 13:17:35] <greenman> heh
[2012/02/21 13:17:42] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 13:17:47] <epac> boss2: you're good...
[2012/02/21 13:17:51] <blarg_banjo> Can anyone give me some direction or links to how to create a module that uses a machines IP (range) to determine a configuration?
[2012/02/21 13:18:00] <greenman> csanchez's brain couldn't handle the memory zap...
[2012/02/21 13:18:03] <Boss2> thanks!
[2012/02/21 13:18:06] @ csanchez joined channel #puppet
[2012/02/21 13:18:37] @ eedri joined channel #puppet
[2012/02/21 13:19:22] <greenman> blarg_banjo: I don't know an exact page, but a clue on where to look would be using factored variables in case conditional with regular expressions
[2012/02/21 13:19:36] * greenman is still kinda new, but read about something like this in the pro puppet book
[2012/02/21 13:19:42] * greenman is only about 40 pages in.
[2012/02/21 13:20:01] <Maior> I liked the PP book
[2012/02/21 13:20:37] <blarg_banjo> That is pretty much what I was planning, just didn't know if there was a more sane method for doing it.
[2012/02/21 13:21:06] <blarg_banjo> Was considering making a fact to determine the geographical location and vlan, so I can point things at the right servers.
[2012/02/21 13:21:12] @ Quit: w3lly: Quit: Leaving.
[2012/02/21 13:21:40] @ ki0 left channel #puppet ()
[2012/02/21 13:21:42] <joe-mac1> blarg_banjo: that is not uncommon
[2012/02/21 13:22:37] @ idnar joined channel #puppet
[2012/02/21 13:22:50] @ Quit: jarrwlee:
[2012/02/21 13:23:06] <Boss2> does the puppet pro book have an index? I was handed a copy of "pulling strings..." and my biggest complaints are that it isn't too in depth, and there is no index
[2012/02/21 13:23:08] @ Chosi joined channel #puppet
[2012/02/21 13:23:38] @ pcarlisl_ joined channel #puppet
[2012/02/21 13:23:39] <joe-mac1> pulling strings is old and wasn't really a full book
[2012/02/21 13:23:43] <greenman> Boss2: yes, the pro puppet has an index
[2012/02/21 13:23:45] <joe-mac1> pro puppet has an index
[2012/02/21 13:23:51] <greenman> So far, I really like it.
[2012/02/21 13:24:05] <greenman> And it was free! (puppet enterprise rep gave us two books)
[2012/02/21 13:24:13] <joe-mac1> hard cover?
[2012/02/21 13:24:25] <joe-mac1> you pay for PE or just evaling?
[2012/02/21 13:24:55] <greenman> softcover
[2012/02/21 13:24:58] <greenman> evaling
[2012/02/21 13:25:02] <Boss2> that settles it. ordering pro puppet now. anyone have the "Puppet 2.7 Cookbook" (http://www.amazon.com/Puppet-2-7-Cookbook-John-Arundel/dp/1849515387/)
[2012/02/21 13:25:04] <greenman> we're not going to use it.
[2012/02/21 13:25:12] <joe-mac1> I meant actual book when I said soft cover
[2012/02/21 13:25:28] @ Quit: pcarlisl_: Client Quit
[2012/02/21 13:25:29] <joe-mac1> som,etimes it's nice to have a tangible thing to reference
[2012/02/21 13:27:01] <blarg_banjo> looks interesting, I may grab the kindle version (or at least the sample)
[2012/02/21 13:27:34] @ pbuckley joined channel #puppet
[2012/02/21 13:29:00] @ ultimateboy joined channel #puppet
[2012/02/21 13:31:04] @ biopete_ joined channel #puppet
[2012/02/21 13:31:23] <biopete_> does anyone here use extlookup?
[2012/02/21 13:32:42] @ Quit: Spads: Ping timeout: 244 seconds
[2012/02/21 13:33:36] <the_ramink> biopete_: I use it though I am looking at moving to hiera at some point
[2012/02/21 13:35:18] <joe-mac1> biopete_: I use it
[2012/02/21 13:35:33] <joe-mac1> have used it since before it was even in puppet mainline
[2012/02/21 13:35:43] <joe-mac1> it's a great utility though hiera is an evolution of the idea
[2012/02/21 13:36:57] <astrostl> <%= scope.to_hash.find { |k,v| k =~ /^ipaddress_/ and v =~ /^10.0./ }[1] %> does what i want
[2012/02/21 13:37:27] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 13:38:11] @ csanchez joined channel #puppet
[2012/02/21 13:39:13] @ Quit: epac: Quit: brb
[2012/02/21 13:39:43] @ epac joined channel #puppet
[2012/02/21 13:40:41] <joe-mac1> anybody ever tried to override by collection on a class? like Class <| title == "httpd" |> { param => "newvalue" }?
[2012/02/21 13:43:27] @ sjoeboo joined channel #puppet
[2012/02/21 13:44:38] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/02/21 13:45:03] @ hooper_ joined channel #puppet
[2012/02/21 13:48:29] @ extraordinaire joined channel #puppet
[2012/02/21 13:49:25] @ jaschal joined channel #puppet
[2012/02/21 13:50:10] @ Quit: extraordinaire: Client Quit
[2012/02/21 13:52:40] @ Quit: jiboumans_: Quit: jiboumans_
[2012/02/21 13:53:20] @ Quit: samkottler: Remote host closed the connection
[2012/02/21 13:54:51] @ lborda joined channel #puppet
[2012/02/21 13:55:42] @ ghanima joined channel #puppet
[2012/02/21 13:55:53] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 13:56:07] <jaschal> So, I'm trying my question at a slightly better GMT time (hint for Volcane)…. I have a hiera issue: I want to use a fact in my hierarchy like %{operatingsystem} is used in http://puppetlabs.com/blog/first-look-installing-and-using-hiera/ . However, my fact is a list (a comma-separated string). Any suggestions for how to split this value up? myfact=fu,bar,baz I'd like to have fu bar and baz in my hierarchy. Doable?
[2012/02/21 13:56:18] @ csanchez joined channel #puppet
[2012/02/21 13:56:34] @ dgj joined channel #puppet
[2012/02/21 13:57:09] <Volcane> dont think so
[2012/02/21 13:57:30] @ Quit: kermit: Ping timeout: 244 seconds
[2012/02/21 13:57:32] <jaschal> bummer!
[2012/02/21 13:58:18] <joe-mac1> you can split facts inside manifests
[2012/02/21 13:58:25] <joe-mac1> there is a split function, it might be in puppetlabs-stdlib
[2012/02/21 13:58:40] <jaschal> Yeah, I was just going to ask about splitting it up in the data file
[2012/02/21 13:58:56] <agaffney> joe-mac1: I think split() is built-in and join() is from puppetlabs-stdlib
[2012/02/21 13:58:57] <jaschal> but I think doing it in the manifest won't work for hiera
[2012/02/21 13:59:32] @ Tobu joined channel #puppet
[2012/02/21 13:59:38] @ Quit: setient: Ping timeout: 245 seconds
[2012/02/21 13:59:43] <jaschal> I need to know how hiera can get the split value for its hierarchy traversal, however
[2012/02/21 13:59:44] <joe-mac1> my bad, yea, there is a way that is the bottom line
[2012/02/21 13:59:45] @ St3v3o left channel #puppet ()
[2012/02/21 13:59:59] <joe-mac1> can't you just get the var as a string from hiera, then call split on it in puppet?
[2012/02/21 14:00:20] <Volcane> joe-mac1: he wants to split a fact and use each member in the resulting array as a hierarchy in hiera
[2012/02/21 14:00:28] <jaschal> right
[2012/02/21 14:00:31] @ alanevans joined channel #puppet
[2012/02/21 14:00:38] <Volcane> joe-mac1: hierarchies are defined in the yaml file and are kind of static
[2012/02/21 14:00:51] <Volcane> there's 2 options, make a new backend that handles this - not hard
[2012/02/21 14:01:10] <Volcane> do the splitting and whatever in site.pp, set top scope vars and reference those vars in the hierarchy
[2012/02/21 14:01:18] <Volcane> this does though mean your list needs to be fixed length
[2012/02/21 14:01:20] @ setient joined channel #puppet
[2012/02/21 14:01:56] <Volcane> home time
[2012/02/21 14:02:00] <jaschal> hmnn.. the list will be a combination of values, so it won't be fixed length
[2012/02/21 14:02:06] <jaschal> so I guess I need a new backend
[2012/02/21 14:02:12] <jaschal> wow, caught you just in time!
[2012/02/21 14:02:32] @ Quit: rockpapergoat: Ping timeout: 245 seconds
[2012/02/21 14:02:32] @ Quit: johnston_: Ping timeout: 245 seconds
[2012/02/21 14:02:33] @ Quit: laudo: Ping timeout: 245 seconds
[2012/02/21 14:02:45] <jaschal> good-night and thanks Volcane!
[2012/02/21 14:02:57] @ Quit: biopete_: Ping timeout: 245 seconds
[2012/02/21 14:03:35] @ Quit: joe-mac1: Remote host closed the connection
[2012/02/21 14:03:48] @ joe-mac1 joined channel #puppet
[2012/02/21 14:04:15] @ Quit: aheritier: Quit: aheritier
[2012/02/21 14:05:05] @ Ahlee joined channel #puppet
[2012/02/21 14:05:15] @ Quit: mgw: Quit: Leaving.
[2012/02/21 14:05:40] @ zooz joined channel #puppet
[2012/02/21 14:05:49] <zooz> hi people
[2012/02/21 14:06:02] <zooz> how can I see the rdoc part of a module?
[2012/02/21 14:06:13] <zooz> I can sure you and open the module's manifest files
[2012/02/21 14:06:24] <Ahlee> so I have a shared user account that exists on some legacy servers. I don't want to create that user on servers it's not on, but I want to update the password for that user on servers it is on. Can I do if defined(User['<user>']) { <handle it> }?
[2012/02/21 14:08:34] @ samkottler joined channel #puppet
[2012/02/21 14:08:56] @ jcustenborder joined channel #puppet
[2012/02/21 14:09:05] @ Quit: fronlius: Quit: fronlius
[2012/02/21 14:09:06] <jcustenborder> Hello all
[2012/02/21 14:09:27] <jcustenborder> can someone point me to the preferred way to decomission a node with 2.7.6 and storeconfigs?
[2012/02/21 14:09:45] <joe-mac1> puppet node clean I think
[2012/02/21 14:09:54] <joe-mac1> you don't need the storedconfigclean script anymore I think
[2012/02/21 14:10:06] <joe-mac1> don't quote me on that I just remembered there might be a bug in puppet node on that version
[2012/02/21 14:10:47] <jcustenborder> got ya so puppet node clean <hostname> on the master?
[2012/02/21 14:10:51] <joe-mac1> yea
[2012/02/21 14:10:52] <joe-mac1> BUT
[2012/02/21 14:11:01] <joe-mac1> there is also a script for it in ext/ in the puppet code checkout
[2012/02/21 14:11:22] @ ezmobius joined channel #puppet
[2012/02/21 14:12:15] <jcustenborder> got ya
[2012/02/21 14:12:17] <jcustenborder> trying it now
[2012/02/21 14:12:36] @ Quit: setient: Ping timeout: 244 seconds
[2012/02/21 14:13:36] <lisa> is there a diagram of what each component of a type definition are? especially $name and $title and any other builtins? i'm having problems passing an array to a define, hoping to iterate over each element for a file {}
[2012/02/21 14:14:24] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 14:15:04] <jcustenborder> joe-mac1 - it doesn't look like it remove the node from store configs. It killed it's certificate
[2012/02/21 14:15:14] <joe-mac1> jcustenborder: puppet node --help
[2012/02/21 14:15:51] <joe-mac1> or puppet help node
[2012/02/21 14:15:57] <joe-mac1> spending too much time with git latelty
[2012/02/21 14:16:09] <jcustenborder> heh
[2012/02/21 14:16:18] <joe-mac1> clean should do it, but as ir ecall there might be a bug with clean
[2012/02/21 14:16:21] @ bmahe joined channel #puppet
[2012/02/21 14:16:23] @ csanchez joined channel #puppet
[2012/02/21 14:16:26] <jcustenborder> got ya
[2012/02/21 14:16:45] <joe-mac1> either way the script in ext/ was the standard way to do it since like .24 or something
[2012/02/21 14:16:57] <jcustenborder> oh awesome
[2012/02/21 14:17:04] <jcustenborder> I'll look at that
[2012/02/21 14:17:31] <jcustenborder> puppet node clean <hostname> didn't remove it from store configs but it did kill the cert
[2012/02/21 14:17:40] <jcustenborder> heh so one step closer to the goal :)
[2012/02/21 14:21:12] @ Quit: astrostl:
[2012/02/21 14:22:13] @ Quit: Vulcan[OMNI]_: Quit: Vulcan[OMNI]_
[2012/02/21 14:22:36] @ Quit: bpgoldsb: Ping timeout: 260 seconds
[2012/02/21 14:22:48] @ bpgoldsb joined channel #puppet
[2012/02/21 14:23:54] @ Quit: schvin: Ping timeout: 272 seconds
[2012/02/21 14:25:03] <jcustenborder> I pulled down https://github.com/puppetlabs/puppet/blob/master/ext/puppetstoredconfigclean.rb and am trying to get it to run. Is there something else I'm missing. It's trying to load sqllite instead of mysql for the adapter, even though I specify my config and it's using mysql
[2012/02/21 14:26:08] <joe-mac1> jcustenborder: that's the script but you ash ould use git clone and then checkoiuyt the tag of the version you'er on
[2012/02/21 14:26:48] <jcustenborder> ok got ya
[2012/02/21 14:26:55] <jcustenborder> I'm using the debian backports package
[2012/02/21 14:27:07] @ brunoleon joined channel #puppet
[2012/02/21 14:27:15] <jcustenborder> I'll give it a shot
[2012/02/21 14:27:17] <jcustenborder> thanks for the help
[2012/02/21 14:27:22] <jcustenborder> much appreciated
[2012/02/21 14:27:38] <joe-mac1> jcustenborder: protip: use apt.puppetlabs.com
[2012/02/21 14:28:52] <jcustenborder> nice
[2012/02/21 14:28:58] <jcustenborder> I'll look into that.
[2012/02/21 14:29:12] @ kermit joined channel #puppet
[2012/02/21 14:29:27] <jcustenborder> It'll take some testing though. I've at least standardized my environment to 2.7.6 and Debian 6.0
[2012/02/21 14:29:40] <awinters> Anyone else experiencing a situation with puppet 2.7.10/facter 1.6.5 where the facter engine forks off a process but neglects to call wait() after receiving SIGCHLD?
[2012/02/21 14:30:39] <joe-mac1> awinters: puppet 2.7.10 is a failure
[2012/02/21 14:30:45] <joe-mac1> it was aborted as a release basically
[2012/02/21 14:30:48] <awinters> indeed
[2012/02/21 14:30:56] <joe-mac1> not exaggerating
[2012/02/21 14:31:01] <awinters> well, I can live with that
[2012/02/21 14:31:02] <joe-mac1> you need to remove it
[2012/02/21 14:31:07] <awinters> I will make that happen
[2012/02/21 14:31:12] <joe-mac1> +1
[2012/02/21 14:31:50] @ Quit: betsys_: Quit: ~ Trillian Astra - www.trillian.im ~
[2012/02/21 14:33:51] @ Spads joined channel #puppet
[2012/02/21 14:34:19] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 14:35:51] @ betsys_ joined channel #puppet
[2012/02/21 14:35:52] @ czervik joined channel #puppet
[2012/02/21 14:36:24] @ oCean joined channel #puppet
[2012/02/21 14:36:26] @ Quit: TooExcited: Ping timeout: 276 seconds
[2012/02/21 14:36:29] @ csanchez joined channel #puppet
[2012/02/21 14:36:48] @ TooExcited joined channel #puppet
[2012/02/21 14:37:26] @ Quit: jtanner: Remote host closed the connection
[2012/02/21 14:37:40] @ tangledhelix joined channel #puppet
[2012/02/21 14:37:59] @ 77CAAHGS2 joined channel #puppet
[2012/02/21 14:38:52] @ Quit: 77CAAHGS2: Remote host closed the connection
[2012/02/21 14:39:12] <czervik> hey guys, I have a jre class that downloads version x of the jre from oracle and "installs" it. I want to only run this class if /dir/jre${version}/bin/java doesn't already exist. Is there a better way to do this than the put an unless on every single exec in the class?
[2012/02/21 14:39:25] @ jtanner joined channel #puppet
[2012/02/21 14:40:12] <joe-mac1> czervik: not really for classes unless you have a fact
[2012/02/21 14:40:16] @ Quit: tangledhelix: Client Quit
[2012/02/21 14:40:19] <joe-mac1> you could make a custom fact trivially for this though
[2012/02/21 14:40:29] <joe-mac1> jre_installed => "true" or "false", easy to make
[2012/02/21 14:40:54] <joe-mac1> the fact would basically be return File.exists? "/jre/path"
[2012/02/21 14:41:03] @ Quit: spicyWith: Quit: spicyWith
[2012/02/21 14:41:52] <czervik> joe-mac1, I considered a custom fact, but that won't work unless you can make a fact that takes a parameter because it needs to be specific to the version
[2012/02/21 14:42:00] <WALoeIII> I've upgraded to 2.7 from 0.25 and everything is working well. I'm getting some deprecation warnings about using fully qualified variables
[2012/02/21 14:42:17] <WALoeIII> I have a few "globals" defined in site.pp, do I just refer to them as ::$var
[2012/02/21 14:42:21] <joe-mac1> czervik: then add a little code to it to return the version fo the jre if present, and false if none are present
[2012/02/21 14:42:42] <WALoeIII> some of these variables are custom facts
[2012/02/21 14:43:25] <WALoeIII> $::top_scope_variable.)
[2012/02/21 14:43:26] <WALoeIII> ah
[2012/02/21 14:43:29] <joe-mac1> yes
[2012/02/21 14:43:35] <joe-mac1> facts are $:: now
[2012/02/21 14:43:46] @ biopete joined channel #puppet
[2012/02/21 14:43:49] @ Quit: biopete: Client Quit
[2012/02/21 14:44:19] @ biopete joined channel #puppet
[2012/02/21 14:44:28] <WALoeIII> joe-mac1: how would I refer to these in erb => <%= domainname %>
[2012/02/21 14:45:47] <joe-mac1> <%= scope.lookupvar("::domainname") %>
[2012/02/21 14:46:28] <biopete> joe-mac1, you said you use extlookup... I have a question about it
[2012/02/21 14:46:29] <joe-mac1> find ./ -type f -name '*.erb' -exec gsed -I 's/domainname/scope.lookupvar("::domainname")/g' {} \; is your friend
[2012/02/21 14:46:31] <czervik> joe-mac1: tks, something along those lines might work out
[2012/02/21 14:46:32] @ crazed_ is now known as crazed
[2012/02/21 14:46:49] <WALoeIII> joe-mac1: oh :|
[2012/02/21 14:46:49] @ Quit: crazed: Changing host
[2012/02/21 14:46:50] @ crazed joined channel #puppet
[2012/02/21 14:46:51] <WALoeIII> kinda lame
[2012/02/21 14:46:52] <joe-mac1> s/I/i my goddam pidgin won't stop autocorrecting
[2012/02/21 14:47:19] <joe-mac1> biopete: shoot, I am not the only person here using it
[2012/02/21 14:47:54] @ Taffy joined channel #puppet
[2012/02/21 14:47:57] <Taffy> Cool ass feed! http://www.twitch.tv/thechiimp
[2012/02/21 14:47:59] <biopete> I'm having a debate with a teammate about how to best use environmental parameters. We have ENC setup to pull information out of a database and our parameters from a JSON file
[2012/02/21 14:48:08] @ Taffy left channel #puppet ("Leaving")
[2012/02/21 14:48:14] <biopete> he would rather use extlookup and put the data in csv files
[2012/02/21 14:48:32] <joe-mac1> biopete: seems stupid to me
[2012/02/21 14:48:34] <biopete> if anyone has experience with both methods, I'd like to hear pros and cons of both
[2012/02/21 14:48:38] <joe-mac1> one source of truth is best
[2012/02/21 14:48:47] <joe-mac1> the con of db is it's arguably harder to update
[2012/02/21 14:48:49] <joe-mac1> and query
[2012/02/21 14:48:52] <joe-mac1> than a flat text file
[2012/02/21 14:48:59] <biopete> it's a json file
[2012/02/21 14:49:23] <biopete> the db just stores the server types. that can't change as it's tied to our provisioning platform
[2012/02/21 14:49:45] @ biodave joined channel #puppet
[2012/02/21 14:49:53] <biopete> all the paramters (global variables) are stored in a flat JSON file which is parsed by the ENC and converted to YAML
[2012/02/21 14:50:10] <biopete> the alternative is putting all that data into CSV files and use extlookup
[2012/02/21 14:51:23] <biopete> if anyone has used both ENC and extlookup, I'd like to hear how they do it
[2012/02/21 14:51:49] <biopete> or, if there is a way to get extlookup to read from our JSON file...
[2012/02/21 14:52:21] <joe-mac1> biopete: it's not a particularly complex function
[2012/02/21 14:52:30] <joe-mac1> you can adapt it to read json pretty easily
[2012/02/21 14:52:40] <joe-mac1> considering parsing json in ruby is like "JSON.Parse" I think
[2012/02/21 14:52:44] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 14:53:24] @ astrostl joined channel #puppet
[2012/02/21 14:53:59] @ rockpapergoat joined channel #puppet
[2012/02/21 14:54:04] <biodave> Makes me wonder why they did not bake in JSON in the first place
[2012/02/21 14:54:32] @ csanchez joined channel #puppet
[2012/02/21 14:54:47] <biodave> bake in reading JSON files to extlookup that is...sorry, for barging in on thread
[2012/02/21 14:55:25] <joe-mac1> well, hiera is the future
[2012/02/21 14:55:34] <joe-mac1> so if any features are being developed, it will happen in hiera probably
[2012/02/21 14:56:27] @ SirScott1 is now known as SirScott
[2012/02/21 14:56:55] @ IndyMichaelB_ joined channel #puppet
[2012/02/21 14:57:07] @ jdunck is now known as jdunck_away
[2012/02/21 14:57:16] @ jdunck_away is now known as jdunck
[2012/02/21 14:57:24] <biodave> Yeah I know its in the works. Just want know if there was some thoughtful decision around not making extlookup be able to read JSON. I think its obvious that CSV is limited.
[2012/02/21 14:57:25] @ Quit: mauve_: Remote host closed the connection
[2012/02/21 14:57:27] @ swills joined channel #puppet
[2012/02/21 14:57:36] @ Quit: swills: Changing host
[2012/02/21 14:57:36] @ swills joined channel #puppet
[2012/02/21 14:57:43] @ Quit: IndyMichaelB_: Client Quit
[2012/02/21 14:58:21] <joe-mac1> biodave: extlookup was originally just a small plugin... it is old
[2012/02/21 14:58:40] <joe-mac1> I used it probably on .22
[2012/02/21 14:58:46] <biodave> k..that is a good explanation.
[2012/02/21 14:58:57] @ Quit: nfagerlund: Remote host closed the connection
[2012/02/21 14:59:29] <joe-mac1> it started off not even in puppet heh, you had to copy it to masters, this was before I had plugins in modules, not sure if the mainline version had it at that point, can't remember
[2012/02/21 14:59:39] <biodave> There are always bigger fish to fry and if its not broken then its best to concentrate on tstuff that does not work
[2012/02/21 14:59:46] @ alfism_ joined channel #puppet
[2012/02/21 14:59:51] <joe-mac1> yea
[2012/02/21 15:00:04] <joe-mac1> hiera is written by the same guy who wrote extlookup
[2012/02/21 15:00:13] @ Quit: brandon_dacrib: Remote host closed the connection
[2012/02/21 15:00:18] @ Quit: alfism: Read error: Operation timed out
[2012/02/21 15:00:18] @ alfism_ is now known as alfism
[2012/02/21 15:00:29] @ mauve_ joined channel #puppet
[2012/02/21 15:00:31] @ brandon_dacrib joined channel #puppet
[2012/02/21 15:00:53] @ Quit: IndyMichaelB: Ping timeout: 245 seconds
[2012/02/21 15:01:58] @ danheberden joined channel #puppet
[2012/02/21 15:02:27] @ Quit: KaZeR_W: Read error: Connection reset by peer
[2012/02/21 15:02:38] @ IndyMichaelB joined channel #puppet
[2012/02/21 15:03:07] @ Quit: vinceTO: Read error: Connection reset by peer
[2012/02/21 15:03:09] @ spicyWith joined channel #puppet
[2012/02/21 15:03:26] @ Quit: daysmen: Ping timeout: 260 seconds
[2012/02/21 15:03:38] @ mgw joined channel #puppet
[2012/02/21 15:05:15] @ vinceTO joined channel #puppet
[2012/02/21 15:05:24] <biodave> So is heira puppetlabs backed and supported or is it purely user contributed?
[2012/02/21 15:05:59] @ Quit: spicyWith: Client Quit
[2012/02/21 15:06:22] <misc> the plan are to merge it to puppet some day
[2012/02/21 15:06:30] <misc> so I would say "both"
[2012/02/21 15:06:35] <biodave> cool
[2012/02/21 15:07:45] <danheberden> I'm getting a "err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed" error when running `puppet agent --test` (https://gist.github.com/733448a6232bd137b265)
[2012/02/21 15:07:53] @ Prometheus joined channel #puppet
[2012/02/21 15:08:00] <danheberden> both sides can see eachother by hostname, hostname is correct, time/date is matching
[2012/02/21 15:08:18] <danheberden> any ideas why i'd be getting this error?
[2012/02/21 15:08:52] <biodave> Are you sure you deleted the CA side puppet client cert?
[2012/02/21 15:08:54] <eric0> server's cert is issued by a different CA than client has cached in $ssldir/certs/ca.pem
[2012/02/21 15:09:10] <danheberden> i've tried a few times, after obliterating /var/lib/puppet/ssl
[2012/02/21 15:09:12] <eric0> server's cert (or client cert) serial number is in $ssldir/crl.pem
[2012/02/21 15:09:40] <danheberden> eric0 does that mean `puppet cert --clean --all` wouldn't remove that?
[2012/02/21 15:09:52] <danheberden> the client-side stuff was definitely removed
[2012/02/21 15:10:04] <danheberden> but i just did the `--clean --all` for the server
[2012/02/21 15:10:54] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 15:11:33] @ Quit: brandon_dacrib: Remote host closed the connection
[2012/02/21 15:11:46] @ brandon_dacrib joined channel #puppet
[2012/02/21 15:11:50] <biodave> sometimes I have seen it where 'puppet cert --clean <hostname>' did not actually remove the cert file. I ended up doing this after running the 'cert --clean' command. 'find /var/lib/puppet/ssl/ -type f | grep <hostname> | xargs -I {} rm -f {}'
[2012/02/21 15:12:41] @ csanchez joined channel #puppet
[2012/02/21 15:12:45] <biodave> this rarely happens and I have never sufficiently drilled into the cause...might be something you should check
[2012/02/21 15:14:03] @ nfagerlund joined channel #puppet
[2012/02/21 15:14:11] @ behrendsj_ joined channel #puppet
[2012/02/21 15:15:33] <danheberden> biodave unfortunately, that didn't have any positive effect
[2012/02/21 15:16:07] <danheberden> i even tried `find . -type f -€“exec rm {} \;` in the /var/lib/puppet/ssl dir on the server
[2012/02/21 15:16:09] @ Quit: behrendsj: Ping timeout: 240 seconds
[2012/02/21 15:16:30] <biodave> I hope it did nt end up badly
[2012/02/21 15:16:49] @ VladGh joined channel #puppet
[2012/02/21 15:16:49] <danheberden> i backed up first :)
[2012/02/21 15:17:05] <danheberden> it's recreating all the requests and certs just fine
[2012/02/21 15:17:07] @ Quit: rockpapergoat: Ping timeout: 245 seconds
[2012/02/21 15:17:13] @ Quit: freezey: Quit: freezey
[2012/02/21 15:17:20] <biodave> spoken like a true admin :). It should not recursively delete
[2012/02/21 15:17:21] @ Quit: astrostl:
[2012/02/21 15:17:40] <danheberden> there must be some detail i'm missing, though, causing the 'certificate verify failed'
[2012/02/21 15:17:58] <danheberden> but i'm new enough to puppet and unfamiliar enough with ssl to be boggled
[2012/02/21 15:18:12] <biodave> maybe the cert is revoked
[2012/02/21 15:18:24] <danheberden> what do you mean, biodave?
[2012/02/21 15:18:29] <biodave> 1 sec
[2012/02/21 15:18:35] @ mutex joined channel #puppet
[2012/02/21 15:18:42] @ Quit: rgsteele: Quit: ChatZilla 0.9.86.1 [Firefox 3.0.7/2009030423]
[2012/02/21 15:20:06] <biodave> Look at this: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&ved=0CEcQFjAE&url=http%3A%2F%2Fpuppet-manifest-share.googlecode.com%2Ffiles%2Fpuppet_certificate.pdf&ei=EPxDT7OsDcTM2AWr0IiFCA&usg=AFQjCNFinQKIAjCpcpltaq1ST01rjYb3xA&sig2=f4BB5tcwJ86dTMniLQwIig
[2012/02/21 15:20:12] @ clustermagnet left channel #puppet ()
[2012/02/21 15:20:24] @ loganspencer joined channel #puppet
[2012/02/21 15:20:36] <biodave> Bottom of page 4
[2012/02/21 15:21:54] <biodave> Under certificate management...I have used this process before when I found that a client got its ssl cert accidentally revoked. You can re-create the ca_crl.pem file. Maybe that will help.
[2012/02/21 15:23:48] <biodave> in the doc 'foo' represents the problem clients hostname btw. I thought it meant just use some arbitraty name before.
[2012/02/21 15:24:20] <biodave> It behooves you to understand how SSL works when using puppet.
[2012/02/21 15:24:39] <biodave> I am still learning :P
[2012/02/21 15:25:33] @ Quit: shadoi: Quit: Leaving.
[2012/02/21 15:25:58] @ Quit: hunter: Ping timeout: 272 seconds
[2012/02/21 15:26:28] <danheberden> heh - i'm reading through this/attempting to follow along - thank you for the reference :D
[2012/02/21 15:26:53] <biodave> On another note, Is there a preferred method for managing network addresses. The problem I am trying to solve is I want to configure all my ssh daemons to only listen on internal addresses and not public ones. I have seen that the facter 'ipaddress' is not always reliable for this. How is everyone else handling this task?
[2012/02/21 15:27:18] <biodave> danheberden: Your welcome.
[2012/02/21 15:29:16] @ Quit: tecto: Quit: tecto
[2012/02/21 15:30:23] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 15:31:09] @ shadoi joined channel #puppet
[2012/02/21 15:31:12] <wollviech> biodave: i'd say the "prefered method" is to integrate in whatever you use to track ip address assignments.
[2012/02/21 15:31:28] <aricg> biodave are the network interfaces always loaded in the same order?
[2012/02/21 15:31:34] @ oCean left channel #puppet ("Bye")
[2012/02/21 15:32:06] @ Quit: danikov: Quit: danikov
[2012/02/21 15:32:21] <biodave> aricg: I can not depend on that working the same on every node
[2012/02/21 15:32:26] @ Quit: nfagerlund: Remote host closed the connection
[2012/02/21 15:32:45] @ tecto joined channel #puppet
[2012/02/21 15:33:27] <biodave> wollviech: This would be DNS for me. Not connecting the dots yet on how I would leverage that. I could get creative with puppet functions/facters I suppose.
[2012/02/21 15:33:33] @ Quit: localhost: Remote host closed the connection
[2012/02/21 15:33:34] @ Quit: eedri: Ping timeout: 272 seconds
[2012/02/21 15:34:19] <aricg> biodave are there only two interfaces on a machine?
[2012/02/21 15:34:35] <wollviech> biodave: you can have something to parse zyour zone files and generate a yaml-file
[2012/02/21 15:34:46] @ Quit: thesharp: Changing host
[2012/02/21 15:34:46] @ thesharp joined channel #puppet
[2012/02/21 15:34:47] @ localhost joined channel #puppet
[2012/02/21 15:34:48] <wollviech> biodave: which you can then integrate via hiera
[2012/02/21 15:35:25] <biodave> I actually have a solution for this...in extlookup I define cert Network CIDRs as 'private' or 'public' etc. I then have facters that take this data and looks to see if it has any interfaces that fall into the described CIDR
[2012/02/21 15:35:28] <wollviech> biodave: or you could also generate a puppet manifest directly
[2012/02/21 15:36:18] @ Quit: gazoombo: Read error: Connection reset by peer
[2012/02/21 15:36:19] <biodave> If there are...Then new facters get generated called pub_interface or priv_interface whose valuse in the IP
[2012/02/21 15:36:37] <aricg> i would write logic to determine which was the private ip address, starts with 10. or whatever.
[2012/02/21 15:36:51] @ Quit: Tobu: Read error: Operation timed out
[2012/02/21 15:37:00] @ behrendsj joined channel #puppet
[2012/02/21 15:37:05] <aricg> but in my case I know the second interface is the private one so its was unnecessary
[2012/02/21 15:37:12] @ gazoombo joined channel #puppet
[2012/02/21 15:38:16] <biodave> I have alot of servers. some have one interface some can have as many as 4...I would like to bake in the intellegence into puppet to be able to spot a public CIDR versus a private
[2012/02/21 15:38:18] @ Quit: shog: Quit: leaving
[2012/02/21 15:38:33] @ shog joined channel #puppet
[2012/02/21 15:38:47] <biodave> Sounds like right now that is not a unified method that people use to do this.
[2012/02/21 15:39:02] <biodave> Sounds like everyone is using a method that works best for them
[2012/02/21 15:39:13] <Maior> nod
[2012/02/21 15:39:16] <biodave> k
[2012/02/21 15:39:18] @ csanchez joined channel #puppet
[2012/02/21 15:39:30] <biodave> I gotta go to a meeting. Thanks for the help.
[2012/02/21 15:39:31] <Volcane> so when i switch panes in tmux it seems to not quite let go of my cursor, i need to press enter in the new pane to be able to do anything like scroll
[2012/02/21 15:39:35] <Volcane> oops, wrong #
[2012/02/21 15:39:48] <wollviech> biodave: basically yes
[2012/02/21 15:40:09] @ Quit: behrendsj_: Ping timeout: 240 seconds
[2012/02/21 15:42:09] @ Tobu joined channel #puppet
[2012/02/21 15:42:47] @ behrendsj_ joined channel #puppet
[2012/02/21 15:43:40] @ RobertoGiacobbo joined channel #puppet
[2012/02/21 15:44:59] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2012/02/21 15:45:14] @ Quit: mbrannigan: Remote host closed the connection
[2012/02/21 15:45:39] @ Quit: behrendsj: Ping timeout: 240 seconds
[2012/02/21 15:48:50] <RobertoGiacobbo> http://www.vpopulus.net/referrer/11850
[2012/02/21 15:48:52] @ Quit: RobertoGiacobbo: Killed (idoru (Spam is off topic on freenode.))
[2012/02/21 15:52:02] <jaschal> Speaking of hiera, is there some doc available about how to write a backend?
[2012/02/21 15:52:36] @ IndyMichaelB joined channel #puppet
[2012/02/21 15:54:07] @ hunter joined channel #puppet
[2012/02/21 15:55:00] @ Boss2 left channel #puppet ()
[2012/02/21 15:55:47] @ esto joined channel #puppet
[2012/02/21 15:57:02] @ Djelibeybi joined channel #puppet
[2012/02/21 15:57:24] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 15:58:18] @ epac left channel #puppet ()
[2012/02/21 15:59:22] @ csanchez joined channel #puppet
[2012/02/21 16:00:55] @ Quit: lborda: Ping timeout: 240 seconds
[2012/02/21 16:01:17] @ lborda joined channel #puppet
[2012/02/21 16:04:26] @ Quit: zooz: Quit: Leaving IRC
[2012/02/21 16:04:26] @ cyflea joined channel #puppet
[2012/02/21 16:05:53] @ jameshyde joined channel #puppet
[2012/02/21 16:08:54] <jameshyde> for puppet file backup using: File { backup => '.puppet-bak' }. is it possible to change it so that the file would be backed up to some folder like /tmp/.puppetsaved, as is done by CFEngine?
[2012/02/21 16:09:48] <greenman> jameshyde: I'd have to look it up, but I beleive you do that in the puppet config.
[2012/02/21 16:09:57] <greenman> Not sure if that's a master or agent change though...
[2012/02/21 16:10:02] @ kerframil joined channel #puppet
[2012/02/21 16:10:53] @ danikov joined channel #puppet
[2012/02/21 16:12:52] @ nul0op joined channel #puppet
[2012/02/21 16:12:58] @ nfagerlund joined channel #puppet
[2012/02/21 16:13:06] @ Quit: opsmason: Quit: opsmason
[2012/02/21 16:13:09] @ Holocaine joined channel #puppet
[2012/02/21 16:13:34] @ Niarf joined channel #puppet
[2012/02/21 16:13:48] <jameshyde> greenman: this needs to be on the agent side, we don't like the file bucket ..
[2012/02/21 16:15:01] <jameshyde> greenman: I don't find any from this output on the agent side: puppet --configprint all
[2012/02/21 16:15:19] @ newtMcKerr joined channel #puppet
[2012/02/21 16:17:03] <greenman> jameshyde: hmm... Well I'm a relative newb so I would try someone else. Sorry.
[2012/02/21 16:17:08] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 16:17:25] @ csanchez joined channel #puppet
[2012/02/21 16:17:28] <flipwork> is anyone installing the passenger apache module with puppet from a gem?
[2012/02/21 16:17:30] <greenman> h
[2012/02/21 16:17:51] <flipwork> if so, how are you determining the PassengerRoot programmatically
[2012/02/21 16:17:52] <the_ramink> flipwork: I do it within rvm, but it's crap load of exec calls...
[2012/02/21 16:18:10] <jameshyde> greenman: np
[2012/02/21 16:18:19] <flipwork> the_ramink: do you still run 'passenger-install-apache2-module'?
[2012/02/21 16:18:48] <aricg> i just specify the version of passenger im installing, rather than taking the latest one
[2012/02/21 16:18:52] @ jcustenborder left channel #puppet ()
[2012/02/21 16:19:16] <flipwork> aricg: you can do that with gem?
[2012/02/21 16:19:27] <flipwork> maybe the rubygems documenation is outdated
[2012/02/21 16:19:30] <aricg> yeah... um looking for the correct syntax
[2012/02/21 16:19:57] <the_ramink> flipwork: yep, and setting PaassengerRoot via PassengerRoot /home/deploy/.rvm/gems/ruby-<%= scope.lookupvar('rvm::data::ruby_version') %>/gems/passenger-<%= scop e.lookupvar('passenger3::data::version') %>
[2012/02/21 16:20:02] @ opsmason joined channel #puppet
[2012/02/21 16:20:17] @ Quit: blarg_banjo: Quit: ChatZilla 0.9.85 [Iceape 2.0.11/20120201222041]
[2012/02/21 16:20:18] <the_ramink> not sure I'd recommend what I'm doing, but never got around to thinking about refactoring it.
[2012/02/21 16:20:35] @ Quit: cliff-hm: Ping timeout: 252 seconds
[2012/02/21 16:20:56] <flipwork> ohh, you can also get the version via passenger-config --version. I could probably work that in
[2012/02/21 16:21:01] <flipwork> ugly though
[2012/02/21 16:21:51] <aricg> flipwork, gem install -v=3.0.11 passenger
[2012/02/21 16:21:54] <flipwork> aricg: found it, indeed chapter 10 of the rubygems documenation is outdated
[2012/02/21 16:22:08] <flipwork> thanks!
[2012/02/21 16:22:14] <aricg> my VM was slow to start
[2012/02/21 16:22:22] <the_ramink> interesting. I wrote this code last year when passenger 3.0.x was moving fairly quickly and I wanted to be able to use extlookup to set prod and stage version of passenger for testing.
[2012/02/21 16:22:29] @ Quit: ultimateboy: Read error: Operation timed out
[2012/02/21 16:22:41] <flipwork> its also not documented in my distributions rubygems docs
[2012/02/21 16:22:42] <flipwork> neat
[2012/02/21 16:22:45] <flipwork> but it works
[2012/02/21 16:23:03] <flipwork> ls
[2012/02/21 16:23:05] <flipwork> ack
[2012/02/21 16:25:12] <lindenle_> where does facter ger the fqdn from?
[2012/02/21 16:26:00] @ danblack joined channel #puppet
[2012/02/21 16:26:43] @ asq joined channel #puppet
[2012/02/21 16:26:48] <asq> hi
[2012/02/21 16:27:11] <asq> is "in" some reserved metaparameter in 2.7? i have trouble with my define...
[2012/02/21 16:27:31] <asq> Could not parse for environment production: Syntax error at 'in'; expected '}'
[2012/02/21 16:27:54] <asq> relevant line: firewall::rule { "a0001": stateless => true, chain => "INPUT" , proto => "all", in => "lo"; }
[2012/02/21 16:29:48] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/21 16:30:02] <danblack> asq: you mean iniface which is what the firewall module wants
[2012/02/21 16:30:19] <asq> it's home grown module, basically it's define.
[2012/02/21 16:30:41] <asq> and i use in as inbound port :)
[2012/02/21 16:30:41] <danblack> asq: ah - the ; is an error
[2012/02/21 16:31:01] <asq> it works fine with 0.25 which i have in prod, but in 2.7 which i'm about to migrate it fails
[2012/02/21 16:31:02] <danblack> remove it
[2012/02/21 16:31:23] <asq> if i rename in to inx it works :)
[2012/02/21 16:31:39] <asq> i use compressed syntax, here i put only 1 line
[2012/02/21 16:32:00] <asq> which is weird because "in" is not listed as metaparameter in docu
[2012/02/21 16:32:12] @ d3vnull joined channel #puppet
[2012/02/21 16:32:16] <danblack> yeh. i just don't remember the ; in the syntax. i guess if inx works then go for it
[2012/02/21 16:32:25] @ newtMcKerr joined channel #puppet
[2012/02/21 16:32:32] @ Quit: newtMcKerr: Changing host
[2012/02/21 16:32:32] @ newtMcKerr joined channel #puppet
[2012/02/21 16:32:37] <asq> yeah, i only wonder why they broke it :)
[2012/02/21 16:32:39] <aricg> lindenle_, hostname -f
[2012/02/21 16:32:57] <aricg> and then if that fails dnsdomainname ...
[2012/02/21 16:33:03] @ Quit: mburns: Ping timeout: 252 seconds
[2012/02/21 16:33:08] <lindenle_> aricg: and if that fails?
[2012/02/21 16:33:15] <lindenle_> does it look in /etc/resolv.conf?
[2012/02/21 16:33:15] <aricg> is facter returning something unexpected?
[2012/02/21 16:33:20] <aricg> probably
[2012/02/21 16:33:20] <lindenle_> aricg: yes
[2012/02/21 16:33:50] <aricg> probably best to just look in the code, it probably changes.
[2012/02/21 16:35:07] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 16:35:18] <aricg> lindenle_, its all in /usr/lib/ruby/1.8/facter/
[2012/02/21 16:35:31] <aricg> and readable even for a non programmer like myself.
[2012/02/21 16:35:33] @ csanchez joined channel #puppet
[2012/02/21 16:35:33] @ w3lly joined channel #puppet
[2012/02/21 16:35:52] @ mburns joined channel #puppet
[2012/02/21 16:36:20] <aricg> domain.rb has all the relevants
[2012/02/21 16:37:26] @ Quit: d3c: Quit: Sleep
[2012/02/21 16:42:54] @ Quit: asq: Quit: Page closed
[2012/02/21 16:43:43] @ Quit: ckauhaus: Quit: Leaving.
[2012/02/21 16:47:55] @ Quit: etank: Ping timeout: 240 seconds
[2012/02/21 16:48:44] @ Quit: shadoi: Quit: Leaving.
[2012/02/21 16:48:53] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/21 16:51:34] @ duerF joined channel #puppet
[2012/02/21 16:51:57] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 16:52:25] <pbuckley> puppet apparently doesnt like computers that dont have pci busses
[2012/02/21 16:53:01] <pbuckley> pcilib: Cannot open /proc/bus/pci
[2012/02/21 16:53:02] <pbuckley> lspci: Cannot find any working access method.
[2012/02/21 16:53:39] @ csanchez joined channel #puppet
[2012/02/21 16:53:48] @ Quit: lwhalen: Quit: Leaving
[2012/02/21 16:54:24] @ lwhalen joined channel #puppet
[2012/02/21 16:55:29] <pbuckley> (this is on an armv7/omap4 ti processor for those that are curious)
[2012/02/21 16:56:46] @ shadoi joined channel #puppet
[2012/02/21 16:59:55] @ Quit: uphillian: Quit: Leaving.
[2012/02/21 17:01:07] @ IndyMichaelB_ joined channel #puppet
[2012/02/21 17:01:10] @ Quit: IndyMichaelB_: Client Quit
[2012/02/21 17:02:36] <rodjek> pbuckley: sounds more like facter than puppet
[2012/02/21 17:03:01] <pbuckley> could be
[2012/02/21 17:03:07] <pbuckley> didn't really look at it that closely
[2012/02/21 17:03:18] <pbuckley> was just seeing if i could get puppet running on my armv7 cluster
[2012/02/21 17:03:20] @ Quit: danblack: Ping timeout: 260 seconds
[2012/02/21 17:03:21] <pbuckley> for the most part it works ok
[2012/02/21 17:03:29] <pbuckley> other then it complaining about the lack of pci
[2012/02/21 17:03:57] @ Quit: nitram_macair: Quit: nitram_macair
[2012/02/21 17:04:18] @ nitram_macair joined channel #puppet
[2012/02/21 17:04:40] @ Quit: IndyMichaelB: Ping timeout: 244 seconds
[2012/02/21 17:05:07] @ nitram_macair left channel #puppet ()
[2012/02/21 17:05:26] @ nitram_macair joined channel #puppet
[2012/02/21 17:05:45] <nitram_macair> is this proper syntax to inherit basenode and web http://pastebin.com/aN8PMEaa
[2012/02/21 17:05:57] <rodjek> pbuckley: the 'virtual' fact parses lspci output
[2012/02/21 17:06:05] <joe-mac1> nitram_macair: avoid inheritnace
[2012/02/21 17:06:06] <rodjek> i imagine that's where your error is coming from
[2012/02/21 17:06:08] <joe-mac1> inheritance even
[2012/02/21 17:06:20] <pbuckley> hrmm
[2012/02/21 17:06:27] <pbuckley> so if i file a bug it should be against facter?
[2012/02/21 17:06:46] <joe-mac1> yes
[2012/02/21 17:06:47] <rodjek> do you get that error if you run `facter virtual`
[2012/02/21 17:07:16] <nitram_macair> joe-mac1: whats a better way to do it then? I am using it to pull in vars which are out of scope
[2012/02/21 17:07:54] @ st33v joined channel #puppet
[2012/02/21 17:07:55] <joe-mac1> anything is better than that. a quick and dirty fix you could move the base 'node' into a class, then pass parameters to it
[2012/02/21 17:08:01] <joe-mac1> variables are also out of vogue
[2012/02/21 17:08:06] @ Quit: sygnous|mbp: Quit: sygnous|mbp
[2012/02/21 17:08:12] <joe-mac1> parameters are the way to go
[2012/02/21 17:08:34] <nitram_macair> so i have this class db connections lets say that gets used across all my modules, lots of things need to know about it.
[2012/02/21 17:08:41] <pbuckley> joe-mac1: even with an enc?
[2012/02/21 17:09:02] <joe-mac1> pbuckley: don't currently use an enc so I don't know of the issues involved with using that parameterized classes
[2012/02/21 17:09:09] @ fronlius joined channel #puppet
[2012/02/21 17:09:22] <joe-mac1> that's probably the only feature of puppet I have yet to use
[2012/02/21 17:09:27] <joe-mac1> that and ldap nodes
[2012/02/21 17:09:33] <pbuckley> joe-mac1: you can't call parameterized classes directly thru an enc
[2012/02/21 17:09:34] <nitram_macair> so im going to have a dbconnections::parms
[2012/02/21 17:09:37] <pbuckley> at least not that i know of
[2012/02/21 17:09:47] <joe-mac1> pbuckley: well that makes an enc an absolute no-go for me
[2012/02/21 17:09:54] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 17:09:55] <nitram_macair> i would like to inherit it across alot of modules.
[2012/02/21 17:09:56] <pbuckley> trust me it doesnt ;)
[2012/02/21 17:10:04] @ Quit: st33v: Read error: Connection reset by peer
[2012/02/21 17:10:14] <pbuckley> rodjek: root@panda:~# facter virtual
[2012/02/21 17:10:14] <pbuckley> pcilib: Cannot open /proc/bus/pci
[2012/02/21 17:10:14] <pbuckley> lspci: Cannot find any working access method.
[2012/02/21 17:10:14] <pbuckley> physical
[2012/02/21 17:10:16] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/02/21 17:10:19] <pbuckley> yeh that looks like thats it
[2012/02/21 17:10:26] @ st33v joined channel #puppet
[2012/02/21 17:10:29] <joe-mac1> pbuckley: well the ~12k lines of modern, parameterized puppet I am using would disagree lol
[2012/02/21 17:10:42] <pbuckley> you should drop the modern part of that sentenance
[2012/02/21 17:10:58] <pbuckley> since enc's are much more modern then storing data in your puppet manifests
[2012/02/21 17:11:11] <joe-mac1> rofl... when did I say the data was in my classes?
[2012/02/21 17:11:16] <joe-mac1> you pass data to classes
[2012/02/21 17:11:19] <joe-mac1> enc or otherwise
[2012/02/21 17:11:23] <pbuckley> node blah inherits
[2012/02/21 17:11:26] <pbuckley> thats data
[2012/02/21 17:11:32] <Dominic> joe-mac1, pbuckley: parameterized class support in ENCs was added in 2.6.5: http://projects.puppetlabs.com/projects/1/wiki/Release_Notes#265
[2012/02/21 17:11:38] <pbuckley> ooh neat
[2012/02/21 17:11:42] @ csanchez joined channel #puppet
[2012/02/21 17:11:55] <joe-mac1> pbuckley: actually, unless you're from some bizarre lisp school of thought, node blah inherits is puppet code, not data
[2012/02/21 17:12:09] <joe-mac1> $ntpservers = "10.1.1.1" <-- that value part would be data
[2012/02/21 17:12:16] <pbuckley> yes thats data too
[2012/02/21 17:12:22] <pbuckley> keep that out of your code
[2012/02/21 17:12:36] <pbuckley> imo
[2012/02/21 17:12:40] <joe-mac1> this ain't my first rodeo... the only place that happens is in node definitions or node template classes
[2012/02/21 17:12:54] <joe-mac1> we are in agreement
[2012/02/21 17:13:00] <joe-mac1> I just don't use an enc
[2012/02/21 17:13:05] @ Quit: opsmason: Quit: opsmason
[2012/02/21 17:13:27] <joe-mac1> if it can now pass parameters to classes, then it is an option for me in the future
[2012/02/21 17:13:28] @ Quit: mgw: Quit: Leaving.
[2012/02/21 17:14:01] <pbuckley> Dominic: ty for the link.. that makes this a little easier. though for the most part i had worked around the lack of parameterised classes
[2012/02/21 17:14:36] @ pentesticles joined channel #puppet
[2012/02/21 17:14:39] @ mosen joined channel #puppet
[2012/02/21 17:14:39] @ pentesticles left channel #puppet ()
[2012/02/21 17:15:07] @ Quit: loganspencer: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/21 17:15:54] <joe-mac1> meh, life was kind of gross before parameterized classes, lots of extlookup calls
[2012/02/21 17:16:39] <joe-mac1> now you can have class defaults with extlookup, but have the option of passing in something to override, tis nice
[2012/02/21 17:17:27] @ Quit: BobbyD_FL: Ping timeout: 244 seconds
[2012/02/21 17:17:36] @ Quit: plasmonyc1: Quit: Leaving.
[2012/02/21 17:20:27] @ Quit: neilsaunders:
[2012/02/21 17:21:32] @ Quit: joe-mac1: Remote host closed the connection
[2012/02/21 17:23:50] @ thomasvs joined channel #puppet
[2012/02/21 17:24:12] <thomasvs> Hi. Can a parametrized class be included twice ? I made one that lets you customize a couchdb service, so you can run two on a machine
[2012/02/21 17:24:23] <thomasvs> but it seems like a parametrized class can only be included once?
[2012/02/21 17:28:01] <misc> yes
[2012/02/21 17:28:03] <Volcane> a class can only be once on one machine
[2012/02/21 17:28:06] <Volcane> u probably want a define
[2012/02/21 17:28:15] <thomasvs> hm, ok
[2012/02/21 17:28:29] <thomasvs> I was following pro puppet's example for mysql, seperating into install/service/config.pp
[2012/02/21 17:28:34] <thomasvs> and now I parametrized each of them
[2012/02/21 17:28:38] @ nitram_macair_ joined channel #puppet
[2012/02/21 17:28:40] <thomasvs> so now I need to convert each of those to defines ?
[2012/02/21 17:28:41] @ IndyMichaelB joined channel #puppet
[2012/02/21 17:28:55] <thomasvs> kind of weird that you start off creating a class, then switch to a define when you want more than one of some service
[2012/02/21 17:29:16] @ mgw joined channel #puppet
[2012/02/21 17:29:46] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 17:30:36] @ Quit: labrown: Quit: Leaving
[2012/02/21 17:31:28] @ Quit: nitram_macair: Ping timeout: 252 seconds
[2012/02/21 17:31:28] @ nitram_macair_ is now known as nitram_macair
[2012/02/21 17:31:50] @ csanchez joined channel #puppet
[2012/02/21 17:32:07] @ amaninacan is now known as amikeinacan
[2012/02/21 17:32:51] @ amikeinacan is now known as amaninacan
[2012/02/21 17:33:00] @ danbeck joined channel #puppet
[2012/02/21 17:34:52] @ Quit: jonhattan: Quit: Ex-Chat
[2012/02/21 17:35:00] <conner> has anyone handled reboots with puppet? I have a module that applies a modprobe.d conf and the system needs to be restarted to apply the change.
[2012/02/21 17:36:38] @ Kazuhiro left channel #puppet ()
[2012/02/21 17:37:04] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/02/21 17:37:55] @ Tobu joined channel #puppet
[2012/02/21 17:38:10] @ Quit: hunter: Quit: hunter
[2012/02/21 17:38:18] <greenman> conner: not sure if this is the right way to do it, but you have an exec that requires the modprobe.d file and then you have a file section that notifys that exec
[2012/02/21 17:38:25] @ nitram_macair left channel #puppet ()
[2012/02/21 17:38:31] <greenman> when the file is changed, the exec hits and the system restarts
[2012/02/21 17:38:43] * greenman isn't sure if there is a built in capacity to restart the server
[2012/02/21 17:39:11] @ Quit: brandon_dacrib: Remote host closed the connection
[2012/02/21 17:39:25] @ brandon_dacrib joined channel #puppet
[2012/02/21 17:40:15] @ motomike joined channel #puppet
[2012/02/21 17:40:23] @ Quit: conner: Ping timeout: 276 seconds
[2012/02/21 17:42:39] @ newtMcKerr joined channel #puppet
[2012/02/21 17:43:34] @ Quit: brandon_dacrib: Ping timeout: 248 seconds
[2012/02/21 17:44:23] @ ultimateboy joined channel #puppet
[2012/02/21 17:44:34] @ Quit: nul0op: Quit: Leaving
[2012/02/21 17:45:55] @ Quit: blentz: Read error: Operation timed out
[2012/02/21 17:48:23] @ themadcanudist joined channel #puppet
[2012/02/21 17:48:54] <themadcanudist> hey guys, i'm looking to read in puppet manifests and convert variables in to JSON (or some other standard format)
[2012/02/21 17:48:57] @ Quit: nokia3510: Read error: Connection reset by peer
[2012/02/21 17:49:06] <themadcanudist> is there anything out there that will do this for string/array/hashes in puppet DSL?
[2012/02/21 17:49:14] <themadcanudist> before i have to build something myself?
[2012/02/21 17:49:31] <pbuckley> if you look for yaml
[2012/02/21 17:49:34] @ Quit: csanchez: Read error: Connection timed out
[2012/02/21 17:49:37] <pbuckley> you will probably have pretty good luck
[2012/02/21 17:49:43] @ Quit: ohadlevy: Ping timeout: 265 seconds
[2012/02/21 17:49:54] @ csanchez joined channel #puppet
[2012/02/21 17:49:55] @ Quit: fronlius: Quit: fronlius
[2012/02/21 17:50:14] @ Quit: basic`: Excess Flood
[2012/02/21 17:51:42] @ Quit: csanchez: Client Quit
[2012/02/21 17:51:42] @ basic` joined channel #puppet
[2012/02/21 17:51:45] @ Quit: ultimateboy: Remote host closed the connection
[2012/02/21 17:51:47] @ conner joined channel #puppet
[2012/02/21 17:51:48] @ cwebber joined channel #puppet
[2012/02/21 17:52:05] @ csanchez joined channel #puppet
[2012/02/21 17:52:36] <themadcanudist> so already when puppet parses the config it converts it to YAML in the "configuration transport" phase
[2012/02/21 17:52:46] <pbuckley> ;)
[2012/02/21 17:53:23] <themadcanudist> i just need to output the objects as YAML on the server =)
[2012/02/21 17:53:55] @ Quit: mythmon: Ping timeout: 245 seconds
[2012/02/21 17:54:44] @ Quit: csanchez: Client Quit
[2012/02/21 17:56:49] @ Quit: danbeck: Quit: danbeck
[2012/02/21 17:57:06] @ sduchesneau left channel #puppet ("Leaving")
[2012/02/21 18:00:05] @ Quit: jtanner: Remote host closed the connection
[2012/02/21 18:00:56] @ pdtpatr1ck joined channel #puppet
[2012/02/21 18:01:39] @ biopete left channel #puppet ()
[2012/02/21 18:02:22] @ neilsaunders joined channel #puppet
[2012/02/21 18:02:59] @ Quit: matchaw: Read error: Connection reset by peer
[2012/02/21 18:03:00] <joe-mac> conner: your best bet is to touch /var/whatever/reboot-required and have a monitoring system check for this file
[2012/02/21 18:03:13] <neilsaunders> Hi all - I'm trying to specify a yum repository as a package source but am running in to issues - Nothing in the logs - Any suggestions?
[2012/02/21 18:03:17] <joe-mac> in debian there is a file somewhere in var touched when the package system knows your system needs a reboot
[2012/02/21 18:03:30] <joe-mac> best to just use that same mechanism in puppet, then do your rolling restarts however you do them
[2012/02/21 18:03:55] @ Quit: lborda: Ping timeout: 240 seconds
[2012/02/21 18:03:55] <conner> joe-mac, ya, it's a mess, I don't want that to happen during the initial provisioning
[2012/02/21 18:04:03] <conner> I was thinking of installing cronjobs or something
[2012/02/21 18:04:03] @ flipwork_ joined channel #puppet
[2012/02/21 18:04:13] <conner> a file as flag might be better
[2012/02/21 18:04:35] <themadcanudist> brilliant.. .the yaml file is already written out to the client under /var/lib/puppet/client_yaml
[2012/02/21 18:04:38] <themadcanudist> sweet!
[2012/02/21 18:04:43] @ Quit: brunoleon: Remote host closed the connection
[2012/02/21 18:04:59] <themadcanudist> now, if i can generate this on the puppet server for all the nodes I need on the fly, I'm smokin'
[2012/02/21 18:05:23] <pbuckley> themadcanudist: its possible..
[2012/02/21 18:05:59] <Dominic> neilsaunders: I don't think the yum provider supports the source param
[2012/02/21 18:06:01] @ Quit: flipwork: Ping timeout: 252 seconds
[2012/02/21 18:07:43] <joe-mac> conner: all you would do is ntify an exec that touches that file... it's not really a big deal
[2012/02/21 18:07:45] @ etank joined channel #puppet
[2012/02/21 18:07:55] <joe-mac> I typically monitor this file anyways to know which machines need rebooting...
[2012/02/21 18:10:29] @ Quit: duerF: Quit: Leaving
[2012/02/21 18:10:51] <conner> joe-mac, ya, that's a good idea. I should even stick a note in the file as to why with a timestamp
[2012/02/21 18:11:25] <conner> ipc via flat file
[2012/02/21 18:12:15] <joe-mac> conner: right- are you on EL or debian based?
[2012/02/21 18:12:20] <neilsaunders> Dominic: Hmm - Disappointing! Is there a recommended workaround for this aside from pulling the RPM's manually in to a modules files?
[2012/02/21 18:12:28] <conner> joe-mac, EL
[2012/02/21 18:12:53] <joe-mac> conner: I don't think EL has a corresponding file to what debian does from apt
[2012/02/21 18:13:00] <joe-mac> at least, I am not aware of one
[2012/02/21 18:13:09] @ Quit: axisys: Ping timeout: 252 seconds
[2012/02/21 18:13:15] <pbuckley> neilsaunders: you could template out your yum repo config files
[2012/02/21 18:13:25] <Dominic> neilsaunders: install the repo with the yumrepo type?
[2012/02/21 18:14:20] @ Quit: gazoombo: Quit: Leaving.
[2012/02/21 18:14:48] <neilsaunders> pbuckley/Dominic: Thanks - Very new to puppet. Will look into yumrepo type now as this looks like the cleanest approach?
[2012/02/21 18:14:57] <flipwork_> how do people deal with multiple masters behind a load balancer RE: SSL
[2012/02/21 18:15:15] <flipwork_> use the same key on all of them? With dns_alt_names=puppet?
[2012/02/21 18:15:21] <pbuckley> flipwork_: ugh no
[2012/02/21 18:15:30] <pbuckley> just setup a nginx server in front of them
[2012/02/21 18:15:33] * jpalmer thought dns_alt_names support was dropped
[2012/02/21 18:15:43] <pbuckley> rewrite all of the ssl requests to a single host
[2012/02/21 18:15:47] <pbuckley> then take all of the other requests
[2012/02/21 18:15:54] <pbuckley> and round robin them thru your list of masters
[2012/02/21 18:16:10] <flipwork_> won't you end up with cert errors?
[2012/02/21 18:16:17] <flipwork_> since the master's cert would constantly change?
[2012/02/21 18:16:29] <pbuckley> here let me get you a pretty picture
[2012/02/21 18:16:31] <flipwork_> or are you saying handle SSL on the nginx system
[2012/02/21 18:16:57] <pbuckley> http://blog.mague.com/wp-content/uploads/2011/11/nginx_lb.png
[2012/02/21 18:16:59] @ skm joined channel #puppet
[2012/02/21 18:17:17] @ Quit: shadoi: Quit: Leaving.
[2012/02/21 18:17:39] @ progma joined channel #puppet
[2012/02/21 18:17:41] <flipwork_> doesn't that create redundancy issues?
[2012/02/21 18:18:08] <flipwork_> only being able to have a single server for SSL
[2012/02/21 18:18:10] <pbuckley> could you restate in a coherent sentenance understandable by speakers of the english language?
[2012/02/21 18:18:25] <pbuckley> it works i assure you
[2012/02/21 18:18:32] <flipwork_> nod
[2012/02/21 18:18:46] @ Quit: marczak: Ping timeout: 248 seconds
[2012/02/21 18:18:47] <flipwork_> but you do create a single point of failure
[2012/02/21 18:18:54] <flipwork_> is there a way around that?
[2012/02/21 18:19:01] <pbuckley> seriously?
[2012/02/21 18:19:13] <pbuckley> sorry
[2012/02/21 18:19:13] <conner> ssl load balancing is a solved problem
[2012/02/21 18:19:18] <pbuckley> omg
[2012/02/21 18:19:18] <pbuckley> haha
[2012/02/21 18:19:23] <pbuckley> buzzword central
[2012/02/21 18:19:25] <conner> if it wasn't, we couldn't have https to facebook
[2012/02/21 18:19:25] <flipwork_> i guess I'm missing something here
[2012/02/21 18:19:28] * pbuckley goes and sits over here
[2012/02/21 18:19:33] <pbuckley> you are
[2012/02/21 18:19:36] <flipwork_> indeed
[2012/02/21 18:19:44] @ Quit: cruzfox: Quit: cruzfox
[2012/02/21 18:19:51] @ flipwork_ is now known as flipwork
[2012/02/21 18:20:07] <eryc> the nginx just routes request, its pretty simple to replicate
[2012/02/21 18:20:18] @ hunter joined channel #puppet
[2012/02/21 18:20:23] <conner> pbuckley, nginx is so Feb 20th, apache 2.4 is here
[2012/02/21 18:20:30] <flipwork> right, but it appears that setup routes all SSL requests to a single box
[2012/02/21 18:20:34] <pbuckley> ill wait for apache 3 ;)
[2012/02/21 18:20:35] <eryc> you can put an f5 pair or dns roundrobin in front
[2012/02/21 18:20:44] <thomasvs> pbuckley, flipwork: I assume if you want a frontend nginx/apache handling the ssl requests, all those frontend servers need to share the same cert no ?
[2012/02/21 18:20:47] <eryc> oh yea, that
[2012/02/21 18:21:05] <eryc> pbuckley: what to do with the single ssl box with the penguin?
[2012/02/21 18:21:27] <flipwork> thomasvs: thats what I assumed, that I'd need a single shared cert somewhere
[2012/02/21 18:21:41] <bosszaru> in defense of the nginx setup -> the point is that all certs are terminated and signed only on that box
[2012/02/21 18:21:55] <pbuckley> http://blog.mague.com/?p=286
[2012/02/21 18:21:58] <bosszaru> so yes it is a single point of failure, but also a single point of truth
[2012/02/21 18:22:15] <pbuckley> bosszaru: is the guy who originally came up with this
[2012/02/21 18:22:23] <pbuckley> so ill let him fight it out
[2012/02/21 18:22:24] <pbuckley> ;)
[2012/02/21 18:22:34] <flipwork> there's a fight?
[2012/02/21 18:22:34] <bosszaru> you could do the setup to have all of the backends trust each other's certs
[2012/02/21 18:22:48] <conner> gezbuz christ
[2012/02/21 18:22:50] <bosszaru> actually eric0 helped me out here :)
[2012/02/21 18:22:50] @ blentz joined channel #puppet
[2012/02/21 18:22:54] <conner> I just caught a memory error with dd
[2012/02/21 18:22:56] <flipwork> the spf doesn't really bother me, I was just clarifying
[2012/02/21 18:23:08] <conner> go gpfs
[2012/02/21 18:23:12] <bosszaru> yes. there are some downside to this
[2012/02/21 18:23:17] @ q0rban is now known as q-rban
[2012/02/21 18:23:18] <bosszaru> the upside was I got it working in 20 min :)
[2012/02/21 18:23:26] <flipwork> fair enough
[2012/02/21 18:23:37] <bosszaru> and the having the ops team be able to dev in real time is excellent
[2012/02/21 18:23:44] <flipwork> pbuckley just seemed very upset
[2012/02/21 18:23:49] <conner> flipwork, and again, scaling out ssl termination is a solved issue
[2012/02/21 18:23:50] <flipwork> so I thought I was missing something
[2012/02/21 18:23:51] <pbuckley> haha nah
[2012/02/21 18:23:59] <pbuckley> just multitasking to much
[2012/02/21 18:24:02] <flipwork> conner: nod
[2012/02/21 18:24:06] @ Quit: |Majestic|: Ping timeout: 244 seconds
[2012/02/21 18:24:14] <bosszaru> I know how to make pbuckely really mad :)
[2012/02/21 18:24:18] <pbuckley> ...
[2012/02/21 18:24:34] * pbuckley is nervous
[2012/02/21 18:24:56] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/21 18:24:59] <flipwork> conner: so then, shared cert right?
[2012/02/21 18:25:02] @ Quit: ken_barber: Quit: Leaving.
[2012/02/21 18:25:38] <pbuckley> could we stop saying solved problem/issue.. it brings back horrid memories of web 2.0 and synergy
[2012/02/21 18:25:42] @ thermy joined channel #puppet
[2012/02/21 18:26:06] <eryc> pbuckley: its been solutioned
[2012/02/21 18:26:09] @ Quit: tmclaugh: Quit: tmclaugh
[2012/02/21 18:26:18] <pbuckley> i will go ahead and create an ask for it
[2012/02/21 18:27:31] <conner> pbuckley, I'm waiting for web 3.0
[2012/02/21 18:27:34] @ newtMcKerr joined channel #puppet
[2012/02/21 18:27:36] @ Quit: newtMcKerr: Changing host
[2012/02/21 18:27:36] @ newtMcKerr joined channel #puppet
[2012/02/21 18:27:36] <conner> wake me up when we get there
[2012/02/21 18:27:40] <pbuckley> haha
[2012/02/21 18:27:49] @ Quit: newtMcKerr: Client Quit
[2012/02/21 18:28:06] @ themadcanudist left channel #puppet ()
[2012/02/21 18:28:15] @ Quit: boats2: Quit: Leaving
[2012/02/21 18:28:40] @ Quit: kenperkins: Ping timeout: 252 seconds
[2012/02/21 18:31:27] @ flowerpot joined channel #puppet
[2012/02/21 18:31:34] @ |Majestic| joined channel #puppet
[2012/02/21 18:32:20] @ loganspencer joined channel #puppet
[2012/02/21 18:32:33] @ Quit: mburns: Ping timeout: 245 seconds
[2012/02/21 18:33:35] @ Quit: czervik: Ping timeout: 240 seconds
[2012/02/21 18:33:52] @ cruzfox joined channel #puppet
[2012/02/21 18:33:57] <flipwork> ok, just for clarification here, dns_alt_names was not dropped
[2012/02/21 18:34:08] @ Quit: cruzfox: Client Quit
[2012/02/21 18:34:20] <flipwork> and dns_alt_names=puppet became default as of 2.6.13
[2012/02/21 18:34:34] @ aelman left channel #puppet ()
[2012/02/21 18:34:56] <flipwork> and 2.7.8
[2012/02/21 18:34:58] <pbuckley> i think it was certnames or something that was dropped
[2012/02/21 18:35:02] <flipwork> right
[2012/02/21 18:35:30] <flipwork> so using dns_alt_names=puppet and simply sharing the cert seems to be a fine solution
[2012/02/21 18:35:49] * nevyn goes back to leveraging synergies.
[2012/02/21 18:36:08] <stahnma> flipwork: 2.7.6 :)
[2012/02/21 18:36:12] <pbuckley> nevyn: dont forget to iterate your strategies
[2012/02/21 18:36:49] <nevyn> pbuckley: to achieve stakeholder engagement
[2012/02/21 18:36:54] <flipwork> though I'm open to reasons that would be a bad idea too
[2012/02/21 18:37:09] <pbuckley> flipwork: i have a couple since thats what i did at my last place
[2012/02/21 18:37:14] <pbuckley> and it just turned into a cf
[2012/02/21 18:37:30] <flipwork> pbuckley: ok, I'm interested. I haven't done puppet ha
[2012/02/21 18:37:41] <pbuckley> biggest problem will come from if you have multiple people working on your puppet server
[2012/02/21 18:37:45] <pbuckley> adding/revoking certificates
[2012/02/21 18:37:56] <pbuckley> keep all of your servers in sync will become a challenge
[2012/02/21 18:38:18] <flipwork> hmmm, perhaps shared storage
[2012/02/21 18:38:21] <pbuckley> wish i had known about bosszaru back then.. would have saved me alot of headaches
[2012/02/21 18:38:34] <pbuckley> if you want to risk your cm going down due to shared storage failures
[2012/02/21 18:38:47] <flipwork> if our SAN fails
[2012/02/21 18:38:47] <pbuckley> or race conditions
[2012/02/21 18:38:52] <flipwork> we have much much larger issues
[2012/02/21 18:39:07] <pbuckley> there are other parts in a san that can fail
[2012/02/21 18:39:17] <pbuckley> you could lose the switch the puppet nodes are hooked to
[2012/02/21 18:39:19] <pbuckley> bad hba's
[2012/02/21 18:39:25] <pbuckley> someone messing up a zone
[2012/02/21 18:39:38] <flipwork> all possible, and would cause a lot of issues
[2012/02/21 18:40:06] <flipwork> but if the san fails, the box is going down anyway.
[2012/02/21 18:40:15] @ brandon_dacrib joined channel #puppet
[2012/02/21 18:40:42] <pbuckley> so aside from san failures
[2012/02/21 18:40:46] <pbuckley> you still have race conditions
[2012/02/21 18:40:52] <pbuckley> with multiple masters managing certificates
[2012/02/21 18:40:59] <flipwork> certainly possible
[2012/02/21 18:41:20] <flipwork> are there known issues with multiple masters managing certs?
[2012/02/21 18:41:27] @ Quit: doo: Quit: Leaving.
[2012/02/21 18:41:35] @ doo joined channel #puppet
[2012/02/21 18:41:47] <pbuckley> we didn't have a shared storage backing ours.. we had an rsync job that did its best to keep things in sync
[2012/02/21 18:41:50] <pbuckley> it worked "ok"
[2012/02/21 18:42:05] <pbuckley> so i dont know specifically about shared storage
[2012/02/21 18:42:09] <pbuckley> just mentioning the possibility
[2012/02/21 18:42:22] @ Quit: brandon_dacrib: Client Quit
[2012/02/21 18:43:01] @ ctracey joined channel #puppet
[2012/02/21 18:43:45] @ cruzfox joined channel #puppet
[2012/02/21 18:44:03] <eric0> you can have multiple boxes issuing off the same CA cert, just adjust the hex number in $ssldir/ca/serial so they dont issue overlapping serial numbers
[2012/02/21 18:44:44] <eric0> you can not unfortunately do chained/intermediate CAs with puppet
[2012/02/21 18:44:47] @ Quit: Callek: Remote host closed the connection
[2012/02/21 18:45:10] @ Quit: d3vnull: Ping timeout: 245 seconds
[2012/02/21 18:45:56] @ zachc joined channel #puppet
[2012/02/21 18:49:20] @ Quit: |Majestic|: Ping timeout: 245 seconds
[2012/02/21 18:50:43] @ mburns joined channel #puppet
[2012/02/21 18:50:51] @ Quit: mburns: Excess Flood
[2012/02/21 18:51:47] @ mburns joined channel #puppet
[2012/02/21 18:52:03] @ ohadlevy joined channel #puppet
[2012/02/21 18:53:29] @ Quit: amoe: Ping timeout: 252 seconds
[2012/02/21 18:53:39] @ Quit: cruzfox: Quit: cruzfox
[2012/02/21 18:53:44] @ Quit: pbuckley: Read error: Connection reset by peer
[2012/02/21 18:53:44] @ Quit: cdracars: Quit: cdracars
[2012/02/21 18:54:34] <esto> i just installed puppet enterprise to check, and in the default server its failing in some commands
[2012/02/21 18:54:37] <esto> https://bin.defuse.ca/quvGV1rxtCyWp3Zj1Xmfz1
[2012/02/21 18:54:59] @ astrostl joined channel #puppet
[2012/02/21 18:55:16] @ amoe joined channel #puppet
[2012/02/21 18:55:19] <esto> the openssl command is saying that no certificate matches private key
[2012/02/21 18:55:24] <esto> some idea what could be wrong ?
[2012/02/21 18:55:32] @ zachc left channel #puppet ()
[2012/02/21 18:56:29] @ greenman is now known as greenman_gone
[2012/02/21 18:57:11] @ d3vnull joined channel #puppet
[2012/02/21 18:57:28] @ kenperkins joined channel #puppet
[2012/02/21 18:58:27] @ Quit: cwebber: Quit: Leaving.
[2012/02/21 18:59:02] @ mythmon joined channel #puppet
[2012/02/21 18:59:55] @ Quit: ohadlevy: Ping timeout: 260 seconds
[2012/02/21 19:00:43] @ shadoi joined channel #puppet
[2012/02/21 19:01:59] @ Quit: flowerpot: Quit: Ex-Chat
[2012/02/21 19:02:43] @ Quit: ctracey: Read error: Connection reset by peer
[2012/02/21 19:03:05] @ ctracey joined channel #puppet
[2012/02/21 19:06:33] @ ohadlevy joined channel #puppet
[2012/02/21 19:07:03] @ Quit: rsnhyperion: Ping timeout: 265 seconds
[2012/02/21 19:07:32] @ Quit: windowsrefund: Ping timeout: 265 seconds
[2012/02/21 19:07:35] @ spicyWith joined channel #puppet
[2012/02/21 19:07:44] @ rsnhyperion joined channel #puppet
[2012/02/21 19:07:53] @ KaiserBeto1 joined channel #puppet
[2012/02/21 19:08:28] @ Quit: dan__t: Ping timeout: 260 seconds
[2012/02/21 19:08:53] @ justin_donaldson joined channel #puppet
[2012/02/21 19:08:57] @ pbuckley joined channel #puppet
[2012/02/21 19:09:33] @ Quit: alfism: Quit: alfism
[2012/02/21 19:11:01] @ marrusl joined channel #puppet
[2012/02/21 19:11:02] @ Quit: jim80net: Quit: Leaving.
[2012/02/21 19:11:24] @ zooz joined channel #puppet
[2012/02/21 19:14:25] @ windowsrefund joined channel #puppet
[2012/02/21 19:15:23] @ linsys joined channel #puppet
[2012/02/21 19:15:34] @ Quit: pbuckley: Quit: Lost terminal
[2012/02/21 19:16:15] <linsys> This is probably a dumb question, but using puppet how can I force an upgrade of puppet and also use the '
[2012/02/21 19:16:45] <linsys> new relationship syntax if the old version of puppet doesn't understand it and throws errors when it sees it in the manifest?
[2012/02/21 19:17:07] <agaffney> you don't
[2012/02/21 19:17:17] <agaffney> you can't use newer syntax that the older version doesn't understand
[2012/02/21 19:17:32] @ Quit: mosen: Quit: Leaving
[2012/02/21 19:17:36] @ Quit: DJClean: Read error: Operation timed out
[2012/02/21 19:17:47] <linsys> Basically I want to require the right version of the puppet package, however when a system is kickstarted puppet is installed with the crappy old version from the ubuntu repos, but I want to make puppet upgrade it and start taking advantage of the new syntax.
[2012/02/21 19:17:52] <linsys> well that sux
[2012/02/21 19:18:03] @ Quit: kerframil: Ping timeout: 252 seconds
[2012/02/21 19:18:21] <agaffney> linsys: why don't you just make the newer version available during kickstart?
[2012/02/21 19:18:35] <agaffney> that's what I do
[2012/02/21 19:18:46] <agaffney> puppet is installed from my local repos during kickstart
[2012/02/21 19:19:07] <linsys> The hoest answer is because I'm a RHEL guy who moved into an ubuntu shop.. so I am learning the stupid preseed crap, apt-get, debian, etc...
[2012/02/21 19:19:08] <linsys> :)
[2012/02/21 19:19:27] <linsys> and I haven't read up on how to make my own apt repo, but it sounds like that is next :)
[2012/02/21 19:20:41] <jbaldridge> linsys: A pretty easy way to do it would be use apt-mirror to create a local copy of the puppetlabs mirror, and add that to your preseed under d-i apt-setup/local0
[2012/02/21 19:21:05] <jbaldridge> you could even point the preseed directly to puppetlabs repos, if you really felt trusting
[2012/02/21 19:21:16] <linsys> I was hoping I could do something like this in site.pp
[2012/02/21 19:21:16] <linsys> if $puppetversion >= 2.6 {
[2012/02/21 19:21:16] <linsys> include relationship/*
[2012/02/21 19:21:16] <linsys> }
[2012/02/21 19:21:18] <jbaldridge> (I'd at least import their key locally)
[2012/02/21 19:21:25] <linsys> yea, I'll have to look into the preseed some more
[2012/02/21 19:21:32] <jbaldridge> http://www.debian.org/releases/squeeze/example-preseed.txt
[2012/02/21 19:21:34] <jbaldridge> search for local0
[2012/02/21 19:21:38] <jbaldridge> its pretty straightforward
[2012/02/21 19:22:16] <linsys> Also, where do you typically define the relationships in the indiviual class files or do you make a top level relationships.pp file and include it in site.pp?
[2012/02/21 19:22:18] <jbaldridge> I'd just make sure whatever you put under local0/key is under your control
[2012/02/21 19:25:33] <pdtpatr1ck> QUestion -- my erb template never gets copied to the server. Is there something I'm doing wrong? here are the file contents.
[2012/02/21 19:25:39] <pdtpatr1ck> http://paste.pocoo.org/show/NE4U3ONxsj03v6xmJP29/
[2012/02/21 19:25:40] @ Quit: mgw: Quit: Leaving.
[2012/02/21 19:25:44] <pdtpatr1ck> I'm trying to get the fqdn from the node
[2012/02/21 19:27:41] @ Quit: Prometheus: Read error: Connection reset by peer
[2012/02/21 19:28:17] @ Quit: spicyWith: Quit: spicyWith
[2012/02/21 19:28:24] @ Prometheus joined channel #puppet
[2012/02/21 19:28:32] @ mgw joined channel #puppet
[2012/02/21 19:28:35] @ newtMcKerr joined channel #puppet
[2012/02/21 19:28:40] @ Quit: ctracey: Read error: Connection reset by peer
[2012/02/21 19:28:55] @ ctracey joined channel #puppet
[2012/02/21 19:29:58] @ gazoombo joined channel #puppet
[2012/02/21 19:30:38] @ Quit: w3lly: Quit: Leaving.
[2012/02/21 19:31:12] @ pbuckley joined channel #puppet
[2012/02/21 19:32:02] @ Quit: newtMcKerr: Client Quit
[2012/02/21 19:33:34] @ Quit: benkevan: Quit: leaving
[2012/02/21 19:33:54] @ Quit: diq: Ping timeout: 245 seconds
[2012/02/21 19:35:07] <zooz> pdtpatr1ck, what does the debug log say?
[2012/02/21 19:35:29] <zooz> also, pdtpatr1ck, don't use tabs, use spaces instead
[2012/02/21 19:36:00] @ Quit: st33v: Quit: st33v
[2012/02/21 19:36:04] <pdtpatr1ck> yeah puppet-lint yells at me all day. I need to adjust my tab stops
[2012/02/21 19:36:26] <pdtpatr1ck> http://paste.pocoo.org/show/pdPpwbGsZKNSu39Wqd93/
[2012/02/21 19:36:42] @ Quit: kermit: Quit: Leaving.
[2012/02/21 19:37:00] @ Quit: mgw: Quit: Leaving.
[2012/02/21 19:37:15] @ cliff-hm joined channel #puppet
[2012/02/21 19:37:18] @ newtMcKerr joined channel #puppet
[2012/02/21 19:37:28] @ Quit: loganspencer: Read error: Connection reset by peer
[2012/02/21 19:37:45] @ loganspencer joined channel #puppet
[2012/02/21 19:37:51] @ cruzfox joined channel #puppet
[2012/02/21 19:39:04] @ Quit: marrusl: Quit: Счастливо!
[2012/02/21 19:40:28] @ arreyder left channel #puppet ()
[2012/02/21 19:44:19] @ kloeri_ is now known as kloeri
[2012/02/21 19:45:25] @ Quit: gniks: Quit: Leaving.
[2012/02/21 19:46:12] @ antarus is now known as winters
[2012/02/21 19:46:34] @ diq joined channel #puppet
[2012/02/21 19:46:42] @ winters is now known as Guest42400
[2012/02/21 19:47:23] @ Quit: neonflux: Quit: Leaving.
[2012/02/21 19:48:53] @ Guest42400 is now known as antarus
[2012/02/21 19:49:23] @ Vulcan[OMNI] joined channel #puppet
[2012/02/21 19:51:23] @ |Majestic| joined channel #puppet
[2012/02/21 19:52:22] @ Quit: syntaxx: Quit: Leaving
[2012/02/21 19:52:41] @ Quit: littleidea: Quit: littleidea
[2012/02/21 19:53:50] @ Quit: chjohnst: Quit: BitchX-1.1-final -- just do it.
[2012/02/21 19:53:51] <esto> I have missing in my installation the file pe-internal-broker.pem
[2012/02/21 19:54:08] <esto> what i made wrong ?
[2012/02/21 19:56:16] @ Quit: shadoi: Quit: Leaving.
[2012/02/21 19:56:18] @ Quit: |Majestic|: Ping timeout: 240 seconds
[2012/02/21 19:57:19] <Rockj> can puppetmaster generate subjectaltnames in its root-ca for clients to validate against? dont want my server to primary be puppet as hostname.
[2012/02/21 19:57:50] <Rockj> regenerate it with puppetca --generate --certdnsnames seems to be depricated.
[2012/02/21 19:59:30] <vkdir> tar rvf ARSperl-1.93.tar /usr/local/lib/perl5/ARS/OOmsgs.pm
[2012/02/21 19:59:54] <vkdir> sorry, mis
[2012/02/21 20:00:07] @ |Majestic| joined channel #puppet
[2012/02/21 20:00:42] @ Quit: dgj: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/21 20:03:16] <antarus> oh....ARS...
[2012/02/21 20:03:18] @ Quit: lindenle_: Ping timeout: 248 seconds
[2012/02/21 20:03:31] <Rockj> or hm, does puppetca provide a tool for regenerating CA? or have to wrap up openssl and do it by hand?
[2012/02/21 20:05:29] @ ncjohnsto joined channel #puppet
[2012/02/21 20:05:45] @ Quit: alanevans: Remote host closed the connection
[2012/02/21 20:05:51] @ Majestic joined channel #puppet
[2012/02/21 20:05:52] @ KaiserBeto1 left channel #puppet ()
[2012/02/21 20:06:00] @ Quit: cruzfox: Quit: cruzfox
[2012/02/21 20:06:20] <vkdir> antarus: you and ARS go way back, eh?
[2012/02/21 20:06:23] @ cruzfox joined channel #puppet
[2012/02/21 20:08:35] @ Quit: leifmadsen: Ping timeout: 240 seconds
[2012/02/21 20:08:39] @ Quit: |Majestic|: Ping timeout: 252 seconds
[2012/02/21 20:08:40] <thermy> rockj: I use this format to create alt names: puppet cert --generate --dns_alt_names "alias1.fqdn,alias2.fqdn" host.fqdn
[2012/02/21 20:12:56] @ Benjamin_Gordy joined channel #puppet
[2012/02/21 20:13:44] <Rockj> thermy: aha, I'll keep that in mind. but do I have to regenerate the ca myself or is there a tool for doing it?
[2012/02/21 20:14:10] <Rockj> puppet cert is to generate client certificates, signed by the ca .. I have to redo the ca as the autogenerated one took a bad hostname etc.
[2012/02/21 20:26:23] @ pedro09006 joined channel #puppet
[2012/02/21 20:27:16] @ lkthomas joined channel #puppet
[2012/02/21 20:27:18] <lkthomas> hey guys
[2012/02/21 20:27:24] @ jwhitlock_zzz is now known as jwhitlock
[2012/02/21 20:27:28] <lkthomas> I heard foreman is intergrated with puppet
[2012/02/21 20:27:33] <lkthomas> what exactly does foreman do ?
[2012/02/21 20:28:18] <joe-mac> it's an enc and reporting thinger
[2012/02/21 20:28:24] <lkthomas> enc ?
[2012/02/21 20:28:25] @ nutron joined channel #puppet
[2012/02/21 20:28:25] <joe-mac> basically nice gui for your puppet infrastructure
[2012/02/21 20:28:29] <joe-mac> external node classifier
[2012/02/21 20:28:35] <lkthomas> what's that ?
[2012/02/21 20:28:37] @ Quit: seanh-ansca: Ping timeout: 244 seconds
[2012/02/21 20:28:49] <joe-mac> it is a grilled cheese machine
[2012/02/21 20:29:01] <lkthomas> LOL
[2012/02/21 20:29:06] <lkthomas> even more confuse
[2012/02/21 20:29:35] <joe-mac> www.lmgtfy.com/?q=external+node+classifier+puppet
[2012/02/21 20:30:13] <joe-mac> foreman is like puppet dashboard, except puppet labs did not write foreman, it's maintained by a really intelligent guy, who is employed by red hat now
[2012/02/21 20:30:31] @ mgw joined channel #puppet
[2012/02/21 20:33:42] <antarus> vkdir: I don't have to use it anymore ;)
[2012/02/21 20:33:50] <lkthomas> right, it support tftp and kickstart
[2012/02/21 20:33:58] <lkthomas> so it's doing more than puppet does
[2012/02/21 20:34:06] <joe-mac> yea, exactly
[2012/02/21 20:34:16] <joe-mac> it's kind of more an end-to-end server lifecycle management tool
[2012/02/21 20:34:20] <lkthomas> does the GUI be able to control puppet or just read only report ?
[2012/02/21 20:34:24] <joe-mac> that happens to use puppet for part of the lifecycle
[2012/02/21 20:34:44] <joe-mac> since it's an ENC, it sort of controls puppet... it controls which classes your nodes get
[2012/02/21 20:34:46] <pbuckley> joe-mac: like cobbler?
[2012/02/21 20:35:02] <lkthomas> I was using cobbler
[2012/02/21 20:35:11] <joe-mac> I haven't used cobbler since it was basically a baby in redhat's ET
[2012/02/21 20:35:19] <joe-mac> so I wouldn't know what it can/can't do by now
[2012/02/21 20:35:37] <joe-mac> cobbler when I used it had to do with the bootstrapping part of the life cycle
[2012/02/21 20:35:41] <joe-mac> nothing to do with after that
[2012/02/21 20:36:01] @ Quit: rcrowley: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/21 20:36:15] * lkthomas need to understand what the hell is life cycle management
[2012/02/21 20:36:16] @ rcrowley joined channel #puppet
[2012/02/21 20:36:20] @ pedro09006 left channel #puppet ()
[2012/02/21 20:36:31] <joe-mac> your servers/machines have a life cycle
[2012/02/21 20:36:34] <joe-mac> they are born, they live, and they die
[2012/02/21 20:36:35] @ Quit: neilsaunders:
[2012/02/21 20:36:54] <joe-mac> there are various utilities and suites of utilities to control your servers during each phase of tehir life-cycle
[2012/02/21 20:36:54] <lkthomas> live part could handle by puppet
[2012/02/21 20:36:58] <joe-mac> right
[2012/02/21 20:37:22] <joe-mac> birth == pxe+kickstart/preseed/jumpstart, with osmething to add them to a cmdb maybe
[2012/02/21 20:37:26] <pbuckley> joe-mac: it basically is what you described foreman as
[2012/02/21 20:37:29] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/21 20:37:29] <joe-mac> life = puppet/chef/cfengine/bcfg2
[2012/02/21 20:37:39] <pbuckley> does all the pxe kickstart stuff + can be used as an enc
[2012/02/21 20:37:41] <joe-mac> death = depends on what you used before typically
[2012/02/21 20:37:43] <joe-mac> right
[2012/02/21 20:37:59] <pbuckley> + dns/dhcp
[2012/02/21 20:38:00] <lkthomas> I think cobbler could handle the birth part
[2012/02/21 20:38:14] <joe-mac> yes that is what cobbler was for when I used it, and I am fairly certain that is the main goal
[2012/02/21 20:39:28] @ Quit: thermy: Quit: Page closed
[2012/02/21 20:39:54] @ denysonique__ joined channel #puppet
[2012/02/21 20:39:59] <denysonique__> Hi
[2012/02/21 20:40:14] <lkthomas> joe-mac are you using foreman now ?
[2012/02/21 20:40:15] <denysonique__> I would like to configure my server using my laptop only to update the server configs etc
[2012/02/21 20:40:27] <denysonique__> which pc should be the agent and which the master
[2012/02/21 20:40:33] <joe-mac> lkthomas: no, I am not using an ENC or a GUI report processor
[2012/02/21 20:40:34] <denysonique__> what would the workflow look like
[2012/02/21 20:40:37] <joe-mac> I have used the dashboard
[2012/02/21 20:40:39] <joe-mac> but not foreman
[2012/02/21 20:40:42] <lkthomas> I see, ok
[2012/02/21 20:41:09] @ Quit: cruzfox: Quit: cruzfox
[2012/02/21 20:42:01] @ Quit: loganspencer: Quit: Computer has gone to sleep.
[2012/02/21 20:44:02] @ axisys joined channel #puppet
[2012/02/21 20:44:41] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/02/21 20:45:22] <Rockj> ok, puppetmaster generates its own CA certificate etc etc when it starts up for the first time, how to retrigger this? wipe ssl dir?
[2012/02/21 20:45:54] @ Quit: nfagerlund: Remote host closed the connection
[2012/02/21 20:48:13] <rodjek> Rockj: kill slldir and run `puppet cert --generate --ca_name "Puppet CA: Created on $(puppet master --configprint certname), <date>" --dns_alt_names <comma seperated list> $(puppet master --configprint certname)`
[2012/02/21 20:48:20] <rodjek> should do the trick
[2012/02/21 20:48:36] <rodjek> you'll have to recreate all your client ssl certs though
[2012/02/21 20:49:22] <context> is there any good readme for setting up puppetmaster for the first time and getting first agent to connect :/
[2012/02/21 20:49:40] <Rockj> rodjek: may I ask where you found the "man" for --ca_name option?
[2012/02/21 20:49:59] <lkthomas> context: turn on puppetmaster and puppet agent debug mode
[2012/02/21 20:50:04] <rodjek> Rockj: not sure if it's documented
[2012/02/21 20:50:15] <eric0> http://docs.puppetlabs.com/references/stable/configuration.html
[2012/02/21 20:50:33] <eric0> you can also run 'puppet master --genconfig' and see the list w/ defaults
[2012/02/21 20:51:35] <Rockj> thanks :-)
[2012/02/21 20:52:10] @ dhogland joined channel #puppet
[2012/02/21 20:52:10] <lkthomas> joe-mac: if we have fully virtualized environment, birth should be very easy as we could create new machine from template
[2012/02/21 20:52:24] <joe-mac> yea
[2012/02/21 20:52:35] <lkthomas> pxe basically not needed
[2012/02/21 20:52:40] @ Quit: Dyson: Ping timeout: 245 seconds
[2012/02/21 20:53:44] <joe-mac> I used pxe when I had esxi
[2012/02/21 20:53:49] <eric0> cloning is for suckas
[2012/02/21 20:54:01] <joe-mac> that way I could also bootstrap phsyical boxes
[2012/02/21 20:54:04] <joe-mac> using the same infrastructure
[2012/02/21 20:54:14] <joe-mac> like shit that couldn;'t be virtualized, databases, etc
[2012/02/21 20:54:24] <rodjek> eric0: damn right
[2012/02/21 20:55:32] @ alanevans joined channel #puppet
[2012/02/21 20:55:51] @ ciccio joined channel #puppet
[2012/02/21 20:55:54] @ ciccio left channel #puppet ()
[2012/02/21 20:57:10] * lkthomas virtualize DB as well
[2012/02/21 20:57:22] <rodjek> ewww
[2012/02/21 20:57:37] <rodjek> i suppose if you don't have a db heavy workload
[2012/02/21 20:58:51] <Djelibeybi> Virtualize all the things
[2012/02/21 20:59:17] <astrostl> i've had positive experiences with large, virtualized dbs when the storage was a fast SAN
[2012/02/21 20:59:21] @ ablew joined channel #puppet
[2012/02/21 20:59:33] <rodjek> Djelibeybi: :P
[2012/02/21 20:59:50] <astrostl> i don't even think about CPU and RAM VM overhead, just IO
[2012/02/21 20:59:53] <Djelibeybi> Virtualizing Oracle DB on Oracle VM is fine.
[2012/02/21 20:59:58] <Djelibeybi> astrostl: which hypervisor?
[2012/02/21 21:00:06] <astrostl> vSphere/ESXi
[2012/02/21 21:00:15] @ Quit: Benjamin_Gordy: Ping timeout: 240 seconds
[2012/02/21 21:00:15] <Djelibeybi> astrostl: do you disable memory over-commit/memory de-dup?
[2012/02/21 21:00:17] <rodjek> Djelibeybi: not that you're biased at all...
[2012/02/21 21:00:25] @ gniks joined channel #puppet
[2012/02/21 21:00:26] @ Quit: gniks: Changing host
[2012/02/21 21:00:26] @ gniks joined channel #puppet
[2012/02/21 21:00:32] <Djelibeybi> Those things tend to kill Oracle's SGA/PGA
[2012/02/21 21:00:37] <Djelibeybi> rodjek: not at all. :p
[2012/02/21 21:00:42] <eric0> "it's not only fine, it's FUCKING AWESOME"
[2012/02/21 21:00:48] <astrostl> our Oracle instances were bare metal RHEL
[2012/02/21 21:01:06] <astrostl> MySQL ("large") virtualized, no tweaks necessary
[2012/02/21 21:01:17] @ Quit: _moses_: Quit: leaving
[2012/02/21 21:01:35] @ cruzfox joined channel #puppet
[2012/02/21 21:01:39] <Djelibeybi> Oracle virtualizes fine, as long as you take care with hypervisor settings
[2012/02/21 21:01:40] @ Quit: justin_donaldson: Quit: Leaving.
[2012/02/21 21:02:15] @ Quit: cruzfox: Client Quit
[2012/02/21 21:02:21] <Djelibeybi> And make sure that you co-locate VMs that play well with each other, and don't all start batch processing at COB (which I've seen *sigh*)
[2012/02/21 21:02:24] <context> lkthomas: well, the only way to learn about the puppetlabs apt repo is through the 'installing dashboard' guide
[2012/02/21 21:02:28] <lkthomas> overhead of VM is low after intel use VT in their CPU
[2012/02/21 21:02:34] <context> lkthomas: but i think i might have talked to you about that before
[2012/02/21 21:02:45] <context> sometimes finding docs isn't the easiest for puppet :x
[2012/02/21 21:02:51] <lkthomas> the dashboard is out of consideration
[2012/02/21 21:02:55] <context> or they are where you wouldn't expect them to be
[2012/02/21 21:02:58] @ ^Majestic^ joined channel #puppet
[2012/02/21 21:03:08] <astrostl> agreed context. but still, way better than most imo.
[2012/02/21 21:05:19] @ Quit: mgw: Quit: Leaving.
[2012/02/21 21:06:21] @ Dyson joined channel #puppet
[2012/02/21 21:07:02] @ Quit: djm68: Remote host closed the connection
[2012/02/21 21:07:05] @ Quit: Majestic: Ping timeout: 276 seconds
[2012/02/21 21:08:28] @ Quit: IndyMichaelB: Remote host closed the connection
[2012/02/21 21:08:40] @ Quit: pdtpatr1ck: Quit: pdtpatr1ck
[2012/02/21 21:08:46] @ IndyMichaelB joined channel #puppet
[2012/02/21 21:10:04] @ Quit: ^Majestic^: Ping timeout: 244 seconds
[2012/02/21 21:12:15] @ Quit: gazoombo: Read error: Connection reset by peer
[2012/02/21 21:12:26] @ gazoombo joined channel #puppet
[2012/02/21 21:12:53] @ Benjamin_Gordy joined channel #puppet
[2012/02/21 21:14:09] @ Quit: pbuckley: Ping timeout: 240 seconds
[2012/02/21 21:14:27] @ lborda joined channel #puppet
[2012/02/21 21:18:25] @ dan__t joined channel #puppet
[2012/02/21 21:19:32] @ Quit: foxkaworus: Read error: Connection reset by peer
[2012/02/21 21:19:54] @ Quit: Benjamin_Gordy: Quit: Leaving
[2012/02/21 21:22:13] @ Quit: erkules: Read error: Operation timed out
[2012/02/21 21:22:59] @ erkules joined channel #puppet
[2012/02/21 21:24:30] @ mgw joined channel #puppet
[2012/02/21 21:24:59] <eric0> hmmm pluginsync + dynamic environments...asking for pain?
[2012/02/21 21:26:17] @ Quit: lborda: Quit: Ex-Chat
[2012/02/21 21:28:25] @ Quit: rharrison: Quit: Leaving
[2012/02/21 21:28:43] <eric0> Hunner: YT? your blog seems to be down
[2012/02/21 21:29:35] <denysonique__> I have a laptop on which I would like to define the configs, then connect to the net and deploy my puppet classes to the server
[2012/02/21 21:29:41] <denysonique__> is puppet the right tool for this?
[2012/02/21 21:29:54] <denysonique__> can my laptop be behind a firewall and switched off, when I not use it?
[2012/02/21 21:30:46] @ rburton- joined channel #puppet
[2012/02/21 21:31:18] @ Gwayne joined channel #puppet
[2012/02/21 21:33:55] <econnell> i found a serious bug in puppet
[2012/02/21 21:34:02] @ Quit: stkrzysiak: Quit: stkrzysiak
[2012/02/21 21:34:30] <econnell> it has not yet configured nginx the way i wanted it and it's requiring me to write the config myself
[2012/02/21 21:35:46] <denysonique__> mm
[2012/02/21 21:35:49] <denysonique__> hmm*
[2012/02/21 21:35:58] <denysonique__> nginx is my next step...
[2012/02/21 21:36:09] <denysonique__> econnell: could you please help me with my above asked question?
[2012/02/21 21:37:14] <econnell> denysonique__: i suppose you could use your workstation as a puppet master... but that seems like an incredibly bad idea
[2012/02/21 21:37:16] @ Quit: antarus: Changing host
[2012/02/21 21:37:16] @ antarus joined channel #puppet
[2012/02/21 21:37:32] @ setient joined channel #puppet
[2012/02/21 21:39:14] @ |Majestic| joined channel #puppet
[2012/02/21 21:39:39] @ Quit: zooz: Ping timeout: 240 seconds
[2012/02/21 21:39:54] <eric0> you can push the configs out and have the clients execute them in standalone mode with 'puppet apply', google "masterless puppet" for many examples of this
[2012/02/21 21:40:18] @ Quit: helindbe: Quit: helindbe
[2012/02/21 21:40:23] @ gniks1 joined channel #puppet
[2012/02/21 21:40:53] <econnell> eric0: this does not help my problem at *all* :)
[2012/02/21 21:41:59] @ Quit: gniks: Ping timeout: 244 seconds
[2012/02/21 21:42:07] <eric0> econnell: sorry that was for denysonique__
[2012/02/21 21:42:34] @ mosen joined channel #puppet
[2012/02/21 21:42:42] <eric0> econnell: not sure if your comment is trolling or what
[2012/02/21 21:42:48] <econnell> eric0: i know... i was commenting on the lack of a "puppet setupallthestuffineedandwritetheconfigsforme" module
[2012/02/21 21:43:55] <econnell> trolling i guess... i would have said "joking" :)
[2012/02/21 21:46:56] @ Quit: motomike: Remote host closed the connection
[2012/02/21 21:47:15] @ ezmobius is now known as ezmobius|zoning
[2012/02/21 21:47:45] @ djm68 joined channel #puppet
[2012/02/21 21:47:46] @ motomike joined channel #puppet
[2012/02/21 21:48:18] @ Quit: mgw: Quit: Leaving.
[2012/02/21 21:49:03] @ rcrowley joined channel #puppet
[2012/02/21 21:49:57] @ helindbe joined channel #puppet
[2012/02/21 21:51:15] <bman1> anyone know how to enforce a version without specifying it as the package name? http://pastebin.com/wQjBWxzV
[2012/02/21 21:51:34] <bman1> that works for the ensure if not installed but if a lower version is installed it doesnt upgrade it
[2012/02/21 21:51:52] @ vettyp joined channel #puppet
[2012/02/21 21:52:32] <eric0> bman1: depends on your package provider , but ensure => '5.0.1.0' usually works
[2012/02/21 21:53:03] <bman1> its yum, but i see your saying ensure => '$version'
[2012/02/21 21:53:14] <bman1> ill give that a try thanks
[2012/02/21 21:53:37] <eric0> yeah. doublequote if you actually want variable interpolation though :)
[2012/02/21 21:55:38] @ Quit: mburns: Read error: Connection reset by peer
[2012/02/21 21:57:29] @ mburns joined channel #puppet
[2012/02/21 21:57:30] @ Quit: mburns: Excess Flood
[2012/02/21 21:57:50] <bman1> yeah thanks left out quotes and it worked fine
[2012/02/21 21:58:18] @ mburns joined channel #puppet
[2012/02/21 21:59:34] @ Quit: |Majestic|: Ping timeout: 248 seconds
[2012/02/21 21:59:46] @ cwebber joined channel #puppet
[2012/02/21 22:01:48] @ Quit: mburns: Client Quit
[2012/02/21 22:05:00] @ Quit: dan__t: Ping timeout: 252 seconds
[2012/02/21 22:05:24] @ Quit: hooper_: Ping timeout: 265 seconds
[2012/02/21 22:06:21] @ ezmobius joined channel #puppet
[2012/02/21 22:08:06] @ Quit: cwarden: Ping timeout: 248 seconds
[2012/02/21 22:09:13] @ Quit: choonming_: Quit: Leaving
[2012/02/21 22:10:09] @ Quit: ezmobius|zoning: Ping timeout: 240 seconds
[2012/02/21 22:11:46] @ Quit: bsg_kwolf: Quit: Leaving.
[2012/02/21 22:11:57] @ Quit: ezmobius: Ping timeout: 244 seconds
[2012/02/21 22:15:08] @ Quit: bmahe: Quit: Leaving
[2012/02/21 22:16:14] @ Quit: jaschal: Quit: jaschal
[2012/02/21 22:16:22] @ Quit: ToKy: Ping timeout: 252 seconds
[2012/02/21 22:16:35] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2012/02/21 22:20:14] @ jtanner joined channel #puppet
[2012/02/21 22:22:08] <Rockj> argh
[2012/02/21 22:22:24] @ Quit: comptona: Ping timeout: 244 seconds
[2012/02/21 22:22:25] <Rockj> note to self, always restart puppetmaster AFTER you generate your new CA :-)
[2012/02/21 22:22:53] <Rockj> didn't understand why openssl s_client always gave me the old CA, silly me.
[2012/02/21 22:28:38] @ Quit: Gwayne: Quit: +++ OK ATH OK
[2012/02/21 22:30:28] @ Quit: vettyp: Quit: ChatZilla 0.9.88 [Firefox 10.0.1/20120216115443]
[2012/02/21 22:31:01] @ Quit: cwebber: Quit: Leaving.
[2012/02/21 22:33:13] @ Quit: astrostl:
[2012/02/21 22:33:48] <Rockj> does puppetmaster really have to have "puppet" in it's certificate for the puppet agents to accept its hostname? (--dns_alt_names puppet ... ) (puppet agent error: err: Could not retrieve catalog from remote server: hostname was not match with the server certificate )
[2012/02/21 22:34:41] @ mgw joined channel #puppet
[2012/02/21 22:34:57] @ Quit: dhogland: Read error: Connection reset by peer
[2012/02/21 22:35:03] <Rockj> using the openssl s_connect works without issues when puppet agent is connecting to "puppet" (which forwards to hostname.example.tld in /etc/hosts (for now until dns deployed ))
[2012/02/21 22:35:17] @ dhogland joined channel #puppet
[2012/02/21 22:37:18] <the_ramink> Rockj: whatever name the client is using to connect to the master needs to be availible in the cert. In my case when I generated the master cert I set puppet.mydomain.com; puppet; puppet.new.mydomain.com; puppet.old.mydomain.com so I could migrate between installations if needed without messing with certs.
[2012/02/21 22:37:46] @ Quit: mgw: Client Quit
[2012/02/21 22:37:46] <the_ramink> by default clients use 'puppet' or you can set server = under [agent]
[2012/02/21 22:38:04] <rburton-> anyone use Shadow + Puppet
[2012/02/21 22:39:45] <Rockj> I just find it odd that the agent doesnt append search-domain etc to its "puppet" lookup. I guess I was just hoping to make it work with "puppet" so I didnt need to bootstrap any special client config to make it retreive puppet manifests from master :p (still new and playing around for fun so I might be doing things wrong but hey, fun playing around ^^)
[2012/02/21 22:40:11] @ Quit: Tobu: Ping timeout: 260 seconds
[2012/02/21 22:40:13] <Rockj> and for some odd reason I find it odd to sign certificate to just "puppet"
[2012/02/21 22:41:41] <joe-mac> if anybody is interested in how I maintain my puppet setup with git submodules wrt branching etc http://blog.thesilentpenguin.com/blog/2012/02/21/puppet-with-git-submodules-for-fun-and-profit/
[2012/02/21 22:42:17] @ Quit: MattM: Quit: Konversation terminated!
[2012/02/21 22:43:29] <antarus> Rockj: yeah I configure my clients and servers to not use 'puppet'
[2012/02/21 22:43:34] <Rockj> tho, works with adding just "puppet" in the CA, just feels odd not working with fully qualified hostnames in certificates. imo puppet should tried checking resolv.conf and append searchpath etc for "puppet", or if not found maybe complained about it. yawn :p
[2012/02/21 22:43:34] <antarus> what a horrifying misfeature ;p
[2012/02/21 22:44:19] <Rockj> yeah, maybe I'll just fix a config together with the bootstrap, feels more right™
[2012/02/21 22:45:16] <joe-mac> ok well a corrective deploy of octopress broke that, fixing now
[2012/02/21 22:47:00] <joe-mac> fixed now, you can rtfa if you want :-D
[2012/02/21 22:47:17] @ Tobu joined channel #puppet
[2012/02/21 22:47:42] @ Quit: avleen_: Remote host closed the connection
[2012/02/21 22:47:57] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/21 22:48:34] <Rockj> joe-mac: haha, "those of us unlucky enough to have the pleasure of knowing svn."
[2012/02/21 22:48:41] <Rockj> ;-)
[2012/02/21 22:49:14] @ Djelibeybi joined channel #puppet
[2012/02/21 22:49:29] @ jdunck is now known as jdunck_away
[2012/02/21 22:49:34] @ jdunck_away is now known as jdunck
[2012/02/21 22:52:14] @ Av joined channel #puppet
[2012/02/21 22:53:17] @ Quit: Djelibeybi: Client Quit
[2012/02/21 22:54:29] @ Djelibeybi joined channel #puppet
[2012/02/21 22:55:39] @ Quit: motomike: Quit: Leaving.
[2012/02/21 23:00:55] @ Av is now known as avleen
[2012/02/21 23:01:27] @ nated joined channel #puppet
[2012/02/21 23:01:28] @ Quit: nated: Changing host
[2012/02/21 23:01:28] @ nated joined channel #puppet
[2012/02/21 23:02:27] @ Quit: joe-mac: Remote host closed the connection
[2012/02/21 23:03:39] @ Quit: raven: Read error: Operation timed out
[2012/02/21 23:04:20] @ raven joined channel #puppet
[2012/02/21 23:05:52] @ Quit: chadh: Ping timeout: 252 seconds
[2012/02/21 23:06:04] @ chadh joined channel #puppet
[2012/02/21 23:06:56] @ dan__t joined channel #puppet
[2012/02/21 23:09:46] <Hunner> eric0: It may be your connection. The blog is up from here
[2012/02/21 23:10:22] <Hunner> eric0: Or where you're connecting from may be on the level 1 bluetack ;)
[2012/02/21 23:10:28] <denysonique__> My site.pp: https://gist.github.com/acf5313c26591db10de4
[2012/02/21 23:10:38] <denysonique__> when I run # puppet apply site.pp
[2012/02/21 23:10:55] <denysonique__> nginx gets installed but the service does not start -- why?
[2012/02/21 23:11:38] <Hunner> denysonique__: Perhaps your service should have `require => Package['nginx']` to ensure ordering?
[2012/02/21 23:11:46] <Hunner> It might be doing them backwards
[2012/02/21 23:12:02] <denysonique__> Hunner: even when the package is already installed?
[2012/02/21 23:12:08] @ AshishH joined channel #puppet
[2012/02/21 23:12:38] <Rockj> denysonique__: yes, puppet doesn't know what the requirements is for your service, if you don't specify it.
[2012/02/21 23:13:08] <Hunner> denysonique__: Eh, dunno... what are the return codes for `service nginx status`?
[2012/02/21 23:13:16] <Hunner> (Assuming redhat)
[2012/02/21 23:14:35] <denysonique__> speedy# ps aux | grep nginx
[2012/02/21 23:14:35] <denysonique__> root 3566 0.0 0.0 4308 912 pts/1 S+ 04:14 0:00 grep nginx
[2012/02/21 23:15:00] <denysonique__> I am not running puppetd or any other puppet daemon
[2012/02/21 23:15:01] <Hunner> denysonique__: I mean, the actual service status command
[2012/02/21 23:15:13] <denysonique__> Hunner: nginx does not have
[2012/02/21 23:15:19] <denysonique__> I remove status form site.pp
[2012/02/21 23:15:20] <denysonique__> just now
[2012/02/21 23:15:23] <denysonique__> removed*
[2012/02/21 23:15:44] <Hunner> denysonique__: if nginx doesn't have a status command then you don't want `hasstatus => true`
[2012/02/21 23:15:58] <Hunner> try s/true/false
[2012/02/21 23:16:56] @ MattM joined channel #puppet
[2012/02/21 23:17:18] <denysonique__> Hunner: Thank you!
[2012/02/21 23:17:22] @ Quit: i0n: Remote host closed the connection
[2012/02/21 23:17:29] <denysonique__> I didn't know that true was default
[2012/02/21 23:17:46] @ i0n joined channel #puppet
[2012/02/21 23:17:56] <Hunner> denysonique__: As of 2.7 it is, I believe
[2012/02/21 23:18:56] <denysonique__> I only have one server right now. It is fine to run agent/master on the same server, right?
[2012/02/21 23:19:09] @ newtMcKerr joined channel #puppet
[2012/02/21 23:19:10] <denysonique__> and then use git to deploy new .pp's
[2012/02/21 23:19:25] <Hunner> denysonique__: Yes, recommended to have agent/master on the same server
[2012/02/21 23:19:56] <Hunner> And yes, keep your modules and site.pp in a git repo, or sometimes one repo per module
[2012/02/21 23:23:55] @ Quit: ldlework: Ping timeout: 240 seconds
[2012/02/21 23:30:28] @ gazoombo left channel #puppet ()
[2012/02/21 23:30:28] @ Quit: rburton-: Read error: Connection reset by peer
[2012/02/21 23:30:44] @ rburton- joined channel #puppet
[2012/02/21 23:36:45] @ Quit: Maior: Ping timeout: 265 seconds
[2012/02/21 23:37:15] @ littleidea joined channel #puppet
[2012/02/21 23:37:19] @ Quit: dan__t: Ping timeout: 244 seconds
[2012/02/21 23:40:44] @ M- joined channel #puppet
[2012/02/21 23:46:53] @ bobra joined channel #puppet
[2012/02/21 23:50:11] @ Quit: MattM: Quit: Konversation terminated!
[2012/02/21 23:52:15] <shiruken> rdd: stimulated sexual diseases~.
[2012/02/21 23:53:02] @ MattM joined channel #puppet
[2012/02/21 23:53:31] @ Quit: MattM: Client Quit
[2012/02/21 23:56:55] @ HarrisonZhu joined channel #puppet

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