Wednesday, 2012-01-18

[2012/01/18 00:00:57] @ Log started by gepetto
[2012/01/18 00:00:57] @ IndyMichaelB joined channel #puppet
[2012/01/18 00:01:37] @ ranjibd joined channel #puppet
[2012/01/18 00:03:13] @ drewrm joined channel #puppet
[2012/01/18 00:04:23] @ brd joined channel #puppet
[2012/01/18 00:09:14] @ Quit: Djelibeybi: Quit: Computer has gone to sleep.
[2012/01/18 00:12:36] @ Quit: hfnix: Quit: Leaving.
[2012/01/18 00:15:44] @ Quit: ldlework: Ping timeout: 240 seconds
[2012/01/18 00:16:45] @ aculich joined channel #puppet
[2012/01/18 00:25:13] @ Quit: newtMcKerr: Quit: Leaving.
[2012/01/18 00:25:43] @ Quit: labrown: Quit: Leaving
[2012/01/18 00:26:25] @ newtMcKerr joined channel #puppet
[2012/01/18 00:26:28] @ Quit: newtMcKerr: Client Quit
[2012/01/18 00:29:09] @ Quit: aculich: Quit: Leaving.
[2012/01/18 00:33:02] @ Djelibeybi joined channel #puppet
[2012/01/18 00:34:28] @ dan__t joined channel #puppet
[2012/01/18 00:38:53] @ Quit: socomm: Ping timeout: 244 seconds
[2012/01/18 00:40:34] @ socomm joined channel #puppet
[2012/01/18 00:40:52] @ Quit: Holocaine:
[2012/01/18 00:42:33] @ mrwacky42 joined channel #puppet
[2012/01/18 00:42:44] <pdtpatrick_> if you are making a directory - since, puppet uses user "puppet" - the directory needs to be owned by puppet or group puppet for it to traverse it otherwise the directory would need to be 775 right ???
[2012/01/18 00:42:47] @ Quit: motomike: Quit: Leaving.
[2012/01/18 00:45:25] @ Quit: mrwacky42: Client Quit
[2012/01/18 00:46:27] <tmz> pdtpatrick_: On the master, yes, the user that puppetmasterd runs as needs to be able to access files and directories you are having it serve. The agent runs as root, so it can apply whatever ownership and modes you require on agents/clients.
[2012/01/18 00:46:58] <pdtpatrick_> tmz -- thanks :)
[2012/01/18 00:47:38] @ ken_barber joined channel #puppet
[2012/01/18 00:48:37] @ Quit: mattrobinson: Remote host closed the connection
[2012/01/18 00:48:44] @ Quit: ken_barber1: Ping timeout: 240 seconds
[2012/01/18 00:50:04] @ Quit: dan__t: Ping timeout: 248 seconds
[2012/01/18 00:51:11] @ Quit: paroneayea: Read error: Connection reset by peer
[2012/01/18 00:52:32] @ paroneayea joined channel #puppet
[2012/01/18 00:53:51] @ Quit: l0n:
[2012/01/18 00:55:27] @ krish joined channel #puppet
[2012/01/18 01:04:26] @ ken_barber1 joined channel #puppet
[2012/01/18 01:05:33] @ Quit: ken_barber: Read error: Operation timed out
[2012/01/18 01:08:32] @ Quit: iamchrisf_: Quit: iamchrisf_
[2012/01/18 01:12:24] @ Quit: emmanuelux: Ping timeout: 240 seconds
[2012/01/18 01:14:50] @ Tobu joined channel #puppet
[2012/01/18 01:15:52] @ mrwacky42 joined channel #puppet
[2012/01/18 01:16:45] @ Quit: mrwacky42: Client Quit
[2012/01/18 01:17:45] @ tuxaddicted joined channel #puppet
[2012/01/18 01:18:29] @ Quit: gniks: Quit: Leaving.
[2012/01/18 01:24:17] @ Quit: shadoi: Quit: Leaving.
[2012/01/18 01:25:12] @ Quit: tuxaddicted: Quit: leaving
[2012/01/18 01:27:13] @ Quit: shadowshell: Remote host closed the connection
[2012/01/18 01:27:25] @ shadowshell joined channel #puppet
[2012/01/18 01:28:39] @ Quit: shadowshell: Remote host closed the connection
[2012/01/18 01:30:52] @ MUILTR joined channel #puppet
[2012/01/18 01:31:57] @ Quit: nitram_macair_: Quit: nitram_macair_
[2012/01/18 01:32:20] @ ocherno joined channel #puppet
[2012/01/18 01:32:55] @ Quit: noakes: Quit: noakes
[2012/01/18 01:32:59] @ nitram_macair_ joined channel #puppet
[2012/01/18 01:33:15] @ ckauhaus joined channel #puppet
[2012/01/18 01:33:54] @ ali3n0 joined channel #puppet
[2012/01/18 01:34:37] @ riha joined channel #puppet
[2012/01/18 01:37:08] @ Quit: drewrm: Ping timeout: 252 seconds
[2012/01/18 01:41:38] @ ud joined channel #puppet
[2012/01/18 01:44:04] @ ken_barber joined channel #puppet
[2012/01/18 01:44:46] @ hfnix joined channel #puppet
[2012/01/18 01:45:56] @ Quit: ken_barber1: Ping timeout: 240 seconds
[2012/01/18 01:46:38] @ CLIP joined channel #puppet
[2012/01/18 01:48:56] @ CLIP left channel #puppet ()
[2012/01/18 01:50:37] @ Quit: joshcooper: Quit: joshcooper
[2012/01/18 01:50:49] @ jaydg joined channel #puppet
[2012/01/18 01:52:23] @ csanchez joined channel #puppet
[2012/01/18 01:53:40] @ ken_barber1 joined channel #puppet
[2012/01/18 01:55:32] @ Quit: ranjibd: Quit: Leaving
[2012/01/18 01:57:22] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/01/18 01:57:28] @ artkrz joined channel #puppet
[2012/01/18 01:57:29] @ Quit: ken_barber: Ping timeout: 252 seconds
[2012/01/18 01:58:19] @ Quit: ocherno: Quit: Leaving
[2012/01/18 02:00:03] @ Quit: Djelibeybi: Quit: Computer has gone to sleep.
[2012/01/18 02:00:24] @ CJNE joined channel #puppet
[2012/01/18 02:02:36] @ Quit: ckauhaus: Ping timeout: 248 seconds
[2012/01/18 02:02:40] @ Kazuhiro joined channel #puppet
[2012/01/18 02:04:44] <ohadlevy> pdtpatrick: pong
[2012/01/18 02:06:40] @ salajand1r joined channel #puppet
[2012/01/18 02:10:23] @ chapinj_ joined channel #puppet
[2012/01/18 02:11:04] @ maes_` joined channel #puppet
[2012/01/18 02:12:00] @ kinsel_ joined channel #puppet
[2012/01/18 02:12:48] @ rcrowley joined channel #puppet
[2012/01/18 02:13:18] @ rbowlby joined channel #puppet
[2012/01/18 02:13:32] @ Quit: maes_: Ping timeout: 276 seconds
[2012/01/18 02:14:05] @ Quit: rcrowley: Client Quit
[2012/01/18 02:15:17] @ larstobi joined channel #puppet
[2012/01/18 02:15:33] @ Quit: axisys: Read error: Operation timed out
[2012/01/18 02:16:01] @ Quit: csanchez: Quit: csanchez
[2012/01/18 02:16:39] <rbowlby> module devel question: I see a lot of modules where an optional package is another class, example apache::ssl which would install apache and mod_ssl if declared. With parametrized classes is it now better to make this a parameter? class { 'apache': ssl_package => true }
[2012/01/18 02:16:53] @ Quit: CJNE: *.net *.split
[2012/01/18 02:16:54] @ Quit: destryalhmns: *.net *.split
[2012/01/18 02:16:55] @ Quit: Niarf: *.net *.split
[2012/01/18 02:16:56] @ Quit: salajander: *.net *.split
[2012/01/18 02:16:57] @ Quit: spiette: *.net *.split
[2012/01/18 02:16:58] @ Quit: n0ts: *.net *.split
[2012/01/18 02:16:59] @ Quit: tris: *.net *.split
[2012/01/18 02:16:59] @ Quit: bd: *.net *.split
[2012/01/18 02:17:00] @ Quit: rutger: *.net *.split
[2012/01/18 02:17:01] @ Quit: Scott-Mc: *.net *.split
[2012/01/18 02:17:03] @ Quit: chapinj: *.net *.split
[2012/01/18 02:17:04] @ Quit: jibouman`: *.net *.split
[2012/01/18 02:17:04] @ Quit: logbot46379: *.net *.split
[2012/01/18 02:17:05] @ Quit: shine: *.net *.split
[2012/01/18 02:17:05] @ Quit: kinsel: *.net *.split
[2012/01/18 02:17:06] @ Quit: trespan: *.net *.split
[2012/01/18 02:17:56] @ CJNE joined channel #puppet
[2012/01/18 02:17:56] @ destryalhmns joined channel #puppet
[2012/01/18 02:17:56] @ Niarf joined channel #puppet
[2012/01/18 02:17:56] @ spiette joined channel #puppet
[2012/01/18 02:17:56] @ n0ts joined channel #puppet
[2012/01/18 02:17:56] @ tris joined channel #puppet
[2012/01/18 02:17:56] @ bd joined channel #puppet
[2012/01/18 02:17:56] @ rutger joined channel #puppet
[2012/01/18 02:17:56] @ Scott-Mc joined channel #puppet
[2012/01/18 02:17:56] @ jibouman` joined channel #puppet
[2012/01/18 02:17:56] @ logbot46379 joined channel #puppet
[2012/01/18 02:17:57] @ shine joined channel #puppet
[2012/01/18 02:17:57] @ trespan joined channel #puppet
[2012/01/18 02:18:51] @ lkoranda joined channel #puppet
[2012/01/18 02:24:16] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/01/18 02:25:09] @ Quit: hfnix: Quit: Leaving.
[2012/01/18 02:25:47] @ Quit: ali3n0: Quit: Leaving.
[2012/01/18 02:28:14] @ Quit: ghg: Quit: Computer has gone to sleep.
[2012/01/18 02:29:15] @ axisys joined channel #puppet
[2012/01/18 02:29:36] @ Quit: mosen: Quit: Leaving
[2012/01/18 02:29:40] @ Quit: bigwiggl1r: Ping timeout: 272 seconds
[2012/01/18 02:29:42] @ Quit: tomben: Read error: Connection reset by peer
[2012/01/18 02:30:30] @ tomben joined channel #puppet
[2012/01/18 02:31:24] @ erthad left channel #puppet ()
[2012/01/18 02:32:51] @ erthad joined channel #puppet
[2012/01/18 02:33:08] @ DJClean joined channel #puppet
[2012/01/18 02:33:52] @ Quit: erthad: Changing host
[2012/01/18 02:33:52] @ erthad joined channel #puppet
[2012/01/18 02:34:11] @ Tobu joined channel #puppet
[2012/01/18 02:34:47] @ MattyM joined channel #puppet
[2012/01/18 02:34:48] @ Quit: EL84: Remote host closed the connection
[2012/01/18 02:37:52] @ EL84 joined channel #puppet
[2012/01/18 02:39:06] @ Quit: langworthy: Quit: langworthy
[2012/01/18 02:40:22] @ Quit: Kazuhiro: Quit: Leaving.
[2012/01/18 02:40:39] @ ali3n0 joined channel #puppet
[2012/01/18 02:46:35] @ Quit: larstobi: Quit: Leaving.
[2012/01/18 02:47:08] @ mukulm joined channel #puppet
[2012/01/18 02:47:33] <mukulm> Hi,
[2012/01/18 02:47:45] <rbowlby> Hi all, quick question.
[2012/01/18 02:47:46] <rbowlby> module devel question: I see a lot of modules where an optional package is another class, example apache::ssl which would install apache and mod_ssl if declared. With parametrized classes is it now better to make this a parameter? class { 'apache': ssl_package => true }
[2012/01/18 02:47:53] @ Quit: destryalhmns: Quit: Ex-Chat
[2012/01/18 02:47:58] @ Quit: erkules|away: Changing host
[2012/01/18 02:47:59] @ erkules|away joined channel #puppet
[2012/01/18 02:48:02] <mukulm> Hi, how can i find the sync & unsync clients from puppet server ?
[2012/01/18 02:48:05] @ Quit: sdog: Ping timeout: 245 seconds
[2012/01/18 02:48:05] @ erkules|away is now known as erkules
[2012/01/18 02:48:16] <beddari> rbowlby: not better, just different? (and you don't need to repeat your question hehe)
[2012/01/18 02:48:47] <rbowlby> beddari: is one a "standard"?
[2012/01/18 02:49:48] <beddari> rbowlby: I don't think so. I myself prefer to do those in "nested classes"
[2012/01/18 02:50:53] @ Espenfjo joined channel #puppet
[2012/01/18 02:50:57] @ ckauhaus joined channel #puppet
[2012/01/18 02:51:08] <rbowlby> beddari: thanks, going to tryi it with nested classes for now
[2012/01/18 02:51:49] <beddari> rbowlby: yeah, its easy to forget that you can actually do thins SIMPLE if you want ;-)
[2012/01/18 02:55:29] @ kesor joined channel #puppet
[2012/01/18 02:56:42] @ skm joined channel #puppet
[2012/01/18 02:56:44] @ Stenbryggen joined channel #puppet
[2012/01/18 02:56:53] @ Quit: Stenbryggen: Client Quit
[2012/01/18 02:57:33] @ Ramonster joined channel #puppet
[2012/01/18 02:57:50] @ jodok joined channel #puppet
[2012/01/18 02:57:51] @ Quit: jodok: Changing host
[2012/01/18 02:57:51] @ jodok joined channel #puppet
[2012/01/18 03:02:37] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2012/01/18 03:06:43] @ zorg1 joined channel #puppet
[2012/01/18 03:07:25] @ Quit: zorg1: Client Quit
[2012/01/18 03:07:45] @ Quit: Tobu: Ping timeout: 252 seconds
[2012/01/18 03:08:02] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/01/18 03:09:28] @ Quit: pdtpatrick_: Quit: pdtpatrick_
[2012/01/18 03:12:31] @ Quit: jodok: Quit: jodok
[2012/01/18 03:15:01] @ Tobu joined channel #puppet
[2012/01/18 03:15:25] @ Quit: clayb: Quit: Leaving.
[2012/01/18 03:15:43] @ raphdg joined channel #puppet
[2012/01/18 03:15:44] @ Quit: Thermy: Quit: Page closed
[2012/01/18 03:17:26] @ Quit: `Kevin: Ping timeout: 248 seconds
[2012/01/18 03:20:07] @ KaZeR_W joined channel #puppet
[2012/01/18 03:23:27] @ larstobi joined channel #puppet
[2012/01/18 03:24:47] @ HarrisonZhu left channel #puppet ()
[2012/01/18 03:25:03] @ Quit: p3rror: Read error: Operation timed out
[2012/01/18 03:25:32] @ tomben_ joined channel #puppet
[2012/01/18 03:28:24] @ Quit: tomben: Ping timeout: 240 seconds
[2012/01/18 03:29:30] @ tomben joined channel #puppet
[2012/01/18 03:29:39] @ Quit: tomben_: Ping timeout: 240 seconds
[2012/01/18 03:29:41] @ Stenbryggen joined channel #puppet
[2012/01/18 03:30:44] <sarguru_> mukulm: You mean the commands
[2012/01/18 03:35:54] @ nan0r joined channel #puppet
[2012/01/18 03:36:57] @ kronn joined channel #puppet
[2012/01/18 03:37:05] @ Quit: CosmicRay: Ping timeout: 252 seconds
[2012/01/18 03:40:17] @ ckauhaus joined channel #puppet
[2012/01/18 03:44:47] @ jonhattan joined channel #puppet
[2012/01/18 03:46:47] @ arBmind joined channel #puppet
[2012/01/18 03:48:18] @ Meier joined channel #puppet
[2012/01/18 03:49:15] @ Quit: Niarf: Quit: Leaving.
[2012/01/18 03:49:42] @ CosmicRay joined channel #puppet
[2012/01/18 03:51:55] @ hno2 joined channel #puppet
[2012/01/18 03:52:00] <Elwell> Hey folks, is there a .repo file anywhere for yum.puppetlabs.com? search fail :-)
[2012/01/18 03:52:45] @ pmorillon joined channel #puppet
[2012/01/18 03:53:57] <hno2> Can I somehow test in a manifest if a certain package is installed and take different actions if it is? To be exact I need to test it it's syslog or rsyslog that is installed to know what config to adjust.
[2012/01/18 03:54:25] <sarguru_> yes. You can
[2012/01/18 03:54:42] <hno2> any hints how?
[2012/01/18 03:54:59] <sarguru_> use unless or onlyif
[2012/01/18 03:55:03] <haus> Elwell: grab and install the puppetlabs-release.rpm?
[2012/01/18 03:55:15] <haus> Elwell: like (http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-1.noarch.rpm)
[2012/01/18 03:55:24] @ Quit: leifmadsen: Ping timeout: 240 seconds
[2012/01/18 03:55:29] <henk> hno2: You can, but you should not.
[2012/01/18 03:55:29] <tty00> hno2: ohoj!
[2012/01/18 03:55:38] <haus> modify path to match your os
[2012/01/18 03:55:44] @ Quit: ironmunk: Ping timeout: 244 seconds
[2012/01/18 03:56:34] <sarguru_> henk: Why shldn? Any convention?
[2012/01/18 03:56:52] @ Quit: fimblo: Quit: leaving
[2012/01/18 03:56:53] <hno2> same os release may run different syslog depending on other conditions.
[2012/01/18 03:57:51] @ csanchez joined channel #puppet
[2012/01/18 03:57:52] <henk> sarguru_: Puppet is made for saying “machine x has syslog, machine y has rsyslog”. Not for “if machine has foosyslog, do this, if not, do that”.
[2012/01/18 03:58:19] @ sihil joined channel #puppet
[2012/01/18 03:59:28] <sarguru_> henk: True. But when you migrate pre-existing systems with different os/environments I am not sure how much you can define
[2012/01/18 04:00:07] @ Quit: CosmicRay: Ping timeout: 276 seconds
[2012/01/18 04:00:15] @ Jallberg joined channel #puppet
[2012/01/18 04:00:28] <Jallberg> show me most popular fifa channel please
[2012/01/18 04:01:51] <mzi> sarguru_: you do a module for syslog and a module for rsyslog. and in that module you configure either accordingly.
[2012/01/18 04:01:56] <henk> sarguru_: Yeah, I guess there are always exceptions, excuses, special cases and whatnot to justify doing stuped things…
[2012/01/18 04:03:10] <Elwell> haus: exactly like that :-) Ta
[2012/01/18 04:04:13] <mzi> sarguru_: the wrong thing to do, but will work is to drop a small script in /etc/facter.d and check that facter in your class.
[2012/01/18 04:04:52] @ Jallberg left channel #puppet ()
[2012/01/18 04:04:54] <sarguru_> mzi: Yeah, Bt I am not using anything like that ;)
[2012/01/18 04:05:08] @ Niarf joined channel #puppet
[2012/01/18 04:05:12] <mzi> depending on your puppet version you might have to get it from https://github.com/ripienaar/facter-facts/tree/master/facts-dot-d
[2012/01/18 04:05:50] <mzi> you compile the catalog on the master and the master is agnostic in relation to the clients.
[2012/01/18 04:06:10] <mzi> so you won't be able to check if a certain package is installed during compilation.
[2012/01/18 04:06:31] @ Quit: csanchez: Quit: csanchez
[2012/01/18 04:06:33] <mzi> hence - don't do it.
[2012/01/18 04:08:15] <sarguru_> mmm..better
[2012/01/18 04:08:43] @ Quit: tomben: Read error: Connection reset by peer
[2012/01/18 04:09:07] @ leifmadsen joined channel #puppet
[2012/01/18 04:09:31] @ tomben joined channel #puppet
[2012/01/18 04:09:34] <kronn> Hi!
[2012/01/18 04:09:37] <kronn> Anyone around here using cucumber-puppet to test custom types?
[2012/01/18 04:09:52] @ ironmunk joined channel #puppet
[2012/01/18 04:09:53] <mzi> sarguru_: but I'm still not convinced that you really want to do it.
[2012/01/18 04:10:22] <mzi> sarguru_: how are you going to treat newly provisioned machines? with another clause?
[2012/01/18 04:10:57] <sarguru_> mzi: I was just asking to explore the possibility of doing it. I have a clear definition of machines and I use different modules/environments.
[2012/01/18 04:11:01] <sarguru_> mzi: I a
[2012/01/18 04:11:38] <sarguru_> mzi: * I had some bad experience with my own hackish facts and modules and have resorted to using a more cleaner structure now
[2012/01/18 04:12:44] <sarguru_> and one more completely unrelated question. Are there any serious demerits of using a masterless puppet model?
[2012/01/18 04:13:04] @ trickyf joined channel #puppet
[2012/01/18 04:13:24] <sarguru_> Please give me your views and opinions
[2012/01/18 04:14:18] <mzi> sarguru_: I'd say that's hackish!
[2012/01/18 04:14:39] <mzi> it you mean using puppet apply intead of puppet agent
[2012/01/18 04:14:40] <sarguru_> mzi: Hackish but good hackish or bad hackish ;)
[2012/01/18 04:14:42] @ robthoms joined channel #puppet
[2012/01/18 04:14:51] <mzi> I wouldn
[2012/01/18 04:14:57] @ trickyf left channel #puppet ()
[2012/01/18 04:14:58] <mzi> t use it in my envirionment.
[2012/01/18 04:15:09] <henk> I see the advantage of a decentralized setup, but no other (dis)advantages so far…
[2012/01/18 04:15:10] <mzi> too hard to bootstrap and let other people in.
[2012/01/18 04:15:23] @ Quit: Tobu: Ping timeout: 248 seconds
[2012/01/18 04:16:15] @ skm joined channel #puppet
[2012/01/18 04:16:39] @ Quit: pmorillon: Quit: pmorillon
[2012/01/18 04:16:49] <sarguru_> henk: I have been experimenting with it on my test boxes. The performance is good when compared to passenger/unicorn-nginx master. But its really hackish like mzi puts it and I dont see much usage of it other than a bunch of places
[2012/01/18 04:16:51] @ trickyf joined channel #puppet
[2012/01/18 04:17:03] <henk> What’s hackish about it?
[2012/01/18 04:17:42] <sarguru_> The way you will get reports/use inventory store etc
[2012/01/18 04:17:46] @ Quit: sihil: Remote host closed the connection
[2012/01/18 04:17:54] <sarguru_> but it works
[2012/01/18 04:18:15] @ sihil joined channel #puppet
[2012/01/18 04:19:48] <henk> Sure, you lose some of the features of a master-setup, but that does not make it bad hackish IMHO.
[2012/01/18 04:20:13] <henk> I guess it depends on your use case, as so often…
[2012/01/18 04:20:19] @ inecas joined channel #puppet
[2012/01/18 04:21:06] <sarguru_> henk: True. Its a trade off depending on the use case.
[2012/01/18 04:21:07] @ ezryx joined channel #puppet
[2012/01/18 04:21:31] @ tomben_ joined channel #puppet
[2012/01/18 04:22:25] <hno2> hi tty00, nice to see you here as well.
[2012/01/18 04:23:51] @ Quit: nimrod10`: Quit: Coyote finally caught me
[2012/01/18 04:24:06] @ nimrod10 joined channel #puppet
[2012/01/18 04:24:09] @ Quit: tomben: Ping timeout: 244 seconds
[2012/01/18 04:25:48] @ Quit: tomben_: Ping timeout: 252 seconds
[2012/01/18 04:26:00] @ tomben joined channel #puppet
[2012/01/18 04:26:01] @ fimblo joined channel #puppet
[2012/01/18 04:28:16] @ Quit: counterbeing: Quit: Computer has gone to sleep.
[2012/01/18 04:29:09] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2012/01/18 04:34:48] @ sihil_ joined channel #puppet
[2012/01/18 04:34:50] @ Quit: sihil: Read error: Connection reset by peer
[2012/01/18 04:35:16] <mukulm> where to track the configuration changes for users in server ?
[2012/01/18 04:35:45] @ Tobu joined channel #puppet
[2012/01/18 04:39:18] @ Quit: sihil_: Ping timeout: 255 seconds
[2012/01/18 04:39:30] <mzi> mukulm: could you repeat that question with more words?
[2012/01/18 04:43:32] @ jodok joined channel #puppet
[2012/01/18 04:46:05] @ aheritier joined channel #puppet
[2012/01/18 04:47:23] @ Quit: MUILTR: Ping timeout: 240 seconds
[2012/01/18 04:50:10] @ Quit: nan0r: Ping timeout: 245 seconds
[2012/01/18 04:52:05] @ nan0r joined channel #puppet
[2012/01/18 04:53:33] @ sdog joined channel #puppet
[2012/01/18 04:53:34] <Sp4rKy> is there a possibility to ensure that notified "objects" are run immediatly after the object which notified ?
[2012/01/18 04:53:45] <Sp4rKy> ex : I have a file ressource, which notify an exec ressource
[2012/01/18 04:53:55] @ Quit: sdog: Changing host
[2012/01/18 04:53:55] @ sdog joined channel #puppet
[2012/01/18 04:54:22] <Sp4rKy> I would be sure that no ressource will be evaluated betwwen the file{} and the exec{}
[2012/01/18 04:54:46] @ Quit: mattr-: Ping timeout: 252 seconds
[2012/01/18 04:55:22] <mzi> then you should probably assign them to their own stage.
[2012/01/18 04:55:39] <henk> Sp4rKy: Not easily. What are you doing? Why do you think you need that?
[2012/01/18 04:55:40] <Sp4rKy> was thinking of this, but ...
[2012/01/18 04:55:50] <Sp4rKy> I'm adding rpm repositories
[2012/01/18 04:56:08] <Sp4rKy> I have 4 rpm repositories, each node may add some of them, not all
[2012/01/18 04:56:20] <Sp4rKy> so a basic stage that creates all is not good
[2012/01/18 04:56:35] <Sp4rKy> could virtual ressources works ?
[2012/01/18 04:56:38] <mzi> why the exec?
[2012/01/18 04:56:49] <Sp4rKy> mzi: to update yum cache
[2012/01/18 04:57:04] <henk> That does not answer my question or explain why you need it run _directly_ afterwards.
[2012/01/18 04:57:20] @ Quit: bobra: Ping timeout: 252 seconds
[2012/01/18 04:57:42] <Sp4rKy> henk: because if not, I only have a "Scheduling refresh of Exec[update yum cache]"
[2012/01/18 04:58:02] <Sp4rKy> and puppet tries to install some Package ressources without the cache was updated
[2012/01/18 04:58:05] <mzi> do a define (with a virtual resource if you like) that uses yumrepos and an exec.
[2012/01/18 04:58:12] <mzi> and put that define it its own stage
[2012/01/18 04:58:58] <Sp4rKy> so one define per repo
[2012/01/18 04:59:44] <mzi> depending on what your repos look like you could have an even more genereal define.
[2012/01/18 04:59:50] <Sp4rKy> and I add the appropriated call to each node
[2012/01/18 04:59:57] <mzi> yup.
[2012/01/18 05:00:15] <Sp4rKy> mzi: all ressources in a define are run in same "block" ?
[2012/01/18 05:00:36] @ Quit: jodok: Remote host closed the connection
[2012/01/18 05:00:51] @ jodok joined channel #puppet
[2012/01/18 05:00:52] @ Quit: jodok: Changing host
[2012/01/18 05:00:52] @ jodok joined channel #puppet
[2012/01/18 05:01:58] <henk> So you have packages which depend on a certain repository but you don‘t tell puppet about it? ;)
[2012/01/18 05:02:13] <Sp4rKy> henk: I do
[2012/01/18 05:02:33] <Sp4rKy> but repository and yum makecache are 2 differents ressources
[2012/01/18 05:02:46] <Sp4rKy> so the package depends on the repository
[2012/01/18 05:03:12] @ ^Majestic^ joined channel #puppet
[2012/01/18 05:04:22] <mzi> http://pastie.org/3206538
[2012/01/18 05:05:41] <mzi> if you have the url something like http://server/path/to/repo/$architechture/$operatingsystemrelease/ you can easily replace the 'repo' part of the url with for example $title
[2012/01/18 05:06:12] @ ckauhaus joined channel #puppet
[2012/01/18 05:06:12] <mzi> and I'm old, of cource I mean $::operatingsystemrelease and so on.
[2012/01/18 05:06:29] <mzi> course, even. :)
[2012/01/18 05:06:42] <Sp4rKy> :)
[2012/01/18 05:07:40] @ sihil joined channel #puppet
[2012/01/18 05:07:44] @ Quit: arBmind: Ping timeout: 240 seconds
[2012/01/18 05:07:55] @ Quit: ^Majestic^: Ping timeout: 252 seconds
[2012/01/18 05:08:32] <Sp4rKy> well, give it a try
[2012/01/18 05:08:49] @ bobra joined channel #puppet
[2012/01/18 05:09:06] @ Quit: comptona: Quit: Leaving.
[2012/01/18 05:10:10] @ verwilst joined channel #puppet
[2012/01/18 05:11:26] @ Quit: elementai: Remote host closed the connection
[2012/01/18 05:13:50] @ stevie-bash joined channel #puppet
[2012/01/18 05:15:48] @ Quit: Niarf: Quit: Leaving.
[2012/01/18 05:16:28] <kjalil> hello, i'm using "roles" to define what my puppet instance should do, such as "webserver" or "db", and then I use an "include" to include a file which has the same name as the "role", so "modules/roles/manifest/webserver.pp", etc. The problem is that I am using a regular expression to "extract" the role from the "hostname" the machine uses. In this scenario if I do a postgres master/slave setup I am forced to use hostnames like "pg_master" and "pg_slave" w
[2012/01/18 05:16:34] <kjalil> hich people recommend is a bad idea because a slave could be a master at any time. So what is a better solution? Perhaps I should get the role from some other location? Maybe EC2 userdata as everything is deployed there and then I could "pass" the role in when I start the machine?
[2012/01/18 05:18:44] <misc> I guess you could use a enc
[2012/01/18 05:18:54] <misc> ( ie, a script that goive you the role based on the hostname )
[2012/01/18 05:19:18] <misc> http://docs.puppetlabs.com/guides/external_nodes.html
[2012/01/18 05:19:56] <_rc> sounds like you've already got an answer in your EC2 userdata thingy, what's the question?
[2012/01/18 05:20:50] <kjalil> _rc, yes I just wanted to ask, wondering what people thought about it, perhaps it's a common usecase
[2012/01/18 05:21:57] <kjalil> misc, ENC sounds promising as well, thanks
[2012/01/18 05:22:35] <_rc> it's very common
[2012/01/18 05:25:16] @ arBmind joined channel #puppet
[2012/01/18 05:27:34] @ Niarf joined channel #puppet
[2012/01/18 05:29:50] @ p3rror joined channel #puppet
[2012/01/18 05:31:16] @ arBmind_ joined channel #puppet
[2012/01/18 05:31:35] <kjalil> a separate question: on the "hostname" of master/slave situation, I really can't think of anything else to use besides maybe pg1 for the master and pg2 for the slave. I could use weird names like "bart" and "lisa" that have nothing to do with the machine's roles, but won't that be more confusing?
[2012/01/18 05:31:50] <mukulm> How can i tack the configuration changes from server instead of dashboard ?
[2012/01/18 05:33:19] @ Quit: choonming: Quit: Leaving
[2012/01/18 05:33:24] @ Quit: arBmind: Ping timeout: 240 seconds
[2012/01/18 05:33:24] @ arBmind_ is now known as arBmind
[2012/01/18 05:33:59] <_rc> mukulm: enable reports, but use the store report processor and process the yaml summaries yourself
[2012/01/18 05:34:12] <misc> kjalil: a hostname is just a convention, I do not understand the question
[2012/01/18 05:34:29] <henk> kjalil: I tend to give my systems real names (like bart and lisa) and assign the role via extlookup (and via CNAMES in DNS). That scales and works nicely when a new server takes over a role from another server.
[2012/01/18 05:34:49] <misc> (and allow some harmless fun from sysadmin too )
[2012/01/18 05:34:55] @ Holocaine joined channel #puppet
[2012/01/18 05:35:37] <mutante> kjalil: how about burns and smithers for master/slave ?:)
[2012/01/18 05:35:45] <mukulm> rc > reports are enabled but want to see the changes through command line ?
[2012/01/18 05:36:05] <kjalil> henk, could you elaborate on how you use extlookup + CNAMES to do it please?
[2012/01/18 05:36:18] <_rc> mukulm: which report processors do you have enabled?
[2012/01/18 05:36:22] <kjalil> mutante, excellent.... :-)
[2012/01/18 05:36:24] @ fronlius joined channel #puppet
[2012/01/18 05:37:11] @ Quit: nan0r: Read error: Connection reset by peer
[2012/01/18 05:37:15] <mukulm> rc > its puppet inbuild
[2012/01/18 05:37:39] <_rc> mukulm: never heard of that one
[2012/01/18 05:38:22] <_rc> mukulm: what does 'puppet --configprint reports' say on the master?
[2012/01/18 05:38:25] <henk> kjalil: DNS does not matter for puppet, only extlookup. I do an "include $role" where "$role = extlookup('role')" more or less…
[2012/01/18 05:38:39] <henk> kjalil: But hiera > extlookup AFAICT
[2012/01/18 05:39:47] <mukulm> rc > store
[2012/01/18 05:40:14] <kjalil> henk, yeah i've heard good things about hiera, really need to look into it
[2012/01/18 05:42:13] @ Quit: skm: Quit: Computer has gone to sleep.
[2012/01/18 05:42:24] @ Quit: fronlius: Quit: fronlius
[2012/01/18 05:42:32] <_rc> mukulm: then look at $vardir/reports/$fqdn
[2012/01/18 05:43:27] <sarguru_> mukulm: puppet inbuild? NEver heard of that report processor
[2012/01/18 05:43:33] @ The-Bat joined channel #puppet
[2012/01/18 05:44:07] <_rc> sarguru_: keep reading, he meant 'store'
[2012/01/18 05:45:06] <mukulm> also $vardir/reports/$fqdn gives me /reports/
[2012/01/18 05:45:55] <mukulm> but this is required for dashboard, require through server cmd
[2012/01/18 05:46:14] <_rc> sorry, I don't follow
[2012/01/18 05:46:24] <sarguru_> _rc: Got it .. SOrry :)
[2012/01/18 05:46:40] <_rc> if you're using dashboard, you typically use an additional report handler to feed it
[2012/01/18 05:47:05] <mukulm> any command or syntax from where i can see the configuration changes through command line from server
[2012/01/18 05:47:19] <_rc> if you're on the cli of the master, you can inspect the yaml files the store report generator put in $vardir/report
[2012/01/18 05:48:02] <_rc> cat $vardir/report/name.of.a.host.you.care.about/*.yml
[2012/01/18 05:48:30] <_rc> if it's not populated it may be your nodes aren't running with reporting enabled
[2012/01/18 05:48:53] <mukulm> k
[2012/01/18 05:54:57] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2012/01/18 05:57:01] <codec_> sigh. could someone please come up with an awesome idea for the puppetforge? i'm in github puppet hell again. merge (with conflicts of course) repo/branch x, y to get features z, z1, z2.
[2012/01/18 06:01:05] @ kronn left channel #puppet ()
[2012/01/18 06:03:31] <kjalil> henk, i'm reading the ENC docs but can't quite understand how to implement it. I just write a script that extracts the role from EC2's userdata and returns YAML with only the "parameters" set? I don't quite understand what the point of "classes" is
[2012/01/18 06:04:38] <_rc> it's the classes to apply
[2012/01/18 06:04:57] <_rc> so all the include statements you'd have put in your node definition
[2012/01/18 06:05:17] <_rc> I'm assuming you have a class per role
[2012/01/18 06:05:27] @ mfladischer joined channel #puppet
[2012/01/18 06:06:53] <kjalil> _rc, if the ENC returns the YAML that is on the docs page, how does puppet know that "this" particular node will use it and not this other one?
[2012/01/18 06:07:01] <kjalil> _rc, yes, I have a class per-role
[2012/01/18 06:07:06] @ mutante left channel #puppet ()
[2012/01/18 06:13:06] <_rc> kjalil: it's invoked as /path/to/your/enc $fqdn
[2012/01/18 06:13:25] <_rc> so you look at your arguments and return the yaml for the node you're asked about
[2012/01/18 06:14:41] <kjalil> _rc, ah so it's hostname based again, which I'm trying to avoid, so I guess I'll just ignore that and grab the userdata instead from EC2 and return appropriately
[2012/01/18 06:15:22] @ ckauhaus joined channel #puppet
[2012/01/18 06:15:33] <_rc> it's only as hostname based as using that for a primary key to identify the node in question; same as the rest of puppet
[2012/01/18 06:16:08] <_rc> your ENC can then ask the EC2 userdata or whatever
[2012/01/18 06:17:17] <_rc> otherwise how does your ENC know what node it's being asked about?
[2012/01/18 06:23:18] @ octane- joined channel #puppet
[2012/01/18 06:30:16] @ choonming joined channel #puppet
[2012/01/18 06:31:55] <mukulm> k thc rc
[2012/01/18 06:32:00] @ Quit: mukulm: Quit: Page closed
[2012/01/18 06:35:53] @ Quit: sdog: Quit: Leaving.
[2012/01/18 06:37:25] @ proton_ is now known as proton
[2012/01/18 06:37:32] @ Quit: proton: Changing host
[2012/01/18 06:37:32] @ proton joined channel #puppet
[2012/01/18 06:40:34] @ RhysMorgan joined channel #puppet
[2012/01/18 06:40:45] <RhysMorgan> Morning all!
[2012/01/18 06:40:47] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2012/01/18 06:41:12] <RhysMorgan> Using the exec command is there a defined way of outputting stout and std err to designated flat files?
[2012/01/18 06:42:18] <mzi> it's just a shell escape so 1> 2> will work
[2012/01/18 06:44:04] @ nitram_macair__ joined channel #puppet
[2012/01/18 06:44:06] @ Quit: nitram_macair_: Read error: Connection reset by peer
[2012/01/18 06:45:05] @ nitram_macair_ joined channel #puppet
[2012/01/18 06:45:06] @ Quit: nitram_macair__: Read error: Connection reset by peer
[2012/01/18 06:45:33] <RhysMorgan> internal to the command?
[2012/01/18 06:45:47] <RhysMorgan> That's what I assumed
[2012/01/18 06:46:03] <_rc> depends on the version of puppet
[2012/01/18 06:46:44] <_rc> pre 2.6ish it's arbitary shell, later there's a choice of provider with the default being to not use a shell
[2012/01/18 06:47:41] <_rc> http://docs.puppetlabs.com/references/latest/type.html#exec see the section on the provider parameter
[2012/01/18 06:47:47] @ brtl joined channel #puppet
[2012/01/18 06:49:29] @ Quit: nitram_macair_: Read error: Connection reset by peer
[2012/01/18 06:50:03] @ nitram_macair_ joined channel #puppet
[2012/01/18 06:50:15] @ ABK joined channel #puppet
[2012/01/18 06:50:38] <ABK> *ping*
[2012/01/18 06:51:04] <ABK> could anyone answer a Q regarding puppet modules and custom resource
[2012/01/18 06:51:28] <_rc> no need to ask to ask
[2012/01/18 06:52:08] <ABK> so, we have a Puppet Module with different *.pp files included in init.pp
[2012/01/18 06:52:19] @ sdog joined channel #puppet
[2012/01/18 06:52:58] <ABK> we had a custom resource
[2012/01/18 06:53:01] @ csanchez joined channel #puppet
[2012/01/18 06:53:24] <ABK> accessed in multiple *.pp file there with different names
[2012/01/18 06:53:45] @ ckauhaus joined channel #puppet
[2012/01/18 06:53:58] <ABK> we extracted that out in a different file, but facing problem in accessing it
[2012/01/18 06:54:46] @ Quit: RhysMorgan: Quit: RhysMorgan
[2012/01/18 06:54:54] <ABK> putting that entire custom resource in a class, including that and accessing the resource via class giving duplication problem
[2012/01/18 06:54:54] <_rc> you named the file consistently with the name of the define, as per http://docs.puppetlabs.com/guides/modules.html#module-autoloading ?
[2012/01/18 06:55:16] <ABK> facing not-found resource type in some other approaches tried
[2012/01/18 06:55:36] <ABK> what would be the preferred/working approach
[2012/01/18 06:56:51] <ABK> I think so, let me double check the spelling once more
[2012/01/18 06:57:25] <_rc> well what do you currently have, and what's the error you're getting?
[2012/01/18 06:57:55] <ABK> yes its according to convention
[2012/01/18 06:58:43] <ABK> ok so if
[2012/01/18 06:58:44] <ABK> init.pp {include a, include b}
[2012/01/18 06:59:23] <ABK> a.pp [[ class modulename::a{ res1{...} }]]
[2012/01/18 06:59:34] <ABK> b.pp [[ class modulename::b{ res1{...} }]]
[2012/01/18 07:00:07] <ABK> myres.pp [[ class modulename::myres{ def res1($myvar){...} }]]
[2012/01/18 07:00:09] <Volcane> ABK: please put your code on pastie.org along with any actual errors
[2012/01/18 07:00:32] <Volcane> ABK: telling us what you think you have doesnt say anything about your actual code - there might just be a small error you are missing, we cant really help you with hypothetical code
[2012/01/18 07:01:46] <ABK> ok, until then is there any other preferred approach or link I can refer to
[2012/01/18 07:02:02] <Volcane> the docs linked to already covers it
[2012/01/18 07:02:10] <Volcane> and u seem to understand the basics
[2012/01/18 07:03:50] <ABK> thanks, I'll make it available on pastie (if get consent from PM :) ), and be back
[2012/01/18 07:04:11] <ABK> thanks for the help @Volcane @_rc
[2012/01/18 07:04:31] @ danikov joined channel #puppet
[2012/01/18 07:05:03] @ kerframil joined channel #puppet
[2012/01/18 07:08:15] @ ukd1 joined channel #puppet
[2012/01/18 07:09:08] <ukd1> hi guys - I'm getting "err: Could not retrieve catalog from remote server: wrong header line format" but I've removed all the template folders from my puppet...as I thought it was a bad template (I check with erb as well). Any thoughts?
[2012/01/18 07:09:20] @ Quit: vincent_vdk: Ping timeout: 252 seconds
[2012/01/18 07:13:59] @ cliff-hm joined channel #puppet
[2012/01/18 07:15:14] @ Quit: kelseyhightower: Quit: kelseyhightower
[2012/01/18 07:15:30] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2012/01/18 07:15:52] @ kelseyhightower joined channel #puppet
[2012/01/18 07:16:10] @ kelseyhightower_ joined channel #puppet
[2012/01/18 07:16:11] @ Quit: kelseyhightower: Read error: Connection reset by peer
[2012/01/18 07:16:11] @ kelseyhightower_ is now known as kelseyhightower
[2012/01/18 07:21:30] @ nitram_macair__ joined channel #puppet
[2012/01/18 07:21:31] @ Quit: nitram_macair_: Read error: Connection reset by peer
[2012/01/18 07:23:00] @ marrusl joined channel #puppet
[2012/01/18 07:24:17] @ Quit: Holocaine:
[2012/01/18 07:29:03] @ robthoms_ joined channel #puppet
[2012/01/18 07:30:16] @ Quit: robthoms: Read error: Connection reset by peer
[2012/01/18 07:32:10] @ robthoms__ joined channel #puppet
[2012/01/18 07:33:37] @ Vasik|work joined channel #puppet
[2012/01/18 07:34:21] @ Quit: robthoms_: Read error: Connection reset by peer
[2012/01/18 07:37:00] @ kolla joined channel #puppet
[2012/01/18 07:42:56] @ Quit: socomm: Ping timeout: 240 seconds
[2012/01/18 07:43:58] @ socomm joined channel #puppet
[2012/01/18 07:44:22] @ Quit: fir31ight: Ping timeout: 276 seconds
[2012/01/18 07:47:00] @ Quit: csanchez: Quit: csanchez
[2012/01/18 07:48:13] <ABK> hey @Volcane @_rc
[2012/01/18 07:48:23] <ABK> I tried a similar stuff on my local try box
[2012/01/18 07:48:29] <ABK> and its giving the same error
[2012/01/18 07:48:35] <ABK> the thing I tried is at
[2012/01/18 07:48:36] <ABK> http://pastie.org/3207160
[2012/01/18 07:48:57] <ABK> that's the actual code-piece I tried
[2012/01/18 07:49:07] <ABK> and the Error peice
[2012/01/18 07:49:51] <bd> ABK: class ztest::myres { ... }
[2012/01/18 07:50:08] @ natewalck joined channel #puppet
[2012/01/18 07:51:08] @ Quit: Axsuul: Ping timeout: 252 seconds
[2012/01/18 07:51:16] <ABK> bd: what is wrong in there, plz giv some detail
[2012/01/18 07:52:11] <bd> ABK: the name is wrong, look at what you pasted
[2012/01/18 07:52:36] @ Quit: AshishH: Ping timeout: 240 seconds
[2012/01/18 07:53:03] @ fronlius joined channel #puppet
[2012/01/18 07:53:05] @ Quit: nitram_macair__: Read error: Connection reset by peer
[2012/01/18 07:53:11] @ nitram_macair_ joined channel #puppet
[2012/01/18 07:53:14] <ABK> oh!!! my bad, I'll try the corrected version and update it there as well, thanks for notifying
[2012/01/18 07:53:26] <sarguru_> ABK the class myres should be class ztest::myres{}
[2012/01/18 07:53:53] @ tily_ joined channel #puppet
[2012/01/18 07:55:02] @ tizzo-afk is now known as tizzo
[2012/01/18 07:55:02] <bd> I'd like to have my puppet generated .dot files in one central location, not on each node
[2012/01/18 07:57:08] <ABK> corrected the manifest and the Error generated
[2012/01/18 07:57:30] <ABK> the Error was resource_type not found from that included class
[2012/01/18 07:57:42] <ABK> what would be corrected preferred approach for that
[2012/01/18 07:57:56] <ABK> http://pastie.org/3207160
[2012/01/18 07:58:01] @ Quit: tily: Ping timeout: 276 seconds
[2012/01/18 07:58:02] @ tily_ is now known as tily
[2012/01/18 07:59:01] @ mm_ joined channel #puppet
[2012/01/18 07:59:57] @ Quit: rubic: Quit: Leaving.
[2012/01/18 08:00:00] @ Quit: fronlius: Quit: fronlius
[2012/01/18 08:01:19] @ Quit: leifmadsen: Remote host closed the connection
[2012/01/18 08:01:54] @ tily left channel #puppet ()
[2012/01/18 08:04:14] <ABK> HELP!!! http://pastie.org/3207160
[2012/01/18 08:05:58] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/01/18 08:07:32] @ johnston_ joined channel #puppet
[2012/01/18 08:07:48] <ABK> ~
[2012/01/18 08:07:48] <ABK> ~
[2012/01/18 08:07:48] <ABK> http://pastie.org/3207160
[2012/01/18 08:07:51] <robthoms__> ABK, what makes you think that tmp_file will be able to lookup res1?
[2012/01/18 08:09:44] <pabelanger> any body have a good example of using cloud-init (ubuntu) with puppet? I'm looking to change my hostname on my ec2 instances
[2012/01/18 08:09:45] @ Quit: nitram_macair_: Read error: Connection reset by peer
[2012/01/18 08:10:13] @ nitram_macair_ joined channel #puppet
[2012/01/18 08:11:05] @ ^Majestic^ joined channel #puppet
[2012/01/18 08:11:09] @ Quit: ^Majestic^: Client Quit
[2012/01/18 08:11:32] @ RhysMorgan joined channel #puppet
[2012/01/18 08:11:39] <_rc> ABK: you need to rename your define
[2012/01/18 08:12:04] <robthoms__> ABK, no private messages, please.
[2012/01/18 08:12:06] <_rc> the error message is that it can't find it
[2012/01/18 08:12:12] <ABK> robthoms_ : i even tried including it in tmp_file no effect
[2012/01/18 08:12:27] <robthoms__> ABK, I think that ztest::myres::res1 { "newres": } will probably work.
[2012/01/18 08:12:40] <ABK> cool, I'll try that right now
[2012/01/18 08:12:57] <_rc> it *might*, but far better to name it that and not nest a define declaration inside a class
[2012/01/18 08:13:06] @ Quit: nitram_macair_: Read error: Connection reset by peer
[2012/01/18 08:13:14] <robthoms__> I agree .. make the define top level, ideally.
[2012/01/18 08:13:28] @ krish1 joined channel #puppet
[2012/01/18 08:13:30] <adedommelin> 2/c
[2012/01/18 08:13:31] <ABK> ztest::myres::res1 worked
[2012/01/18 08:13:33] <ABK> tahnks
[2012/01/18 08:13:37] @ nitram_macair_ joined channel #puppet
[2012/01/18 08:15:38] @ Quit: krish: Ping timeout: 244 seconds
[2012/01/18 08:15:56] @ lanky joined channel #puppet
[2012/01/18 08:17:26] @ nitram_macair__ joined channel #puppet
[2012/01/18 08:17:28] @ Quit: nitram_macair_: Read error: Connection reset by peer
[2012/01/18 08:18:56] @ leifmadsen joined channel #puppet
[2012/01/18 08:19:12] @ marcus joined channel #puppet
[2012/01/18 08:20:01] @ nan0r joined channel #puppet
[2012/01/18 08:22:06] @ Quit: nitram_macair__: Read error: Connection reset by peer
[2012/01/18 08:22:09] @ nitram_macair_ joined channel #puppet
[2012/01/18 08:22:36] @ zwi joined channel #puppet
[2012/01/18 08:24:55] @ Quit: mfladischer: Ping timeout: 252 seconds
[2012/01/18 08:27:51] @ Tobu joined channel #puppet
[2012/01/18 08:28:24] @ Quit: nitram_macair_: Ping timeout: 252 seconds
[2012/01/18 08:30:36] @ inecas_ joined channel #puppet
[2012/01/18 08:31:39] @ Quit: inecas: Ping timeout: 240 seconds
[2012/01/18 08:34:12] @ Quit: bobra: Ping timeout: 252 seconds
[2012/01/18 08:38:29] @ Quit: larstobi: Read error: Operation timed out
[2012/01/18 08:38:52] @ Quit: cliff-hm: Ping timeout: 244 seconds
[2012/01/18 08:40:33] @ marczak_ joined channel #puppet
[2012/01/18 08:43:04] @ Quit: marczak: Ping timeout: 252 seconds
[2012/01/18 08:45:30] <marcus> hi all. i am using puppet in standalone mode (without a puppet server). here is an example where i use templates: http://pastebin.com/k28tmncX, now my question is if there is another way to refer template("$network::template_path/resolv.conf.erb"). i thought about something like $module::template_path
[2012/01/18 08:45:44] @ Quit: hno2: Ping timeout: 240 seconds
[2012/01/18 08:46:14] <bigon> hi, I've a parameterized class that is included in a base node, and my other nodes is inheriting of it. it seems there is no way to change a parameter in child node. is there any other clean(tm) way to do that?
[2012/01/18 08:46:58] <bigon> template('network/resolv.conf.erb') should work
[2012/01/18 08:47:22] <bigon> marcus: ^
[2012/01/18 08:47:35] @ e1mer joined channel #puppet
[2012/01/18 08:47:42] <marcus> hmm, i just wanted to skip network but to use a global variable instead
[2012/01/18 08:48:16] <robthoms__> bigon, Have your child nodes include the param'd class.. consider using an ENC or extlookup (or hiera).. avoid dynamically scoped variables at all cost.
[2012/01/18 08:49:31] @ csanchez joined channel #puppet
[2012/01/18 08:49:51] <_rc> marcus: why do you want to use a global?
[2012/01/18 08:51:26] <_rc> template('network/resolv.conf.erb') means the resolv.conf.erb from the templates dir of the network module. organising by modules is a good thing.
[2012/01/18 08:53:03] <marcus> because if i have more, i need to adjust that value on every change of the module name
[2012/01/18 08:53:33] @ cliff-hm joined channel #puppet
[2012/01/18 08:53:42] @ q-rban is now known as q0rban
[2012/01/18 08:54:44] @ uphillian joined channel #puppet
[2012/01/18 08:54:48] <_rc> then use the ${module_name} variable? or back up and think as to why you're renaming your modules so much, and address that
[2012/01/18 08:55:20] @ Quit: sdog: Changing host
[2012/01/18 08:55:20] @ sdog joined channel #puppet
[2012/01/18 08:55:39] @ djm68 joined channel #puppet
[2012/01/18 08:56:24] <sarguru_> marcus: Even I use a stand alone puppet. I feel its better to include modulepath in your templates/resource. Using global values is not a recommended practice
[2012/01/18 08:57:40] @ tmclaugh joined channel #puppet
[2012/01/18 08:58:02] @ hno2 joined channel #puppet
[2012/01/18 08:59:20] @ blentz joined channel #puppet
[2012/01/18 08:59:22] <marcus> ok i guess i will stick with your advise. is this also possible for file reference? atm. i am using something like: http://pastebin.com/JYn833sL
[2012/01/18 08:59:41] <marcus> where filepath is the mount point
[2012/01/18 08:59:42] <sarguru_> or you can say "${module_name}/template.erb
[2012/01/18 09:00:04] @ Quit: e1mer: Ping timeout: 240 seconds
[2012/01/18 09:01:18] <_rc> for that you say source => "puppet:///modules/network/interfaces", and on the fs it's modules/network/files/interfaces
[2012/01/18 09:01:43] <_rc> this way the same module will work serverless or with a server
[2012/01/18 09:01:43] <sarguru_> yes $module_name is introduced since puppet .6
[2012/01/18 09:01:49] <sarguru_> 2.6*
[2012/01/18 09:02:49] @ Quit: RhysMorgan: Quit: RhysMorgan
[2012/01/18 09:02:58] <marcus> hmm, then it says: can't use relative urls
[2012/01/18 09:03:00] <_rc> does that mean in 2.6, or after 2.6?
[2012/01/18 09:03:44] @ e1mer joined channel #puppet
[2012/01/18 09:03:52] <sarguru_> marcus: I use source=>"puppet:///modules/${module_name}/foo.cf
[2012/01/18 09:03:54] <hno2> Hm. trying to make a template for snmpd.conf, but we have snippets in there for very many things depending on what is installed on the node. And advice on how to structure this?
[2012/01/18 09:03:58] <_rc> marcus: can we see the actual resource with the actual error message
[2012/01/18 09:04:10] <sarguru_> _rc: in 2.6
[2012/01/18 09:04:47] <hno2> Ideally I'd like the snmpd.conf template in the snmp module somehow automatically inherit parts added by other modules somehow.
[2012/01/18 09:05:04] <marcus> sarguru_, i think it works in server mode, but not in file based mode
[2012/01/18 09:05:19] <_rc> hno2: expose a define for adding stuff to the file, use concat in its implementation
[2012/01/18 09:05:52] <hno2> concat how where?
[2012/01/18 09:06:24] <_rc> krish1: https://github.com/ripienaar/puppet-concat#readme
[2012/01/18 09:06:28] <_rc> hno2: https://github.com/ripienaar/puppet-concat#readme
[2012/01/18 09:06:36] <_rc> krish1: misfire, sorry
[2012/01/18 09:07:41] <marcus> sarguru, ah it even works in file mode, thanks
[2012/01/18 09:08:27] <marcus> one last question for now: is it always recommended to refer variables with ${VAR} instead $VAR?
[2012/01/18 09:08:42] <_rc> yes
[2012/01/18 09:09:11] @ marczak joined channel #puppet
[2012/01/18 09:09:17] @ opsmason joined channel #puppet
[2012/01/18 09:09:34] <_rc> insulates you from parser changes where they made '-' valid in an identifier etc.
[2012/01/18 09:10:15] <_rc> this is only in string interpolation mind, no point to it otherwise
[2012/01/18 09:11:34] @ Quit: marczak_: Ping timeout: 248 seconds
[2012/01/18 09:11:35] @ Quit: icezimm: Quit: kext reboot
[2012/01/18 09:12:18] @ Quit: natewalck: Quit: Outta here
[2012/01/18 09:12:25] <hno2> _rc, looks very promising. Is there any way to feed these collected fragments into a template instead of a file?
[2012/01/18 09:12:29] @ aptiko joined channel #puppet
[2012/01/18 09:12:32] <sarguru_> marcus: http://docs.puppetlabs.com/guides/style_guide.html
[2012/01/18 09:12:40] @ Quit: ABK: Ping timeout: 245 seconds
[2012/01/18 09:13:10] <_rc> hno2: no
[2012/01/18 09:13:43] <hno2> a pity.. the order alone is a litle fragile.
[2012/01/18 09:13:51] <aptiko> Can I get more useful error messages from augeas than "Save failed with return code false"?
[2012/01/18 09:13:56] <_rc> the order alone is sufficient
[2012/01/18 09:15:19] @ scobal joined channel #puppet
[2012/01/18 09:15:44] <hno2> yes. i guess I can get something sane from it by hiding the order in defines for the different slots that should accept fragments.
[2012/01/18 09:17:45] <Dominic> aptiko: not before Puppet 2.8 really, you can try to reproduce what you're doing with augtool. It's normally a problem that you're setting the wrong node in the order or similar (#augeas may be some help here).
[2012/01/18 09:18:11] <aptiko> thx
[2012/01/18 09:18:46] @ astrostl joined channel #puppet
[2012/01/18 09:19:48] @ Quit: djm68: Remote host closed the connection
[2012/01/18 09:20:01] @ djm68 joined channel #puppet
[2012/01/18 09:22:45] @ natewalck joined channel #puppet
[2012/01/18 09:23:37] @ Quit: inecas_: Ping timeout: 248 seconds
[2012/01/18 09:23:43] @ Quit: cliff-hm: Ping timeout: 252 seconds
[2012/01/18 09:23:53] @ gniks joined channel #puppet
[2012/01/18 09:25:00] @ Quit: cwebber: Remote host closed the connection
[2012/01/18 09:25:00] @ samkottler joined channel #puppet
[2012/01/18 09:25:05] @ cwebber joined channel #puppet
[2012/01/18 09:25:32] @ Quit: gniks: Client Quit
[2012/01/18 09:28:04] @ Quit: e1mer: Read error: Connection reset by peer
[2012/01/18 09:28:16] @ Quit: mm_: Quit: Page closed
[2012/01/18 09:29:24] @ RhysMorgan joined channel #puppet
[2012/01/18 09:30:54] <fallen> just wondering, is anybody using mod_cache for file_metadata on puppetmaster?
[2012/01/18 09:30:56] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 09:31:08] @ The-Bat joined channel #puppet
[2012/01/18 09:34:55] @ Quit: The-Bat: Client Quit
[2012/01/18 09:35:07] @ The-Bat joined channel #puppet
[2012/01/18 09:35:21] @ Quit: Tobu: Ping timeout: 248 seconds
[2012/01/18 09:36:44] @ cliff-hm joined channel #puppet
[2012/01/18 09:37:03] @ grosendorf joined channel #puppet
[2012/01/18 09:38:33] @ caaakeeey joined channel #puppet
[2012/01/18 09:38:42] <caaakeeey> can i do string manipulation in puppet?
[2012/01/18 09:38:55] <caaakeeey> specifically removing a period
[2012/01/18 09:39:41] @ Quit: samkottler: Quit: Leaving.
[2012/01/18 09:40:27] <_rc> caaakeeey: http://docs.puppetlabs.com/references/stable/function.html#regsubst
[2012/01/18 09:40:35] <`mx> when writing your facts and are pushed out with pluginsync. Should they been seen when I run facter? or is it only accessable via puppet?
[2012/01/18 09:40:53] @ fir31ight joined channel #puppet
[2012/01/18 09:41:13] <_rc> `mx: facter --puppet
[2012/01/18 09:41:14] @ fronlius joined channel #puppet
[2012/01/18 09:41:16] @ emmanuelux joined channel #puppet
[2012/01/18 09:41:54] @ jodok_ joined channel #puppet
[2012/01/18 09:41:55] @ Quit: jodok_: Changing host
[2012/01/18 09:41:55] @ jodok_ joined channel #puppet
[2012/01/18 09:42:35] @ Quit: kerframil: Ping timeout: 240 seconds
[2012/01/18 09:42:49] @ inecas_ joined channel #puppet
[2012/01/18 09:42:56] @ Quit: ud: Ping timeout: 240 seconds
[2012/01/18 09:43:39] @ abien joined channel #puppet
[2012/01/18 09:43:54] @ Quit: jaydg: Remote host closed the connection
[2012/01/18 09:44:08] @ kerframil joined channel #puppet
[2012/01/18 09:44:22] <ashp> Hmm
[2012/01/18 09:44:26] <`mx> _rc: thx
[2012/01/18 09:44:43] <ashp> I wonder if it would be a good use of facter to have it return an array of all repositories a machine is using via /etc/yum.repos.d/
[2012/01/18 09:44:50] <ashp> that way I could query machines to see what they are using for package sources
[2012/01/18 09:45:03] @ Quit: kermit: Quit: Leaving.
[2012/01/18 09:45:09] @ Quit: jodok: Ping timeout: 240 seconds
[2012/01/18 09:45:59] <_rc> my general feeling on that kind of thing is no, declare what they should have, don't ask what they do
[2012/01/18 09:46:33] <ashp> While that's definitely the general principle
[2012/01/18 09:46:34] @ Quit: jodok_: Ping timeout: 276 seconds
[2012/01/18 09:46:45] <ashp> When you're retrofitting puppet into a large amount of machines that were all built by hand
[2012/01/18 09:46:54] <ashp> it can be hard to accurately inventory everything to see what's going on :D
[2012/01/18 09:47:11] <ashp> About the only thing I've shoehorned in to the majority of these machines is facter/puppet so far, next is mcollective
[2012/01/18 09:47:24] <ashp> so I'm trying to gather all my information to take the next step via facter where possible as it's the only thing I can trust
[2012/01/18 09:47:33] @ Quit: kerframil: Changing host
[2012/01/18 09:47:33] @ kerframil joined channel #puppet
[2012/01/18 09:49:49] @ Quit: fir31ight: Ping timeout: 276 seconds
[2012/01/18 09:51:43] @ lborda joined channel #puppet
[2012/01/18 09:54:18] <caaakeeey> _rc, thanks <3
[2012/01/18 09:55:53] @ sduchesneau joined channel #puppet
[2012/01/18 09:56:55] <astrostl> i have a list of 100+ web sites to monitor, which i'll do using the nagios_* types. what would the most efficient way to loop over them be?
[2012/01/18 09:57:02] @ samkottler joined channel #puppet
[2012/01/18 09:57:20] <astrostl> i could make a shell script that enters them using a define or something like that, but i'm wondering if there's a more puppet-native way i should be iterating over a list. i could make it a csv.
[2012/01/18 09:57:22] <RhysMorgan> I have somehow gotten into the position where a dev group wants a package deployed which is a series of 2 bat files how can i carry them out in order?
[2012/01/18 09:57:26] <RhysMorgan> stage?
[2012/01/18 09:57:47] @ Quit: Vasik|work: Remote host closed the connection
[2012/01/18 09:57:56] <astrostl> stage would work
[2012/01/18 09:58:03] <astrostl> separate classes with specified order would work
[2012/01/18 09:58:25] <astrostl> repackaging it into one thing would perhaps be most elegant
[2012/01/18 09:58:29] @ Quit: Stenbryggen: Quit: Leaving.
[2012/01/18 09:58:49] <RhysMorgan> It would but unfortunately it is way out of my comfort zone to do so and politics are heavy at the moment with people and process
[2012/01/18 10:00:28] <astrostl> i tend to use separate classes in modules, like deps.pp for dependencies, install.pp for installation, config.pp for configuration, etc.
[2012/01/18 10:00:44] <astrostl> in init.pp i put include foo::deps, foo::install
[2012/01/18 10:00:54] <astrostl> and Class['foo::deps'] -> Class['foo::install']
[2012/01/18 10:01:00] <RhysMorgan> oh so it does work procedurally that way?
[2012/01/18 10:01:09] @ tizzo is now known as tizzo-afk
[2012/01/18 10:01:12] <astrostl> then include foo for the node in site.pp
[2012/01/18 10:01:21] @ Quit: djm68: Remote host closed the connection
[2012/01/18 10:01:23] <astrostl> that picks up init.pp, which picks up the sub-classes and orders them as i intend
[2012/01/18 10:01:33] <bd> my puppet generated, dot'ified png has a width of 20000 and a height of 300 pixels. is there a way to get a more squareish picture?
[2012/01/18 10:01:44] @ tizzo-afk is now known as tizzo
[2012/01/18 10:01:49] <bd> neato does draw a rectangular one, but all the nodes overlap
[2012/01/18 10:01:59] <astrostl> bd: multi-monitor until you get 20k pixels :)
[2012/01/18 10:02:14] @ Quit: danikov: Ping timeout: 255 seconds
[2012/01/18 10:02:15] @ tizzo is now known as tizzo-afk
[2012/01/18 10:02:16] <RhysMorgan> so I have 3 classes: app::dirs, app::files, app::exec and i assume this method would require an app::exec2
[2012/01/18 10:02:20] <bd> asbruvik1: I fear I'd need display link chaining :)
[2012/01/18 10:02:39] <bd> hmngralt, nickcompletion fail
[2012/01/18 10:03:27] <RhysMorgan> dirs and files are pre-req's so i have require => Class['tecad::dirs'] in the tecad::files and require => Class['tecad::files'] in the tecad::exec
[2012/01/18 10:03:31] <_rc> RhysMorgan: so you have two execs you want to control the order they apply in?
[2012/01/18 10:03:51] <astrostl> if they're execs you can simply have the second one be refreshonly and the first one can notify it
[2012/01/18 10:03:57] <astrostl> i thought they were actual package resources
[2012/01/18 10:04:05] <RhysMorgan> no, sorry my bad explanation
[2012/01/18 10:04:19] <astrostl> _rc: any tips on large-data import as described above?
[2012/01/18 10:04:21] <RhysMorgan> astrostl: yes that would work, thankyou
[2012/01/18 10:04:23] <_rc> easier, you can before/require relationship
[2012/01/18 10:04:39] @ gazoombo joined channel #puppet
[2012/01/18 10:04:43] @ millere joined channel #puppet
[2012/01/18 10:04:49] <RhysMorgan> so require => Class['tecad::exec'] in the tecad::exec2 class?
[2012/01/18 10:04:59] <_rc> don't make two classes
[2012/01/18 10:05:30] <_rc> it's completely fair game for one resource in a class to require another one
[2012/01/18 10:06:15] <_rc> people take the fad of splitting package/file/service too far at times
[2012/01/18 10:06:40] <RhysMorgan> it's something I have gotten used to to enable granularity from our portal UI
[2012/01/18 10:08:20] <RhysMorgan> Like this?
[2012/01/18 10:08:22] <RhysMorgan> http://pastebin.com/TEPgeSRF
[2012/01/18 10:08:23] <_rc> astrostl: describe the data some more
[2012/01/18 10:08:57] <_rc> RhysMorgan: yes, that'll ensure ordering
[2012/01/18 10:09:05] @ Quit: Wolfspyre: Quit: Leaving.
[2012/01/18 10:09:07] @ Quit: zwi: Quit: Leaving.
[2012/01/18 10:09:25] <millere> Hi all - I've been testing some definitions locally (puppet —confdir=/mypuppet /mypuppet/manifests/sites.pp) with 0.25.5 (works fine). Now running same files on a 0.25.4 server is not resolving paths (eg. Package[$postgres::params::pg_server] errors out as "Package[]" is a duplicate)
[2012/01/18 10:09:25] @ zwi joined channel #puppet
[2012/01/18 10:09:35] <RhysMorgan> perfect, thank you: that's my something new learnt for today :-)
[2012/01/18 10:10:04] @ Wolfspyre joined channel #puppet
[2012/01/18 10:10:15] @ djm68 joined channel #puppet
[2012/01/18 10:10:16] @ themadcanudist joined channel #puppet
[2012/01/18 10:10:22] <astrostl> _rc: text file with 100+ urls, that's all it is
[2012/01/18 10:10:30] @ fir31ight joined channel #puppet
[2012/01/18 10:10:31] <themadcanudist> hey guys… is there defined plans to support parameterized classes with the ruby dsl?
[2012/01/18 10:10:40] <themadcanudist> the docs say it's supported, but it doesn't work, at least in puppet 2.7.1
[2012/01/18 10:10:49] <astrostl> current plan: make a define so that i can nagios_host add them with a one-liner, then iterate over the file with a for loop to spam out individual define invocations
[2012/01/18 10:10:50] @ Quit: Ramonster: Ping timeout: 252 seconds
[2012/01/18 10:11:00] <astrostl> what i'd LIKE is to be able to reference it as an external file
[2012/01/18 10:11:19] <astrostl> nagios_host { 'hosts': importsomecrap => file.csv } a la extlookup
[2012/01/18 10:11:27] <astrostl> with resource purging of deleted items and the whole shebang
[2012/01/18 10:11:31] @ brandon_dacrib joined channel #puppet
[2012/01/18 10:11:32] <astrostl> perhaps a lot to ask
[2012/01/18 10:11:33] <_rc> themadcanudist: http://projects.puppetlabs.com/issues/5236 it's a tracked issue
[2012/01/18 10:11:40] <themadcanudist> yeah
[2012/01/18 10:11:41] <themadcanudist> totally
[2012/01/18 10:11:52] <themadcanudist> that part i knew
[2012/01/18 10:12:00] <themadcanudist> just wondering if someone had some insight =)
[2012/01/18 10:12:14] <astrostl> best to ask for that in the ticket
[2012/01/18 10:12:18] <themadcanudist> kk
[2012/01/18 10:12:19] <themadcanudist> thx
[2012/01/18 10:12:48] @ Quit: eventi: Quit: Leaving.
[2012/01/18 10:13:05] @ jodok joined channel #puppet
[2012/01/18 10:13:06] @ Quit: jodok: Changing host
[2012/01/18 10:13:06] @ jodok joined channel #puppet
[2012/01/18 10:13:47] <_rc> astrostl: so $urls = slurp_file("urls.txt") nagios::url { $urls: }
[2012/01/18 10:14:30] <astrostl> something like that, yeah
[2012/01/18 10:14:45] @ Quit: marcus: Quit: Leaving
[2012/01/18 10:14:49] <astrostl> i can't find a single ref to slurp_file on google, is that pseudocode?
[2012/01/18 10:14:56] <_rc> completely doable, you just need to write a function for slurp_file
[2012/01/18 10:15:32] <astrostl> if i do that can i still do a resource purge for those that BECOME unmanaged?
[2012/01/18 10:15:43] <astrostl> i'd like to use extlookup because it can already grok csvs and i can add data to it
[2012/01/18 10:16:11] <_rc> extlookup isn't going to do anything useful for you in this case
[2012/01/18 10:16:34] @ freezey joined channel #puppet
[2012/01/18 10:16:59] <astrostl> i don't want to go through writing something custom only to find it can't auto-purge
[2012/01/18 10:17:05] <_rc> it uses csvs, this much is true, but it uses them as a simple table backend, not your use-case at all
[2012/01/18 10:17:12] <astrostl> if it can't, i'll just loop over it and put it all in the manifest
[2012/01/18 10:17:18] <astrostl> generate might do it?
[2012/01/18 10:17:37] <_rc> generate returns a string
[2012/01/18 10:17:39] @ joe-mac1 joined channel #puppet
[2012/01/18 10:17:57] <astrostl> so multiple lines won't fly as an array input?
[2012/01/18 10:18:22] <_rc> right
[2012/01/18 10:18:48] <_rc> auto-purging is really going to depend on how you implement the rest of the define
[2012/01/18 10:19:50] <_rc> say if you were to add files into a directory managed with ensure => purge then it'll take care of it magically
[2012/01/18 10:20:05] <_rc> I really can't speak to the built in nagios types
[2012/01/18 10:20:13] <astrostl> they're pretty threadbare
[2012/01/18 10:20:19] <astrostl> they support purging though
[2012/01/18 10:21:04] @ Quit: fronlius: Ping timeout: 240 seconds
[2012/01/18 10:22:09] @ Quit: Wolfspyre: Quit: Leaving.
[2012/01/18 10:22:21] @ Wolfspyre joined channel #puppet
[2012/01/18 10:22:29] @ Quit: grosendorf: Quit: Leaving
[2012/01/18 10:22:40] @ grosendorf joined channel #puppet
[2012/01/18 10:25:21] @ gniks joined channel #puppet
[2012/01/18 10:25:44] @ willaerk joined channel #puppet
[2012/01/18 10:31:02] @ marczak_ joined channel #puppet
[2012/01/18 10:31:58] @ inecas_ is now known as inecas
[2012/01/18 10:32:08] @ IndyMichaelB joined channel #puppet
[2012/01/18 10:33:25] @ Quit: nan0r: Read error: Connection reset by peer
[2012/01/18 10:34:14] @ Quit: marczak: Ping timeout: 248 seconds
[2012/01/18 10:35:16] @ riha left channel #puppet ()
[2012/01/18 10:37:42] @ Quit: zwi: Quit: Leaving.
[2012/01/18 10:38:03] @ Quit: gabrtv: Quit: gabrtv
[2012/01/18 10:38:24] @ tblamer joined channel #puppet
[2012/01/18 10:38:38] @ Quit: MattyM: Remote host closed the connection
[2012/01/18 10:41:09] @ Quit: millere: Quit: Leaving.
[2012/01/18 10:43:55] @ Quit: johnston_: Ping timeout: 258 seconds
[2012/01/18 10:45:23] @ ldlework joined channel #puppet
[2012/01/18 10:46:55] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2012/01/18 10:47:11] @ Quit: fpletz: Ping timeout: 252 seconds
[2012/01/18 10:48:33] @ Quit: carlasouza: Quit: brb
[2012/01/18 10:48:43] <caaakeeey> what are the possible ways of having a puppet agent run, other than every x minutes, ie can you trigger a run when the files on the master change?
[2012/01/18 10:48:58] @ carlasouza joined channel #puppet
[2012/01/18 10:49:06] <henk> caaakeeey: puppet kick
[2012/01/18 10:49:30] <chjohnst> puppet kick is one way
[2012/01/18 10:49:34] <chjohnst> or use mcollective
[2012/01/18 10:49:42] @ Quit: jodok: Read error: Operation timed out
[2012/01/18 10:49:47] <chjohnst> with an svn/git/rcs post trigger
[2012/01/18 10:50:03] @ Thermy joined channel #puppet
[2012/01/18 10:50:16] <henk> ssh $node "puppet agent -t" works too :-p
[2012/01/18 10:50:51] @ Quit: swygue: Ping timeout: 255 seconds
[2012/01/18 10:51:35] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2012/01/18 10:52:22] @ Quit: djm68: Remote host closed the connection
[2012/01/18 10:53:17] @ Quit: samkottler: Read error: Connection reset by peer
[2012/01/18 10:54:18] @ ghg joined channel #puppet
[2012/01/18 10:54:39] @ Quit: Thermy: Ping timeout: 258 seconds
[2012/01/18 10:55:35] @ dan__t joined channel #puppet
[2012/01/18 10:55:43] <dan__t> 'morning.
[2012/01/18 10:55:54] @ jodok joined channel #puppet
[2012/01/18 10:56:11] @ Quit: jodok: Client Quit
[2012/01/18 10:56:24] @ Quit: willaerk: Remote host closed the connection
[2012/01/18 10:56:41] @ chrisw joined channel #puppet
[2012/01/18 10:57:25] @ benkevan joined channel #puppet
[2012/01/18 10:57:33] @ Quit: benkevan: Changing host
[2012/01/18 10:57:33] @ benkevan joined channel #puppet
[2012/01/18 10:57:43] @ johnston_ joined channel #puppet
[2012/01/18 10:57:59] @ gaahrdner joined channel #puppet
[2012/01/18 10:58:41] @ car|0s joined channel #puppet
[2012/01/18 10:59:03] @ Ramonster joined channel #puppet
[2012/01/18 11:00:30] <themadcanudist> top-scope variables in puppet: I can access them via $::variable, however, how would I access a variable defined within a NODE definition that includes a class? It seems like those variables aren't top-scope. Am I doing something wrong?
[2012/01/18 11:01:14] <themadcanudist> however, i can access it via $variable… I'd like to be explicit about what scope to take it from.
[2012/01/18 11:01:36] @ nan0r joined channel #puppet
[2012/01/18 11:02:13] @ labrown joined channel #puppet
[2012/01/18 11:02:13] @ ZummiG777 joined channel #puppet
[2012/01/18 11:02:24] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2012/01/18 11:02:35] @ zwi joined channel #puppet
[2012/01/18 11:02:35] @ Peanut left channel #puppet ()
[2012/01/18 11:02:39] @ Quit: natewalck: Quit: Outta here
[2012/01/18 11:03:46] @ Quit: Elwell: Ping timeout: 240 seconds
[2012/01/18 11:04:04] @ Quit: raphdg: Remote host closed the connection
[2012/01/18 11:04:15] <ZummiG777> Question: We are currently running puppet .25.5 for our puppetmaster and clients. We are going to be upgrading soon, but it will be server by server. If we upgrade the puppetmaster first to 2.6 will the clients who are still running .25.5 still work correctly?
[2012/01/18 11:04:34] @ Quit: inecas: Ping timeout: 276 seconds
[2012/01/18 11:05:20] @ Quit: darix: Quit: brb
[2012/01/18 11:05:52] <themadcanudist> nm, i think i got it. I believe they act the same as classes for scope… hmmmm.
[2012/01/18 11:06:26] @ Quit: marrusl: Ping timeout: 252 seconds
[2012/01/18 11:07:12] @ ckauhaus joined channel #puppet
[2012/01/18 11:07:40] @ Quit: ken_barber1: Quit: Leaving.
[2012/01/18 11:08:12] @ Elwell joined channel #puppet
[2012/01/18 11:08:41] @ gabrtv joined channel #puppet
[2012/01/18 11:13:09] @ darix joined channel #puppet
[2012/01/18 11:13:16] @ rcrowley joined channel #puppet
[2012/01/18 11:14:39] @ Quit: aheritier: Quit: aheritier
[2012/01/18 11:14:52] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 11:14:53] <themadcanudist> hey is there a way to generically reference the parent scope when using a variable? Or generically reference a number of parent scopes back or generically reference the node scope without being specific?
[2012/01/18 11:15:04] @ The-Bat joined channel #puppet
[2012/01/18 11:15:08] @ aheritier joined channel #puppet
[2012/01/18 11:15:32] @ Quit: Meier: Quit: Leaving.
[2012/01/18 11:16:07] <ozy_work> can I write a custom function to create resources?
[2012/01/18 11:16:26] <ozy_work> the syntax for functions appears different than the syntax used when defining resources
[2012/01/18 11:17:48] @ Trebortech joined channel #puppet
[2012/01/18 11:17:50] @ cliff-hm joined channel #puppet
[2012/01/18 11:18:05] @ Quit: lwhalen: Ping timeout: 245 seconds
[2012/01/18 11:18:51] @ Quit: The-Bat: Client Quit
[2012/01/18 11:19:01] <joe-mac1> that's because it is, functions are run server-side, and are written in ruby
[2012/01/18 11:19:03] @ The-Bat joined channel #puppet
[2012/01/18 11:19:13] @ millere joined channel #puppet
[2012/01/18 11:19:16] <ozy_work> hmm, ok
[2012/01/18 11:19:24] @ Quit: aheritier: Ping timeout: 240 seconds
[2012/01/18 11:19:25] @ jodok joined channel #puppet
[2012/01/18 11:19:26] @ Quit: jodok: Changing host
[2012/01/18 11:19:26] @ jodok joined channel #puppet
[2012/01/18 11:20:03] <themadcanudist> joe-mac1: do you have any idea about scoping variables and pulling them from the node scope?
[2012/01/18 11:20:25] <themadcanudist> or generically referencing a parent class?
[2012/01/18 11:20:49] <themadcanudist> sorry.. generically referencing a variable in a parent class without knowing the parent class name.
[2012/01/18 11:21:24] @ kermit joined channel #puppet
[2012/01/18 11:21:33] <ozy_work> joe-mac1: I am trying to create a function that can be used to create a bunch of nagios checks -- we have some services that run over a load balancer, and the only thing that changes is the hostname/url, so I wanted to call the nagios_host and nagios_service resources in a function
[2012/01/18 11:21:53] @ Quit: tmclaugh: Ping timeout: 255 seconds
[2012/01/18 11:22:51] <joe-mac1> scope.lookupvar themadcanudist
[2012/01/18 11:22:54] @ Tobu joined channel #puppet
[2012/01/18 11:23:36] <joe-mac1> ozy_work: I think you're using the term 'function' wrong
[2012/01/18 11:23:42] <joe-mac1> you mean class or define
[2012/01/18 11:24:12] @ Kazuhiro joined channel #puppet
[2012/01/18 11:24:21] <ozy_work> perhaps. I want to pass the hostname to 'something' and have it generate the nagios_host{} resource to be run on the nagios host
[2012/01/18 11:24:22] @ teacup joined channel #puppet
[2012/01/18 11:24:37] <ozy_work> can classes accept arguments?
[2012/01/18 11:24:47] <joe-mac1> classes can but they are singletons
[2012/01/18 11:24:52] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 11:24:56] <joe-mac1> therefore you likely need a define
[2012/01/18 11:25:04] @ The-Bat joined channel #puppet
[2012/01/18 11:25:06] <teacup> hi, is there a way of reporting package versions with the audit metaparameter?
[2012/01/18 11:25:28] @ Reepicheep joined channel #puppet
[2012/01/18 11:25:41] <themadcanudist> joe-mac1: scope.lookupvar works in templates and in ruby dsl, but will it work in a puppet DSL manifest?
[2012/01/18 11:25:43] @ fronlius joined channel #puppet
[2012/01/18 11:25:44] @ tmclaugh joined channel #puppet
[2012/01/18 11:26:31] <ozy_work> joe-mac1: do you have alink to documentation? I am getting a lot of results for 'defined' which appears to be different
[2012/01/18 11:26:52] @ Quit: The-Bat: Client Quit
[2012/01/18 11:27:04] @ The-Bat joined channel #puppet
[2012/01/18 11:27:19] @ ken_barber joined channel #puppet
[2012/01/18 11:27:25] <joe-mac1> themadcanudist: use $::var
[2012/01/18 11:27:28] <joe-mac1> that is global scope
[2012/01/18 11:27:33] @ jkoppe joined channel #puppet
[2012/01/18 11:27:38] <joe-mac1> ozy_work: look at the language reference at the 'define' keyword
[2012/01/18 11:28:16] <Dewin> themadcanudist: Are you perhaps looking for inherits?
[2012/01/18 11:28:19] <themadcanudist> joe-mac1: that much i know. Say I want to refer to the node scope generically? Is that possible with some..
[2012/01/18 11:28:24] <themadcanudist> Dewin: I'd like to avoid inherits
[2012/01/18 11:28:35] <themadcanudist> Dewin: ACtually they won't work in this case anyway
[2012/01/18 11:28:45] @ Quit: verwilst: Quit: Ex-Chat
[2012/01/18 11:28:54] <themadcanudist> I'd like something like this… $node::variable
[2012/01/18 11:29:06] <themadcanudist> where node is like a symbol.
[2012/01/18 11:29:22] <themadcanudist> so any node that includes a class, that class can look for $node::variable
[2012/01/18 11:29:28] <sarguru_> teacup: You can specify the version of the package to be present in the system
[2012/01/18 11:29:29] @ Quit: sduchesneau: Quit: Leaving
[2012/01/18 11:29:33] <themadcanudist> it works by letting puppet 2.7.X search through its scope… but i'd like to be specific.
[2012/01/18 11:29:34] @ samkottler joined channel #puppet
[2012/01/18 11:29:42] <Dewin> Aren't node variables globals?
[2012/01/18 11:29:49] @ jblaine joined channel #puppet
[2012/01/18 11:29:58] <Dewin> (I honestly don't know, I haven't found good documentation on node and haven't used it yet}
[2012/01/18 11:29:59] <themadcanudist> they are.
[2012/01/18 11:30:09] <themadcanudist> but not top-scope
[2012/01/18 11:30:13] <Dewin> then $::var
[2012/01/18 11:30:18] <themadcanudist> that won't work
[2012/01/18 11:30:19] @ Quit: jblaine: Changing host
[2012/01/18 11:30:19] @ jblaine joined channel #puppet
[2012/01/18 11:30:29] @ jblaine left channel #puppet ()
[2012/01/18 11:30:30] <Dewin> sorry, I meant top scope when I said global
[2012/01/18 11:30:33] <teacup> saguru_: I was hoping to be able to use puppet to audit our existing systems.. so by using audit I was hoping it coudl repor the package version
[2012/01/18 11:30:47] <joe-mac1> themadcanudist: you want to refer to a node's vars inside another node's catalog?
[2012/01/18 11:30:55] @ Quit: Kazuhiro: Quit: Leaving.
[2012/01/18 11:30:56] <joe-mac1> $var will work
[2012/01/18 11:31:00] <joe-mac1> you're overthinking it
[2012/01/18 11:31:20] <Dewin> being able to automatically lookup variable scope is going away I thought
[2012/01/18 11:32:40] <sarguru_> teacup: Im not sure if you can do it. Audit is not a part of the package resource type.
[2012/01/18 11:32:54] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 11:33:04] @ Quit: grosendorf: Ping timeout: 240 seconds
[2012/01/18 11:33:05] @ The-Bat joined channel #puppet
[2012/01/18 11:33:19] @ lwhalen joined channel #puppet
[2012/01/18 11:34:08] @ clover-leaf joined channel #puppet
[2012/01/18 11:34:16] @ clover-leaf left channel #puppet ()
[2012/01/18 11:34:17] <teacup> sarguru_: ok, thanks. still quite new to this so not sure entirely sure how to implement this
[2012/01/18 11:34:33] @ Quit: sdog: Remote host closed the connection
[2012/01/18 11:34:41] <Dewin> Err, if I'm reading the docs right, I don't see why you couldn't?
[2012/01/18 11:34:51] @ Quit: The-Bat: Client Quit
[2012/01/18 11:34:52] <Dewin> Disclaimer: Also still quite new
[2012/01/18 11:35:03] @ The-Bat joined channel #puppet
[2012/01/18 11:36:05] @ newtMcKerr joined channel #puppet
[2012/01/18 11:37:13] @ grosendorf joined channel #puppet
[2012/01/18 11:38:08] @ Quit: zwi: Quit: Leaving.
[2012/01/18 11:39:15] @ lak joined channel #puppet
[2012/01/18 11:39:16] @ Quit: lak: Changing host
[2012/01/18 11:39:16] @ lak joined channel #puppet
[2012/01/18 11:39:40] @ Quit: fir31ight: Ping timeout: 276 seconds
[2012/01/18 11:39:56] @ joshcooper joined channel #puppet
[2012/01/18 11:40:10] @ fir31ight joined channel #puppet
[2012/01/18 11:40:30] @ Quit: cliff-hm: Ping timeout: 252 seconds
[2012/01/18 11:43:39] @ Quit: wallblom: Ping timeout: 252 seconds
[2012/01/18 11:44:02] @ emamdouh joined channel #puppet
[2012/01/18 11:44:06] @ Quit: samkottler: Ping timeout: 248 seconds
[2012/01/18 11:44:11] @ samkottler1 joined channel #puppet
[2012/01/18 11:44:34] <emamdouh> hi, i'm facing a weired problem with puppet
[2012/01/18 11:44:46] <emamdouh> i have puppet master version 2.7.6
[2012/01/18 11:44:53] <emamdouh> and puppet node version 2.7.9
[2012/01/18 11:45:02] <emamdouh> every thing was running fine
[2012/01/18 11:45:11] @ jkoppe left channel #puppet ()
[2012/01/18 11:45:19] <emamdouh> but from about one hour puppet agent runs so slowly
[2012/01/18 11:45:30] <emamdouh> any ideas why this happens
[2012/01/18 11:45:58] <GoodKarma> network?
[2012/01/18 11:46:38] <emamdouh> btw, machines are ec2 instances
[2012/01/18 11:46:38] @ aculich joined channel #puppet
[2012/01/18 11:47:09] <sarguru_> which one is taking more time?
[2012/01/18 11:47:35] <emamdouh> sarguru_ , what do you mean ?
[2012/01/18 11:47:56] @ Quit: mogitaff: Remote host closed the connection
[2012/01/18 11:48:14] @ jimmn joined channel #puppet
[2012/01/18 11:48:14] <sarguru_> emamdouh: Which part of the puppet agent run is taking the maximum time
[2012/01/18 11:48:27] <joe-mac1> emamdouh: you're doing the upgrading backwards
[2012/01/18 11:48:32] <joe-mac1> you're supposed to upgrade master before nodes
[2012/01/18 11:49:03] @ Quit: gniks: Quit: Leaving.
[2012/01/18 11:49:10] @ Quit: hno2: Quit: Lämnar
[2012/01/18 11:49:24] <emamdouh> the whole execution takes about 1000 seconds ,and the normal execution takes 50 seconds
[2012/01/18 11:50:00] <sarguru_> in the report you will find the time taken by separate sections of the puppet agent run
[2012/01/18 11:50:04] @ Quit: Demosthenes: Ping timeout: 240 seconds
[2012/01/18 11:50:19] <sarguru_> if you give us the complete details we can help
[2012/01/18 11:50:40] @ Quit: tmclaugh: Read error: Connection reset by peer
[2012/01/18 11:50:58] @ tmclaugh joined channel #puppet
[2012/01/18 11:51:26] <hajile> is brandon turner around?
[2012/01/18 11:51:50] <hajile> i'm running into some weird problems with the puppet-rvm module, if anyone has any expertise in this area :)
[2012/01/18 11:51:53] @ Quit: chrisw: Read error: Connection reset by peer
[2012/01/18 11:51:56] @ michaelpjohnson joined channel #puppet
[2012/01/18 11:52:09] @ chrisw joined channel #puppet
[2012/01/18 11:52:57] <themadcanudist> joe-mac1: yeah, i know i'm overthinking it, but as dewin said, i'm trying to prepare for puppet's future… that global scope lookup is going away
[2012/01/18 11:52:58] @ cliff-hm joined channel #puppet
[2012/01/18 11:53:08] <themadcanudist> =)
[2012/01/18 11:53:12] @ Quit: ukd1: Read error: Connection reset by peer
[2012/01/18 11:53:35] <themadcanudist> this actually wouldn't be an issue if i could declare parameterized classes in the ruby dsl
[2012/01/18 11:53:50] @ gniks joined channel #puppet
[2012/01/18 11:53:52] <themadcanudist> as i would just use parameterized classes everywhere… but cuz i can't i'm a bit screwed =D
[2012/01/18 11:53:58] @ Quit: samkottler1: Ping timeout: 272 seconds
[2012/01/18 11:54:17] @ bwitt joined channel #puppet
[2012/01/18 11:54:55] @ samkottler joined channel #puppet
[2012/01/18 11:55:09] @ Quit: nate_h: Ping timeout: 240 seconds
[2012/01/18 11:55:47] <_rc> themadcanudist: quit it. the future will get here without all that pacing.
[2012/01/18 11:56:13] <DigitalFlux> sarguru_: joe-mac1: Guys
[2012/01/18 11:56:27] <DigitalFlux> Here is the summary of the puppet runs emamdouh has been talking about
[2012/01/18 11:56:28] <DigitalFlux> https://gist.github.com/1634023
[2012/01/18 11:56:32] <themadcanudist> =D
[2012/01/18 11:56:38] <DigitalFlux> The File resources are taking too much time as you can see
[2012/01/18 11:56:45] <DigitalFlux> but this just didn't use to happen before !
[2012/01/18 11:57:03] <DigitalFlux> scping some files over the network shows that the network between the 2 EC2 instances is just fine
[2012/01/18 11:57:16] <Dewin> How large are the files?
[2012/01/18 11:57:21] @ trickyf left channel #puppet ()
[2012/01/18 11:57:30] <joe-mac1> themadcanudist: what you can do, and I think this is what I did, is write a wrapper traditional class that says if $ensure present then add that ruby class
[2012/01/18 11:57:35] <_rc> puppet's file resource is a lot more complex and slower than a scp
[2012/01/18 11:57:48] <joe-mac1> something like that
[2012/01/18 11:57:49] @ nate_h joined channel #puppet
[2012/01/18 11:57:56] <joe-mac1> idk it kind of sucks buyt iut might work for you
[2012/01/18 11:57:58] <Dewin> And I think files are md5sum'd before a transfer even happens to see if it's needed?
[2012/01/18 11:57:58] @ Demosthenes joined channel #puppet
[2012/01/18 11:57:59] <sarguru_> scp is faster than puppet file transfering
[2012/01/18 11:58:22] <DigitalFlux> sarguru_: I do get that, i was just load testing the network
[2012/01/18 11:58:27] <DigitalFlux> so see if there are network issues
[2012/01/18 11:58:31] <DigitalFlux> but it's working just fine
[2012/01/18 11:58:43] <DigitalFlux> no new files was added to the code, it's just a new puppet run
[2012/01/18 11:58:47] @ DoDaT69 joined channel #puppet
[2012/01/18 11:58:52] <_rc> how many file resources do you have?
[2012/01/18 11:59:13] <themadcanudist> joe-mac1: interesting… do you have a quick example of what you mean. I think I understand.
[2012/01/18 11:59:14] @ Quit: ali3n0: Ping timeout: 252 seconds
[2012/01/18 11:59:31] <DoDaT69> greeting all! I have a question relating to the use of a variable in a file declaration
[2012/01/18 11:59:47] <DigitalFlux> _rc: How can i count those ?
[2012/01/18 11:59:56] <DoDaT69> can I do it? and is it in the same fashion as concatenation of variables?
[2012/01/18 12:00:21] <DigitalFlux> Guess what, the puppet agent on that puppet master is currently failing !
[2012/01/18 12:00:39] <_rc> DigitalFlux: calm down.
[2012/01/18 12:01:06] <DigitalFlux> _rc: :)
[2012/01/18 12:01:10] <DigitalFlux> here is the trace: https://gist.github.com/1634054
[2012/01/18 12:01:33] <joe-mac1> themadcanudist: http://www.pastie.org/3208392
[2012/01/18 12:01:48] <joe-mac1> then in mysql::metrics, that's a parameterized class, pass all your params and just pull them into local scope inside the .rb
[2012/01/18 12:01:50] <joe-mac1> works fine for me
[2012/01/18 12:01:52] <_rc> it timed out while the master was compiling the catalog. look at the load on the master
[2012/01/18 12:02:09] @ ali3n0 joined channel #puppet
[2012/01/18 12:02:12] <DigitalFlux> _rc: looks cool, 0.20
[2012/01/18 12:02:18] <_rc> also check the log, it should log how long it's taking for compliation in the syslog
[2012/01/18 12:02:28] <_rc> I don't actaully mean loadavg
[2012/01/18 12:02:39] <joe-mac1> then you just include it themadcanudist
[2012/01/18 12:02:49] @ PerryChick2015 joined channel #puppet
[2012/01/18 12:03:02] <PerryChick2015> herro people
[2012/01/18 12:03:13] <themadcanudist> right, gotcha.
[2012/01/18 12:03:13] <joe-mac1> set something like local_ensure = scope.lookupvar("mysql::metrics::ensure") if you need to be able to remove resoruces, one of my most common uses of parameterized classes
[2012/01/18 12:03:13] <themadcanudist> thx
[2012/01/18 12:03:26] @ HCoyote joined channel #puppet
[2012/01/18 12:03:50] @ Quit: octane-: Quit: Leaving.
[2012/01/18 12:03:51] <PerryChick2015> ummmm
[2012/01/18 12:03:55] @ samkottler1 joined channel #puppet
[2012/01/18 12:04:16] @ l0n joined channel #puppet
[2012/01/18 12:04:22] @ Quit: samkottler: Ping timeout: 248 seconds
[2012/01/18 12:04:34] <PerryChick2015> what?
[2012/01/18 12:04:47] @ Quit: ghg: Read error: Connection reset by peer
[2012/01/18 12:04:55] @ Quit: Tobu: Ping timeout: 252 seconds
[2012/01/18 12:05:04] @ PerryChick2015 left channel #puppet ()
[2012/01/18 12:05:19] @ ghg joined channel #puppet
[2012/01/18 12:05:31] @ ken_barber1 joined channel #puppet
[2012/01/18 12:06:15] @ jorhett1 joined channel #puppet
[2012/01/18 12:06:20] @ Quit: fir31ight: Ping timeout: 276 seconds
[2012/01/18 12:06:32] @ pdtpatrick_ joined channel #puppet
[2012/01/18 12:07:02] @ Quit: ckauhaus: Ping timeout: 248 seconds
[2012/01/18 12:07:10] @ natewalck joined channel #puppet
[2012/01/18 12:07:16] @ Quit: jorhett: Ping timeout: 272 seconds
[2012/01/18 12:07:27] @ Quit: teacup: Quit: Page closed
[2012/01/18 12:07:34] @ Quit: ken_barber: Ping timeout: 248 seconds
[2012/01/18 12:08:00] @ fir31ight joined channel #puppet
[2012/01/18 12:08:34] @ marrusl joined channel #puppet
[2012/01/18 12:08:43] <mfridh> it's odd. I have ruby-augeas 0.4.1 on EL6, but still the augeas setm command is unknown...
[2012/01/18 12:08:53] <mfridh> thought 0.4 should have setm ...
[2012/01/18 12:09:05] <Dominic> mfridh: which version of Puppet? You need 2.7.x for support.
[2012/01/18 12:09:16] <mfridh> Dominic: oh, that's it? thanks... I'm using 2.6
[2012/01/18 12:09:31] <Dominic> mfridh: yeah, 'fraid so as the provider currently parses the commands so you need support in two places
[2012/01/18 12:09:34] @ Quit: lak: Quit: Leaving.
[2012/01/18 12:09:37] @ ukd1 joined channel #puppet
[2012/01/18 12:09:47] <mfridh> yep, should have figured that out myself actually...
[2012/01/18 12:09:58] <mfridh> thanks. I'll use some grubby exec instead for this grub.conf thing :)
[2012/01/18 12:09:58] @ jakr joined channel #puppet
[2012/01/18 12:10:29] <Dominic> ah yeah, it's really handy for GRUB. It's a trivial patch if you want to do that, look at issue #6494.
[2012/01/18 12:10:30] <gepetto> Dominic: #6494 is http://projects.puppetlabs.com/issues/show/6494 "Puppet - Bug #6494: Augeas defvar (def*?) does not appear to be supported in Puppet. It has a status of Closed and is assigned to Nigel Kersten"
[2012/01/18 12:10:53] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 12:11:05] @ The-Bat joined channel #puppet
[2012/01/18 12:12:20] @ millere left channel #puppet ()
[2012/01/18 12:12:54] @ Quit: The-Bat: Client Quit
[2012/01/18 12:13:05] @ The-Bat joined channel #puppet
[2012/01/18 12:13:38] @ lazyworm joined channel #puppet
[2012/01/18 12:14:05] @ Quit: duerF: Quit: Leaving
[2012/01/18 12:14:39] @ Quit: pdtpatrick_: Quit: pdtpatrick_
[2012/01/18 12:14:48] @ zwi joined channel #puppet
[2012/01/18 12:16:15] <mfridh> so annoying that EL is on 2.6.x and alot of the stuff isn't backported properly
[2012/01/18 12:17:25] <mfridh> thanks Dominic
[2012/01/18 12:17:28] <Dewin> If a class subscribes to another class but that class never ends up being loaded otherwise, what happens?
[2012/01/18 12:17:33] @ Quit: lwhalen: Ping timeout: 240 seconds
[2012/01/18 12:19:02] <_rc> you get an error
[2012/01/18 12:19:09] @ Quit: ukd1: Remote host closed the connection
[2012/01/18 12:19:21] @ Quit: abien: Quit: leaving
[2012/01/18 12:19:23] @ st33v joined channel #puppet
[2012/01/18 12:19:44] @ nitram_macair_ joined channel #puppet
[2012/01/18 12:20:00] <Dewin> Well, since defined() is parse-order-dependant...
[2012/01/18 12:20:24] <mfridh> Dewin: err: Failed to apply catalog: Could not find dependency Class[Some_fictional_shit]
[2012/01/18 12:20:49] <mfridh> apparently, subscribing to something sets up an automatic dependency as well.
[2012/01/18 12:20:50] @ epatey joined channel #puppet
[2012/01/18 12:21:32] @ Quit: lkoranda: Quit: Ex-Chat
[2012/01/18 12:21:32] <_rc> a subscription is also a require dependency, yes
[2012/01/18 12:21:33] @ Quit: nan0r: Quit: Leaving.
[2012/01/18 12:21:33] @ opsmason_ joined channel #puppet
[2012/01/18 12:22:28] <Dewin> If classes A and B can operate without each other, but there's some interaction that I want to have happen if both load....
[2012/01/18 12:22:38] @ Quit: the_ramink: Ping timeout: 255 seconds
[2012/01/18 12:22:56] @ fronlius_ joined channel #puppet
[2012/01/18 12:23:09] <mfridh> Dewin: all I know is the defined() test, but like you said... it's pure luck whether or not it does the right thing :)
[2012/01/18 12:23:10] <_rc> then, a) you're doing it wrong or b) put that in class C
[2012/01/18 12:24:24] <caaakeeey> I have a file, and an exec that depends on it, the exec has a creates short circuit, is there a way to avoid the file download from the master if the exec would have short circuited?
[2012/01/18 12:24:40] <_rc> caaakeeey: nope
[2012/01/18 12:25:12] @ Tobu joined channel #puppet
[2012/01/18 12:25:50] @ Quit: opsmason: Ping timeout: 245 seconds
[2012/01/18 12:25:50] @ opsmason_ is now known as opsmason
[2012/01/18 12:25:52] @ Quit: fronlius: Ping timeout: 240 seconds
[2012/01/18 12:25:52] @ fronlius_ is now known as fronlius
[2012/01/18 12:26:22] <caaakeeey> _rc can i wrap then up in a define and somehow say the define can short circuit?
[2012/01/18 12:26:26] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2012/01/18 12:26:35] @ laudo joined channel #puppet
[2012/01/18 12:27:04] <laudo> is there any advantage of running ruby verison 1.8.7 instead of 1.8.5 concerning puppet?
[2012/01/18 12:27:10] @ fubada joined channel #puppet
[2012/01/18 12:27:13] <caaakeeey> in chef i could do File.exists? for downloading the file
[2012/01/18 12:27:19] @ Quit: fronlius: Read error: Connection reset by peer
[2012/01/18 12:27:45] <_rc> caaakeeey: no
[2012/01/18 12:27:46] @ Quit: alanevans: Remote host closed the connection
[2012/01/18 12:27:46] @ fronlius joined channel #puppet
[2012/01/18 12:28:50] <fubada> hi
[2012/01/18 12:29:07] <fubada> does puppet use ssh-agent on remote clients?
[2012/01/18 12:29:19] @ eventi joined channel #puppet
[2012/01/18 12:29:22] <fubada> im seeing tons of stale ssh-agent procs on my puppet machines
[2012/01/18 12:29:27] <fubada> hundreds
[2012/01/18 12:29:31] <_rc> fubada: no, it uses its own thing
[2012/01/18 12:29:35] @ Quit: samkottler1: Read error: Connection reset by peer
[2012/01/18 12:30:05] <eventi> anyone know why mysql on Ubuntu doesn't know that it's enabled?
[2012/01/18 12:30:05] <_rc> it might be something in your manifests, or some other thing
[2012/01/18 12:30:06] @ chrisw left channel #puppet ()
[2012/01/18 12:30:07] <eventi> I get enable changed 'false' to 'true' on every run
[2012/01/18 12:30:44] @ lwhalen joined channel #puppet
[2012/01/18 12:31:01] <_rc> provider issue?
[2012/01/18 12:31:22] @ grosendorf_ joined channel #puppet
[2012/01/18 12:33:04] @ Quit: grosendorf: Ping timeout: 240 seconds
[2012/01/18 12:34:04] <_rc> eventi: if you run the agent with --debug does the output help explain it?
[2012/01/18 12:34:11] <ryancoleman> Are there any noticeable performance differences between using a case statement versus if/else or another conditional if each will get the job done?
[2012/01/18 12:34:25] @ samkottler joined channel #puppet
[2012/01/18 12:35:02] <st33v> anyone know of any example of using puppet to manage data in a database?
[2012/01/18 12:35:30] @ Kazuhiro joined channel #puppet
[2012/01/18 12:35:51] <st33v> like… on the first run, if it's not already there… enter information about this host in the inventory db, for example.
[2012/01/18 12:36:10] <_rc> ryancoleman: if any they'll be marginal. go with whatever reads best
[2012/01/18 12:36:19] @ Quit: pdtpatrick: Quit: pdtpatrick
[2012/01/18 12:36:51] <ryancoleman> thanks _rc!
[2012/01/18 12:38:26] @ Quit: kerframil: Ping timeout: 240 seconds
[2012/01/18 12:38:30] @ fronlius_ joined channel #puppet
[2012/01/18 12:38:34] @ Quit: jodok: Quit: jodok
[2012/01/18 12:39:31] @ pdtpatrick joined channel #puppet
[2012/01/18 12:41:02] <daff> I enabled the inventory service on my puppetmaster (facts_terminus = inventory_active_record) along with storeconfigs in a postgres database
[2012/01/18 12:41:03] @ jsurfer joined channel #puppet
[2012/01/18 12:41:06] <caaakeeey> _rc, can i use custom facts, and then use if/else? it'll be messy but possible?
[2012/01/18 12:41:11] <daff> but clients show errors when connecting:
[2012/01/18 12:41:11] <daff> err: Could not retrieve catalog from remote server: Error 400 on SERVER: PGError: ERROR: column "id" does not exist
[2012/01/18 12:41:14] <daff> LINE 1: ...2012-01-18 18:23:41.715182', 3, E'475.99 MB') RETURNING "id"
[2012/01/18 12:41:33] <daff> apparently there are database tables missing for storing facts/inventory data
[2012/01/18 12:41:40] <daff> what needs to be done here?
[2012/01/18 12:42:03] @ ddevon joined channel #puppet
[2012/01/18 12:42:05] @ Quit: fronlius: Ping timeout: 252 seconds
[2012/01/18 12:42:05] @ fronlius_ is now known as fronlius
[2012/01/18 12:42:25] <_rc> caaakeeey: you'd have to write/distribute a custom fact. is that really worth the saving of not syncng 1 file resource? If yes then go ahead, but otherwise it sounds like a premature optimisation
[2012/01/18 12:43:44] @ Quit: justin_donaldson: Remote host closed the connection
[2012/01/18 12:44:07] @ Quit: ali3n0: Quit: Leaving.
[2012/01/18 12:45:03] <caaakeeey> _rc, its ~200mb, so probably
[2012/01/18 12:45:46] <_rc> sounds like a candiate for managing as a package
[2012/01/18 12:45:59] @ Quit: Tobu: Ping timeout: 252 seconds
[2012/01/18 12:46:31] @ Kazuhiro left channel #puppet ()
[2012/01/18 12:47:00] <caaakeeey> _rc, in the sense of writing a custom provider, or packaging it up to use standard package management?
[2012/01/18 12:48:13] <_rc> the latter
[2012/01/18 12:48:14] @ Tobu joined channel #puppet
[2012/01/18 12:48:39] @ Quit: lwhalen: Ping timeout: 240 seconds
[2012/01/18 12:48:57] <caaakeeey> _rc, mm, that's the feedback I've sent upwards, thanks
[2012/01/18 12:49:43] <^conner> anyone from #puppet going to scale10x?
[2012/01/18 12:49:47] @ Quit: arBmind: Quit: Try HydraIRC -> http://www.hydrairc.com <-
[2012/01/18 12:50:50] @ nfagerlund joined channel #puppet
[2012/01/18 12:51:01] @ alfism joined channel #puppet
[2012/01/18 12:51:24] @ Quit: marrusl: Ping timeout: 245 seconds
[2012/01/18 12:51:34] @ the_ramink joined channel #puppet
[2012/01/18 12:54:02] @ Quit: sihil: Quit: Leaving...
[2012/01/18 12:54:10] @ Quit: aculich: Quit: Leaving.
[2012/01/18 12:54:19] @ sihil joined channel #puppet
[2012/01/18 12:55:53] @ krish joined channel #puppet
[2012/01/18 12:56:07] @ comptona joined channel #puppet
[2012/01/18 12:56:10] @ djm68 joined channel #puppet
[2012/01/18 12:57:04] @ Quit: krish1: Ping timeout: 240 seconds
[2012/01/18 12:58:16] @ Asako joined channel #puppet
[2012/01/18 12:58:31] @ Quit: cliff-hm: Read error: Operation timed out
[2012/01/18 12:58:36] <krish> hey guys, how do i run a Exec only if a file has changed?
[2012/01/18 12:58:42] @ jodok joined channel #puppet
[2012/01/18 12:58:43] @ Quit: jodok: Changing host
[2012/01/18 12:58:43] @ jodok joined channel #puppet
[2012/01/18 12:58:49] @ Quit: sihil: Ping timeout: 252 seconds
[2012/01/18 12:58:59] <Asako> krish, refreshonly = true
[2012/01/18 12:59:08] <Asako> err: //monit/Exec[echo 'mo:2345:respawn:/usr/bin/monit -I &> /dev/null' >> /etc/inittab]: Failed to retrieve current state of resource:
[2012/01/18 12:59:13] <_rc> krish: exec { "foo": subscribe => File["blah"],
[2012/01/18 12:59:14] <Asako> anybody know what would cause this?
[2012/01/18 12:59:31] @ q0rban is now known as q-rban
[2012/01/18 12:59:39] <krish> _rc: yeah that didnt work
[2012/01/18 12:59:42] <krish> sadly
[2012/01/18 12:59:49] <_rc> so what did it do?
[2012/01/18 12:59:54] <krish> it keeps running the command on every puppet run
[2012/01/18 13:00:03] <Asako> yeah, you need refreshonly
[2012/01/18 13:00:08] <_rc> you need the refreshonly too, as Asako pointed out
[2012/01/18 13:00:53] @ Quit: Niarf: Read error: Operation timed out
[2012/01/18 13:00:56] <Asako> my manifest looks right, not sure what the problem is
[2012/01/18 13:01:04] @ alanevans joined channel #puppet
[2012/01/18 13:01:28] <_rc> Asako: may we see it? also is that all there is to the error?
[2012/01/18 13:01:41] <Asako> that's the only error
[2012/01/18 13:01:46] <Asako> http://pastebin.com/rJpQbMyh
[2012/01/18 13:01:51] <_rc> Asako: puppet version?
[2012/01/18 13:02:06] <Asako> 0.25
[2012/01/18 13:02:53] @ marrusl joined channel #puppet
[2012/01/18 13:02:53] <_rc> looks ok. I'd give it a name, just in case it doesn't like the piping
[2012/01/18 13:03:27] <Asako> hmm
[2012/01/18 13:03:53] @ lwhalen joined channel #puppet
[2012/01/18 13:04:04] <krish> Asako: _rc: hmm that worked. acc to this it woouldnt - http://groups.google.com/group/puppet-users/browse_thread/thread/ce688578bf37ff7a
[2012/01/18 13:04:13] @ Quit: johnston_: Ping timeout: 258 seconds
[2012/01/18 13:04:14] <krish> thks :)
[2012/01/18 13:04:37] <Asako> np
[2012/01/18 13:04:48] <Asako> we use augeas to manage the grub config
[2012/01/18 13:04:59] @ Quit: ddevon: Ping timeout: 258 seconds
[2012/01/18 13:05:00] @ Quit: rbowlby: Ping timeout: 258 seconds
[2012/01/18 13:05:30] @ larstobi joined channel #puppet
[2012/01/18 13:05:44] <eventi> _rc - It's using "sh -c LANG=C invoke-rc.d mysql status"
[2012/01/18 13:06:08] @ Quit: laudo: Ping timeout: 258 seconds
[2012/01/18 13:06:11] <_rc> eventi: and what happens when you do that?
[2012/01/18 13:06:12] @ seanh-ansca joined channel #puppet
[2012/01/18 13:06:29] <Asako> I wonder if exec doesn't like my special characters
[2012/01/18 13:06:33] @ ianbrandt joined channel #puppet
[2012/01/18 13:06:40] <eventi> it's blank - Actually don't think that's relevant
[2012/01/18 13:06:56] <eventi> pasting - http://pastie.org/3208725
[2012/01/18 13:06:57] @ Quit: csanchez: Quit: csanchez
[2012/01/18 13:06:58] @ sjoeboo joined channel #puppet
[2012/01/18 13:06:59] <_rc> krish: is your specific example the grub.conf/menu.lst like that?
[2012/01/18 13:07:31] <_rc> krish: as what's not kosher is running a command that modifies the file you just told puppet to manage
[2012/01/18 13:08:00] <_rc> eventi: what's the return value?
[2012/01/18 13:08:04] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/01/18 13:08:17] @ Quit: seanh-ansca: Client Quit
[2012/01/18 13:08:22] <krish> _rc: yeah pretty much (mine is not menu.lst), but same 'service' depends on files managed by a module and a submodule
[2012/01/18 13:08:42] @ seanh-ansca joined channel #puppet
[2012/01/18 13:08:43] <Asako> I really don't want to throw the whole inittab into puppet
[2012/01/18 13:08:45] @ Tobu joined channel #puppet
[2012/01/18 13:08:57] <_rc> krish: that's completely normal operating procedure
[2012/01/18 13:09:22] <eventi> 0 ; but I think that's testing if it's running, not "enabled"
[2012/01/18 13:09:59] <Asako> are exec commands chrooted?
[2012/01/18 13:10:11] @ Quit: larstobi: Read error: Connection reset by peer
[2012/01/18 13:10:11] <_rc> nope
[2012/01/18 13:10:12] @ larstobi1 joined channel #puppet
[2012/01/18 13:10:26] <_rc> they're not run with the usual environment, but no chroot
[2012/01/18 13:10:38] <Asako> oh, derp
[2012/01/18 13:10:43] <Asako> had the wrong path set
[2012/01/18 13:10:45] <_rc> eventi: that snippet you pasted, is that really all of it?
[2012/01/18 13:11:22] <eventi> oh, no - the only thing relevent to mysql - hold on
[2012/01/18 13:11:32] <_rc> how are you sure?
[2012/01/18 13:11:40] <krish> _rc: i got same service in 2 submodules too
[2012/01/18 13:11:48] <krish> ah, i guess done with days work
[2012/01/18 13:11:49] <_rc> krish: huh?
[2012/01/18 13:12:15] <krish> _rc: yeah, so since that wouldn't work, i had to alternate refresh services
[2012/01/18 13:12:18] @ jakr left channel #puppet ("Leaving")
[2012/01/18 13:12:21] <eventi> _rc: http://pastie.org/3208757
[2012/01/18 13:12:26] <krish> which is subscribe to 2 files, 1 common
[2012/01/18 13:12:40] <krish> nyway, freaking thing works :)
[2012/01/18 13:13:16] @ sdog joined channel #puppet
[2012/01/18 13:13:27] @ lak joined channel #puppet
[2012/01/18 13:13:28] @ Quit: lak: Changing host
[2012/01/18 13:13:28] @ lak joined channel #puppet
[2012/01/18 13:13:30] @ Quit: sdog: Changing host
[2012/01/18 13:13:30] @ sdog joined channel #puppet
[2012/01/18 13:13:34] <_rc> well ok, but you're a little in your head with what you're saying, so I don't know what you mean
[2012/01/18 13:14:39] <Asako> puppet error messages need some work
[2012/01/18 13:14:40] @ hezekiah_ joined channel #puppet
[2012/01/18 13:15:06] <hezekiah_> anyone here running puppet masters with unicorn? my puppet master is not seeing changes to the puppet.conf or other files
[2012/01/18 13:15:10] <_rc> Asako: amen
[2012/01/18 13:15:11] <hezekiah_> I have to stop unicorn then start it
[2012/01/18 13:15:22] @ cliff-hm joined channel #puppet
[2012/01/18 13:16:05] @ shadoi joined channel #puppet
[2012/01/18 13:17:29] @ JayTaph_ joined channel #puppet
[2012/01/18 13:18:15] @ Quit: Tobu: Ping timeout: 252 seconds
[2012/01/18 13:18:24] @ Quit: lak: Quit: Leaving.
[2012/01/18 13:18:24] <_rc> eventi: looking at https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/service/debian.rb it does something like invoke-rc.d --quiet --query mysql start and examines the exit code of that to see if it's actually enabled
[2012/01/18 13:18:34] @ Tobu joined channel #puppet
[2012/01/18 13:19:08] <eventi> _rc: eww
[2012/01/18 13:19:11] <eventi> :)
[2012/01/18 13:19:18] <_rc> eventi: for my curiosity can you tell me what that returns?
[2012/01/18 13:19:48] <hezekiah_> argh
[2012/01/18 13:19:58] <eventi> That's returning false
[2012/01/18 13:20:08] <_rc> I mean the exitcode?
[2012/01/18 13:20:42] @ Quit: JayTaph: Ping timeout: 255 seconds
[2012/01/18 13:20:42] @ JayTaph_ is now known as JayTaph
[2012/01/18 13:20:45] @ Kazuhiro1 joined channel #puppet
[2012/01/18 13:20:53] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 13:21:01] <eventi> 105
[2012/01/18 13:21:04] @ The-Bat joined channel #puppet
[2012/01/18 13:21:48] <eventi> actually, for all I know it's not starting at boot
[2012/01/18 13:21:50] <_rc> so from the comment it suggests that the initscript for mysql doesn't support query, so it does the link counting
[2012/01/18 13:22:12] * eventi browsing ruby
[2012/01/18 13:22:42] <_rc> https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/service/debian.rb#L45
[2012/01/18 13:23:06] @ Text joined channel #puppet
[2012/01/18 13:23:10] <eventi> yeah - i see - so I'm going to reboot and see if it starts - it may actually not have control of mysql
[2012/01/18 13:23:13] <_rc> and then it does (effectvely) ls /etc/rc*.d/S*mysql and counts
[2012/01/18 13:23:24] @ Quit: marrusl: Ping timeout: 255 seconds
[2012/01/18 13:23:49] @ Surv_OT_Fittest joined channel #puppet
[2012/01/18 13:23:52] @ Stenbryggen joined channel #puppet
[2012/01/18 13:24:11] @ Surv_OT_Fittest left channel #puppet ()
[2012/01/18 13:24:12] <eventi> hrm - mysql is using upstart
[2012/01/18 13:24:17] @ Quit: daysmen_: Ping timeout: 255 seconds
[2012/01/18 13:24:22] <eventi> is there a provider for that?
[2012/01/18 13:24:59] <_rc> looks to be. https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/service/upstart.rb
[2012/01/18 13:25:07] <eventi> PROGRESS!!!
[2012/01/18 13:25:12] @ Quit: niko: Ping timeout: 624 seconds
[2012/01/18 13:25:21] <_rc> so maybe a provider => "upstart" on your service definition will do it
[2012/01/18 13:25:57] @ Quit: Tobu: Ping timeout: 252 seconds
[2012/01/18 13:26:00] <_rc> that is master though, so you may have a version of puppet installed that predates that provider
[2012/01/18 13:26:07] @ Quit: gazoombo: Read error: Connection reset by peer
[2012/01/18 13:26:08] @ gazoombo1 joined channel #puppet
[2012/01/18 13:26:10] <eventi> yeah - i do :(
[2012/01/18 13:26:29] <eventi> Parameter provider failed: Invalid service provider 'upstart'
[2012/01/18 13:26:35] <_rc> also this comment suggest it's not enableable. https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/service/upstart.rb#L16
[2012/01/18 13:26:38] @ ali3n0 joined channel #puppet
[2012/01/18 13:27:05] @ Quit: caaakeeey: Quit: Leaving
[2012/01/18 13:27:05] <eventi> hmm - OK - I guess I'll just exec it
[2012/01/18 13:27:25] @ niko joined channel #puppet
[2012/01/18 13:27:29] @ gazoombo1 is now known as gazoombo
[2012/01/18 13:27:44] <_rc> boo
[2012/01/18 13:28:49] @ gravitron joined channel #puppet
[2012/01/18 13:29:48] <hezekiah_> is anyone using unicorn for puppetmaster?
[2012/01/18 13:29:56] @ Kazuhiro1 left channel #puppet ()
[2012/01/18 13:30:00] <eventi> _rc - agreed :(
[2012/01/18 13:30:59] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#136) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=136 (by Matthaus Litteken)
[2012/01/18 13:32:12] @ Quit: fronlius: Read error: Connection reset by peer
[2012/01/18 13:32:29] @ Quit: zwi: Ping timeout: 260 seconds
[2012/01/18 13:32:31] @ fronlius joined channel #puppet
[2012/01/18 13:32:33] @ Quit: ezryx: Remote host closed the connection
[2012/01/18 13:33:35] @ lak joined channel #puppet
[2012/01/18 13:33:36] @ Quit: lak: Changing host
[2012/01/18 13:33:36] @ lak joined channel #puppet
[2012/01/18 13:33:40] <eventi> _rc - it appears to be enabled in the upstart config, but puppet has no control over it - seeing how they're combined, I can see why upstart is not enable-able
[2012/01/18 13:36:16] @ langworthy joined channel #puppet
[2012/01/18 13:36:21] @ oCean joined channel #puppet
[2012/01/18 13:36:39] @ Niarf joined channel #puppet
[2012/01/18 13:37:12] @ Quit: samkottler: Quit: Leaving.
[2012/01/18 13:38:44] @ q-rban is now known as q0rban
[2012/01/18 13:38:52] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 13:39:04] @ The-Bat joined channel #puppet
[2012/01/18 13:40:30] <Dewin> Hmm. It's not legal to have an empty class I take it?
[2012/01/18 13:41:51] @ Quit: daysmen: Ping timeout: 255 seconds
[2012/01/18 13:41:56] @ zwi joined channel #puppet
[2012/01/18 13:42:25] <the_ramink> Dewin: nah, I do placeholders all the time, works fine. class postfix::sasl {}
[2012/01/18 13:42:57] <Dewin> Oh, it was probably me accidentally doing a //comment
[2012/01/18 13:43:59] <haus> PSA: Facter 1.6.5rc1 available for download in the usual haunts
[2012/01/18 13:45:48] @ Quit: stevie-bash: Quit: Verlassend
[2012/01/18 13:46:36] @ marrusl joined channel #puppet
[2012/01/18 13:46:44] @ Quit: kolla: Remote host closed the connection
[2012/01/18 13:46:51] @ Quit: RhysMorgan: Quit: RhysMorgan
[2012/01/18 13:48:36] <the_ramink> I seem to remember there being some sort of getversion funtion within Puppet that I can use. This ring a bell with anyone enough to point me to a doc?
[2012/01/18 13:48:37] <Asako> facter rocks, even if you don't use puppet
[2012/01/18 13:48:44] <gepetto> ::redmine:: Wiki edit: Release_Notes (#158) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=158 (by Michael Stahnke)
[2012/01/18 13:48:44] <gepetto> ::redmine:: Wiki edit: Release_Notes (#159) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=159 (by Michael Stahnke)
[2012/01/18 13:49:24] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2012/01/18 13:50:52] <justintime> Does anyone have some tips on how to add /usr/bin/scponly to /etc/shells using augeas?
[2012/01/18 13:50:55] @ shadowvice joined channel #puppet
[2012/01/18 13:52:50] <gepetto> ::redmine:: Wiki edit: Release_Notes (#160) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=160 (by Michael Stahnke)
[2012/01/18 13:52:50] <gepetto> ::redmine:: Wiki edit: Release_Notes (#161) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=161 (by Michael Stahnke)
[2012/01/18 13:52:51] @ Quit: ali3n0: Quit: Leaving.
[2012/01/18 13:54:20] <Dominic> justintime: something like this should work: http://fpaste.org/JmBo/
[2012/01/18 13:54:48] @ Surv_OT_Fittest joined channel #puppet
[2012/01/18 13:55:02] @ solarce left channel #puppet ()
[2012/01/18 13:55:20] @ Quit: grosendorf_: Quit: Leaving
[2012/01/18 13:55:27] <justintime> Dominic: thanks. I really don't like the hardcoded '01' in that solution, because if I add another shell later, I have to make sure I don't reuse that label.
[2012/01/18 13:55:37] <justintime> Any way to find out what the last label is + 1?
[2012/01/18 13:56:03] <Dominic> justintime: those numbers are sequential, so when Augeas saves it'll change "01" (which it deems as invalid) to the next in the sequence. Next time you load it, it'll be n+1.
[2012/01/18 13:56:57] <justintime> dammit, that would've been nice to see in the docs http://augeas.net/page/Adding_nodes_to_the_tree
[2012/01/18 13:57:09] <justintime> I'll test, then update the wiki, thanks!
[2012/01/18 13:57:43] @ grosendorf joined channel #puppet
[2012/01/18 13:58:22] @ Quit: lak: Quit: Leaving.
[2012/01/18 13:59:59] <gepetto> ::redmine:: Wiki edit: Release_Notes (#162) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=162 (by Michael Stahnke)
[2012/01/18 14:00:08] <Dominic> justintime: yes, perhaps the last paragraph of the first section could be improved there. There were a couple of silly errors in that first paste, try this: http://fpaste.org/cTI7/
[2012/01/18 14:00:49] <justintime> Yeah, I caught those - I just needed the set command. Thanks!
[2012/01/18 14:02:17] @ cliff-hm joined channel #puppet
[2012/01/18 14:02:37] @ samkottler joined channel #puppet
[2012/01/18 14:03:08] @ gravitron is now known as laughitron
[2012/01/18 14:03:59] <gepetto> ::redmine:: Wiki edit: Release_Notes (#163) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=163 (by Michael Stahnke)
[2012/01/18 14:06:05] @ tblamer_ joined channel #puppet
[2012/01/18 14:06:54] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 14:07:05] @ The-Bat joined channel #puppet
[2012/01/18 14:09:10] @ Quit: tblamer: Ping timeout: 276 seconds
[2012/01/18 14:10:57] @ Quit: michaelpjohnson: Quit: Leaving
[2012/01/18 14:11:00] @ bmahe joined channel #puppet
[2012/01/18 14:11:36] @ Quit: p3rror: Ping timeout: 244 seconds
[2012/01/18 14:13:16] @ Tobu joined channel #puppet
[2012/01/18 14:14:18] @ Quit: tmclaugh: Quit: tmclaugh
[2012/01/18 14:14:55] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 14:15:06] @ The-Bat joined channel #puppet
[2012/01/18 14:17:47] @ ali3n0 joined channel #puppet
[2012/01/18 14:18:22] @ Quit: Niarf: Quit: Leaving.
[2012/01/18 14:19:13] @ Quit: lanky: Quit: Leaving
[2012/01/18 14:22:52] @ Quit: The-Bat: Quit: Konversation terminated!
[2012/01/18 14:23:04] @ The-Bat joined channel #puppet
[2012/01/18 14:24:04] @ Quit: astrostl: Ping timeout: 240 seconds
[2012/01/18 14:24:30] @ RhysMorgan joined channel #puppet
[2012/01/18 14:24:52] @ Quit: The-Bat: Client Quit
[2012/01/18 14:25:04] @ The-Bat joined channel #puppet
[2012/01/18 14:26:09] @ counterbeing joined channel #puppet
[2012/01/18 14:26:38] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#137) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=137 (by Matthaus Litteken)
[2012/01/18 14:27:03] @ Quit: RhysMorgan: Client Quit
[2012/01/18 14:28:29] <Text> Hi, what am I doing wrong here? http://pastebin.com/2VR7ruPB Complains of syntax error.
[2012/01/18 14:28:30] @ Quit: The-Bat: Remote host closed the connection
[2012/01/18 14:28:36] <Text> regarding the brackets
[2012/01/18 14:29:26] @ Quit: emamdouh: Remote host closed the connection
[2012/01/18 14:29:39] @ Quit: grosendorf: Read error: Connection reset by peer
[2012/01/18 14:30:46] @ aculich joined channel #puppet
[2012/01/18 14:34:24] @ Quit: cliff-hm: Read error: Operation timed out
[2012/01/18 14:39:16] @ Quit: bodepd: Ping timeout: 240 seconds
[2012/01/18 14:39:28] @ csanchez joined channel #puppet
[2012/01/18 14:39:49] <haus> PSA: Dashboard 1.2.5rc1 available for download in the usual haunts
[2012/01/18 14:39:58] @ Telmo joined channel #puppet
[2012/01/18 14:40:01] <the_ramink> Text: extra } or missing {
[2012/01/18 14:40:44] <Text> hrm
[2012/01/18 14:40:58] <Telmo> evening, I know this questions has probably been ask a zillion times, but is there a way to cherry pick config files from the master instead of having to pull all the manifests?
[2012/01/18 14:41:09] <Text> Have I correctly built that class?
[2012/01/18 14:41:13] <Text> def?
[2012/01/18 14:41:51] <the_ramink> Text: I
[2012/01/18 14:41:53] @ Quit: samkottler: Quit: Leaving.
[2012/01/18 14:42:24] @ Quit: ldlework: Ping timeout: 240 seconds
[2012/01/18 14:44:02] <the_ramink> Text: I'm not familiar with the create_resources stuff, but your first { is missing a match so the class can't be parsed properly. Removing the } on line 10 allows puppet parser validate to work
[2012/01/18 14:45:30] <themadcanudist> in the ruby DSL, should this work: if defined ["Class['module']"]
[2012/01/18 14:46:16] <themadcanudist> the syntax doesn't complain, but it does not evaluate to true, however, if i set a variable in there that I source using scope.lookupvars() and test it, it definitely works.
[2012/01/18 14:46:28] <themadcanudist> i'm wondering if there might be a namespace conflict… ruby's defined? call, shouldn't conflict
[2012/01/18 14:48:54] @ Quit: lwhalen: Ping timeout: 260 seconds
[2012/01/18 14:49:24] @ meh joined channel #puppet
[2012/01/18 14:51:32] @ cliff-hm joined channel #puppet
[2012/01/18 14:53:04] @ ldlework joined channel #puppet
[2012/01/18 14:53:06] @ Telmo left channel #puppet ()
[2012/01/18 14:53:42] @ marienz joined channel #puppet
[2012/01/18 14:55:07] @ Quit: meh: K-Lined
[2012/01/18 14:56:00] @ Quit: st33v: Quit: st33v
[2012/01/18 14:56:36] @ fly9 joined channel #puppet
[2012/01/18 14:57:55] @ Quit: counterbeing: Quit: Computer has gone to sleep.
[2012/01/18 14:57:57] @ Quit: shadoi: Quit: Leaving.
[2012/01/18 14:58:03] @ st33v joined channel #puppet
[2012/01/18 14:58:12] @ shadoi joined channel #puppet
[2012/01/18 14:58:41] @ sduchesneau joined channel #puppet
[2012/01/18 14:59:56] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2012/01/18 15:00:02] <IndyMichaelB> I have a new node that ensures an enormous number of files from puppet, more then all the other nodes in my environment combined. I'm using passenger by the way. Subsequent puppet runs are failing while checking those files, I believe timing out, with the error "err: Could not run Puppet configuration client: execution expired". I don't see a timeout value in puppet.conf … am I looking in the wrong place?
[2012/01/18 15:01:49] <aricg> IndyMichaelB You probably want too look into a different way of syncing those files.
[2012/01/18 15:01:53] @ lwhalen joined channel #puppet
[2012/01/18 15:02:53] @ Quit: gaahrdner: Remote host closed the connection
[2012/01/18 15:03:02] @ Quit: misc: Ping timeout: 248 seconds
[2012/01/18 15:03:07] @ Quit: Tobu: Ping timeout: 252 seconds
[2012/01/18 15:04:24] @ pcarlisle joined channel #puppet
[2012/01/18 15:04:47] <themadcanudist> in the ruby dsl what's the best way to check to see if a Class was previously defined (parse-order). In the puppet DSL calling defined() is sufficient. When I do that in ruby DSL, it always returns false.
[2012/01/18 15:07:00] @ motomike joined channel #puppet
[2012/01/18 15:07:02] @ Niarf joined channel #puppet
[2012/01/18 15:07:35] @ Quit: nitram_macair_: Read error: Connection reset by peer
[2012/01/18 15:07:36] @ Quit: lazyworm: Read error: Connection reset by peer
[2012/01/18 15:07:36] @ Quit: bwitt: Read error: Connection reset by peer
[2012/01/18 15:08:44] @ Quit: Surv_OT_Fittest: Quit: Leaving.
[2012/01/18 15:08:44] @ lazyworm joined channel #puppet
[2012/01/18 15:09:19] @ nitram_macair_ joined channel #puppet
[2012/01/18 15:09:21] <IndyMichaelB> aricg: ok, thanks, will rsync or auto mount them or something
[2012/01/18 15:12:25] @ cliff-hm joined channel #puppet
[2012/01/18 15:13:22] @ Quit: st33v: Quit: st33v
[2012/01/18 15:14:08] @ Quit: seanh-ansca: Read error: Connection reset by peer
[2012/01/18 15:14:16] @ seanh-ansca joined channel #puppet
[2012/01/18 15:14:18] @ Quit: seanh-ansca: Read error: Connection reset by peer
[2012/01/18 15:15:19] @ st33v joined channel #puppet
[2012/01/18 15:16:10] @ Quit: krish: Quit: Leaving.
[2012/01/18 15:16:38] @ seanh-ansca joined channel #puppet
[2012/01/18 15:18:35] @ lak joined channel #puppet
[2012/01/18 15:18:36] @ Quit: lak: Changing host
[2012/01/18 15:18:36] @ lak joined channel #puppet
[2012/01/18 15:20:06] @ icezimm joined channel #puppet
[2012/01/18 15:21:39] @ jsm joined channel #puppet
[2012/01/18 15:22:01] <jsm> fun error of the day: "err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "Package[]"
[2012/01/18 15:22:16] @ fronlius_ joined channel #puppet
[2012/01/18 15:22:24] @ Quit: fronlius: Ping timeout: 240 seconds
[2012/01/18 15:22:24] @ misc joined channel #puppet
[2012/01/18 15:22:25] @ fronlius_ is now known as fronlius
[2012/01/18 15:23:42] @ bwitt joined channel #puppet
[2012/01/18 15:26:18] <Dominic> jsm: usually means you're doing Package[$foo] somewhere and foo is an empty string. Debugging it is a nightmare usually :(
[2012/01/18 15:27:24] @ Quit: larstobi1: Quit: Leaving.
[2012/01/18 15:27:39] <jsm> Dominic: thanks for the tip
[2012/01/18 15:28:19] <Dominic> I'd try and find places where you use that sort of syntax, failing that do a bisection search and remove half the classes from your node at a time to narrow it down!
[2012/01/18 15:29:04] <jsm> Dominic: i'm lucky, found it already :) thanks again
[2012/01/18 15:29:14] <themadcanudist> anyone know how to ask puppet via ruby dsl how to check to see if a resource/module was defined (parse-order)? In the puppet dsl i use defined() which works like a charm
[2012/01/18 15:29:21] @ Quit: ali3n0: Quit: Leaving.
[2012/01/18 15:29:26] <Dominic> jsm: ah, you're very lucky. I've seen people in here lose hours to it :)
[2012/01/18 15:29:47] <themadcanudist> when i call defined ['Class["module"]'] it always returns false in ruby dsl
[2012/01/18 15:31:35] @ Tobu joined channel #puppet
[2012/01/18 15:32:25] @ scsinutz joined channel #puppet
[2012/01/18 15:32:32] @ scsinutz left channel #puppet ()
[2012/01/18 15:35:53] @ bodepd joined channel #puppet
[2012/01/18 15:35:55] <shadowvice> So Im trying to organize some modules into a standard convention that makes sense and prevents headaches down the way. I have a security.pp that includes a lot of different small classes that are all relative to the security modules but specific to one OS. Outside of creating a sub directory for each of the 7 classes or placing them within the init.pp, how can I get the classes to be loaded?
[2012/01/18 15:36:09] @ KaiserBeto joined channel #puppet
[2012/01/18 15:36:22] @ Quit: icezimm: Quit: Leaving.
[2012/01/18 15:38:08] @ Quit: car|0s: Quit: Saliendo
[2012/01/18 15:38:11] @ fredden joined channel #puppet
[2012/01/18 15:40:33] <themadcanudist> ok, how about this one: using scope.functions_template("module/template.erb") within an ERB template fails… it tells me that it fails to collect "module/template.erb":String
[2012/01/18 15:40:44] @ ali3n0 joined channel #puppet
[2012/01/18 15:40:52] <themadcanudist> this is clearly documented, yet it doesn't work.
[2012/01/18 15:40:53] <themadcanudist> =(
[2012/01/18 15:42:11] <jsm> shadowvice: you could have your classes in a modules/security/firewall.pp modules/security/permissions.pp etc
[2012/01/18 15:42:29] <jsm> shadowvice: and then you'd address it via security::firewall, security::permissions, etc
[2012/01/18 15:42:48] <jsm> the naming is automatic and magic :)
[2012/01/18 15:44:54] <shadowvice> jsm: Thanks... that's what I was looking at but hoping for a one file solution. It just doesn't sound like that would really be possible
[2012/01/18 15:45:25] <jsm> shadowvice: one file solution is just messy
[2012/01/18 15:45:28] <jsm> too much in one place
[2012/01/18 15:45:44] <hezekiah_> I have a unicorn puppet master questions
[2012/01/18 15:45:47] <jsm> i'd do a class per file
[2012/01/18 15:46:44] <shadowvice> Thanks jsm!
[2012/01/18 15:47:05] <hezekiah_> anyone running puppet masters with unicorn?
[2012/01/18 15:47:54] <ashp> So, I've been using foreman for a awhile to manage machines as well as DHCP entries but I realized a bunch of our legacy stuff requires multiple ip's added as aliases and all sorts.
[2012/01/18 15:48:08] <ashp> How do the rest of you handle that stuff, force it into dhcp too and dhcp the aliases as well?
[2012/01/18 15:50:03] @ Quit: negronjl: Ping timeout: 252 seconds
[2012/01/18 15:50:27] @ Quit: motomike: Remote host closed the connection
[2012/01/18 15:51:21] @ Kazuhiro joined channel #puppet
[2012/01/18 15:51:50] @ motomike joined channel #puppet
[2012/01/18 15:53:05] @ Kazuhiro left channel #puppet ()
[2012/01/18 15:53:05] @ richerVE joined channel #puppet
[2012/01/18 15:54:53] @ Quit: natewalck: Quit: Outta here
[2012/01/18 15:56:11] @ Quit: gniks: Quit: Leaving.
[2012/01/18 15:57:29] <shortbus-> Dominic / l0n: so i've tried about everything i can think of and i can't get past that kernel/ruby bug from yesterday. i've updated to 5.7 with kernel 2.6.18-274.17.1.el5, which supposedly have the fix and it still hangs. i even tried a newer 2.6.18-304.el5 kernel from people.redhat.com, and the test still fails.
[2012/01/18 15:58:11] <shortbus-> in the bugzilla it says that it only happens when ruby does multithreading, is there a way to force ruby/puppet clients not to multithread?
[2012/01/18 15:58:24] <Dominic> shortbus-: that's worrying. is it the test that's failing, or puppet?
[2012/01/18 15:58:39] <shortbus-> both
[2012/01/18 15:58:52] <Dominic> hm
[2012/01/18 15:59:33] @ laudo joined channel #puppet
[2012/01/18 15:59:58] <shortbus-> out of pure desperation i'm downloading centos 6.2, but i'd rather not have to upgrade major revs to get puppet working
[2012/01/18 16:00:16] <laudo> I have one host which does not apply any changeds. puppet runs in 0.06 sec. It worked one day ago. Any idea why this can happen?
[2012/01/18 16:01:16] @ Quit: ali3n0: Quit: Leaving.
[2012/01/18 16:01:53] @ Quit: newtMcKerr: Quit: Leaving.
[2012/01/18 16:03:21] <joe-mac1> what version are you on
[2012/01/18 16:05:49] @ newtMcKerr joined channel #puppet
[2012/01/18 16:06:20] @ Quit: newtMcKerr: Client Quit
[2012/01/18 16:07:58] <laudo> joe-mac1: 2.6.4
[2012/01/18 16:08:00] @ Quit: ZummiG777: Quit: Leaving
[2012/01/18 16:08:13] @ Quit: fredden: Ping timeout: 260 seconds
[2012/01/18 16:08:32] @ fredden joined channel #puppet
[2012/01/18 16:08:42] @ tizzo-afk is now known as tizzo
[2012/01/18 16:09:51] @ larstobi joined channel #puppet
[2012/01/18 16:09:59] @ Surv_OT_Fittest joined channel #puppet
[2012/01/18 16:11:57] @ Niarf1 joined channel #puppet
[2012/01/18 16:14:38] @ Quit: Niarf: Ping timeout: 276 seconds
[2012/01/18 16:15:21] @ p3rror joined channel #puppet
[2012/01/18 16:18:27] @ wilmoore joined channel #puppet
[2012/01/18 16:18:28] @ Quit: wilmoore: Remote host closed the connection
[2012/01/18 16:18:37] @ wilmoore joined channel #puppet
[2012/01/18 16:20:16] @ [diecast] joined channel #puppet
[2012/01/18 16:20:19] <[diecast]> if i set <%= something %> in a template, am i able to set it in the node with $something = "blah"
[2012/01/18 16:21:09] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2012/01/18 16:22:25] <Asako> is there a way to do a reverse onlyif ?
[2012/01/18 16:22:36] <Dominic> Asako: unless
[2012/01/18 16:23:03] @ Quit: [diecast]: Quit: im out
[2012/01/18 16:23:13] @ Quit: JayTaph: Quit: JayTaph
[2012/01/18 16:23:56] <Asako> thanks
[2012/01/18 16:25:40] @ Quit: aculich: Ping timeout: 272 seconds
[2012/01/18 16:26:20] @ Quit: tblamer_: Ping timeout: 276 seconds
[2012/01/18 16:28:04] <hezekiah_> how do I make puppet master see changes to the config file
[2012/01/18 16:29:36] <Asako> it reads it constantly
[2012/01/18 16:29:52] <hezekiah_> ok. I thought it did when running stand alone
[2012/01/18 16:29:53] <Asako> restart it if you want
[2012/01/18 16:29:57] <hezekiah_> it does not do this when running in unicorn
[2012/01/18 16:30:05] <the_ramink> hezekiah_: to puppet.conf? restart/reload the process unless you're using the webrick based puppetmasterd stuff which monitors the file.
[2012/01/18 16:30:09] <hezekiah_> is there something I have not conifgured?
[2012/01/18 16:30:33] <Asako> or send it a SIGHUP
[2012/01/18 16:30:34] <hezekiah_> I am running the puppetmaster in unicorn
[2012/01/18 16:30:45] <hezekiah_> the puppetmaster rack app
[2012/01/18 16:31:17] @ tblamer joined channel #puppet
[2012/01/18 16:31:36] <the_ramink> then restart/reload unicorn
[2012/01/18 16:31:50] <hezekiah_> yes. I was hoping to not have to do that.
[2012/01/18 16:31:59] @ Quit: richerVE: Ping timeout: 258 seconds
[2012/01/18 16:32:12] <hezekiah_> is the monitoring of the file only something in the webrick based puppetmaster and not in the rack app?
[2012/01/18 16:34:19] <Asako> we use mongrel for it
[2012/01/18 16:34:36] @ Quit: eventi: Ping timeout: 240 seconds
[2012/01/18 16:34:38] <hezekiah_> yeah. I may have to switch back to mongrel
[2012/01/18 16:34:48] <hezekiah_> I didn't think something like this would be in one implementation and not the other
[2012/01/18 16:34:55] <the_ramink> hezekiah_: as far as I understand. This of it as a vhost config. You can change the site code, but changes to the vhost require a restart. Works the same with Passenger. I'm curious what you're changind in your puppet.conf. Once you've set it, not much shoudl change.
[2012/01/18 16:34:59] @ newtMcKerr joined channel #puppet
[2012/01/18 16:35:46] @ Quit: newtMcKerr: Client Quit
[2012/01/18 16:35:54] <hezekiah_> I have an environment where I allow users to dynamically create new environments (which then have new and specific module paths)
[2012/01/18 16:36:15] <hezekiah_> so that requires changes to (I have separated the puppet master config) puppetmaster.conf
[2012/01/18 16:36:28] @ campee joined channel #puppet
[2012/01/18 16:36:36] <hezekiah_> my external node classifier sets the environment based on data from our cmdb
[2012/01/18 16:37:31] <hezekiah_> so a devops can create an environment, create a new server (in openstack) which will spin up and be in that new environment, which the devops can use to develope and test puppet class changes without impacting anything/anyone else
[2012/01/18 16:37:44] <hezekiah_> all this is automatical.
[2012/01/18 16:37:45] <Dominic> hezekiah_: if it helps, you can use $environment when defining a modulepath and manifest settings in puppet.conf, so you can avoid editing puppet.conf on the master if your modules/manifests are in the same filesystem structure
[2012/01/18 16:37:55] @ ghanima joined channel #puppet
[2012/01/18 16:37:58] <hezekiah_> I can't use that and still have good inhertince
[2012/01/18 16:37:59] <hezekiah_> ance
[2012/01/18 16:38:05] <hezekiah_> I had wanted to do that
[2012/01/18 16:38:20] <hezekiah_> but that requires a non-dynamic module inheritance
[2012/01/18 16:38:40] <hezekiah_> this system allows the devops to create a new environment and define the 'paren't environment
[2012/01/18 16:39:53] <hezekiah_> then the module path has the correct ordering of environments
[2012/01/18 16:40:22] <hezekiah_> I really liked using the $environment in the modulepath concept. but I can't have different length module paths with that
[2012/01/18 16:40:48] @ Quit: Text: Ping timeout: 258 seconds
[2012/01/18 16:42:06] <Asako> will subscribe on an exec work?
[2012/01/18 16:42:23] <hezekiah_> ?
[2012/01/18 16:42:49] @ Holocaine joined channel #puppet
[2012/01/18 16:42:57] <Asako> http://pastebin.com/hAidRFMw this isn't quite working how I want
[2012/01/18 16:42:58] @ anveo joined channel #puppet
[2012/01/18 16:43:08] <Asako> maybe I need to take out the refreshonly
[2012/01/18 16:43:44] @ aculich joined channel #puppet
[2012/01/18 16:44:01] @ Bass10 joined channel #puppet
[2012/01/18 16:44:11] <the_ramink> Asako: yeah remove it from your first exec, your unless => statement will keep it from rerunning
[2012/01/18 16:44:12] <Dominic> the refreshonly on line 5 doesn't make sense, unless it's notified from somewhere else
[2012/01/18 16:44:17] @ duerF joined channel #puppet
[2012/01/18 16:44:27] <Asako> ok
[2012/01/18 16:44:40] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/01/18 16:44:41] <Asako> it would be notified by the package
[2012/01/18 16:45:01] @ newtMcKerr joined channel #puppet
[2012/01/18 16:45:17] @ Quit: Bass10: Max SendQ exceeded
[2012/01/18 16:45:48] <Asako> monit isn't working any way, sigh
[2012/01/18 16:46:02] @ drewrm joined channel #puppet
[2012/01/18 16:46:02] @ skm joined channel #puppet
[2012/01/18 16:47:07] @ Quit: newtMcKerr: Client Quit
[2012/01/18 16:47:19] @ ckauhaus joined channel #puppet
[2012/01/18 16:48:21] @ Axsuul joined channel #puppet
[2012/01/18 16:48:23] @ Quit: Axsuul: Excess Flood
[2012/01/18 16:48:41] @ Axsuul joined channel #puppet
[2012/01/18 16:52:40] @ Quit: patcon: Remote host closed the connection
[2012/01/18 16:53:04] @ patcon joined channel #puppet
[2012/01/18 16:53:41] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2012/01/18 16:55:38] @ Quit: alanevans: Remote host closed the connection
[2012/01/18 16:56:23] @ Tobu joined channel #puppet
[2012/01/18 16:56:25] @ Djelibeybi joined channel #puppet
[2012/01/18 16:57:38] @ mosen joined channel #puppet
[2012/01/18 17:01:02] @ Quit: jonhattan: Quit: Ex-Chat
[2012/01/18 17:01:13] @ Quit: freezey: Quit: freezey
[2012/01/18 17:01:30] @ Quit: tomben: Read error: Connection reset by peer
[2012/01/18 17:02:34] @ tomben joined channel #puppet
[2012/01/18 17:05:09] @ newtMcKerr joined channel #puppet
[2012/01/18 17:06:12] @ Quit: st33v: Ping timeout: 272 seconds
[2012/01/18 17:06:24] @ Quit: garethr: Read error: Connection reset by peer
[2012/01/18 17:06:26] @ Quit: cparedes: Remote host closed the connection
[2012/01/18 17:06:26] @ Quit: arnihermann: Read error: Connection reset by peer
[2012/01/18 17:06:27] @ Quit: sarguru_: Remote host closed the connection
[2012/01/18 17:06:28] @ Quit: devicenull: Remote host closed the connection
[2012/01/18 17:06:29] @ Quit: kesor: Remote host closed the connection
[2012/01/18 17:06:29] @ Quit: bk_one: Remote host closed the connection
[2012/01/18 17:06:30] @ Quit: lusis: Remote host closed the connection
[2012/01/18 17:06:56] @ Quit: kermit: Ping timeout: 240 seconds
[2012/01/18 17:07:50] @ Quit: newtMcKerr: Client Quit
[2012/01/18 17:08:54] @ Quit: joe-mac1: Remote host closed the connection
[2012/01/18 17:09:21] @ bk_one joined channel #puppet
[2012/01/18 17:10:16] @ mrwacky42 joined channel #puppet
[2012/01/18 17:10:22] @ devicenull joined channel #puppet
[2012/01/18 17:11:23] @ q0rban is now known as q-rban
[2012/01/18 17:11:31] @ Quit: tomben: Read error: Connection reset by peer
[2012/01/18 17:12:07] @ tomben joined channel #puppet
[2012/01/18 17:13:06] @ kesor joined channel #puppet
[2012/01/18 17:13:20] @ sjoeboo left channel #puppet ()
[2012/01/18 17:14:06] @ samkottler joined channel #puppet
[2012/01/18 17:14:14] @ sarguru_ joined channel #puppet
[2012/01/18 17:15:18] @ Quit: gunk: Read error: Operation timed out
[2012/01/18 17:15:49] @ iw__ joined channel #puppet
[2012/01/18 17:16:06] @ tecto_ joined channel #puppet
[2012/01/18 17:16:22] @ Quit: maxb: Read error: Operation timed out
[2012/01/18 17:16:39] @ Quit: xanthspod: Read error: Operation timed out
[2012/01/18 17:16:44] @ Quit: dpash: Read error: Operation timed out
[2012/01/18 17:16:50] @ Quit: laudo: Ping timeout: 258 seconds
[2012/01/18 17:16:54] @ cliff-hm joined channel #puppet
[2012/01/18 17:16:57] <gepetto> ::redmine:: Wiki edit: Internal_Development_Process (#88) @ http://projects.puppetlabs.com/projects/puppet/wiki/Internal_Development_Process?version=88 (by Daniel Pittman)
[2012/01/18 17:16:59] @ Quit: sir_iw: Read error: Connection reset by peer
[2012/01/18 17:17:16] @ Quit: mutex: Ping timeout: 252 seconds
[2012/01/18 17:17:32] @ dpash joined channel #puppet
[2012/01/18 17:17:57] @ maxb joined channel #puppet
[2012/01/18 17:18:03] @ Quit: Djelibeybi: Quit: Computer has gone to sleep.
[2012/01/18 17:18:12] @ Quit: felipe`: Ping timeout: 252 seconds
[2012/01/18 17:18:13] @ Quit: tecto: Read error: Connection reset by peer
[2012/01/18 17:18:13] @ tecto_ is now known as tecto
[2012/01/18 17:18:14] @ kermit joined channel #puppet
[2012/01/18 17:18:16] @ Quit: hezekiah_: Read error: Connection reset by peer
[2012/01/18 17:18:26] @ hezekiah_ joined channel #puppet
[2012/01/18 17:18:34] @ lusis joined channel #puppet
[2012/01/18 17:18:41] @ xanthspod joined channel #puppet
[2012/01/18 17:18:44] @ Quit: ghg: Ping timeout: 252 seconds
[2012/01/18 17:18:44] @ Quit: ptman: Ping timeout: 252 seconds
[2012/01/18 17:19:00] @ ghg joined channel #puppet
[2012/01/18 17:19:01] @ mutex joined channel #puppet
[2012/01/18 17:19:07] @ Quit: SpComb: Ping timeout: 252 seconds
[2012/01/18 17:19:07] @ Quit: ba6: Ping timeout: 252 seconds
[2012/01/18 17:19:08] @ Quit: windowsrefund: Ping timeout: 252 seconds
[2012/01/18 17:19:40] @ ptman joined channel #puppet
[2012/01/18 17:19:41] @ arnihermann joined channel #puppet
[2012/01/18 17:19:54] @ Djelibeybi joined channel #puppet
[2012/01/18 17:19:56] @ SpComb joined channel #puppet
[2012/01/18 17:20:00] @ icezimm joined channel #puppet
[2012/01/18 17:20:15] @ Quit: Djelibeybi: Client Quit
[2012/01/18 17:20:24] @ ba6 joined channel #puppet
[2012/01/18 17:21:00] @ Text joined channel #puppet
[2012/01/18 17:21:02] @ windowsrefund joined channel #puppet
[2012/01/18 17:21:30] @ Quit: labrown: Quit: Leaving
[2012/01/18 17:21:56] <Text> Hi, I am trying to port a class into my WAR class. Here's a descrition of what I am doing: http://pastebin.com/Kv182aFZ Anyone have a minute to look at this with me?
[2012/01/18 17:22:53] @ Quit: spiette: Ping timeout: 260 seconds
[2012/01/18 17:22:57] <gepetto> ::redmine:: Wiki edit: Engineering_done_done (#12) @ http://projects.puppetlabs.com/projects/puppet/wiki/Engineering_done_done?version=12 (by Jeff McCune)
[2012/01/18 17:25:48] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#138) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=138 (by Michael Stahnke)
[2012/01/18 17:27:02] <cwebber> is there currently a good reference puppet server module?
[2012/01/18 17:27:11] <cwebber> and client module for that matter?
[2012/01/18 17:27:17] @ eppa joined channel #puppet
[2012/01/18 17:27:41] @ cparedes joined channel #puppet
[2012/01/18 17:31:09] <torrancew> So, let's assume that for a reason beyond my control, I have to forcefully install a 32 bit apache on a 64 bit debian. Can puppet help me without dropping down into a maze of file and exec resources?
[2012/01/18 17:31:41] @ Quit: gazoombo: Quit: Leaving.
[2012/01/18 17:34:24] <cwebber> torrancew: hmmmm... you should be able to just specify the i386 pkg and have puppet pick it up
[2012/01/18 17:34:31] @ drewrm_ joined channel #puppet
[2012/01/18 17:34:49] <pdtpatrick> assuming it is the repo
[2012/01/18 17:35:18] <torrancew> Well, the package is in the standard debian repo. You're saying I should be able to just specify the full version string from the package?
[2012/01/18 17:35:19] @ Quit: opsmason: Quit: opsmason
[2012/01/18 17:35:25] <torrancew> for the record, has anyone successfully done this?
[2012/01/18 17:35:40] <stahnma> PSA: puppet 2.7.10rc1 available at downloads.puppetlabs.com. Release notes: http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes#2.7.10rc1
[2012/01/18 17:36:10] @ PotatoRape joined channel #puppet
[2012/01/18 17:36:23] @ Quit: drewrm: Ping timeout: 248 seconds
[2012/01/18 17:36:35] @ zanefactory joined channel #puppet
[2012/01/18 17:36:44] @ Quit: seanh-ansca: Quit: Leaving.
[2012/01/18 17:37:00] @ seanh-ansca joined channel #puppet
[2012/01/18 17:37:02] @ Niarf joined channel #puppet
[2012/01/18 17:37:24] <pdtpatrick> torrancew: without using puppet - how would u have otherwise installed it ?
[2012/01/18 17:37:44] <pdtpatrick> apt-get install <full-packagename> ?
[2012/01/18 17:38:00] <pdtpatrick> have you tried it and see if there's a dependency problem?
[2012/01/18 17:38:06] @ Quit: Niarf1: Ping timeout: 255 seconds
[2012/01/18 17:38:10] <pdtpatrick> you can run apt-rdepends <packagename>
[2012/01/18 17:38:51] <torrancew> pdtpatrick: without puppet, I pulled down the .debs and ran dpkg -i --force-architecture
[2012/01/18 17:39:05] <torrancew> As apt tries to pull the package for your architecture
[2012/01/18 17:39:15] <torrancew> but I will give that a go on the other node
[2012/01/18 17:39:15] <pdtpatrick> i thought you said it was in the standard repo ?
[2012/01/18 17:39:25] <pdtpatrick> you can specify a different repo with -t
[2012/01/18 17:39:28] <gepetto> ::redmine:: Wiki edit: Engineering_done_done (#13) @ http://projects.puppetlabs.com/projects/puppet/wiki/Engineering_done_done?version=13 (by Jeff McCune)
[2012/01/18 17:39:28] <gepetto> ::redmine:: Wiki edit: Release_Notes (#164) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=164 (by Michael Stahnke)
[2012/01/18 17:39:46] <pdtpatrick> apt-get -t backports install apache
[2012/01/18 17:39:57] <pdtpatrick> or whatever the repo is called the package is in
[2012/01/18 17:40:13] @ Quit: Text: Ping timeout: 258 seconds
[2012/01/18 17:40:31] <torrancew> pdtpatrick: it's not a repo issue, it's an architecture issue
[2012/01/18 17:40:41] <torrancew> -t is for specifying which release the package should come from IIRC
[2012/01/18 17:40:55] @ Quit: lborda: Quit: Ex-Chat
[2012/01/18 17:40:56] <torrancew> but in my case, I need to tell apt "forget that you're 64-bit, grab this package via 32 bit"
[2012/01/18 17:41:05] @ Quit: IndyMichaelB: Ping timeout: 276 seconds
[2012/01/18 17:41:07] <torrancew> regardless, will try the full package name when I wrap up the current task
[2012/01/18 17:41:09] <torrancew> thanks for the tip
[2012/01/18 17:41:12] <pdtpatrick> what I'm asking is -- if you were not going to use puppy, do you have to use dpkg -i or apt-get .. do they install smoothly or do u have to force it ?
[2012/01/18 17:41:34] <torrancew> I have to use dpkg -i when doing so manually, and I have to --force-architecture
[2012/01/18 17:41:45] @ Quit: laughitron: Ping timeout: 258 seconds
[2012/01/18 17:41:51] @ hezekiah_ left channel #puppet ()
[2012/01/18 17:41:53] @ Quit: sduchesneau: Ping timeout: 252 seconds
[2012/01/18 17:42:23] <pdtpatrick> i think (AFAIK) package will use apt-get. So you might have to use exec with whatever options you used. I would recommend testing this on a sandbox
[2012/01/18 17:43:11] <torrancew> pdtpatrick: yeah, that's what I'll be doing
[2012/01/18 17:43:15] <torrancew> this is all in a dev env anyway
[2012/01/18 17:43:21] <torrancew> bloody terrible vendor packages
[2012/01/18 17:43:31] <pdtpatrick> sorry to hear
[2012/01/18 17:43:39] @ `Kevin joined channel #puppet
[2012/01/18 17:43:53] <torrancew> not your fault, mate (I hope not, anyway XD )
[2012/01/18 17:43:53] @ felixnor joined channel #puppet
[2012/01/18 17:44:33] <felixnor> exit
[2012/01/18 17:44:36] @ felixnor left channel #puppet ()
[2012/01/18 17:46:18] @ Quit: jimmn: Quit: Ex-Chat
[2012/01/18 17:49:54] @ Quit: samkottler: Quit: Leaving.
[2012/01/18 17:54:52] @ Quit: xe4l: Remote host closed the connection
[2012/01/18 17:54:53] @ Quit: Tobu: Read error: Operation timed out
[2012/01/18 17:55:07] @ negronjl joined channel #puppet
[2012/01/18 17:55:26] @ xe4l joined channel #puppet
[2012/01/18 17:55:34] @ multiverse joined channel #puppet
[2012/01/18 17:56:18] @ Tobu joined channel #puppet
[2012/01/18 17:56:36] <multiverse> Hello, I'm looking for a little advice on this issue: http://pastebin.com/Kv182aFZ
[2012/01/18 17:56:46] @ aculich1 joined channel #puppet
[2012/01/18 17:57:17] @ Quit: aculich: Read error: Connection reset by peer
[2012/01/18 17:58:18] @ tmclaugh joined channel #puppet
[2012/01/18 18:01:08] @ Quit: fly9: Quit: Leaving.
[2012/01/18 18:03:05] @ newtMcKerr joined channel #puppet
[2012/01/18 18:03:49] @ Quit: marrusl: Quit: Ex-Chat
[2012/01/18 18:05:33] @ tizzo is now known as tizzo-afk
[2012/01/18 18:07:28] @ tmclaugh_ joined channel #puppet
[2012/01/18 18:08:00] @ nul0op joined channel #puppet
[2012/01/18 18:08:14] @ Quit: aculich1: Ping timeout: 255 seconds
[2012/01/18 18:08:18] @ Quit: kermit: Quit: Leaving.
[2012/01/18 18:09:12] @ garethr joined channel #puppet
[2012/01/18 18:09:56] @ Quit: Stenbryggen: Quit: Leaving.
[2012/01/18 18:09:57] @ straylyon joined channel #puppet
[2012/01/18 18:10:30] @ Quit: tmclaugh: Ping timeout: 255 seconds
[2012/01/18 18:10:30] @ tmclaugh_ is now known as tmclaugh
[2012/01/18 18:11:02] @ Quit: epatey: Quit: epatey
[2012/01/18 18:13:38] @ Quit: themadcanudist: Ping timeout: 260 seconds
[2012/01/18 18:14:06] @ samkottler joined channel #puppet
[2012/01/18 18:14:31] @ Quit: samkottler: Client Quit
[2012/01/18 18:14:52] @ Quit: shadoi: Quit: Leaving.
[2012/01/18 18:15:38] @ Quit: alfism: Quit: alfism
[2012/01/18 18:18:40] @ Kazuhiro joined channel #puppet
[2012/01/18 18:19:04] @ icezimm1 joined channel #puppet
[2012/01/18 18:19:05] @ Quit: icezimm: Ping timeout: 244 seconds
[2012/01/18 18:19:17] @ icezimm1 is now known as icezimm
[2012/01/18 18:21:39] @ Quit: zul: Ping timeout: 240 seconds
[2012/01/18 18:21:44] @ Quit: Kazuhiro: Read error: Connection reset by peer
[2012/01/18 18:22:49] @ aculich joined channel #puppet
[2012/01/18 18:23:20] @ Quit: nitram_macair_: Quit: nitram_macair_
[2012/01/18 18:24:10] @ Kazuhiro joined channel #puppet
[2012/01/18 18:25:35] @ lazyworm1 joined channel #puppet
[2012/01/18 18:26:25] @ samkottler joined channel #puppet
[2012/01/18 18:27:03] @ Quit: lazyworm: Ping timeout: 248 seconds
[2012/01/18 18:27:33] @ Quit: bwitt: Ping timeout: 252 seconds
[2012/01/18 18:27:44] @ aheritier joined channel #puppet
[2012/01/18 18:30:39] @ Quit: csanchez: Quit: csanchez
[2012/01/18 18:30:39] @ Quit: Tobu: Ping timeout: 252 seconds
[2012/01/18 18:31:15] @ justin_donaldson joined channel #puppet
[2012/01/18 18:31:56] @ Quit: aheritier: Ping timeout: 240 seconds
[2012/01/18 18:33:00] @ kermit joined channel #puppet
[2012/01/18 18:33:43] @ noakes joined channel #puppet
[2012/01/18 18:33:43] @ Djelibeybi joined channel #puppet
[2012/01/18 18:34:14] @ lazyworm joined channel #puppet
[2012/01/18 18:34:36] @ Niarf1 joined channel #puppet
[2012/01/18 18:34:46] @ Quit: brandon_dacrib: Remote host closed the connection
[2012/01/18 18:36:23] @ Quit: Niarf: Ping timeout: 260 seconds
[2012/01/18 18:36:24] @ Quit: fronlius: Quit: fronlius
[2012/01/18 18:36:51] @ Quit: kangman: Remote host closed the connection
[2012/01/18 18:37:02] @ Quit: lazyworm1: Ping timeout: 255 seconds
[2012/01/18 18:38:45] @ spenclk joined channel #puppet
[2012/01/18 18:38:58] <noakes> is there a nice pattern for applying conditionals to a file where it can be either a 'source' or a 'content' - i.e. a hardcoded file or a template
[2012/01/18 18:38:59] <noakes> ?
[2012/01/18 18:39:08] <noakes> I have it implemented as:
[2012/01/18 18:39:15] <noakes> if $variable {
[2012/01/18 18:39:35] <noakes> file {"blah": content => template }
[2012/01/18 18:39:37] <noakes> else {
[2012/01/18 18:39:49] <noakes> file {"blah": source => file }
[2012/01/18 18:39:57] <noakes> but all the other file attributes are duplicated
[2012/01/18 18:40:07] <noakes> so was hoping to 'inline' the if/else into the file def
[2012/01/18 18:40:27] @ bwitt joined channel #puppet
[2012/01/18 18:40:28] <noakes> was wondering if you can assign the entire source/content line to a variable
[2012/01/18 18:40:38] <noakes> and then use the variable within the file def?
[2012/01/18 18:41:28] @ Quit: lazyworm: Quit: Leaving.
[2012/01/18 18:41:43] @ cosman2001 joined channel #puppet
[2012/01/18 18:41:56] <torrancew> noakes: you can do that. You can also do this: http://pastebin.com/TMk9U2Vs
[2012/01/18 18:42:25] @ Quit: crs: Read error: Operation timed out
[2012/01/18 18:42:27] @ mrooney joined channel #puppet
[2012/01/18 18:42:47] @ straylyons joined channel #puppet
[2012/01/18 18:42:54] <noakes> @torrancew - nice - wasn't sure if you could have an undef attribute - probably should have spiked that before asking - thanks for the quick answer
[2012/01/18 18:42:58] @ Quit: straylyons: Read error: Connection reset by peer
[2012/01/18 18:43:04] @ Quit: bwitt: Client Quit
[2012/01/18 18:43:24] <the_ramink> noakes: generally conditionals within resources are frowned upon as hard to read, not good style. Seems simpler to just have a template and deal with any fanciness there.
[2012/01/18 18:43:32] <mrooney> whack: I liked your slides on masterless/nodeless puppet, I was just wondering if you still recommended it or if you ran into any big issues, as I was thinking about moving to it
[2012/01/18 18:43:46] @ Quit: Niarf1: Quit: Leaving.
[2012/01/18 18:44:14] @ Niarf joined channel #puppet
[2012/01/18 18:44:41] * Volcane 's just busy moving to same
[2012/01/18 18:44:56] <torrancew> noakes: a define I have that does something similar can be found here: http://code.sudobangbang.org/puppet-runit.git/HEAD/blob/manifests%2Fservice.pp
[2012/01/18 18:44:59] <Volcane> 1) you'll need to make some tooling of your own for runs etc, few scripts, cron job or 2 etc
[2012/01/18 18:45:08] <Volcane> 2) it doesnt write classes.txt
[2012/01/18 18:45:27] <noakes> @the_ramink - looked into doing that, but the contents of the file are such that if I template it, almost every line will land up becoming a variable for the template and not very happy with how that balloons out the definition
[2012/01/18 18:45:30] <mrooney> Volcane: yeah, I'm pretty much there, already have "node default { include $custom_fact_classname }"
[2012/01/18 18:45:52] @ crs joined channel #puppet
[2012/01/18 18:45:54] <mrooney> and bootstrapping machines via wgetting the manifests from s3 and using puppet apply
[2012/01/18 18:46:05] @ Quit: brtl: Quit: Leaving.
[2012/01/18 18:46:12] <mrooney> just need the cron + reporting to be the equivalent of the puppet agent I guess
[2012/01/18 18:46:25] @ Quit: bsg_kwolf: Quit: Leaving.
[2012/01/18 18:46:51] <Volcane> and ofcourse you need to be happy that all machines have the code
[2012/01/18 18:47:56] <mrooney> yeah, indeed
[2012/01/18 18:49:21] <Volcane> biggest pain is i already have a setup built for masters
[2012/01/18 18:49:32] <Volcane> refactored 4k puppet lines of code in the last 4 nights, sigh
[2012/01/18 18:49:39] @ Quit: fubada: Ping timeout: 240 seconds
[2012/01/18 18:51:17] <mrooney> ah, I didn't have to change anything, you can still puppet:/// and such
[2012/01/18 18:51:45] <mrooney> but if you have it set up to assume you can auth securely / pull secure things for only certain nodes, then it can take some refactoring
[2012/01/18 18:52:11] <Volcane> yeah, my manifests have been dragging along over many years so lots of weird shit
[2012/01/18 18:52:19] <Volcane> I've been removing cruft too etc
[2012/01/18 18:52:23] <mrooney> ah yeah, definitely makes sense
[2012/01/18 18:52:49] <the_ramink> noakes: you'd use the same method in your template. If something == then this template block, else this static text
[2012/01/18 18:52:56] <mrooney> I just started an infrastructure from scratch so I got to do all the things I wished I had done after using it for a year at my last job
[2012/01/18 18:53:14] <Volcane> % find . -name \*.pp|xargs wc -l
[2012/01/18 18:53:15] <Volcane> 12431 total
[2012/01/18 18:53:21] <Volcane> :(
[2012/01/18 18:53:52] <|Mike|> That's a lot!
[2012/01/18 18:53:57] <mrooney> 251 total haha
[2012/01/18 18:54:06] <noakes> @the_ramink - I see what you mean - don't have variables for the template but do the if/else in the template with the variable that already exists
[2012/01/18 18:54:28] <noakes> will try both approaches and see what works better
[2012/01/18 18:54:33] <noakes> thanks for all the help
[2012/01/18 18:54:44] <torrancew> noakes: it's worth mentioning that my module uses the stdlib from PL
[2012/01/18 18:54:51] <the_ramink> noakes: sure, <% if has_variable?("my_variable_that_is_set") then -%>
[2012/01/18 18:55:40] @ Quit: Trebortech: Quit: Trebortech
[2012/01/18 18:56:23] @ Tobu joined channel #puppet
[2012/01/18 19:00:48] @ Quit: Niarf: Quit: Leaving.
[2012/01/18 19:01:38] @ Quit: newtMcKerr: Quit: Leaving.
[2012/01/18 19:03:00] <aknapp> Volcane: damn, that's a lot of lines of puppet code. I have ~4k, and I though that was a lot.
[2012/01/18 19:03:52] @ Quit: Asako: Quit: Client exiting
[2012/01/18 19:04:26] <noakes> @Volcane: how many nodes are you managing?
[2012/01/18 19:04:35] <Volcane> noakes: 50ish
[2012/01/18 19:04:43] <Volcane> noakes: but very varied
[2012/01/18 19:05:03] @ Quit: ghg: Read error: Operation timed out
[2012/01/18 19:05:18] <noakes> yeah, wonder if there are any puppet metrics type stuff - i.e. complexity of nodes => puppetlines/nodes
[2012/01/18 19:05:37] <noakes> modules/node, etc...
[2012/01/18 19:05:39] <Harzilein> Volcane: was about to ask, 50ish but not really supporting just one "project"/"entity"?
[2012/01/18 19:06:01] <Harzilein> with entity i mean something like a department in a company
[2012/01/18 19:07:28] @ Quit: djm68: Remote host closed the connection
[2012/01/18 19:07:32] <Volcane> no, its generic hosting for lots of customers all different and different stacks
[2012/01/18 19:07:42] <Harzilein> Volcane: aah :)
[2012/01/18 19:08:23] @ gniks joined channel #puppet
[2012/01/18 19:08:25] @ newtMcKerr joined channel #puppet
[2012/01/18 19:08:33] <eskp> Duplicate definition: File[/var/lib/moin/common/underlay] is already defined in file /opt/puppet/modules/moin/manifests/wiki.pp at line 30; cannot redefine at /opt/puppet/modules/moin/manifests/wiki.pp:30 on node zoidberg
[2012/01/18 19:08:44] <eskp> hmmm
[2012/01/18 19:08:51] <Volcane> eskp: defines must make unique resources
[2012/01/18 19:09:16] <eskp> oh of course
[2012/01/18 19:09:23] <eskp> thanks
[2012/01/18 19:10:13] <mosen> Volcane do you write providers occasionally?
[2012/01/18 19:10:19] <Volcane> nope
[2012/01/18 19:10:35] @ Quit: jamezpolley: Excess Flood
[2012/01/18 19:10:35] <mosen> ok :) difficult to find in depth doco
[2012/01/18 19:11:10] <Harzilein> hmm. but there _is_ official docs on it afaict
[2012/01/18 19:11:23] <Harzilein> just today i looked just what makes an "ensurable"
[2012/01/18 19:11:38] @ jamezpolley joined channel #puppet
[2012/01/18 19:11:57] <whack> mrooney: I still like masterless, yes. Though using exported resources with it is pretty messy. I think exported resources are messa nyway
[2012/01/18 19:12:36] @ Quit: the_ramink: Ping timeout: 240 seconds
[2012/01/18 19:12:45] @ Quit: l0n: Ping timeout: 276 seconds
[2012/01/18 19:12:48] @ the_ramink joined channel #puppet
[2012/01/18 19:14:14] @ Quit: Surv_OT_Fittest: Quit: Leaving.
[2012/01/18 19:14:31] @ Quit: mrooney: Ping timeout: 258 seconds
[2012/01/18 19:15:25] @ Quit: gabrtv: Quit: gabrtv
[2012/01/18 19:17:47] <multiverse> My class is throwing an "invalid parameter" against a hiera yaml.
[2012/01/18 19:19:01] @ Quit: DJClean: Read error: Operation timed out
[2012/01/18 19:21:23] @ Quit: tblamer: Quit: Going offline, see ya! (www.adiirc.com)
[2012/01/18 19:21:51] @ gazoombo joined channel #puppet
[2012/01/18 19:23:04] @ Quit: ghanima: Quit: Leaving.
[2012/01/18 19:24:17] @ pipegeek joined channel #puppet
[2012/01/18 19:27:31] @ Quit: Harzilein: Quit: ircII EPIC4-2.10.1 -- Are we there yet?
[2012/01/18 19:29:00] @ Quit: benkevan: Quit: leaving
[2012/01/18 19:31:38] @ Quit: samkottler: Quit: Leaving.
[2012/01/18 19:33:59] @ brandon_dacrib joined channel #puppet
[2012/01/18 19:34:08] @ Quit: brandon_dacrib: Client Quit
[2012/01/18 19:36:10] @ Quit: nfagerlund: Remote host closed the connection
[2012/01/18 19:37:02] @ Quit: jsm: Quit: Leaving.
[2012/01/18 19:37:43] @ nfagerlund joined channel #puppet
[2012/01/18 19:38:00] @ Quit: Wolfspyre: Quit: Leaving.
[2012/01/18 19:41:00] @ Quit: dan__t: Ping timeout: 252 seconds
[2012/01/18 19:42:21] @ zul joined channel #puppet
[2012/01/18 19:42:34] @ Quit: nated: Ping timeout: 252 seconds
[2012/01/18 19:43:18] @ Quit: PotatoRape: Ping timeout: 244 seconds
[2012/01/18 19:44:04] @ themadcanudist joined channel #puppet
[2012/01/18 19:44:04] @ Quit: kmscherer_: Ping timeout: 240 seconds
[2012/01/18 19:44:25] @ Quit: multiverse: Ping timeout: 258 seconds
[2012/01/18 19:44:40] @ kmscherer_ joined channel #puppet
[2012/01/18 19:45:20] @ Quit: Reepicheep: Quit: Ex-Chat
[2012/01/18 19:46:51] @ Quit: zwi: Quit: Leaving.
[2012/01/18 19:51:43] @ jsurfer_ joined channel #puppet
[2012/01/18 19:52:40] @ sduchesneau joined channel #puppet
[2012/01/18 19:54:48] @ tizzo-afk is now known as tizzo
[2012/01/18 19:55:18] @ Quit: jsurfer: Ping timeout: 248 seconds
[2012/01/18 19:55:30] @ st33v joined channel #puppet
[2012/01/18 19:55:56] @ Quit: jsurfer_: Ping timeout: 240 seconds
[2012/01/18 19:56:05] @ Surv_OT_Fittest joined channel #puppet
[2012/01/18 19:57:09] @ hfnix joined channel #puppet
[2012/01/18 19:57:37] @ Quit: straylyon: Quit: Leaving
[2012/01/18 19:57:45] @ gazoombo1 joined channel #puppet
[2012/01/18 19:57:56] @ straylyon joined channel #puppet
[2012/01/18 19:58:18] @ Quit: gazoombo: Ping timeout: 244 seconds
[2012/01/18 19:59:02] <basic`> does puppet have a package ensure => '>= some.version-834'
[2012/01/18 20:00:14] @ Quit: newtMcKerr: Quit: Leaving.
[2012/01/18 20:00:34] @ Quit: sduchesneau: Quit: Leaving
[2012/01/18 20:02:30] @ Quit: joshcooper: Quit: joshcooper
[2012/01/18 20:04:57] @ Quit: emmanuelux: Remote host closed the connection
[2012/01/18 20:05:09] @ ghg joined channel #puppet
[2012/01/18 20:07:07] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/01/18 20:08:57] @ Trebortech joined channel #puppet
[2012/01/18 20:12:30] @ emmanuelux joined channel #puppet
[2012/01/18 20:13:19] @ Quit: Kazuhiro: Quit: Leaving.
[2012/01/18 20:14:58] @ Quit: aculich: Ping timeout: 260 seconds
[2012/01/18 20:15:57] @ aheritier joined channel #puppet
[2012/01/18 20:16:52] @ czervik joined channel #puppet
[2012/01/18 20:17:00] @ d3vnull joined channel #puppet
[2012/01/18 20:19:21] @ aculich joined channel #puppet
[2012/01/18 20:20:01] <czervik> Is anyone familiar with vim-puppet on ubuntu? I installed the package but am not getting any syntax highlighting for pp files
[2012/01/18 20:20:17] <pdtpatrick> is it in .vim ?
[2012/01/18 20:20:21] <pdtpatrick> use pathogen btw
[2012/01/18 20:20:31] <czervik> pathogen?
[2012/01/18 20:20:38] @ Quit: aheritier: Ping timeout: 248 seconds
[2012/01/18 20:20:40] @ d3vnull_ joined channel #puppet
[2012/01/18 20:20:53] <pdtpatrick> http://addisu.taddese.com/blog/using-github-and-pathogen-for-your-vim-config-files/
[2012/01/18 20:20:59] <pdtpatrick> and after you've installed that
[2012/01/18 20:21:02] @ Quit: the_ramink: Ping timeout: 244 seconds
[2012/01/18 20:21:10] <pdtpatrick> then clone the vim-puppet repo from github
[2012/01/18 20:21:16] @ Quit: d3vnull: Ping timeout: 240 seconds
[2012/01/18 20:21:23] @ d3vnull_ is now known as d3vnull
[2012/01/18 20:21:25] <pdtpatrick> and then put that folder in ~/.vim/bundles/
[2012/01/18 20:21:25] <czervik> tks pdtpatrick
[2012/01/18 20:21:40] <pdtpatrick> or just cd ~/.vim/bundles && git clone <reponame>
[2012/01/18 20:21:45] <pdtpatrick> you're welcome
[2012/01/18 20:22:12] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2012/01/18 20:22:33] @ Quit: d3vnull: Client Quit
[2012/01/18 20:22:35] @ Quit: Trebortech: Quit: Trebortech
[2012/01/18 20:22:42] @ d3vnull joined channel #puppet
[2012/01/18 20:24:52] @ Quit: fir31ight: Ping timeout: 276 seconds
[2012/01/18 20:25:06] @ Quit: lak: Quit: Leaving.
[2012/01/18 20:25:40] @ Quit: wilmoore: Remote host closed the connection
[2012/01/18 20:26:32] @ |Majestic| joined channel #puppet
[2012/01/18 20:28:34] @ newtMcKerr joined channel #puppet
[2012/01/18 20:29:44] @ Quit: ianbrandt: Quit: ianbrandt
[2012/01/18 20:30:01] <|Majestic|> Good morning yawns... I beleive ive found a bug but wanted to check first. I am adjusting sshd_config via augeas. Paste here: http://pastie.org/3210930 which this works great on debian based systems but if this is ran on Redhat based (centos) it says that its run sucessfuly but it hasnt. Will post the debug output in a sec. I have manauly tried to change the paramaters via augtool and that works fine.
[2012/01/18 20:31:56] @ Quit: langworthy: Quit: langworthy
[2012/01/18 20:32:04] <|Majestic|> http://pastie.org/3210938
[2012/01/18 20:33:08] <bob2> where do you define "hasnt"
[2012/01/18 20:33:15] <bob2> just "it didn't make the change"?
[2012/01/18 20:33:28] <|Majestic|> config wasnt updated
[2012/01/18 20:33:37] <|Majestic|> didnt make the change.. seemed it didnt try
[2012/01/18 20:33:51] @ BabyRasta joined channel #puppet
[2012/01/18 20:33:57] <|Majestic|> [root@dev2(~)> grep -i port /etc/ssh/sshd_config
[2012/01/18 20:33:57] <|Majestic|> #Port 22
[2012/01/18 20:33:57] <|Majestic|> #GatewayPorts no
[2012/01/18 20:33:59] @ Quit: nfagerlund: Remote host closed the connection
[2012/01/18 20:34:05] @ Quit: straylyon: Quit: Leaving
[2012/01/18 20:34:27] <|Majestic|> augtool shows
[2012/01/18 20:34:37] <|Majestic|> ./files/etc/ssh/sshd_config/#comment[9] = "Port 22"
[2012/01/18 20:34:58] @ Quit: kermit: Ping timeout: 244 seconds
[2012/01/18 20:35:28] <|Majestic|> if I change it via augtool that works fine
[2012/01/18 20:35:33] @ Quit: newtMcKerr: Quit: Leaving.
[2012/01/18 20:35:33] <pipegeek> Where do properties get evaluated: on the client side, or on the puppet master? It seems like types ought to live on the server side (since they do things like validate arguments) but properties (which are declared in type definitions) have methods which expect to be run on the client side, like retrieve().
[2012/01/18 20:35:36] <|Majestic|> as in manualy
[2012/01/18 20:35:43] @ Quit: s0enke: Read error: Connection reset by peer
[2012/01/18 20:36:33] <|Majestic|> hum... thats a good question.. first time ive been playing with aug... whats weird is its working fine with debian
[2012/01/18 20:36:54] @ jsurfer joined channel #puppet
[2012/01/18 20:37:02] <eric0> pipegeek: the master does some loading of types and providres, but its just syntax afaik -- all provider suitability and the actual processing happens on the client
[2012/01/18 20:37:13] <|Majestic|> I assume looking at debug - puppet server talks to client and says run arg providor with X cmd
[2012/01/18 20:37:27] @ Quit: jsurfer: Remote host closed the connection
[2012/01/18 20:37:43] <mfridh> the puppet-common module -- I can install it as a normal module right, and not have to do it in manifests/site.pp ?
[2012/01/18 20:38:30] @ Quit: BabyRasta: Client Quit
[2012/01/18 20:38:35] @ BabyRasta joined channel #puppet
[2012/01/18 20:39:40] @ BabyRasta left channel #puppet ()
[2012/01/18 20:39:43] <pipegeek> eric0: I see. So, do any methods (the block that's passed into munge, for instance) get called on the master, or is the only way to execute code on the master via puppet manifests and parser functions?
[2012/01/18 20:41:32] <pipegeek> eric0: as in, which (if any) methods in the type get called at compile time?
[2012/01/18 20:43:02] <eric0> pipegeek: nothing in the actual type code gets exeuted on the master -- you've got it right that manifest code and parser functions are your server-side tools.
[2012/01/18 20:43:17] @ nfagerlund joined channel #puppet
[2012/01/18 20:43:17] <eric0> pipegeek: whats the specific thing you're trying to suss out?
[2012/01/18 20:43:29] @ Quit: seanh-ansca: Ping timeout: 255 seconds
[2012/01/18 20:45:23] <pipegeek> eric0: I'd like to check a master database on the master that maps usernames to UIDs when defining users. It looks like the best (only) way to do this is in a parser function (something like get_uid(username)) and pass the result into a user {} resource definition, rather than having a custom 'stable_user' type that handles it magically
[2012/01/18 20:45:25] <|Majestic|> maybe onto something
[2012/01/18 20:45:41] <pipegeek> which is fine with me. I just wanted to make sure I understood what was what.
[2012/01/18 20:46:05] <pipegeek> I was confused because types that are defined using 'define' in puppet manifests have a server-side component
[2012/01/18 20:46:31] <|Majestic|> http://pastie.org/3210977 - this is what should happen.. snapshot from debian run. looks like maybe aug isnt installed with puppet on centos... looking more at it...
[2012/01/18 20:46:37] <pipegeek> well, actually, they're entirely server-side
[2012/01/18 20:48:06] <pipegeek> and naturally providers have to execute on the client, but I had hoped that the validation/argument munging part of types happened at catalog compile time
[2012/01/18 20:48:13] <eric0> pipegeek: yes a parser function would absolutely be a good way to that lookup -- you might generalize it if you have a real infra db that stores that sort of thing $uid= get_db_value("uid","some_user")
[2012/01/18 20:50:29] @ kermit joined channel #puppet
[2012/01/18 20:50:29] @ s0enke joined channel #puppet
[2012/01/18 20:51:36] <pipegeek> cool. Thanks, eric0
[2012/01/18 20:58:24] @ Quit: d3vnull: Ping timeout: 240 seconds
[2012/01/18 20:58:57] <|Majestic|> yea looks like a bug sighs - oh well I have to do a check if not debian then use an exec and do it that way sighs
[2012/01/18 21:00:04] @ the_ramink joined channel #puppet
[2012/01/18 21:03:31] @ sduchesneau joined channel #puppet
[2012/01/18 21:06:02] @ langworthy joined channel #puppet
[2012/01/18 21:06:53] @ Quit: nfagerlund: Remote host closed the connection
[2012/01/18 21:07:53] @ Quit: nul0op: Quit: Leaving
[2012/01/18 21:08:15] @ Quit: aculich: Quit: Leaving.
[2012/01/18 21:09:17] @ Quit: kermit: Remote host closed the connection
[2012/01/18 21:10:31] @ Quit: motomike: Remote host closed the connection
[2012/01/18 21:11:08] @ Quit: erkules: Ping timeout: 244 seconds
[2012/01/18 21:11:26] @ kermit joined channel #puppet
[2012/01/18 21:11:50] @ motomike joined channel #puppet
[2012/01/18 21:12:01] @ d3vnull joined channel #puppet
[2012/01/18 21:12:22] @ Quit: the_ramink: Ping timeout: 248 seconds
[2012/01/18 21:12:57] @ wilmoore joined channel #puppet
[2012/01/18 21:13:06] @ Quit: kermit: Remote host closed the connection
[2012/01/18 21:17:26] @ Quit: d3vnull: Ping timeout: 248 seconds
[2012/01/18 21:17:42] @ l0n joined channel #puppet
[2012/01/18 21:20:06] @ Quit: st33v: Quit: st33v
[2012/01/18 21:21:03] @ swygue joined channel #puppet
[2012/01/18 21:23:41] <pipegeek> Does anyone know what the timeframe for http://projects.puppetlabs.com/issues/2624 is? It'd be nice to have parser functions live in the namespace of the module in which they were defined
[2012/01/18 21:24:15] @ erkules joined channel #puppet
[2012/01/18 21:26:21] @ Djelibeybi joined channel #puppet
[2012/01/18 21:27:49] @ nated joined channel #puppet
[2012/01/18 21:27:50] @ Quit: nated: Changing host
[2012/01/18 21:27:50] @ nated joined channel #puppet
[2012/01/18 21:27:54] @ sduchesneau left channel #puppet ("Leaving")
[2012/01/18 21:30:30] @ Quit: Tobu: Ping timeout: 248 seconds
[2012/01/18 21:30:52] @ d3vnull joined channel #puppet
[2012/01/18 21:31:04] @ zwi joined channel #puppet
[2012/01/18 21:37:58] @ tizzo is now known as tizzo-afk
[2012/01/18 21:38:32] @ Quit: tomben: Read error: Connection reset by peer
[2012/01/18 21:39:02] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/01/18 21:39:35] @ tomben joined channel #puppet
[2012/01/18 21:43:38] @ Quit: CJNE: Ping timeout: 260 seconds
[2012/01/18 21:43:50] @ Quit: hfnix: Quit: Leaving.
[2012/01/18 21:46:00] @ Quit: tomben: Read error: Connection reset by peer
[2012/01/18 21:46:19] <whack> pipegeek: best bet is to ask on that ticket
[2012/01/18 21:46:35] @ tomben joined channel #puppet
[2012/01/18 21:48:30] @ kermit joined channel #puppet
[2012/01/18 21:49:07] @ Quit: zanefactory: Quit: zanefactory
[2012/01/18 21:49:47] <pipegeek> fair enough :)
[2012/01/18 21:52:05] @ Tobu joined channel #puppet
[2012/01/18 21:52:57] @ Quit: gazoombo1: Quit: Leaving.
[2012/01/18 21:55:07] @ epatey joined channel #puppet
[2012/01/18 22:00:06] @ Quit: Jezarith: Read error: Connection reset by peer
[2012/01/18 22:00:10] @ Quit: |Majestic|: Ping timeout: 245 seconds
[2012/01/18 22:00:59] @ Jezarith joined channel #puppet
[2012/01/18 22:02:38] @ Quit: choonming: Remote host closed the connection
[2012/01/18 22:07:45] @ rubic joined channel #puppet
[2012/01/18 22:10:26] @ Quit: swygue: Remote host closed the connection
[2012/01/18 22:14:38] @ Quit: tmclaugh: Quit: tmclaugh
[2012/01/18 22:19:42] @ Quit: d3vnull: Ping timeout: 272 seconds
[2012/01/18 22:20:44] @ Quit: nated: Quit: leaving
[2012/01/18 22:22:12] @ |Majestic| joined channel #puppet
[2012/01/18 22:24:32] @ scoates joined channel #puppet
[2012/01/18 22:24:37] <scoates> hello
[2012/01/18 22:25:25] <scoates> if I `include "foo"` from within a class called `bar`, is there a scoping issue there? will it look for the bar module? or am I making a bad assumption?
[2012/01/18 22:26:33] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/01/18 22:30:05] @ Quit: Tobu: Ping timeout: 252 seconds
[2012/01/18 22:30:11] @ Quit: leifmadsen: Ping timeout: 244 seconds
[2012/01/18 22:30:55] @ choonming joined channel #puppet
[2012/01/18 22:32:36] @ d3vnull joined channel #puppet
[2012/01/18 22:38:38] @ Quit: Surv_OT_Fittest: Quit: Leaving.
[2012/01/18 22:39:12] @ sduchesneau joined channel #puppet
[2012/01/18 22:39:29] @ Quit: cliff-hm: Ping timeout: 244 seconds
[2012/01/18 22:39:30] @ Quit: mrwacky42: Ping timeout: 244 seconds
[2012/01/18 22:40:14] @ Surv_OT_Fittest joined channel #puppet
[2012/01/18 22:40:29] @ Quit: d3vnull: Ping timeout: 255 seconds
[2012/01/18 22:42:11] @ nated joined channel #puppet
[2012/01/18 22:42:12] @ Quit: nated: Changing host
[2012/01/18 22:42:13] @ nated joined channel #puppet
[2012/01/18 22:43:53] @ joshcooper joined channel #puppet
[2012/01/18 22:49:47] @ Tobu joined channel #puppet
[2012/01/18 22:50:13] @ Quit: sduchesneau: Quit: Leaving
[2012/01/18 22:52:18] @ d3vnull joined channel #puppet
[2012/01/18 22:54:03] @ newtMcKerr joined channel #puppet
[2012/01/18 22:55:58] @ hfnix joined channel #puppet
[2012/01/18 22:56:25] @ Quit: fredden: Quit: Leaving
[2012/01/18 23:00:29] @ samkottler joined channel #puppet
[2012/01/18 23:00:31] @ nitram_macair_ joined channel #puppet
[2012/01/18 23:05:28] @ seanh-ansca joined channel #puppet
[2012/01/18 23:05:33] @ Quit: seanh-ansca: Client Quit
[2012/01/18 23:13:58] @ AshishH joined channel #puppet
[2012/01/18 23:13:58] <eppa> 'lo
[2012/01/18 23:14:53] <eppa> if I'm making use of a 3rd party module in a manifest, do I have to install it on my puppetmaster seperately?
[2012/01/18 23:15:10] @ Quit: d3vnull: Ping timeout: 245 seconds
[2012/01/18 23:18:16] <mosen> yep
[2012/01/18 23:18:22] <mosen> in the modules dir
[2012/01/18 23:18:51] <eppa> that's /var/lib/puppet/modules by default?
[2012/01/18 23:19:37] <eppa> or should I explicitely specify that in my puppet.conf?
[2012/01/18 23:19:58] <mosen> trying to remember, i specified my own
[2012/01/18 23:21:27] @ Quit: hacim: Ping timeout: 255 seconds
[2012/01/18 23:21:28] @ rjsalts left channel #puppet ("Leaving")
[2012/01/18 23:22:17] @ Quit: |Majestic|: Ping timeout: 252 seconds
[2012/01/18 23:22:44] <mosen> for some reason i have two different defaults.. maybe it changed between 2.6 and 2.7
[2012/01/18 23:22:59] <mosen> or it could just be the distribution
[2012/01/18 23:24:10] <eppa> is one of them /var/lib/puppet/modules ? :)
[2012/01/18 23:24:50] <mosen> nope, haha
[2012/01/18 23:24:56] <eppa> hah
[2012/01/18 23:25:14] <mosen> /etc/puppet/modules and /usr/share/puppet/modules
[2012/01/18 23:27:00] @ Quit: wilmoore: Read error: Connection reset by peer
[2012/01/18 23:27:53] @ Djelibeybi joined channel #puppet
[2012/01/18 23:28:47] @ d3vnull joined channel #puppet
[2012/01/18 23:30:13] @ Quit: Tobu: Ping timeout: 252 seconds
[2012/01/18 23:31:26] @ bobra joined channel #puppet
[2012/01/18 23:31:44] @ Quit: ldlework: Ping timeout: 240 seconds
[2012/01/18 23:32:37] @ daysmen joined channel #puppet
[2012/01/18 23:32:40] @ daysmen_ joined channel #puppet
[2012/01/18 23:33:16] @ Quit: mauve_: Ping timeout: 240 seconds
[2012/01/18 23:33:28] @ mauve_ joined channel #puppet
[2012/01/18 23:36:21] @ wallblom joined channel #puppet
[2012/01/18 23:37:25] @ johnw` joined channel #puppet
[2012/01/18 23:37:56] <johnw`> hello, I'm having major difficulties getting puppet 2.7.9 to work with puppet 1.9.3p0 on OpenIndiana
[2012/01/18 23:38:12] <johnw`> i finally got it all running, but I simply can't get SSL certificate negotiation to work between two clients
[2012/01/18 23:38:25] <johnw`> I get as far as this: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
[2012/01/18 23:38:33] <johnw`> after running: puppetd --server puppet.boostpro.com --waitforcert 60 --test
[2012/01/18 23:38:47] @ Quit: johnw`: Client Quit
[2012/01/18 23:38:56] @ Quit: samkottler: Ping timeout: 240 seconds
[2012/01/18 23:39:15] @ johnw joined channel #puppet
[2012/01/18 23:39:55] <johnw> if I try: openssl s_client -connect puppet.boostpro.com:8140
[2012/01/18 23:40:03] <johnw> it connects and tells me it's using a self-signed certificate
[2012/01/18 23:40:09] <johnw> so why can't puppet connect?
[2012/01/18 23:40:27] <johnw> I also followed the fixit suggested here: http://j.mp/w621RS
[2012/01/18 23:40:36] <johnw> "SSL Gotcha with Puppet and Ruby 1.9.2"
[2012/01/18 23:40:45] @ gaveen joined channel #puppet
[2012/01/18 23:40:46] @ Quit: gaveen: Changing host
[2012/01/18 23:40:46] @ gaveen joined channel #puppet
[2012/01/18 23:43:10] <johnw> is it because hostname returns puppet.boostpro.com, but the certificate shows the CN as just puppet?
[2012/01/18 23:43:56] @ johnw left channel #puppet ()
[2012/01/18 23:44:24] @ Quit: emmanuelux: Ping timeout: 240 seconds
[2012/01/18 23:45:37] @ Quit: VladGh: Remote host closed the connection
[2012/01/18 23:46:54] @ johnw joined channel #puppet
[2012/01/18 23:47:02] <johnw> sorry, connect being spotty
[2012/01/18 23:47:27] <johnw> so, puppetd --test connects locally on the puppet master, but none of the 3 agents can connect, all with this same SSL error
[2012/01/18 23:47:34] @ Quit: tomben: Read error: Connection reset by peer
[2012/01/18 23:48:09] @ tomben joined channel #puppet
[2012/01/18 23:48:21] @ IndyMichaelB joined channel #puppet
[2012/01/18 23:48:50] @ Wolfspyre joined channel #puppet
[2012/01/18 23:53:11] @ HarrisonZhu joined channel #puppet
[2012/01/18 23:53:17] @ HarrisonZhu left channel #puppet ()
[2012/01/18 23:53:35] <bob2> yes you definitely want to fix your certs
[2012/01/18 23:55:07] <johnw> ok, trying my best to do that
[2012/01/18 23:55:15] @ Quit: hfnix: Quit: Leaving.
[2012/01/18 23:55:40] @ ghanima joined channel #puppet
[2012/01/18 23:55:53] <johnw> i set the hostname to 'puppet', the cert is 'puppet', and --server is using 'puppet'. Now I'm getting "notice: Did not receive certificate", which I haven't seen before
[2012/01/18 23:56:19] @ Tobu joined channel #puppet
[2012/01/18 23:56:21] @ z30 joined channel #puppet
[2012/01/18 23:57:05] <johnw> the only host whose cert request I see in the queue is the one that's on the local network. I'll keep digging into this, thanks

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