Monday, 2011-12-12

[2011/12/12 00:00:29] @ Log started by gepetto
[2011/12/12 00:00:29] @ erthad joined channel #puppet
[2011/12/12 00:00:34] @ alup joined channel #puppet
[2011/12/12 00:01:42] @ emergion joined channel #puppet
[2011/12/12 00:03:30] @ Demosthenes joined channel #puppet
[2011/12/12 00:04:52] @ Quit: lak: Quit: Leaving.
[2011/12/12 00:04:53] @ Marius joined channel #puppet
[2011/12/12 00:07:16] @ langworthy joined channel #puppet
[2011/12/12 00:14:14] @ Quit: nevyn: Ping timeout: 248 seconds
[2011/12/12 00:15:08] @ Quit: erthad: Changing host
[2011/12/12 00:15:08] @ erthad joined channel #puppet
[2011/12/12 00:16:11] @ nevyn joined channel #puppet
[2011/12/12 00:16:30] @ jodok joined channel #puppet
[2011/12/12 00:16:48] @ scobal joined channel #puppet
[2011/12/12 00:18:11] @ Quit: sdog: Ping timeout: 252 seconds
[2011/12/12 00:20:42] @ Ramonster joined channel #puppet
[2011/12/12 00:21:05] @ raphdg joined channel #puppet
[2011/12/12 00:22:52] @ Quit: dissipate: Ping timeout: 240 seconds
[2011/12/12 00:26:24] @ larstobi joined channel #puppet
[2011/12/12 00:29:46] @ Quit: _flex: Remote host closed the connection
[2011/12/12 00:32:59] @ nan0r joined channel #puppet
[2011/12/12 00:34:52] @ Quit: Demosthenes: Ping timeout: 240 seconds
[2011/12/12 00:36:29] @ trickyf joined channel #puppet
[2011/12/12 00:37:09] @ fronlius joined channel #puppet
[2011/12/12 00:38:08] @ csanchez joined channel #puppet
[2011/12/12 00:38:21] @ verwilst joined channel #puppet
[2011/12/12 00:38:29] @ Quit: Marius: Remote host closed the connection
[2011/12/12 00:40:25] @ Quit: langworthy: Quit: langworthy
[2011/12/12 00:40:49] @ KaZeR_W joined channel #puppet
[2011/12/12 00:42:10] @ Quit: scobal: Read error: Connection reset by peer
[2011/12/12 00:43:53] @ scobal joined channel #puppet
[2011/12/12 00:48:29] @ jamido_ joined channel #puppet
[2011/12/12 00:49:09] @ inecas joined channel #puppet
[2011/12/12 00:51:59] @ sdog joined channel #puppet
[2011/12/12 00:53:20] @ dissipate joined channel #puppet
[2011/12/12 00:53:21] @ Quit: dissipate: Changing host
[2011/12/12 00:53:21] @ dissipate joined channel #puppet
[2011/12/12 00:53:32] @ Quit: jamido_: Quit: Page closed
[2011/12/12 01:03:59] @ Quit: johnston: Quit: Page closed
[2011/12/12 01:04:21] @ Quit: bmahe: Quit: Leaving
[2011/12/12 01:05:57] @ Quit: mikhail: Ping timeout: 252 seconds
[2011/12/12 01:07:57] @ ezryx joined channel #puppet
[2011/12/12 01:09:43] @ Quit: sdog: Quit: Leaving.
[2011/12/12 01:10:16] @ sdog joined channel #puppet
[2011/12/12 01:15:49] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/12/12 01:17:19] @ Quit: kubicek: Excess Flood
[2011/12/12 01:17:43] @ Quit: emergion: Quit: later...
[2011/12/12 01:17:43] @ kubicek joined channel #puppet
[2011/12/12 01:18:34] @ emergion joined channel #puppet
[2011/12/12 01:19:54] @ _flex joined channel #puppet
[2011/12/12 01:22:21] @ Yoe joined channel #puppet
[2011/12/12 01:23:07] <Yoe> this is confusing
[2011/12/12 01:23:20] <Yoe> "ensure => absent" on a package on a CentOS system uses RPM
[2011/12/12 01:23:30] <Yoe> "ensure => purged" instead uses yum on the same system
[2011/12/12 01:23:43] * Yoe goes "why?!?"
[2011/12/12 01:23:49] <Yoe> oh well
[2011/12/12 01:24:56] @ Quit: madasi: Ping timeout: 240 seconds
[2011/12/12 01:31:02] @ Quit: maes_`: Ping timeout: 248 seconds
[2011/12/12 01:31:02] @ KingBug_ is now known as KingBug
[2011/12/12 01:33:06] @ matchaw_ joined channel #puppet
[2011/12/12 01:36:11] @ Holocaine joined channel #puppet
[2011/12/12 01:36:51] @ Quit: csanchez: Quit: csanchez
[2011/12/12 01:37:03] @ lkoranda joined channel #puppet
[2011/12/12 01:37:03] @ Quit: matchaw_: Remote host closed the connection
[2011/12/12 01:37:29] @ maes_ joined channel #puppet
[2011/12/12 01:37:32] <eRefre> Hi Hi! Does anyone know who to drop several hosts from the puppet dashboard?
[2011/12/12 01:37:55] <eRefre> we have changed hostname on couple of servers and i don't want to delete the nodes one by one
[2011/12/12 01:38:29] @ xizhendu is now known as xizhendu|off
[2011/12/12 01:39:00] <R1ck> you could write a few sql statements
[2011/12/12 01:39:50] @ Quit: rodjek: Remote host closed the connection
[2011/12/12 01:40:01] @ Quit: lanky: Quit: leaving
[2011/12/12 01:40:30] <eRefre> well yes. I was just wondering if there was a rake or more puppet way to do it
[2011/12/12 01:42:18] @ matchaw_ joined channel #puppet
[2011/12/12 01:42:19] @ Quit: swygue: Remote host closed the connection
[2011/12/12 01:43:07] @ csanchez joined channel #puppet
[2011/12/12 01:44:49] @ tomaso joined channel #puppet
[2011/12/12 01:45:05] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 01:45:47] <tomaso> hello, is it possible to list files stored in filebucket?
[2011/12/12 01:46:56] @ ddp23 joined channel #puppet
[2011/12/12 01:47:07] @ nevyn joined channel #puppet
[2011/12/12 01:47:14] @ Quit: csanchez: Client Quit
[2011/12/12 01:47:31] @ csanchez joined channel #puppet
[2011/12/12 01:48:23] @ lanky joined channel #puppet
[2011/12/12 01:48:24] <ddp23> morning, anyone know please how to set the wait_timeout to something greater than the default of 5 (presumably on the puppetmater)? (To address "could not obtain a database connection within 5 seconds")
[2011/12/12 01:49:20] @ JayTaph left channel #puppet ()
[2011/12/12 01:49:34] @ JayTaph joined channel #puppet
[2011/12/12 01:50:20] <ddp23> also if anyone has any thoughts please on optimal settings for dbconnections and number of puppet master threads to run, I'd be interested?
[2011/12/12 01:50:28] @ Quit: _flex: Remote host closed the connection
[2011/12/12 01:50:56] @ sebnash joined channel #puppet
[2011/12/12 01:51:50] @ rodjek joined channel #puppet
[2011/12/12 01:55:08] @ ali3n0 joined channel #puppet
[2011/12/12 02:00:33] @ MattyM joined channel #puppet
[2011/12/12 02:05:36] @ Quit: sdog: Quit: Leaving.
[2011/12/12 02:06:35] @ Quit: danblack: Ping timeout: 276 seconds
[2011/12/12 02:11:49] @ Guest5779 is now known as Yann2
[2011/12/12 02:13:58] @ ben_duyujie joined channel #puppet
[2011/12/12 02:17:15] @ meltemi_ is now known as meltemi
[2011/12/12 02:22:41] @ mikhail joined channel #puppet
[2011/12/12 02:28:06] @ Quit: jimmy1980: Ping timeout: 255 seconds
[2011/12/12 02:32:25] @ brahman joined channel #puppet
[2011/12/12 02:32:52] @ Quit: mikhail: Ping timeout: 252 seconds
[2011/12/12 02:33:15] <brahman> Hi, what is best practice. using External Node Classifier or using node definitions? are they even mutually exclusive?
[2011/12/12 02:33:43] @ jimmy1980 joined channel #puppet
[2011/12/12 02:34:05] @ Quit: msaum: Quit: Leaving.
[2011/12/12 02:34:34] @ mogitaff joined channel #puppet
[2011/12/12 02:35:59] @ msaum joined channel #puppet
[2011/12/12 02:38:08] @ Quit: ben_duyujie: Ping timeout: 240 seconds
[2011/12/12 02:38:16] @ sdog joined channel #puppet
[2011/12/12 02:41:20] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2011/12/12 02:41:58] @ larsar joined channel #puppet
[2011/12/12 02:41:58] @ geogdog joined channel #puppet
[2011/12/12 02:42:32] @ geogdog left channel #puppet ()
[2011/12/12 02:44:04] @ geogdog joined channel #puppet
[2011/12/12 02:44:33] @ geogdog left channel #puppet ()
[2011/12/12 02:46:06] @ Razique_ joined channel #puppet
[2011/12/12 02:49:58] @ Quit: sdog: Changing host
[2011/12/12 02:49:58] @ sdog joined channel #puppet
[2011/12/12 02:52:58] @ danblack joined channel #puppet
[2011/12/12 02:56:20] @ Quit: msaum: Quit: Leaving.
[2011/12/12 02:59:47] @ msaum joined channel #puppet
[2011/12/12 03:00:40] @ Quit: choonming: Quit: Leaving
[2011/12/12 03:04:20] @ ckauhaus joined channel #puppet
[2011/12/12 03:04:50] <deni> hi, how to list all the signed agents on a puppetmaster?
[2011/12/12 03:05:19] <Evolution> puppetca -la .. stuff with a + = signed.
[2011/12/12 03:06:15] <deni> Evolution: tnx
[2011/12/12 03:07:09] @ Quit: pmorillon: Quit: pmorillon
[2011/12/12 03:18:20] @ mpdude joined channel #puppet
[2011/12/12 03:18:35] @ Quit: msaum: Quit: Leaving.
[2011/12/12 03:20:31] @ msaum joined channel #puppet
[2011/12/12 03:21:54] @ Quit: Legooolas: Read error: Operation timed out
[2011/12/12 03:23:33] @ Legooolas joined channel #puppet
[2011/12/12 03:24:34] @ brtl joined channel #puppet
[2011/12/12 03:25:21] @ ilmenite joined channel #puppet
[2011/12/12 03:26:03] <ilmenite> in a init.pp file, how do i tell it to fail if - a variable from facter is not equal to one of the two specified values?
[2011/12/12 03:27:09] <R1ck> ilmenite: http://docs.puppetlabs.com/references/stable/function.html#fail
[2011/12/12 03:27:19] <ilmenite> thanks R1ck
[2011/12/12 03:27:56] @ Quit: csanchez: Ping timeout: 244 seconds
[2011/12/12 03:28:22] <ilmenite> wait, how do i use this fail function?
[2011/12/12 03:28:55] <R1ck> if ($var1 != $var2) { fail("I fail") }
[2011/12/12 03:30:17] <ilmenite> oh okay
[2011/12/12 03:30:20] <ilmenite> thanks R1ck
[2011/12/12 03:30:28] <R1ck> np, good luck
[2011/12/12 03:33:12] @ Quit: jodok: Read error: Connection reset by peer
[2011/12/12 03:33:24] @ Quit: rubic: Quit: Leaving.
[2011/12/12 03:33:25] @ jodok joined channel #puppet
[2011/12/12 03:33:48] @ Quit: blast_hardcheese: Read error: Operation timed out
[2011/12/12 03:40:35] @ Quit: msaum: Quit: Leaving.
[2011/12/12 03:41:12] @ Razique_ is now known as Razique
[2011/12/12 03:42:06] @ msaum joined channel #puppet
[2011/12/12 03:43:45] @ st33v joined channel #puppet
[2011/12/12 03:47:28] <Roxja> hi guys, I want my puppet master to listen on both ipv4 and ipv6. I have bindaddress = :: in puppet.conf
[2011/12/12 03:47:52] <Roxja> but when i lsof on that port it appears to be only listening on ipv6
[2011/12/12 03:47:58] <Roxja> dual stack possible?
[2011/12/12 03:48:01] <misc> on linux or bsd ?
[2011/12/12 03:48:26] <Roxja> linux
[2011/12/12 03:49:13] @ Quit: gebi: Remote host closed the connection
[2011/12/12 03:51:45] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/12 03:51:56] @ ckauhaus joined channel #puppet
[2011/12/12 03:53:01] <henk> Roxja: How are you running the master?
[2011/12/12 03:53:23] <sdog> Roxja: first advise .. don't run the puppetmaster as a native service .. throw it behind apache+mod_passenger
[2011/12/12 03:53:28] <henk> Roxja: Also see: https://projects.puppetlabs.com/issues/6370
[2011/12/12 03:53:51] <Roxja> henk: as a service
[2011/12/12 03:54:23] @ ecolitan joined channel #puppet
[2011/12/12 03:54:25] @ Quit: nan0r: Quit: Leaving.
[2011/12/12 03:54:35] <Roxja> henk: thanks, that is exactly my problem
[2011/12/12 04:00:57] <Evolution> sdog: out of curiosity, why not run it as a service?
[2011/12/12 04:01:35] <sdog> Evolution: 'cause it doesn't scale for 5 hosts ..
[2011/12/12 04:01:57] <Evolution> that's... an excellent reason.
[2011/12/12 04:02:05] @ Quit: msaum: Quit: Leaving.
[2011/12/12 04:02:06] <sdog> Evolution: http://www.krisbuytaert.be/blog/24-hours-puppet-drama <- just one of the documented experiences ..
[2011/12/12 04:02:15] @ nan0r joined channel #puppet
[2011/12/12 04:02:45] <sdog> Evolution: ok I stand corrected .. 7 hosts :)
[2011/12/12 04:02:52] @ Quit: Holocaine:
[2011/12/12 04:04:54] @ _flex joined channel #puppet
[2011/12/12 04:05:35] @ msaum joined channel #puppet
[2011/12/12 04:08:53] @ kimivegas joined channel #puppet
[2011/12/12 04:09:07] @ kimivegas left channel #puppet ()
[2011/12/12 04:10:53] @ csanchez joined channel #puppet
[2011/12/12 04:22:45] @ Quit: st33v: Quit: st33v
[2011/12/12 04:24:36] @ Quit: msaum: Quit: Leaving.
[2011/12/12 04:25:14] @ DbT_ joined channel #puppet
[2011/12/12 04:25:52] @ Quit: bobra: Ping timeout: 252 seconds
[2011/12/12 04:27:04] @ msaum joined channel #puppet
[2011/12/12 04:30:10] @ Quit: iamchrisf: Quit: iamchrisf
[2011/12/12 04:32:08] @ tolland left channel #puppet ()
[2011/12/12 04:32:54] @ natewalck joined channel #puppet
[2011/12/12 04:33:43] @ car|0s joined channel #puppet
[2011/12/12 04:35:21] @ pmorillon joined channel #puppet
[2011/12/12 04:35:45] @ adnichol1 joined channel #puppet
[2011/12/12 04:35:53] @ Quit: adnichol1: Client Quit
[2011/12/12 04:37:46] @ stevie-bash joined channel #puppet
[2011/12/12 04:40:41] @ Quit: Razique: Quit: Razique
[2011/12/12 04:44:13] @ Quit: BattousaiX: Remote host closed the connection
[2011/12/12 04:45:40] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 04:46:06] @ Quit: msaum: Quit: Leaving.
[2011/12/12 04:46:07] <larstobi> I may have found a scope bug in 2.7.6. Unless I specify File { owner => root, group => root } in global scope, the File { owner => 'jboss', group => 'jboss' } defaults I specify in the class jbossas::config leaks to other modules, affecting the default owner and group of File.
[2011/12/12 04:46:36] <larstobi> unless that's expected behaviour.
[2011/12/12 04:47:28] @ nevyn joined channel #puppet
[2011/12/12 04:48:05] @ msaum joined channel #puppet
[2011/12/12 04:48:25] @ Quit: emergion: Quit: later...
[2011/12/12 04:49:51] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/12 04:50:15] <Callek> larstobi: interesting, what version of puppet?
[2011/12/12 04:50:25] <larstobi> Callek: 2.7.6
[2011/12/12 04:50:26] * Callek is not a puppet dev, but I don't recall having that experience
[2011/12/12 04:50:51] <Callek> so class jbossas::config does not include any other classes?
[2011/12/12 04:51:53] <larstobi> jbossas::config inherits jbossas, but jbossas doesn't include other classes, and certainly not the class I experienced this with
[2011/12/12 04:52:16] @ Quit: ahumbe: Remote host closed the connection
[2011/12/12 04:52:29] @ paroneayea joined channel #puppet
[2011/12/12 04:52:42] <larstobi> however, I include both jbossas::config and jbosson::agent on the same machine
[2011/12/12 04:52:55] <larstobi> note the difference between jbossas and jbosson
[2011/12/12 04:53:20] @ Quit: ilmenite: Ping timeout: 252 seconds
[2011/12/12 04:54:07] @ emergion joined channel #puppet
[2011/12/12 04:54:17] @ Quit: emergion: Client Quit
[2011/12/12 04:54:22] <larstobi> jbosson::agent gets the File owner and group set in a default definition for jbossas::config even though it isn't a subclass of, nor includes, jbossas
[2011/12/12 04:54:31] <henk> Try to reproduce the problem in a minimal example
[2011/12/12 04:54:36] <larstobi> yes, I will
[2011/12/12 04:55:36] @ emergion joined channel #puppet
[2011/12/12 05:03:20] @ jbraeuer joined channel #puppet
[2011/12/12 05:06:22] @ iamchrisf joined channel #puppet
[2011/12/12 05:06:28] @ Quit: JayTaph: Quit: JayTaph
[2011/12/12 05:07:37] @ Quit: msaum: Quit: Leaving.
[2011/12/12 05:07:46] @ cliff-hm joined channel #puppet
[2011/12/12 05:09:50] @ msaum joined channel #puppet
[2011/12/12 05:12:29] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/12 05:12:39] @ susman joined channel #puppet
[2011/12/12 05:13:15] @ mapu joined channel #puppet
[2011/12/12 05:13:19] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/12 05:13:55] @ jimmy1980 joined channel #puppet
[2011/12/12 05:23:21] @ blentz joined channel #puppet
[2011/12/12 05:27:50] @ fir31ight joined channel #puppet
[2011/12/12 05:29:36] @ Quit: msaum: Quit: Leaving.
[2011/12/12 05:30:03] @ Razique joined channel #puppet
[2011/12/12 05:31:12] @ msaum joined channel #puppet
[2011/12/12 05:31:15] @ Quit: fronlius: Read error: Connection reset by peer
[2011/12/12 05:31:24] @ Quit: emergion: Quit: later...
[2011/12/12 05:31:34] @ Quit: eightyei1ht: Ping timeout: 248 seconds
[2011/12/12 05:31:40] @ fronlius joined channel #puppet
[2011/12/12 05:32:35] @ emergion joined channel #puppet
[2011/12/12 05:33:32] @ eightyeight joined channel #puppet
[2011/12/12 05:34:19] <Evolution> okay.. variable question. is the modulepath available for templating?
[2011/12/12 05:34:57] <Evolution> for example setting up a puppetmaster via puppet templates.. can I do modulepath = <%= some-env-var- %> ?
[2011/12/12 05:35:03] <Callek> Evolution: $settings::modulepath
[2011/12/12 05:35:10] <Callek> which can be a variable
[2011/12/12 05:35:17] <Callek> s/variable/array/
[2011/12/12 05:35:33] <Callek> you can also use manifestdir instead if you like :-)
[2011/12/12 05:36:29] <Evolution> is manifestdir prefered?
[2011/12/12 05:37:03] <Evolution> I'm reasonably new to puppet, and some of the documentation I've seen appears to be a little dated or backwards compatible.
[2011/12/12 05:37:11] <kubicek> is there some example puppet module tested by cucumber-puppet (only module, not the entire puppet manifest) i can learn from?
[2011/12/12 05:37:20] <Evolution> Callek: also, is there some doco on calling the variable like you pointed out?
[2011/12/12 05:37:49] <Evolution> or would my syntax + yours work? modulepath = <%= $settings::modulepath %> >
[2011/12/12 05:39:31] <Callek> Evolution: I'm not great with that particular var (since I don't know how puppet behaves when given one modulepath vs multiple with that var + how templates work with arrays here)
[2011/12/12 05:39:41] <Callek> Evolution: but it should work in a template just like any other variable
[2011/12/12 05:39:53] <Callek> $settings is a "magic" class created with puppet
[2011/12/12 05:40:05] <Callek> s/with/by/
[2011/12/12 05:40:15] <Callek> (sorry I haven't slept in a long time -- today)
[2011/12/12 05:40:35] <Evolution> he no worries.
[2011/12/12 05:40:42] <Evolution> er, heh.
[2011/12/12 05:41:07] * Callek hasn't slept in ~17 hours
[2011/12/12 05:41:12] <Evolution> I got up at 2am to take the wife to the airport, so CLEARLY the best thing for me to be doing is automating the deployment of our automations equipment
[2011/12/12 05:41:27] @ mcarpent joined channel #puppet
[2011/12/12 05:42:06] <Evolution> screw it. only one way to find out if this works. YAY for vms....
[2011/12/12 05:42:17] <walkeran> 17 hours... isn't that like a normal day?
[2011/12/12 05:42:46] @ kolla joined channel #puppet
[2011/12/12 05:43:01] <Callek> walkeran: basically "I'm just pretty tired"
[2011/12/12 05:43:09] <Callek> walkeran: not "I haven't slept in 4 days straight"
[2011/12/12 05:43:11] <Callek> :-P
[2011/12/12 05:43:20] <walkeran> :) Just giving you crap
[2011/12/12 05:43:30] <Callek> Evolution: --noop is useful too :-)
[2011/12/12 05:45:00] @ Quit: iamchrisf: Quit: iamchrisf
[2011/12/12 05:46:43] @ freezey joined channel #puppet
[2011/12/12 05:46:47] @ cek joined channel #puppet
[2011/12/12 05:46:56] <Evolution> Callek: http://www.codelord.net/wp-content/uploads/2011/10/test_my_code.jpg
[2011/12/12 05:47:38] <cek> I need to realize the following: https://gist.github.com/3096cc6b0a31a090b3b8 how do i do that?
[2011/12/12 05:47:47] <cek> Collector::Fragment < title =~ /cpanel\.config-stats/ > { notify => Exec['Restart the Cpanel logger'] } will this work?
[2011/12/12 05:49:42] @ Quit: cliff-hm: Ping timeout: 255 seconds
[2011/12/12 05:49:44] @ Quit: pugnacity: Quit: Leaving.
[2011/12/12 05:50:34] <cek> Syntax error at '=~';
[2011/12/12 05:51:07] @ Quit: msaum: Quit: Leaving.
[2011/12/12 05:52:21] @ Quit: jimmy1980: Ping timeout: 268 seconds
[2011/12/12 05:53:29] <walkeran> cek: Your spaceship operator is missing the walls! :) <| |>, not < >
[2011/12/12 05:53:35] @ msaum joined channel #puppet
[2011/12/12 05:53:45] @ uphillian joined channel #puppet
[2011/12/12 05:53:47] <cek> it doesn't work either way
[2011/12/12 05:54:32] <cek> Error 400 on SERVER: Could not match ~ at
[2011/12/12 05:54:50] <walkeran> d'oh... bummer :( I guess I've never used that with a regex, so I don't know
[2011/12/12 05:54:55] @ st33v joined channel #puppet
[2011/12/12 05:55:45] <cek> how do I solve my problem then? i don't want to have notify in each resource there
[2011/12/12 05:56:01] @ marrusl joined channel #puppet
[2011/12/12 05:56:36] <walkeran> cek: Set a default? ... I actually don't think collectors would work that way, anyway.
[2011/12/12 05:56:52] <cek> noah, it's for that gist
[2011/12/12 05:57:40] @ Quit: ironmunk: Ping timeout: 240 seconds
[2011/12/12 05:58:05] @ jimmy1980 joined channel #puppet
[2011/12/12 05:58:06] <walkeran> Is there anything else in that scope that's a Collector::Fragment? If not, I think a default would be the best way to go
[2011/12/12 05:59:40] @ astrostl joined channel #puppet
[2011/12/12 06:01:27] @ Quit: mcarpent: Ping timeout: 240 seconds
[2011/12/12 06:01:44] @ ironmunk joined channel #puppet
[2011/12/12 06:02:05] <cek> of course theres
[2011/12/12 06:02:11] <cek> we have around 15 of them
[2011/12/12 06:02:30] <cek> but in that file scope, nope.
[2011/12/12 06:02:42] <cek> won't settings a default in the file affecting the globab default?
[2011/12/12 06:05:04] @ tmclaugh joined channel #puppet
[2011/12/12 06:05:18] <cek> oh, it won't be triggered in any case, fragment is non subscribable
[2011/12/12 06:06:11] @ aherzog joined channel #puppet
[2011/12/12 06:06:41] @ sduchesneau joined channel #puppet
[2011/12/12 06:10:05] @ st33v left channel #puppet ()
[2011/12/12 06:12:38] @ Quit: msaum: Quit: Leaving.
[2011/12/12 06:14:20] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 06:15:08] @ msaum joined channel #puppet
[2011/12/12 06:16:15] @ nevyn joined channel #puppet
[2011/12/12 06:16:49] @ |Majestic| joined channel #puppet
[2011/12/12 06:16:53] @ mcarpent joined channel #puppet
[2011/12/12 06:19:01] @ lborda joined channel #puppet
[2011/12/12 06:20:27] @ Quit: tmclaugh: Read error: Connection reset by peer
[2011/12/12 06:21:04] @ tmclaugh joined channel #puppet
[2011/12/12 06:23:57] @ Quit: eskp: Read error: Connection reset by peer
[2011/12/12 06:24:14] @ eskp joined channel #puppet
[2011/12/12 06:25:47] @ Quit: nul0op: Ping timeout: 240 seconds
[2011/12/12 06:27:23] @ Quit: Theory: Changing host
[2011/12/12 06:27:24] @ Theory joined channel #puppet
[2011/12/12 06:34:08] @ Quit: msaum: Quit: Leaving.
[2011/12/12 06:34:52] @ Quit: emergion: Quit: later...
[2011/12/12 06:35:20] @ jfroche joined channel #puppet
[2011/12/12 06:36:15] @ msaum joined channel #puppet
[2011/12/12 06:38:38] @ Quit: espent: Quit: espent
[2011/12/12 06:38:44] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/12 06:38:45] @ karmatronic joined channel #puppet
[2011/12/12 06:39:23] <karmatronic> hi guys
[2011/12/12 06:39:25] <jfroche> hello, on a redhat (el6) machine, puppet [2.6.12] is spending its time calling 'sigprocmask' system call - it seems a ruby issue - someone fixed this somehow ?
[2011/12/12 06:39:43] @ Quit: cwebber: Remote host closed the connection
[2011/12/12 06:40:17] <tomben> jfroche: You're probably running into a kernel bug regression fixed in 2.6.13 broke again in 2.6.18
[2011/12/12 06:40:42] @ pugnacity joined channel #puppet
[2011/12/12 06:40:51] <tomben> Ruby has trouble dealing with /proc filesystem on newest RHEL kernel
[2011/12/12 06:41:38] <tomben> or at least, taht's the last hang I've seen
[2011/12/12 06:41:45] <jfroche> tomben: we are running Linux version 2.6.32-131.0.15.el6.i686 - do you have a reference to a ticket somewhere ?
[2011/12/12 06:42:00] <tomben> trying to dig it up
[2011/12/12 06:42:03] <jfroche> tkx
[2011/12/12 06:44:11] @ cliff-hm joined channel #puppet
[2011/12/12 06:44:45] <kjetilho> the standard code in Ruby is too clever for its own good
[2011/12/12 06:45:00] <kjetilho> why on Earth is it bothering to use select() on *files*?
[2011/12/12 06:46:14] @ Quit: jaydg: Remote host closed the connection
[2011/12/12 06:47:09] @ emergion joined channel #puppet
[2011/12/12 06:47:24] @ Quit: emergion: Client Quit
[2011/12/12 06:48:01] @ yuleshow joined channel #puppet
[2011/12/12 06:48:07] <yuleshow> any person here
[2011/12/12 06:48:52] @ yuleshow left channel #puppet ()
[2011/12/12 06:50:12] <|Majestic|> yep
[2011/12/12 06:50:28] @ Quit: pugnacity: Remote host closed the connection
[2011/12/12 06:54:47] @ kangman joined channel #puppet
[2011/12/12 06:55:20] <joe-mac1> kjetilho: maybe it wants to open many files at once or something?
[2011/12/12 06:55:39] @ Quit: msaum: Quit: Leaving.
[2011/12/12 06:56:30] @ toastedpenguin joined channel #puppet
[2011/12/12 06:57:20] @ pugnacity joined channel #puppet
[2011/12/12 06:57:25] @ msaum joined channel #puppet
[2011/12/12 07:00:54] @ abetterlie joined channel #puppet
[2011/12/12 07:01:25] @ nan0r1 joined channel #puppet
[2011/12/12 07:01:31] @ Quit: toastedpenguin: Excess Flood
[2011/12/12 07:01:54] @ Quit: pmorillon: Ping timeout: 252 seconds
[2011/12/12 07:01:57] @ pmorillon joined channel #puppet
[2011/12/12 07:02:27] @ Quit: HostingNerd5000: Read error: Connection reset by peer
[2011/12/12 07:02:36] @ Quit: nevyn: Ping timeout: 255 seconds
[2011/12/12 07:02:54] @ Quit: pugnacity: Remote host closed the connection
[2011/12/12 07:03:00] @ key joined channel #puppet
[2011/12/12 07:03:22] @ HostingNerd5000 joined channel #puppet
[2011/12/12 07:04:35] @ nevyn joined channel #puppet
[2011/12/12 07:04:37] <kjetilho> joe-mac1: select doesn't help there
[2011/12/12 07:04:39] @ Quit: nan0r: Ping timeout: 245 seconds
[2011/12/12 07:05:47] <larstobi> is there any form of autoloading of sub-subclasses in modules? I.e. class jbosson::agent::packages (I tried with agent_packages.pp, but no autoloading occurred)
[2011/12/12 07:07:25] @ ckauhaus joined channel #puppet
[2011/12/12 07:07:34] <henk> larstobi: modules/jbosson/manifests/agent/packages/init.pp should work. There is a bug and explanation somewhere IIRC
[2011/12/12 07:07:57] @ Quit: kolla: Remote host closed the connection
[2011/12/12 07:07:57] <larstobi> henk: hmm. okay, thanks :)
[2011/12/12 07:08:37] <larstobi> henk: so "modules/jbosson/manifests/agent/packages.pp" will not work?
[2011/12/12 07:08:40] @ ddp23 left channel #puppet ()
[2011/12/12 07:08:44] @ rcrowley joined channel #puppet
[2011/12/12 07:09:46] @ Quit: mcarpent: Ping timeout: 252 seconds
[2011/12/12 07:11:26] @ nadavoid joined channel #puppet
[2011/12/12 07:11:36] @ gniks joined channel #puppet
[2011/12/12 07:12:25] <henk> larstobi: I don’t quite recall exactly how it works, but one naming scheme one would expect to work just doesn’t…
[2011/12/12 07:13:22] @ Quit: lkoranda: Quit: Ex-Chat
[2011/12/12 07:13:42] @ helindbe joined channel #puppet
[2011/12/12 07:13:49] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/12 07:15:55] <erthad> hiall
[2011/12/12 07:16:08] @ nevyn joined channel #puppet
[2011/12/12 07:16:09] <larstobi> henk: actually "modules/jbosson/manifests/agent/packages.pp" worked fine! :) thanks for the tip!
[2011/12/12 07:16:11] @ MartVisser joined channel #puppet
[2011/12/12 07:16:18] <erthad> could please anyone remind me where is the changelog/release notes page for puppet?
[2011/12/12 07:18:09] @ Majestic joined channel #puppet
[2011/12/12 07:18:49] <erthad> I can't find that on puppetlabs' site this time and googling does not help
[2011/12/12 07:19:09] @ Quit: _flex: Remote host closed the connection
[2011/12/12 07:20:36] @ mcarpent joined channel #puppet
[2011/12/12 07:21:07] @ Quit: |Majestic|: Ping timeout: 240 seconds
[2011/12/12 07:22:37] @ ldlework joined channel #puppet
[2011/12/12 07:22:59] @ Quit: arnihermann: Read error: Connection reset by peer
[2011/12/12 07:23:01] @ Quit: kesor: Remote host closed the connection
[2011/12/12 07:23:01] @ Quit: tswicegood: Remote host closed the connection
[2011/12/12 07:23:03] @ Quit: avandendorpe: Remote host closed the connection
[2011/12/12 07:23:03] @ Quit: cparedes: Read error: Connection reset by peer
[2011/12/12 07:23:03] @ Quit: lusis: Remote host closed the connection
[2011/12/12 07:23:04] @ Quit: WALoeIII: Read error: Connection reset by peer
[2011/12/12 07:27:04] @ tswicegood joined channel #puppet
[2011/12/12 07:28:14] <Callek> erthad: http://projects.puppetlabs.com/projects/1/wiki/Release_Notes
[2011/12/12 07:29:06] <erthad> Callek: thank you
[2011/12/12 07:29:12] <Callek> np
[2011/12/12 07:30:21] @ Quit: nuknad: Quit: nuknad
[2011/12/12 07:30:54] @ avandendorpe joined channel #puppet
[2011/12/12 07:31:25] @ spiette joined channel #puppet
[2011/12/12 07:31:47] @ kesor joined channel #puppet
[2011/12/12 07:31:52] @ laudo joined channel #puppet
[2011/12/12 07:32:59] <laudo> i need to set iptables for my freeswitch box. I am trying to define a range for dport but for example {10001:65353] doesnet work. I don't find any documentation how to define a range in puppet? Can someone give mit a hint please?
[2011/12/12 07:33:33] @ mikhail joined channel #puppet
[2011/12/12 07:33:41] <dcarley> laudo: are you using puppetlabs-firewall?
[2011/12/12 07:33:45] @ neonflux joined channel #puppet
[2011/12/12 07:34:27] @ lusis joined channel #puppet
[2011/12/12 07:34:40] <laudo> no i think we use the camptocamp one
[2011/12/12 07:34:52] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 07:36:05] @ riha left channel #puppet ()
[2011/12/12 07:36:08] <dcarley> laudo: in which case it takes a range as a colon separated string: dport => "10001:65353"
[2011/12/12 07:36:29] @ nan0r joined channel #puppet
[2011/12/12 07:36:41] @ Diranged joined channel #puppet
[2011/12/12 07:36:52] @ nevyn joined channel #puppet
[2011/12/12 07:36:52] @ labrown joined channel #puppet
[2011/12/12 07:36:54] @ loxo joined channel #puppet
[2011/12/12 07:37:27] <dcarley> laudo: but do consider switching to puppetlabs-firewall, which takes a similar syntax (hypen) but is much better supported/documented.
[2011/12/12 07:38:09] @ hormiga joined channel #puppet
[2011/12/12 07:38:12] <laudo> dcarley: withtout the "[]"brackets?
[2011/12/12 07:38:16] @ Quit: neonflux: Client Quit
[2011/12/12 07:38:24] @ Quit: nan0r1: Ping timeout: 245 seconds
[2011/12/12 07:38:38] <laudo> dcarley: ill definetly have a look at it
[2011/12/12 07:39:14] @ stahnma_ is now known as stahnma
[2011/12/12 07:39:23] @ Quit: sebnash: Quit: Linkinus - http://linkinus.com
[2011/12/12 07:40:48] @ Elwell joined channel #puppet
[2011/12/12 07:41:35] @ mfladischer joined channel #puppet
[2011/12/12 07:44:19] @ neonflux joined channel #puppet
[2011/12/12 07:44:28] <Elwell> Hi folks, How can I do a conditional with file: http://pastebin.com/siABa54p - Yes I know it should be outside of the file {} section, but then do I have to dupliocate all?
[2011/12/12 07:44:48] @ loxo_ joined channel #puppet
[2011/12/12 07:44:57] <Elwell> ah wait - I define $package and use that twice? doh
[2011/12/12 07:45:25] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/12 07:45:28] <dcarley> laudo: correct. string, not array.
[2011/12/12 07:47:07] @ Quit: loxo: Ping timeout: 240 seconds
[2011/12/12 07:48:30] @ Quit: alanevans: Ping timeout: 255 seconds
[2011/12/12 07:48:35] @ loxo joined channel #puppet
[2011/12/12 07:49:22] @ loxo left channel #puppet ()
[2011/12/12 07:49:42] @ Quit: elasticdog: Read error: Connection reset by peer
[2011/12/12 07:49:50] @ elasticdog joined channel #puppet
[2011/12/12 07:49:50] @ Quit: elasticdog: Changing host
[2011/12/12 07:49:50] @ elasticdog joined channel #puppet
[2011/12/12 07:50:38] @ bluemustard joined channel #puppet
[2011/12/12 07:50:39] @ loxo33 joined channel #puppet
[2011/12/12 07:50:56] @ Quit: loxo_: Ping timeout: 240 seconds
[2011/12/12 07:51:23] @ Quit: Majestic: Ping timeout: 252 seconds
[2011/12/12 07:52:10] @ tmclaugh_ joined channel #puppet
[2011/12/12 07:52:43] @ Quit: mikhail: Quit: Leaving
[2011/12/12 07:53:15] @ lak joined channel #puppet
[2011/12/12 07:53:16] @ Quit: lak: Changing host
[2011/12/12 07:53:16] @ lak joined channel #puppet
[2011/12/12 07:53:26] @ Quit: omry_: Ping timeout: 248 seconds
[2011/12/12 07:53:27] @ Quit: tmclaugh: Ping timeout: 255 seconds
[2011/12/12 07:53:27] @ tmclaugh_ is now known as tmclaugh
[2011/12/12 07:53:29] @ Quit: stevie-bash: Quit: Verlassend
[2011/12/12 07:54:05] @ geekbri joined channel #puppet
[2011/12/12 07:54:24] @ Quit: neonflux: Quit: Leaving.
[2011/12/12 07:55:57] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/12 07:56:26] <joe-mac1> no idea then kjetilho, only ever used it on sockets... I imagine tehre is a technical reason for it though
[2011/12/12 07:56:55] @ Quit: mpdude: Ping timeout: 276 seconds
[2011/12/12 07:57:07] @ jongrocho joined channel #puppet
[2011/12/12 07:57:08] <kjetilho> I guess they wanted a single dispatch loop
[2011/12/12 07:57:18] <kjetilho> it gives fairness
[2011/12/12 07:57:34] <joe-mac1> o I c
[2011/12/12 07:57:38] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/12 07:57:54] @ Quit: jongrocho: Remote host closed the connection
[2011/12/12 07:58:44] @ omry_ joined channel #puppet
[2011/12/12 07:59:38] @ nevyn joined channel #puppet
[2011/12/12 08:00:01] @ JayTaph joined channel #puppet
[2011/12/12 08:00:32] @ iw_work joined channel #puppet
[2011/12/12 08:02:02] @ Quit: larstobi: Read error: Connection reset by peer
[2011/12/12 08:02:25] @ seanh-ansca joined channel #puppet
[2011/12/12 08:03:02] @ ghg joined channel #puppet
[2011/12/12 08:03:05] @ Quit: mfladischer: Ping timeout: 268 seconds
[2011/12/12 08:03:08] @ jongrocho joined channel #puppet
[2011/12/12 08:03:09] @ matchaw___ joined channel #puppet
[2011/12/12 08:03:27] @ Quit: matchaw_: Ping timeout: 240 seconds
[2011/12/12 08:04:20] @ andreaturli joined channel #puppet
[2011/12/12 08:04:57] @ mpdude joined channel #puppet
[2011/12/12 08:05:06] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/12 08:05:13] @ Quit: geekbri: Read error: Connection reset by peer
[2011/12/12 08:05:43] @ Quit: zwi: Quit: Leaving.
[2011/12/12 08:06:22] <karmatronic> hello
[2011/12/12 08:06:30] @ Quit: mizzy: Ping timeout: 255 seconds
[2011/12/12 08:06:43] <karmatronic> is its possible to bypass the hash limitation for puppet0.25 clients?
[2011/12/12 08:07:13] <karmatronic> i have a hash defined in my master, and a bunch of hosts, mostly 2.6 and 2.7 clients
[2011/12/12 08:07:19] <_rc_> what hash limitation?
[2011/12/12 08:07:34] <karmatronic> but the hash fails for clients running puppet0.25.5
[2011/12/12 08:07:52] <karmatronic> since those clients dont understand hash syntaxis
[2011/12/12 08:08:07] <_rc_> they should all be handled master-side, and so the client doesn't see the hash in its catalog
[2011/12/12 08:08:39] <karmatronic> my hash is defined on the master
[2011/12/12 08:08:51] <karmatronic> but the client seems to parse it in its catalog
[2011/12/12 08:09:03] <_rc_> can you pastie the error message, and then the bit of manifest you think creates it?
[2011/12/12 08:09:12] <karmatronic> _rc_: yes
[2011/12/12 08:09:26] @ btaitelb joined channel #puppet
[2011/12/12 08:09:38] <karmatronic> $dnsdomains = {
[2011/12/12 08:09:38] <karmatronic> "karma" => ["prout","gnout","voila"] ,
[2011/12/12 08:09:39] <karmatronic> "bill" => ["clinton"] ,
[2011/12/12 08:09:39] <karmatronic> "sergio" => ["mas"]
[2011/12/12 08:09:39] <karmatronic> }
[2011/12/12 08:09:43] <karmatronic> this is my hash
[2011/12/12 08:09:46] <_rc_> not paste to the channel
[2011/12/12 08:09:52] <_rc_> use pastie.org
[2011/12/12 08:10:10] <karmatronic> ok
[2011/12/12 08:10:12] <karmatronic> sorry
[2011/12/12 08:11:15] <karmatronic> http://pastie.org/3005789
[2011/12/12 08:11:52] @ iamchrisf_ joined channel #puppet
[2011/12/12 08:12:14] @ Quit: daysmen: Quit: Lost terminal
[2011/12/12 08:12:59] @ cparedes joined channel #puppet
[2011/12/12 08:13:27] @ cwarden joined channel #puppet
[2011/12/12 08:13:36] @ choonming joined channel #puppet
[2011/12/12 08:13:56] @ kaptk2 joined channel #puppet
[2011/12/12 08:13:57] <_rc_> karmatronic: and what version is the puppetmaster?
[2011/12/12 08:14:26] @ Quit: sdog: Quit: Leaving.
[2011/12/12 08:14:28] <karmatronic> _rc_: master is running 2.6.X
[2011/12/12 08:14:48] <karmatronic> the same manifest works for all 2.6/2.7 clients
[2011/12/12 08:14:53] <_rc_> karmatronic: then show us the real line 9
[2011/12/12 08:15:14] @ jongroch_ joined channel #puppet
[2011/12/12 08:15:17] @ shortbus- joined channel #puppet
[2011/12/12 08:15:19] @ Quit: jongroch_: Client Quit
[2011/12/12 08:15:30] @ Quit: _nalle: Ping timeout: 255 seconds
[2011/12/12 08:17:10] <karmatronic> _rc_: it s the one i put in the paste ;)
[2011/12/12 08:18:12] <_rc_> which is line 9 in the paste?
[2011/12/12 08:19:06] <karmatronic> _rc_: it s the $dnsdomains = { part
[2011/12/12 08:19:23] <_rc_> can we see the lines leading up to it then?
[2011/12/12 08:19:39] <karmatronic> _rc_:
[2011/12/12 08:20:21] <karmatronic> _rc_: http://pastie.org/3005832
[2011/12/12 08:20:29] <karmatronic> _rc_: this paste is more accurate
[2011/12/12 08:21:44] @ Quit: mcarpent: Ping timeout: 245 seconds
[2011/12/12 08:23:05] @ arnihermann joined channel #puppet
[2011/12/12 08:23:06] @ Quit: gniks: Quit: Leaving.
[2011/12/12 08:23:29] @ gniks joined channel #puppet
[2011/12/12 08:25:02] @ WALoeIII joined channel #puppet
[2011/12/12 08:25:10] @ Quit: jongrocho: Quit: ZNC - http://znc.in
[2011/12/12 08:25:39] @ Quit: raphdg: Read error: Connection reset by peer
[2011/12/12 08:26:07] @ Quit: lak: Quit: Leaving.
[2011/12/12 08:26:39] @ jongrocho joined channel #puppet
[2011/12/12 08:27:38] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/12 08:27:44] @ Quit: mpdude: Remote host closed the connection
[2011/12/12 08:28:30] @ Quit: jongrocho: Client Quit
[2011/12/12 08:28:38] <jmslagle> Top level variables can't be accessed with a :: notation right?
[2011/12/12 08:29:03] <jmslagle> Or are they just $::variable
[2011/12/12 08:29:05] @ jongrocho joined channel #puppet
[2011/12/12 08:29:09] <Spads> jmslagle: they are
[2011/12/12 08:29:10] <walkeran> jmslagle: $::toplevelvar, yes
[2011/12/12 08:29:14] <jmslagle> ok
[2011/12/12 08:29:19] <jmslagle> Oh yeah
[2011/12/12 08:29:24] <jmslagle> NODE level are the broken ones
[2011/12/12 08:29:31] @ Quit: iamchrisf_: Quit: iamchrisf_
[2011/12/12 08:30:09] @ Quit: jongrocho: Client Quit
[2011/12/12 08:30:22] <Spads> nodes are so broken that you really ought to just have nodes that do nothing but include classes
[2011/12/12 08:30:31] @ toastedpenguin joined channel #puppet
[2011/12/12 08:30:33] <jmslagle> I'm getting there
[2011/12/12 08:30:38] <jmslagle> Refactoring slowly
[2011/12/12 08:30:45] @ jongrocho joined channel #puppet
[2011/12/12 08:32:03] <henk> karmatronic: Have you tried without the inheritance?
[2011/12/12 08:32:43] @ alanevans joined channel #puppet
[2011/12/12 08:33:17] @ brandon_dacrib joined channel #puppet
[2011/12/12 08:34:04] @ Quit: tripoux: Ping timeout: 252 seconds
[2011/12/12 08:34:05] @ jimmy1980 joined channel #puppet
[2011/12/12 08:34:50] <karmatronic> henk: let s try...
[2011/12/12 08:35:18] <karmatronic> henk: same result
[2011/12/12 08:35:23] @ Quit: andreaturli: Ping timeout: 252 seconds
[2011/12/12 08:36:46] @ mcarpent joined channel #puppet
[2011/12/12 08:37:39] @ mykhyggz joined channel #puppet
[2011/12/12 08:38:14] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/12 08:39:16] <karmatronic> henk: my concern is that i thought that making a test so the hash is defined only for no 0.25.5 clients would be enough
[2011/12/12 08:39:32] * jmslagle needs run stages :P
[2011/12/12 08:39:40] <karmatronic> henk: but those clients still parse the entire catalogue, so they get the error since they dont understand the has syntaxis
[2011/12/12 08:39:52] @ nevyn joined channel #puppet
[2011/12/12 08:40:11] <jmslagle> run stages scare me though :P
[2011/12/12 08:40:55] @ Quit: omry_: Read error: Connection timed out
[2011/12/12 08:41:47] @ omry_ joined channel #puppet
[2011/12/12 08:42:07] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/12 08:42:22] @ Quit: blentz: Read error: Connection reset by peer
[2011/12/12 08:42:23] @ Quit: cliff-hm: Read error: Connection reset by peer
[2011/12/12 08:42:29] @ mpdude joined channel #puppet
[2011/12/12 08:42:33] @ Quit: loxo33: Ping timeout: 268 seconds
[2011/12/12 08:42:37] @ cliff-hm joined channel #puppet
[2011/12/12 08:42:40] @ blentz joined channel #puppet
[2011/12/12 08:42:47] @ loxo33 joined channel #puppet
[2011/12/12 08:43:21] @ p3rror joined channel #puppet
[2011/12/12 08:46:35] <karmatronic> is it possible to define a variable in a separate file and have this file included and read by a given class?
[2011/12/12 08:46:44] @ tripoux joined channel #puppet
[2011/12/12 08:48:07] @ Quit: loxo33: Ping timeout: 240 seconds
[2011/12/12 08:48:28] <limed> karmatronic: yeah
[2011/12/12 08:48:39] <limed> something like this http://pastebin.com/7PWrpk4w
[2011/12/12 08:49:27] <karmatronic> limed: yeah, just did that now...thanks anyway
[2011/12/12 08:49:38] @ Quit: tripoux: Client Quit
[2011/12/12 08:49:47] @ tripoux joined channel #puppet
[2011/12/12 08:50:20] @ trickyf left channel #puppet ()
[2011/12/12 08:50:31] @ newtMcKerr joined channel #puppet
[2011/12/12 08:51:00] @ Quit: joe-mac1: Remote host closed the connection
[2011/12/12 08:51:47] <karmatronic> limed: good, this hacks worked!
[2011/12/12 08:51:53] <karmatronic> thanks everybody
[2011/12/12 08:52:43] <limed> karmatronic: np :)
[2011/12/12 08:54:56] @ Quit: tripoux: Read error: Connection reset by peer
[2011/12/12 08:56:07] @ Quit: mogitaff: Ping timeout: 240 seconds
[2011/12/12 08:56:15] @ Quit: snk: Quit: leaving
[2011/12/12 08:57:09] @ snk joined channel #puppet
[2011/12/12 08:57:11] @ zwi joined channel #puppet
[2011/12/12 08:58:36] @ Quit: MartVisser: Ping timeout: 240 seconds
[2011/12/12 09:00:22] @ ryancoleman joined channel #puppet
[2011/12/12 09:01:16] @ Quit: cliff-hm: Ping timeout: 276 seconds
[2011/12/12 09:01:32] @ Quit: ali3n0: Quit: Leaving.
[2011/12/12 09:01:51] @ Quit: jedi4ever: Quit: jedi4ever
[2011/12/12 09:01:59] <karmatronic> CU guys
[2011/12/12 09:02:01] @ Quit: karmatronic: Quit: leaving
[2011/12/12 09:03:37] @ dylants joined channel #puppet
[2011/12/12 09:03:44] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 09:03:55] @ ascarter joined channel #puppet
[2011/12/12 09:04:56] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/12/12 09:05:40] @ nevyn joined channel #puppet
[2011/12/12 09:05:54] @ sdog joined channel #puppet
[2011/12/12 09:06:50] @ kenperkins joined channel #puppet
[2011/12/12 09:08:04] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/12 09:10:29] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/12 09:10:42] @ Quit: dissipate: Ping timeout: 252 seconds
[2011/12/12 09:11:19] @ Quit: sdog: Changing host
[2011/12/12 09:11:19] @ sdog joined channel #puppet
[2011/12/12 09:11:39] <LoRez> in trying to get puppet to add a setting to an /etc/default file, it doesn't work. the same command works in augtool, but doesn't commit until you save. puppet reports the change as successful, but isn't actually changing the file
[2011/12/12 09:11:41] @ nevyn joined channel #puppet
[2011/12/12 09:12:24] @ benjiedmund joined channel #puppet
[2011/12/12 09:12:29] @ Quit: mosburn: Remote host closed the connection
[2011/12/12 09:12:39] @ Quit: nan0r: Read error: Connection reset by peer
[2011/12/12 09:12:39] <LoRez> puppetmaster-passenger and puppet are both 2.7.6
[2011/12/12 09:13:18] @ tripoux joined channel #puppet
[2011/12/12 09:14:45] @ joe-mac joined channel #puppet
[2011/12/12 09:15:10] @ cliff-hm joined channel #puppet
[2011/12/12 09:15:47] @ MartVisser joined channel #puppet
[2011/12/12 09:15:47] <LoRez> http://pastebin.com/m0yvxxWv
[2011/12/12 09:18:17] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 09:19:50] @ paxos joined channel #puppet
[2011/12/12 09:20:12] @ nevyn joined channel #puppet
[2011/12/12 09:20:35] @ Quit: Razique: Quit: Razique
[2011/12/12 09:21:00] @ Quit: p3rror: Ping timeout: 252 seconds
[2011/12/12 09:21:47] @ Quit: lanky: Quit: Leaving
[2011/12/12 09:23:46] @ nated joined channel #puppet
[2011/12/12 09:24:38] @ p3rror joined channel #puppet
[2011/12/12 09:27:35] @ langworthy joined channel #puppet
[2011/12/12 09:27:37] @ Quit: pmorillon: Quit: pmorillon
[2011/12/12 09:27:56] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 09:28:50] @ Quit: omry_: Ping timeout: 252 seconds
[2011/12/12 09:29:14] @ ghanima joined channel #puppet
[2011/12/12 09:29:44] @ nevyn joined channel #puppet
[2011/12/12 09:30:52] @ hackeye joined channel #puppet
[2011/12/12 09:31:22] @ edwardsharp joined channel #puppet
[2011/12/12 09:32:27] @ omry_ joined channel #puppet
[2011/12/12 09:32:37] <hackeye> hi.. i'm trying to use resource defaults for a file resource.. 1 of the parameters i want to pass to this default is the name/path of the file itself (the actual resource i call later).. is there any variable that will let me access the name of a resource?
[2011/12/12 09:32:58] @ williemach joined channel #puppet
[2011/12/12 09:33:04] @ neonflux joined channel #puppet
[2011/12/12 09:34:10] @ chadskidmore joined channel #puppet
[2011/12/12 09:35:59] @ Quit: cek: Ping timeout: 252 seconds
[2011/12/12 09:36:00] @ lak joined channel #puppet
[2011/12/12 09:36:01] @ Quit: lak: Changing host
[2011/12/12 09:36:01] @ lak joined channel #puppet
[2011/12/12 09:36:16] @ ryancoleman_ joined channel #puppet
[2011/12/12 09:36:22] <hackeye> to elaborate, i want to create a directory structure like /var/lib/{a,b,c} .. a b c are being managed through the fileserver, and i want to put them in with the same parameters (owner, mode, etc.) except for the path.. so it should be something like: source => "/path/to/common/parent/dir/a", "/path/to/common/parent/dir/b" and "/path/to/common/parent/dir/c"
[2011/12/12 09:37:24] @ Quit: marut: Quit: "wheeeeeeeeeeeeee!"
[2011/12/12 09:37:52] <hackeye> so can i specify a resource default where i can subsitute a,b,c with a variable, and then use the same variable in the resource, like: source => "/path/to/common/parent/dir/$filename"?
[2011/12/12 09:38:11] <_rc_> not without making your own define
[2011/12/12 09:39:14] <hackeye> k.. but if i make my own define then i don't get access to the parameters available inside the file resource right? (like ensure => directory, for example)
[2011/12/12 09:40:02] @ Quit: zwi: Quit: Leaving.
[2011/12/12 09:40:09] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 09:40:09] @ marut joined channel #puppet
[2011/12/12 09:40:17] @ Quit: tmclaugh: Quit: tmclaugh
[2011/12/12 09:40:27] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/12/12 09:40:34] <hackeye> also, forget about the default, but even inside a normal resource, like a file.. isn't there a variable to access it's resource title?.. i've tried $title and $name but they both give me the name of the class itself
[2011/12/12 09:41:20] <matchaw___> hey all, anyone seen this error when configuring puppet+passenger ? Message: Cannot stat '/var/lib/puppet/rack/config.ru': Permission denied (13)
[2011/12/12 09:41:39] <matchaw___> the permissions of config.ru are correct, and I have played around and changed them with no luck.
[2011/12/12 09:41:40] <_rc_> within a define $title is the namevar you were called with
[2011/12/12 09:41:48] @ joshcooper joined channel #puppet
[2011/12/12 09:41:52] @ Quit: ascarter: Quit: Computer has gone to sleep.
[2011/12/12 09:42:03] <hackeye> _rc_, yes, but not within a resource like file?
[2011/12/12 09:42:05] <_rc_> within a normal resource, it's whatever it is for that cope
[2011/12/12 09:42:21] @ nevyn joined channel #puppet
[2011/12/12 09:42:25] <_rc_> no, because that would imply compiler trickery that simply isn't there
[2011/12/12 09:42:30] <hackeye> ok.. so there's no built-in variable for the resource title?
[2011/12/12 09:42:39] <_rc_> correct
[2011/12/12 09:42:50] @ bosszaru joined channel #puppet
[2011/12/12 09:42:51] <hackeye> ok.. that answers my questions.. many thanks
[2011/12/12 09:43:11] <_rc_> you get one when you fake it up as a define
[2011/12/12 09:43:22] @ Quit: Elwell: Ping timeout: 252 seconds
[2011/12/12 09:43:41] @ Quit: PhilK: Excess Flood
[2011/12/12 09:44:16] @ Quit: MartVisser: Quit: This computer has gone to sleep
[2011/12/12 09:44:17] <hackeye> i thought about that, but then i don't want to reinvent the wheel :-)
[2011/12/12 09:44:42] @ PhilK joined channel #puppet
[2011/12/12 09:44:57] @ loxo33 joined channel #puppet
[2011/12/12 09:45:05] @ Quit: ryancoleman: Quit: Leaving.
[2011/12/12 09:45:05] @ ryancoleman_ is now known as ryancoleman
[2011/12/12 09:45:14] @ scsinutz joined channel #puppet
[2011/12/12 09:45:35] @ scsinutz left channel #puppet ()
[2011/12/12 09:46:22] @ Quit: hackeye: Quit: Leaving
[2011/12/12 09:48:10] @ Quit: langworthy: Quit: langworthy
[2011/12/12 09:48:43] @ tblamer joined channel #puppet
[2011/12/12 09:48:51] @ Quit: tblamer: Max SendQ exceeded
[2011/12/12 09:49:11] @ tblamer joined channel #puppet
[2011/12/12 09:49:20] @ Quit: tblamer: Max SendQ exceeded
[2011/12/12 09:49:36] @ ken_barber joined channel #puppet
[2011/12/12 09:49:41] @ tblamer joined channel #puppet
[2011/12/12 09:49:49] @ Quit: tblamer: Max SendQ exceeded
[2011/12/12 09:50:05] @ alfism joined channel #puppet
[2011/12/12 09:50:11] @ tblamer joined channel #puppet
[2011/12/12 09:50:21] @ Quit: tblamer: Max SendQ exceeded
[2011/12/12 09:50:36] @ tblamer joined channel #puppet
[2011/12/12 09:50:44] @ Quit: tblamer: Max SendQ exceeded
[2011/12/12 09:51:02] @ tblamer joined channel #puppet
[2011/12/12 09:51:09] @ Quit: tblamer: Max SendQ exceeded
[2011/12/12 09:51:18] @ Quit: iw_work: Remote host closed the connection
[2011/12/12 09:51:32] @ tblamer joined channel #puppet
[2011/12/12 09:51:40] @ Quit: tblamer: Max SendQ exceeded
[2011/12/12 09:51:57] @ tblamer joined channel #puppet
[2011/12/12 09:52:05] @ Quit: tblamer: Max SendQ exceeded
[2011/12/12 09:52:21] @ cek joined channel #puppet
[2011/12/12 09:52:22] @ tblamer joined channel #puppet
[2011/12/12 09:52:23] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 09:52:32] @ ldlework joined channel #puppet
[2011/12/12 09:52:40] @ ryancoleman left channel #puppet ()
[2011/12/12 09:52:54] @ comptona joined channel #puppet
[2011/12/12 09:53:03] @ ryancoleman joined channel #puppet
[2011/12/12 09:53:59] @ nevyn joined channel #puppet
[2011/12/12 09:54:02] @ Quit: omry_: Ping timeout: 252 seconds
[2011/12/12 09:54:09] @ motomike joined channel #puppet
[2011/12/12 09:57:03] @ sascha_ left channel #puppet ()
[2011/12/12 09:57:19] @ Quit: ryancoleman: Quit: ZNC - http://znc.in
[2011/12/12 09:57:40] @ maxmartin joined channel #puppet
[2011/12/12 09:57:50] @ ryancoleman joined channel #puppet
[2011/12/12 09:58:04] @ donavanm joined channel #puppet
[2011/12/12 09:58:08] @ ryancoleman left channel #puppet ()
[2011/12/12 09:58:13] @ donavanm left channel #puppet ()
[2011/12/12 09:58:29] @ Marco133^ joined channel #puppet
[2011/12/12 09:58:34] @ omry_ joined channel #puppet
[2011/12/12 09:58:48] @ Marco133^ left channel #puppet ()
[2011/12/12 09:58:55] @ ryancoleman joined channel #puppet
[2011/12/12 09:59:22] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/12 09:59:24] @ KaiserBeto joined channel #puppet
[2011/12/12 09:59:25] @ KaiserBeto left channel #puppet ()
[2011/12/12 10:01:13] @ mrwacky42 joined channel #puppet
[2011/12/12 10:01:39] @ Quit: ryancoleman: Client Quit
[2011/12/12 10:02:13] @ ryancoleman joined channel #puppet
[2011/12/12 10:02:51] <bd> hm, restarting the puppet agent when /etc/puppet/puppet.conf changes fails
[2011/12/12 10:03:00] <bd> it stops itself, but doesnt start again
[2011/12/12 10:03:20] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/12 10:03:24] <_rc_> you're doing this from withing puppet, correct?
[2011/12/12 10:03:30] <bd> yup
[2011/12/12 10:04:00] <_rc_> yeah, you can't do that
[2011/12/12 10:04:19] @ Quit: sdog: Quit: Leaving.
[2011/12/12 10:04:29] @ nevyn joined channel #puppet
[2011/12/12 10:05:46] <bd> _rc_: not even with a /etc/init.d/pupept reload?
[2011/12/12 10:06:04] @ ascarter joined channel #puppet
[2011/12/12 10:07:02] @ l0n joined channel #puppet
[2011/12/12 10:07:29] <tmz> bd: puppet reloads itself when puppet.conf changes, so you shouldn't have to do it manually.
[2011/12/12 10:07:47] <bd> tmz: fair enough :)
[2011/12/12 10:08:08] @ gebi joined channel #puppet
[2011/12/12 10:08:23] @ cwebber joined channel #puppet
[2011/12/12 10:09:28] <tmz> That said, the init script should restart proplery. It's been a while since I tried it, but I thought that was working. There were issues in the past where manually running puppetd would cause /etc/init.d/puppet status to assume the service was running because it just did a ps and found puppetd in the list.
[2011/12/12 10:10:42] @ phishy joined channel #puppet
[2011/12/12 10:11:35] <phishy> how do i make puppet run a command before anything else happens, w/o specifically subscribing everything to one event. Trying to run apt-get update before anything happens..
[2011/12/12 10:11:44] <bd> puppet is started from /etc/init.d/#puppet
[2011/12/12 10:11:55] <tobert> phishy: I'm using stages for that right now
[2011/12/12 10:12:36] <tobert> it's pretty ugly but I think they meant it to be
[2011/12/12 10:13:06] @ Quit: newtMcKerr: Read error: Connection reset by peer
[2011/12/12 10:13:14] <phishy> tobert: hm, stages, eh
[2011/12/12 10:13:14] <agaffney> phishy: Package { require => Exec["apt-get update"] }
[2011/12/12 10:13:19] @ newtMcKerr joined channel #puppet
[2011/12/12 10:13:19] <agaffney> phishy: put that in site.pp
[2011/12/12 10:13:24] <agaffney> and then define the Exec somewhere
[2011/12/12 10:13:36] @ Quit: MattyM: Remote host closed the connection
[2011/12/12 10:14:00] <phishy> so that's a global change.. every package requires that update has run?
[2011/12/12 10:14:23] <agaffney> yes
[2011/12/12 10:15:08] @ pcarlisle joined channel #puppet
[2011/12/12 10:15:33] <phishy> agaffney: thanks, i'll try that.. i suppose site.pp is magically loaded as well
[2011/12/12 10:15:43] @ metcalfc joined channel #puppet
[2011/12/12 10:15:52] <agaffney> yes, that file is evaluated before any others
[2011/12/12 10:16:41] <phishy> agaffney: currently using vagrant which is autoloading base.pp
[2011/12/12 10:18:12] <agaffney> never played with vagrant
[2011/12/12 10:18:25] <agaffney> it looks like it's just a wrapper for invoking the puppet agent locally with local manifests
[2011/12/12 10:18:31] <agaffney> in that case, put the override in base.pp
[2011/12/12 10:21:03] @ Quit: astrostl:
[2011/12/12 10:21:13] @ bmahe joined channel #puppet
[2011/12/12 10:21:36] <torrancew> phishy: with vagrant, you don't have to abide the site.pp. Vagrant will execute the manifest you specify
[2011/12/12 10:21:40] @ Quit: cek: Ping timeout: 240 seconds
[2011/12/12 10:22:58] <Diranged> ok im a bit confused by the $ec2_ facts… i can see them when i run 'facter -p', but puppet seems to think they're all undefined..
[2011/12/12 10:23:38] @ Quit: phishy: Read error: Connection reset by peer
[2011/12/12 10:25:03] @ astrostl joined channel #puppet
[2011/12/12 10:25:17] @ Quit: bluemustard: Quit: bluemustard
[2011/12/12 10:25:42] @ langworthy joined channel #puppet
[2011/12/12 10:26:25] <agaffney> Diranged: depdending on which fact .rb you're using, those will just pull from /var/spool/ec2 (or something like that)
[2011/12/12 10:26:30] <agaffney> and another script is required to populate that
[2011/12/12 10:26:35] @ tmclaugh joined channel #puppet
[2011/12/12 10:26:38] <agaffney> look at the code and see what it's looking for
[2011/12/12 10:26:52] @ iamchrisf_ joined channel #puppet
[2011/12/12 10:26:54] <Diranged> right now im relying on the built-in ec2.rb in the facter path
[2011/12/12 10:27:15] <Diranged> but facter -p on the puppet client host shows all the values for the $ec2 variables
[2011/12/12 10:28:38] @ Quit: nevyn: Ping timeout: 248 seconds
[2011/12/12 10:29:29] @ Quit: dkr: Quit: Leaving
[2011/12/12 10:30:12] @ phishy joined channel #puppet
[2011/12/12 10:30:21] @ nevyn joined channel #puppet
[2011/12/12 10:30:48] @ littleidea joined channel #puppet
[2011/12/12 10:32:00] @ zwi joined channel #puppet
[2011/12/12 10:33:28] @ emsearcy joined channel #puppet
[2011/12/12 10:34:11] @ Quit: fronlius: Ping timeout: 252 seconds
[2011/12/12 10:34:36] @ Quit: fhd: Ping timeout: 240 seconds
[2011/12/12 10:35:05] @ Quit: KaZeR: Read error: No route to host
[2011/12/12 10:35:29] @ ohadlevy joined channel #puppet
[2011/12/12 10:35:30] @ jbraeuer_ joined channel #puppet
[2011/12/12 10:35:36] @ fhd joined channel #puppet
[2011/12/12 10:36:01] @ Quit: jbraeuer: Ping timeout: 268 seconds
[2011/12/12 10:36:01] @ jbraeuer_ is now known as jbraeuer
[2011/12/12 10:36:36] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 10:37:34] @ Quit: MattTheRat: Changing host
[2011/12/12 10:37:34] @ MattTheRat joined channel #puppet
[2011/12/12 10:38:50] @ nevyn joined channel #puppet
[2011/12/12 10:39:00] @ _nalle joined channel #puppet
[2011/12/12 10:40:46] @ Hypnoz joined channel #puppet
[2011/12/12 10:41:03] @ KaiserBeto joined channel #puppet
[2011/12/12 10:41:12] @ KaiserBeto left channel #puppet ()
[2011/12/12 10:41:36] @ Quit: ezryx: Remote host closed the connection
[2011/12/12 10:42:26] <phishy> how does puppet abstract package names to different package maagers?
[2011/12/12 10:42:51] <phishy> since the same packages have different names in different package managers
[2011/12/12 10:43:10] <joe-mac> phishy: you would need to set name up by using a selector based on operatingsystem or something
[2011/12/12 10:43:46] <phishy> ah ok, it's explicit. cool. i didn't think it would be that magical by default. ;-)
[2011/12/12 10:44:31] @ Quit: mcarpent: Ping timeout: 244 seconds
[2011/12/12 10:44:47] @ iw_work joined channel #puppet
[2011/12/12 10:45:54] @ Quit: Diranged: Ping timeout: 245 seconds
[2011/12/12 10:45:57] <anrxc> i have a need to recognize if a variable is a domain or subdomain, I'm thinking in python terms of splitting the variable on character "." and counting the members of the new list
[2011/12/12 10:46:22] <anrxc> if 2 domain, if >3 subdomain... but am i on the wrong path here
[2011/12/12 10:47:32] <agaffney> anrxc: use a regex
[2011/12/12 10:47:36] <anrxc> for each website apache module needs to create a development version of it on the staging server, and customer has all kinds of weird domains
[2011/12/12 10:47:49] <anrxc> and rules
[2011/12/12 10:47:59] <anrxc> agaffney: ok, i'll check the wiki, thanks
[2011/12/12 10:48:10] <emsearcy> anrxc: if $var =~ /^[^.]*\.[^\.]+$/ something like that
[2011/12/12 10:48:32] <agaffney> if $foo ~ /^[^\.]+\.[^\.]+$/ { # domain } else { # subdomain }
[2011/12/12 10:48:58] <anrxc> thanks guys
[2011/12/12 10:49:20] @ Diranged joined channel #puppet
[2011/12/12 10:49:33] <emsearcy> (I'm pretty sure periods in character classes default to explicit, not wildcard. oddly I did my first without and my second with)
[2011/12/12 10:50:17] <joe-mac> yea, test it at rubular
[2011/12/12 10:51:03] <agaffney> emsearcy: I was unsure on that point, but I think it works fine escaped, too
[2011/12/12 10:53:44] @ Quit: hormiga: Ping timeout: 276 seconds
[2011/12/12 10:54:29] @ althara joined channel #puppet
[2011/12/12 10:56:07] @ Quit: astrostl:
[2011/12/12 10:56:07] @ sdog joined channel #puppet
[2011/12/12 10:56:11] @ hormiga joined channel #puppet
[2011/12/12 10:57:06] @ Quit: sdog: Changing host
[2011/12/12 10:57:06] @ sdog joined channel #puppet
[2011/12/12 10:57:20] @ mcarpent joined channel #puppet
[2011/12/12 11:00:53] @ Quit: kubicek: Excess Flood
[2011/12/12 11:00:56] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/12 11:00:57] @ kubicek joined channel #puppet
[2011/12/12 11:00:58] @ Quit: kubicek: Excess Flood
[2011/12/12 11:01:10] @ erthad left channel #puppet ()
[2011/12/12 11:02:21] @ kubicek joined channel #puppet
[2011/12/12 11:04:09] @ Quit: flipwork: Quit: Lost terminal
[2011/12/12 11:04:45] @ mattswe joined channel #puppet
[2011/12/12 11:05:02] @ Quit: mattswe: Client Quit
[2011/12/12 11:08:48] @ Quit: cliff-hm: Read error: Operation timed out
[2011/12/12 11:10:27] <ashp> Weird, I updated to RHEL 6.2 and now my firewall stuff isn't working right
[2011/12/12 11:11:20] <ashp> I think the puppetlabs module failed to do an iptables save right
[2011/12/12 11:11:24] <ashp> so after a reboot everything was screwed
[2011/12/12 11:11:25] @ Quit: ohadlevy: Ping timeout: 248 seconds
[2011/12/12 11:13:57] @ Quit: omry_: Read error: Connection timed out
[2011/12/12 11:16:19] @ flipwork joined channel #puppet
[2011/12/12 11:16:40] @ illsci joined channel #puppet
[2011/12/12 11:16:41] @ Quit: loxo33: Read error: Connection reset by peer
[2011/12/12 11:16:49] @ omry_ joined channel #puppet
[2011/12/12 11:16:54] <illsci> Hey is there a way to do package installations in a way that forces the install
[2011/12/12 11:17:00] <illsci> like if dependancies wouldnt have been met
[2011/12/12 11:17:15] <illsci> or like well my situation is I have code that were making packages of
[2011/12/12 11:17:34] <agaffney> illsci: use an Exec
[2011/12/12 11:17:35] <illsci> app-rc app-prod and because they have the different branch names
[2011/12/12 11:17:39] <illsci> werd...
[2011/12/12 11:17:50] <agaffney> none of the package providers allow passing of arbitrary arguments to the package manager
[2011/12/12 11:17:52] <illsci> so there is no way to do that with the package type?
[2011/12/12 11:17:56] <illsci> k
[2011/12/12 11:19:31] @ emsearcy_OSL joined channel #puppet
[2011/12/12 11:20:49] <chrischris> anyone know if there are patterns for sharing ENC type node info with puppet apply scripts locally ?
[2011/12/12 11:21:26] @ verwilst joined channel #puppet
[2011/12/12 11:21:53] <chrischris> specifically using the yaml format that the ENC's return but, using `puppet apply`
[2011/12/12 11:22:21] @ cliff-hm joined channel #puppet
[2011/12/12 11:23:14] <fallen> I'm trying to use the parameterized class feature in ENC (puppet 2.6.5+) to set a "version" variable to templates. Up to now, it was done by means of a class definition like this: class blabla-1 { $version = 1; include blabla }
[2011/12/12 11:23:28] @ nadavoid_ joined channel #puppet
[2011/12/12 11:23:49] @ Quit: nadavoid: Ping timeout: 245 seconds
[2011/12/12 11:24:04] @ Quit: laudo: Ping timeout: 258 seconds
[2011/12/12 11:24:06] <fallen> how can I make that scoped variable visible inside the class without rewriting all classes to use parametized values?
[2011/12/12 11:24:55] <chrischris> fallen: I am not sure if this will help, but I just saw this article the other day: http://www.craigdunn.org/2011/09/puppet-parameterized-classes-vs-definitions/
[2011/12/12 11:26:48] <fallen> hummm lemme try this
[2011/12/12 11:26:51] <fallen> thank you!
[2011/12/12 11:26:58] <chrischris> fallen: np
[2011/12/12 11:28:00] @ Quit: karsten: Changing host
[2011/12/12 11:28:00] @ karsten joined channel #puppet
[2011/12/12 11:28:19] @ jedi4ever joined channel #puppet
[2011/12/12 11:28:42] @ Quit: emsearcy: Quit: nick change
[2011/12/12 11:28:51] @ emsearcy_OSL is now known as emsearcy
[2011/12/12 11:30:21] @ hco-bitlbee-mba joined channel #puppet
[2011/12/12 11:31:39] @ ahuman_ is now known as ahuman
[2011/12/12 11:31:46] @ the_ramink joined channel #puppet
[2011/12/12 11:32:17] @ Quit: omry_: Read error: Connection timed out
[2011/12/12 11:33:23] @ omry_ joined channel #puppet
[2011/12/12 11:34:22] @ Quit: jbraeuer: Quit: jbraeuer
[2011/12/12 11:34:48] <fallen> is there any way to iterate over a hash inside a class definition?
[2011/12/12 11:35:02] @ Quit: btaitelb: Quit: btaitelb
[2011/12/12 11:35:03] @ astrostl joined channel #puppet
[2011/12/12 11:36:47] @ btaitelb joined channel #puppet
[2011/12/12 11:38:01] @ Quit: aherzog: Quit: aherzog
[2011/12/12 11:38:33] @ Quit: bmahe: Quit: Leaving
[2011/12/12 11:38:35] <torrancew> fallen: inline_template() ?
[2011/12/12 11:39:43] @ fronlius joined channel #puppet
[2011/12/12 11:40:56] <fallen> could I make puppet interpret the inline_template output?
[2011/12/12 11:40:57] <anrxc> agaffney: worked perfect, i replaced a lot of hard-coded stuff used by now, much obliged
[2011/12/12 11:41:06] @ Quit: btaitelb: Ping timeout: 252 seconds
[2011/12/12 11:41:16] <torrancew> fallen: I'm not sure what you want to do with it
[2011/12/12 11:41:22] <eric0> fallen: what are you trying to accomplish?
[2011/12/12 11:43:30] <fallen> let me pastebin what I have
[2011/12/12 11:44:37] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/12/12 11:45:25] @ gaahrdner joined channel #puppet
[2011/12/12 11:45:50] @ Quit: kubicek: Excess Flood
[2011/12/12 11:45:54] @ kubicek joined channel #puppet
[2011/12/12 11:45:55] @ Quit: kubicek: Excess Flood
[2011/12/12 11:45:55] @ gaahrdner left channel #puppet ()
[2011/12/12 11:46:58] @ kubicek joined channel #puppet
[2011/12/12 11:47:01] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/12 11:48:12] @ |Majestic| joined channel #puppet
[2011/12/12 11:48:33] @ ckauhaus joined channel #puppet
[2011/12/12 11:49:09] <fallen> http://pastebin.com/8Ctn7Wbx
[2011/12/12 11:49:45] <fallen> there are about 3k classes defined atm. I would rather NOT have to modify each one to use parametized values
[2011/12/12 11:50:16] <fallen> I thought about use a middle class that would set the scoped variable and call the proper class
[2011/12/12 11:50:26] <fallen> using*
[2011/12/12 11:50:27] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/12/12 11:51:00] @ brandon_dacrib joined channel #puppet
[2011/12/12 11:51:15] <fallen> If I could pass a list of classes+versions for that middle guy, I could make it iterate over all the class calls
[2011/12/12 11:51:31] <fallen> that's why I asked if it was possible to iterate over a hash/array
[2011/12/12 11:52:52] <fallen> there are about 40k of those pesky template/include classes today, and getting rid of them would be a huge performance improvement
[2011/12/12 11:53:04] @ nul0op joined channel #puppet
[2011/12/12 11:54:31] <fallen> any hints, links, ideas, RTFM's...?
[2011/12/12 11:55:43] <fallen> it would also solve my problem if I could get the puppet client to execute the output of inline_template
[2011/12/12 12:00:39] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 12:02:03] @ loxo33 joined channel #puppet
[2011/12/12 12:02:38] @ nevyn joined channel #puppet
[2011/12/12 12:03:03] @ newtMcKerr joined channel #puppet
[2011/12/12 12:03:49] @ gaahrdner joined channel #puppet
[2011/12/12 12:04:08] @ hco-bitlbee-mba joined channel #puppet
[2011/12/12 12:05:19] @ Quit: PhilK: Excess Flood
[2011/12/12 12:05:25] <illsci> So up until now... I've only done installs with puppet because I could just rebuild my hosts to a fresh base to do reinstalls with different package names
[2011/12/12 12:06:02] @ Quit: |Majestic|: Ping timeout: 252 seconds
[2011/12/12 12:06:11] <illsci> I think instead of changing all my package types to execs and overriding the install commands to --force or whatever to just do 2 puppet runs where the first removes the current code
[2011/12/12 12:06:20] <illsci> Is that what most people do?
[2011/12/12 12:06:32] <illsci> Or do they manage the dependancies in the packages themsevles so it's not an issue
[2011/12/12 12:06:54] <illsci> I'm like automatically building my code and packaging it and I have the branch names in the package name
[2011/12/12 12:07:04] @ |Majestic| joined channel #puppet
[2011/12/12 12:07:12] @ PhilK joined channel #puppet
[2011/12/12 12:07:30] <illsci> I'm just curious how other people deal that have a similar setup deal with that
[2011/12/12 12:07:58] <illsci> How other people who have a similar setup deal with that...
[2011/12/12 12:08:11] <gaahrdner> I don't follow...
[2011/12/12 12:08:14] @ Majestic joined channel #puppet
[2011/12/12 12:08:33] @ Quit: hco-bitlbee-mba: Client Quit
[2011/12/12 12:08:45] <nitram_macair> anyone seen a bug where puppet keeps adding the same cronjob over and over.
[2011/12/12 12:08:48] <illsci> I automatically build packages from source stored in git and there is a prod, dev, and rc branch
[2011/12/12 12:09:04] <gaahrdner> oh ok, and you are building them into .deb or .rpm or some package format?
[2011/12/12 12:09:05] <illsci> my packages come out like app-dev, app-rc, app-prod
[2011/12/12 12:09:09] <illsci> yes
[2011/12/12 12:09:38] <illsci> I want to use the same packages that are QA'd, the same exact binaries stored in my apt repo, on my prod setup
[2011/12/12 12:09:41] <nitram_macair> and i have not touched the headers.
[2011/12/12 12:10:26] @ Quit: labrown: Quit: Leaving
[2011/12/12 12:10:34] <illsci> everything works great until I want to install app-rc packages on a host that already has app-prod.... then the package management system says go tell hell these conflict
[2011/12/12 12:11:24] <illsci> So I'm trying to decide where to deal with that... I think my options are package dependancies, I could use execs instead of package {} to override the install commands to force the removal of preexisting packages...
[2011/12/12 12:11:32] @ Quit: loxo33: Ping timeout: 252 seconds
[2011/12/12 12:11:39] @ Quit: |Majestic|: Ping timeout: 252 seconds
[2011/12/12 12:13:00] @ Quit: paxos: Quit: Leaving.
[2011/12/12 12:13:27] <huismon> .
[2011/12/12 12:13:32] @ huismon is now known as nate_h
[2011/12/12 12:13:37] <gaahrdner> Hmm yeah, I'm not sure. I wouldn't have put the environment name in the package name though. But then I guess you couldn't install Dev/Test on the same box
[2011/12/12 12:14:28] @ Quit: nadavoid_: Remote host closed the connection
[2011/12/12 12:14:38] @ Quit: kermit: Quit: Leaving.
[2011/12/12 12:14:54] @ kermit joined channel #puppet
[2011/12/12 12:15:32] @ Quit: Evolution: Quit: ZOMG rigeld2 MURDERED ME
[2011/12/12 12:16:03] @ Reepicheep joined channel #puppet
[2011/12/12 12:16:26] @ nadavoid joined channel #puppet
[2011/12/12 12:16:28] @ Quit: hormiga: Ping timeout: 240 seconds
[2011/12/12 12:20:50] @ skm joined channel #puppet
[2011/12/12 12:23:30] @ dylants joined channel #puppet
[2011/12/12 12:24:03] <fallen> found a solution
[2011/12/12 12:24:09] <fallen> ...although I feel dirty :(
[2011/12/12 12:24:22] <fallen> pass an array with the keys to a hash, and pass the hash
[2011/12/12 12:26:42] @ Quit: mapu: Quit: mapu
[2011/12/12 12:27:27] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 12:28:03] @ geekbri joined channel #puppet
[2011/12/12 12:29:00] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/12 12:29:18] @ btaitelb joined channel #puppet
[2011/12/12 12:29:28] @ nevyn joined channel #puppet
[2011/12/12 12:32:10] @ Quit: chadskidmore: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/12 12:32:48] @ labrown joined channel #puppet
[2011/12/12 12:32:59] @ MrBIOS-seamicro is now known as MrBIOS
[2011/12/12 12:33:02] @ Quit: PhilK: Excess Flood
[2011/12/12 12:34:25] @ Quit: btaitelb: Read error: Connection reset by peer
[2011/12/12 12:36:42] @ Quit: localhost: Read error: Connection reset by peer
[2011/12/12 12:36:42] @ PhilK joined channel #puppet
[2011/12/12 12:37:04] @ wilmoore joined channel #puppet
[2011/12/12 12:37:52] @ localhost joined channel #puppet
[2011/12/12 12:38:40] @ Quit: car|0s: Read error: Connection reset by peer
[2011/12/12 12:38:49] @ Quit: labrown: Ping timeout: 245 seconds
[2011/12/12 12:39:54] @ rharrison joined channel #puppet
[2011/12/12 12:43:13] @ labrown joined channel #puppet
[2011/12/12 12:45:36] @ Quit: smintz: Ping timeout: 240 seconds
[2011/12/12 12:47:01] @ Quit: exceion: Quit: leaving
[2011/12/12 12:47:06] @ Quit: natewalck: Quit: Outta here
[2011/12/12 12:47:11] <eric0> fallen: yeah you can do this: https://gist.github.com/a6b3fd892f274582984b
[2011/12/12 12:47:44] <eric0> or use the create_resources function to create instances of a defined type
[2011/12/12 12:47:48] @ Quit: sduchesneau: Ping timeout: 252 seconds
[2011/12/12 12:49:40] <chrischris> eric0: similar question -- is there a way to use that yaml that is specified by the enc on a `puppet apply` run ?
[2011/12/12 12:52:20] @ |Majestic| joined channel #puppet
[2011/12/12 12:53:31] <eric0> chrischris: puppet apply will run an ENC if its specified and executable
[2011/12/12 12:54:27] @ Quit: Majestic: Ping timeout: 240 seconds
[2011/12/12 12:54:37] @ seanh-ansca1 joined channel #puppet
[2011/12/12 12:54:50] @ Majestic joined channel #puppet
[2011/12/12 12:55:55] <chrischris> eric0: oh...interesting - this is using puppet.conf and pointing to an executable locally that will return config yaml ? (i.e. use-case: vagrant, where there is no master)
[2011/12/12 12:55:56] @ Quit: langworthy: Ping timeout: 240 seconds
[2011/12/12 12:56:23] <chrischris> (or by default no master...)
[2011/12/12 12:56:36] @ Quit: seanh-ansca: Ping timeout: 240 seconds
[2011/12/12 12:57:00] @ Quit: |Majestic|: Ping timeout: 248 seconds
[2011/12/12 12:57:16] @ langworthy joined channel #puppet
[2011/12/12 12:57:32] @ fredden joined channel #puppet
[2011/12/12 12:59:27] @ Quit: nevyn: Ping timeout: 255 seconds
[2011/12/12 13:00:28] <eric0> yes
[2011/12/12 13:00:39] <chrischris> eric0: thanks
[2011/12/12 13:01:23] @ nevyn joined channel #puppet
[2011/12/12 13:03:55] @ Quit: PhilK: Excess Flood
[2011/12/12 13:05:18] @ mapu joined channel #puppet
[2011/12/12 13:05:22] @ dylants left channel #puppet ()
[2011/12/12 13:05:40] @ sduchesneau joined channel #puppet
[2011/12/12 13:06:12] @ PhilK joined channel #puppet
[2011/12/12 13:07:15] @ illsci left channel #puppet ()
[2011/12/12 13:08:38] @ Quit: JayTaph: Remote host closed the connection
[2011/12/12 13:08:58] @ JayTaph joined channel #puppet
[2011/12/12 13:09:34] @ Quit: jedi4ever: Quit: jedi4ever
[2011/12/12 13:10:38] @ rcrowley joined channel #puppet
[2011/12/12 13:13:07] <phishy> Just learning puppet.. easiest way to copy a config file is for a service it to use file resource, yes?
[2011/12/12 13:13:29] @ scsinutz joined channel #puppet
[2011/12/12 13:13:48] <misc> yes
[2011/12/12 13:13:53] <fallen> eric0: for the moment, we are stuck with 2.6.x puppetmaster
[2011/12/12 13:14:04] <fallen> so, create_resources are not really an option
[2011/12/12 13:14:18] <fallen> (at least the doc I read said it's only on 2.7 branch)
[2011/12/12 13:14:40] @ jedi4ever joined channel #puppet
[2011/12/12 13:15:29] <agaffney> create_resources definitely works in 2.6.x
[2011/12/12 13:15:31] <agaffney> I'm using it
[2011/12/12 13:15:51] <agaffney> although, it's in a custom parser function
[2011/12/12 13:15:55] <fallen> eric0: but thank you for the suggestion :) we are planning on upgrade this beast as soon as we get the deployment guys off our arses because of puppet slugishness
[2011/12/12 13:16:23] <kenperkins> is there a way to do the inverse of onlyif?
[2011/12/12 13:16:24] <fallen> agaffney: patching the service wont sound too good in my boss' ears heh
[2011/12/12 13:16:30] <agaffney> kenperkins: unless
[2011/12/12 13:16:38] <kenperkins> i.e. run something when a command doesn't return 0
[2011/12/12 13:16:54] <eric0> fallen: you don't have any pluginsync'ed facts/functions/types?
[2011/12/12 13:17:14] <nlew> kenperkins: unless
[2011/12/12 13:18:07] <fallen> eric0: just on - it uses the hostname to form the pool name of that resources (basically, machine1 becomes pool-machine)
[2011/12/12 13:18:08] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 13:19:05] @ Quit: iamchrisf_: Read error: Connection reset by peer
[2011/12/12 13:19:10] @ iamchrisf_ joined channel #puppet
[2011/12/12 13:19:15] <kenperkins> let me clarify: I have an exec that installs node js to a specific version. I want to check that the output of "node -v" == the version that I expect and return 0
[2011/12/12 13:20:04] @ nevyn joined channel #puppet
[2011/12/12 13:20:08] <kenperkins> I guess this would do it: unless => "node -v | grep v0.4.11"
[2011/12/12 13:20:16] <gaahrdner> yesh unless vs onlyfi
[2011/12/12 13:20:59] @ seanh-ansca joined channel #puppet
[2011/12/12 13:21:33] @ Quit: seanh-ansca1: Read error: Operation timed out
[2011/12/12 13:21:34] <wooster>
[2011/12/12 13:23:42] <eric0> indeed
[2011/12/12 13:26:20] <kenperkins> wooster: my sentiments exactly
[2011/12/12 13:27:27] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/12 13:27:40] @ Quit: catay: Ping timeout: 240 seconds
[2011/12/12 13:28:12] @ jbraeuer joined channel #puppet
[2011/12/12 13:28:29] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/12 13:29:01] @ newtMcKerr joined channel #puppet
[2011/12/12 13:30:11] @ ^Majestic^ joined channel #puppet
[2011/12/12 13:31:36] @ Holocaine joined channel #puppet
[2011/12/12 13:31:38] @ jantman joined channel #puppet
[2011/12/12 13:32:51] <jantman> I'm trying to setup puppet master 2.6.12 and dashboard 1.2.3 under Passenger on CentOS 6.0. I have the master working, and I have dashboard working but no reports are coming in. The only thing I see in the access logs for dashboard is "GET /" 400
[2011/12/12 13:32:52] <jantman> any ideas?
[2011/12/12 13:33:16] @ Quit: Majestic: Ping timeout: 248 seconds
[2011/12/12 13:33:20] @ hormiga joined channel #puppet
[2011/12/12 13:33:21] @ Quit: hormiga: Client Quit
[2011/12/12 13:33:52] @ Quit: newtMcKerr: Client Quit
[2011/12/12 13:34:11] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/12 13:35:00] @ Quit: jbraeuer: Quit: jbraeuer
[2011/12/12 13:35:53] @ tilgovi joined channel #puppet
[2011/12/12 13:35:53] @ Quit: tilgovi: Changing host
[2011/12/12 13:35:54] @ tilgovi joined channel #puppet
[2011/12/12 13:36:05] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/12 13:36:11] @ Quit: tmclaugh: Quit: tmclaugh
[2011/12/12 13:37:54] @ catay joined channel #puppet
[2011/12/12 13:39:33] @ Quit: nadavoid: Quit: bye
[2011/12/12 13:39:47] @ nevyn joined channel #puppet
[2011/12/12 13:40:30] <kenperkins> does NPM have any knowledge of node-version ?
[2011/12/12 13:40:42] @ jantman left channel #puppet ()
[2011/12/12 13:40:42] <kenperkins> or does it simply get latest, and you hope that said module works with the version of node you have
[2011/12/12 13:40:54] @ gadavis joined channel #puppet
[2011/12/12 13:41:37] @ skm joined channel #puppet
[2011/12/12 13:42:25] @ Quit: mapu: Quit: mapu
[2011/12/12 13:42:39] <phishy> First day, how am I doing so far? ;-) https://gist.github.com/937a0140f07cf3097c5f
[2011/12/12 13:45:20] @ Quit: omry_: Ping timeout: 276 seconds
[2011/12/12 13:45:31] @ blast_hardcheese joined channel #puppet
[2011/12/12 13:47:10] <jmslagle> Ug
[2011/12/12 13:48:44] <jmslagle> kenperkins: You probably want to do grep -q
[2011/12/12 13:49:29] @ zenimal joined channel #puppet
[2011/12/12 13:49:39] @ Quit: labrown: Ping timeout: 245 seconds
[2011/12/12 13:49:59] @ Quit: redpepper: Ping timeout: 252 seconds
[2011/12/12 13:50:03] @ ken_barber1 joined channel #puppet
[2011/12/12 13:50:53] @ Quit: jedi4ever: Quit: jedi4ever
[2011/12/12 13:52:01] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/12/12 13:53:23] <kenperkins> eh?
[2011/12/12 13:53:26] @ Quit: ken_barber: Ping timeout: 248 seconds
[2011/12/12 13:53:52] <kenperkins> oh shit, i thought I was in node channel )
[2011/12/12 13:54:00] <kenperkins> you mean grep -q for my unless statement
[2011/12/12 13:55:13] <eric0> phishy: DRY, dude! https://gist.github.com/135616e587da4e192e2f
[2011/12/12 13:55:39] @ jedi4ever joined channel #puppet
[2011/12/12 13:55:50] @ schewara joined channel #puppet
[2011/12/12 13:55:50] <jmslagle> Yessum
[2011/12/12 13:55:54] @ Quit: brtl: Quit: Leaving.
[2011/12/12 13:56:04] <jmslagle> So it returns a useful exit code, which I believe is what unless looks at
[2011/12/12 13:56:06] @ langworthy_ joined channel #puppet
[2011/12/12 13:56:55] <the_ramink> phishy: I'd break those up in the modules. It'll make it easier to enforce order later. https://github.com/rkhatibi/rdk-puppet-modules/tree/master/apache
[2011/12/12 13:57:14] <kenperkins> ty
[2011/12/12 13:57:42] @ Quit: langworthy: Ping timeout: 248 seconds
[2011/12/12 13:57:43] @ langworthy_ is now known as langworthy
[2011/12/12 13:58:45] @ Quit: ken_barber1: Quit: Leaving.
[2011/12/12 14:00:27] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 14:00:45] @ Quit: cliff-hm: Ping timeout: 268 seconds
[2011/12/12 14:01:38] @ omry_ joined channel #puppet
[2011/12/12 14:02:31] @ nevyn joined channel #puppet
[2011/12/12 14:02:38] <stahnma> PSA: Puppet Dashboard 1.2.4 available now
[2011/12/12 14:02:57] <nate_h> stahnma, can it do parameterized classes?
[2011/12/12 14:03:20] <stahnma> nate_h: no :(
[2011/12/12 14:03:28] <nate_h> can it version control data?
[2011/12/12 14:03:57] <nate_h> DOES IT FLY!?
[2011/12/12 14:03:59] <nate_h> ;)
[2011/12/12 14:04:10] @ Quit: tblamer: Ping timeout: 276 seconds
[2011/12/12 14:04:11] <stahnma> nate_h: if you give it wings ;)
[2011/12/12 14:04:18] @ redpepper joined channel #puppet
[2011/12/12 14:05:16] <Hunner> if you wrote parameterised classes with hiera, then "yes" you could do both of those :)
[2011/12/12 14:05:22] <nate_h> Hunner, i do :P
[2011/12/12 14:05:36] <nate_h> Hunner, but i'd rather have a web interface that interacts with hiera datafiles instead
[2011/12/12 14:05:43] <nate_h> and visualizes the layers
[2011/12/12 14:05:43] <Hunner> yep yep
[2011/12/12 14:06:22] @ Quit: scsinutz: Quit: Leaving.
[2011/12/12 14:06:23] <nate_h> no one has done that yet righT?
[2011/12/12 14:06:34] @ tblamer joined channel #puppet
[2011/12/12 14:06:35] <nate_h> a web editor for yaml + layers?
[2011/12/12 14:06:38] @ Quit: schewara: Quit: Leaving
[2011/12/12 14:06:44] @ Quit: tblamer: Max SendQ exceeded
[2011/12/12 14:07:03] @ Quit: sdog: Quit: Leaving.
[2011/12/12 14:07:04] @ tblamer joined channel #puppet
[2011/12/12 14:08:35] @ ken_barber joined channel #puppet
[2011/12/12 14:08:41] @ Quit: redpepper: Ping timeout: 252 seconds
[2011/12/12 14:08:45] @ Quit: nevyn: Ping timeout: 255 seconds
[2011/12/12 14:08:56] @ Quit: mcarpent: Quit: Thanks for the fish.
[2011/12/12 14:09:00] <Hunner> not afaik. wouldn't be surprised if one comes along though, since i'm sure other people want that too (like me)
[2011/12/12 14:10:30] @ redpepper joined channel #puppet
[2011/12/12 14:11:36] @ bmahe joined channel #puppet
[2011/12/12 14:11:47] @ Quit: bmahe: Changing host
[2011/12/12 14:11:47] @ bmahe joined channel #puppet
[2011/12/12 14:12:20] @ hfnix joined channel #puppet
[2011/12/12 14:14:52] @ nevyn joined channel #puppet
[2011/12/12 14:15:17] @ Quit: redpepper: Ping timeout: 252 seconds
[2011/12/12 14:15:30] @ redpepper joined channel #puppet
[2011/12/12 14:15:52] @ Quit: matchaw___: Ping timeout: 276 seconds
[2011/12/12 14:16:27] @ Quit: hfnix: Ping timeout: 240 seconds
[2011/12/12 14:16:51] @ Quit: blentz: Ping timeout: 255 seconds
[2011/12/12 14:17:18] @ Quit: wmoxam: Disconnected by services
[2011/12/12 14:17:41] @ wmoxam joined channel #puppet
[2011/12/12 14:17:41] @ Quit: wmoxam: Changing host
[2011/12/12 14:17:41] @ wmoxam joined channel #puppet
[2011/12/12 14:18:09] @ Quit: wmoxam: Disconnected by services
[2011/12/12 14:18:23] @ hfnix joined channel #puppet
[2011/12/12 14:18:33] @ wmoxam_ joined channel #puppet
[2011/12/12 14:19:27] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 14:19:45] @ emergion joined channel #puppet
[2011/12/12 14:19:58] @ Asako joined channel #puppet
[2011/12/12 14:21:07] @ nevyn joined channel #puppet
[2011/12/12 14:21:22] <Asako> hey, is it possible to put an if statement inside an augeas changes list?
[2011/12/12 14:21:27] @ Quit: jedi4ever: Quit: jedi4ever
[2011/12/12 14:21:47] <Asako> http://pastebin.com/eZjAvufv IOW a better way to write this?
[2011/12/12 14:22:33] <rodjek> put the if outside the augeas resource
[2011/12/12 14:23:10] <Asako> I guess I could make that line a string variable
[2011/12/12 14:23:35] <Dominic> Asako: or even just the path to the kernel a variable
[2011/12/12 14:23:50] <Asako> yeah
[2011/12/12 14:25:21] @ Quit: csanchez: Quit: csanchez
[2011/12/12 14:26:56] @ Quit: danblack: Ping timeout: 276 seconds
[2011/12/12 14:27:48] <Asako> that makes sense, thanks
[2011/12/12 14:28:02] @ scsinutz joined channel #puppet
[2011/12/12 14:28:17] @ Quit: geekbri: Remote host closed the connection
[2011/12/12 14:28:25] <jmslagle> I can't figure out the proper way to use the stdlib module for runstages
[2011/12/12 14:28:31] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/12 14:30:27] @ matchaw_ joined channel #puppet
[2011/12/12 14:31:48] @ Quit: motomike: Remote host closed the connection
[2011/12/12 14:32:08] @ Quit: scsinutz: Ping timeout: 240 seconds
[2011/12/12 14:32:25] <jmslagle> Because I still end up with a dependancy on the stdlib class getting loaded before my classes needing stages
[2011/12/12 14:33:33] @ druonysus joined channel #puppet
[2011/12/12 14:33:58] @ motomike joined channel #puppet
[2011/12/12 14:36:08] <jmslagle> Hrm
[2011/12/12 14:36:12] @ Quit: lborda: Read error: Operation timed out
[2011/12/12 14:36:12] <jmslagle> Or I could have a typo :P
[2011/12/12 14:36:14] * jmslagle tests
[2011/12/12 14:36:16] @ Quit: freezey: Quit: freezey
[2011/12/12 14:37:15] @ mapu joined channel #puppet
[2011/12/12 14:37:39] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 14:38:18] @ scsinutz joined channel #puppet
[2011/12/12 14:38:48] <mrwacky42> are there any decent mysql puppet modules out there?
[2011/12/12 14:39:37] @ Quit: kubicek: Excess Flood
[2011/12/12 14:39:41] @ kubicek joined channel #puppet
[2011/12/12 14:39:41] @ Quit: kubicek: Excess Flood
[2011/12/12 14:39:47] @ nevyn joined channel #puppet
[2011/12/12 14:40:37] <Asako> good question
[2011/12/12 14:41:09] @ kubicek joined channel #puppet
[2011/12/12 14:41:39] @ mattswe joined channel #puppet
[2011/12/12 14:41:47] @ Quit: mattswe: Client Quit
[2011/12/12 14:42:54] @ paxos joined channel #puppet
[2011/12/12 14:43:57] @ blentz joined channel #puppet
[2011/12/12 14:45:10] @ mosen joined channel #puppet
[2011/12/12 14:48:20] @ stick is now known as stick_zz
[2011/12/12 14:49:02] <seanh-ansca> mrwacky42: there are many on github
[2011/12/12 14:50:18] @ Quit: rharrison: Quit: Leaving
[2011/12/12 14:50:19] @ Quit: emergion: Quit: later...
[2011/12/12 14:50:31] <brd> jamesturnbull: ping
[2011/12/12 14:50:50] <mrwacky42> there are many on github, yes
[2011/12/12 14:51:07] <jamesturnbull> brd: have a few moments
[2011/12/12 14:51:22] <brd> jamesturnbull: should the assignee of 11318 still be me?
[2011/12/12 14:52:25] <jamesturnbull> brd: nope - unassigned you - a dev will pick it up when the code gets reviewed
[2011/12/12 14:52:58] <brd> jamesturnbull: cool, thanks :)
[2011/12/12 14:55:41] <brd> jamesturnbull: did you also notice the missing h on the beginning of the Branch line?
[2011/12/12 14:55:58] @ Quit: phishy: Read error: Connection reset by peer
[2011/12/12 14:57:10] @ Quit: sduchesneau: Ping timeout: 244 seconds
[2011/12/12 14:57:30] <jamesturnbull> brd: thanks - fixed
[2011/12/12 14:58:24] @ jamescollins joined channel #puppet
[2011/12/12 14:59:44] <brd> jamesturnbull: thanks :)
[2011/12/12 15:00:06] @ mattswe joined channel #puppet
[2011/12/12 15:00:53] <gepetto> ::redmine:: Wiki edit: Release_Notes (#157) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=157 (by Matthaus Litteken)
[2011/12/12 15:02:39] @ Quit: mattswe: Client Quit
[2011/12/12 15:02:45] @ Quit: matti: Ping timeout: 255 seconds
[2011/12/12 15:02:49] @ mattswe joined channel #puppet
[2011/12/12 15:03:42] @ Quit: the_ramink: Read error: Connection reset by peer
[2011/12/12 15:03:43] @ Quit: gniks: Quit: Leaving.
[2011/12/12 15:03:49] @ Quit: ghg: Ping timeout: 245 seconds
[2011/12/12 15:03:51] @ scsinutz left channel #puppet ()
[2011/12/12 15:04:12] @ the_ramink joined channel #puppet
[2011/12/12 15:05:30] @ miche joined channel #puppet
[2011/12/12 15:05:33] @ sduchesneau joined channel #puppet
[2011/12/12 15:06:03] @ ghg joined channel #puppet
[2011/12/12 15:07:20] @ Quit: Asako: Quit: Client exiting
[2011/12/12 15:07:22] @ Quit: gaahrdner: Remote host closed the connection
[2011/12/12 15:09:13] @ Dr_Memory joined channel #puppet
[2011/12/12 15:09:25] <Dr_Memory> err: Could not retrieve catalog from remote server: Could not intern from pson: unexpected token in array at '"ba'!
[2011/12/12 15:09:29] <Dr_Memory> ...wtf?
[2011/12/12 15:09:48] <torrancew> Dr_Memory: borked custom fact perhaps?
[2011/12/12 15:09:52] @ sduchesneau left channel #puppet ()
[2011/12/12 15:10:13] @ purefail joined channel #puppet
[2011/12/12 15:10:29] @ emergion joined channel #puppet
[2011/12/12 15:10:37] @ zanefactory joined channel #puppet
[2011/12/12 15:11:26] @ Quit: tilgovi: Remote host closed the connection
[2011/12/12 15:12:00] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#134) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=134 (by Matthaus Litteken)
[2011/12/12 15:12:00] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#135) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=135 (by Matthaus Litteken)
[2011/12/12 15:12:44] <Dr_Memory> torrancew: shouldn't be; this setup works without a hitch on multiple servers, save for this one
[2011/12/12 15:12:47] <Dr_Memory> and the error keeps changing:
[2011/12/12 15:12:52] <Dr_Memory> err: Could not retrieve catalog from remote server: Could not intern from pson: expected value in object at '"/'!
[2011/12/12 15:13:25] @ Quit: nxhack: Quit: Quit Nadoka 0.7.2-trunk (-) - http://www.atdot.net/nadoka/
[2011/12/12 15:13:27] <purefail> I'm having a problem with the puppet package resource type. I need to install a package called "mysql" from yum as well as a package called "mysql" from rubygems. It looks like this creates a namespace conflict
[2011/12/12 15:14:45] @ nxhack joined channel #puppet
[2011/12/12 15:15:16] <kjetilho> purefail: you can use the name parameter for the actual package name
[2011/12/12 15:15:44] <kjetilho> this allows you to use an arbitrary title (the name for your resource)
[2011/12/12 15:16:13] @ tilgovi joined channel #puppet
[2011/12/12 15:16:13] @ Quit: tilgovi: Changing host
[2011/12/12 15:16:13] @ tilgovi joined channel #puppet
[2011/12/12 15:16:21] <kjetilho> so, package { "mysql from gem": name => 'mysql', provider => gem }
[2011/12/12 15:16:57] <zanefactory> silly question, i keep getting info: Caching node for mysql-db1a whenever i try to run an update on this agent. i did push some significant changes to its catalog but i'm not getting any errors. best place to look?
[2011/12/12 15:17:36] <kjetilho> are you using import on globs?
[2011/12/12 15:17:49] <nate_h> imports on globs = the devil
[2011/12/12 15:18:07] @ Quit: matchaw_: Ping timeout: 240 seconds
[2011/12/12 15:18:19] <kjetilho> well, at least it will cause problems for puppetmaster, it won't pick up new files automatically
[2011/12/12 15:18:29] @ kaptk2 left channel #puppet ()
[2011/12/12 15:18:32] @ Quit: kangman: Remote host closed the connection
[2011/12/12 15:18:34] <purefail> kjetilho: I'm trying that now. I think it gave me an error when I tried that before, but I will try again
[2011/12/12 15:19:10] @ Quit: emergion: Quit: later...
[2011/12/12 15:19:21] @ Quit: alfism: Quit: alfism
[2011/12/12 15:19:25] <purefail> kjetilho: Puppet::Parser::AST::Resource failed with error ArgumentError: Cannot alias Package[gemmysql] to ["mysql"] at /root/puppetserver.pp:31; resource ["Package", "mysql"] already defined
[2011/12/12 15:19:50] @ Quit: pcarlisle: Remote host closed the connection
[2011/12/12 15:20:23] @ Quit: Diranged: Remote host closed the connection
[2011/12/12 15:20:54] @ newtMcKerr joined channel #puppet
[2011/12/12 15:21:04] @ hco-bitlbee-mba joined channel #puppet
[2011/12/12 15:22:08] <Dr_Memory> hm
[2011/12/12 15:22:10] <Dr_Memory> and now:
[2011/12/12 15:22:11] <Dr_Memory> err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `fact_merge' for nil:NilClass
[2011/12/12 15:22:11] <purefail> kjetilho: I'm running puppet 2.7.5 from EL6 source
[2011/12/12 15:22:15] @ Quit: mapu: Quit: mapu
[2011/12/12 15:22:22] @ Quit: fredden: Quit: Leaving
[2011/12/12 15:25:28] @ danblack joined channel #puppet
[2011/12/12 15:26:09] @ matti joined channel #puppet
[2011/12/12 15:26:38] @ Quit: Reepicheep: Quit: Ex-Chat
[2011/12/12 15:26:52] @ MartVisser joined channel #puppet
[2011/12/12 15:27:50] @ Quit: MartVisser: Client Quit
[2011/12/12 15:28:07] @ Quit: ecolitan: Ping timeout: 240 seconds
[2011/12/12 15:29:20] <purefail> Found this bug report from 2008: http://groups.google.com/group/puppet-users/browse_thread/thread/9dd0bbc0317b7a99/3ac57871ab7d3422?lnk=gst&q=package&pli=1
[2011/12/12 15:29:24] <kjetilho> purefail: strange. I was sure I had done this myself. but unfortunately I don't have access to my work server just now
[2011/12/12 15:29:58] @ matchaw_ joined channel #puppet
[2011/12/12 15:30:16] <the_ramink> purefail: IIRC the workaround kjetilho mentioned no longer works in recent 2.7 code.
[2011/12/12 15:31:46] @ ecolitan joined channel #puppet
[2011/12/12 15:32:00] @ Quit: ecolitan: Excess Flood
[2011/12/12 15:32:00] <purefail> well, I do work hard to find the purest forms of fail I can
[2011/12/12 15:32:11] @ ecolitan joined channel #puppet
[2011/12/12 15:32:24] @ Quit: ecolitan: Excess Flood
[2011/12/12 15:32:30] @ ecolitan joined channel #puppet
[2011/12/12 15:32:30] <purefail> I can hack around this with an exec statement, but that will be Richard Stallman cry.
[2011/12/12 15:32:41] <purefail> should I open a bug report for this?
[2011/12/12 15:32:50] @ Quit: jodok: Quit: jodok
[2011/12/12 15:33:40] <nlew> Dr_Memory: ! I have been trying to reproduce that issue, I think I have a fix for it
[2011/12/12 15:33:42] @ Quit: fronlius: Quit: fronlius
[2011/12/12 15:34:00] <Dr_Memory> nlew: yeah, I noticed the 2-year-old bug :)
[2011/12/12 15:34:00] <the_ramink> purefail: if you're using Rails3 or the code supports it you can use the mysql2 gem.
[2011/12/12 15:34:39] <nlew> Dr_Memory: So the fact_merge thing probably happens the first time you compile any given node
[2011/12/12 15:34:51] <nlew> Dr_Memory: And the other things might be invalid data in the storeconfigs database
[2011/12/12 15:35:06] <Dr_Memory> *nod*
[2011/12/12 15:35:26] <Dr_Memory> I got to the nil:nilclass error by dumping the storedconfig db
[2011/12/12 15:36:23] <mrwacky42> This looks promising: https://github.com/jpoppe/puppetmodules/tree/master/modules/shared/mysql
[2011/12/12 15:36:46] @ savid joined channel #puppet
[2011/12/12 15:38:06] @ Quit: lbt_away: Read error: Operation timed out
[2011/12/12 15:38:06] @ rubic joined channel #puppet
[2011/12/12 15:39:02] <savid> I have a custom resource for a website instance, where one of its options is "static_dirs", defined as an array, eg: static_dirs => ["static", "media"]. The problem is that puppet has no loop construct, so I created a custom define to get around that (eg, static_dirs { ["static", "media"]: ... }, but now I have the problem of duplicate resources when other site instances use the same static_dirs argument. Has anyone run into this type of problem before?
[2011/12/12 15:39:26] @ lbt_away joined channel #puppet
[2011/12/12 15:39:39] @ Quit: agagag: Ping timeout: 255 seconds
[2011/12/12 15:40:24] @ fredden joined channel #puppet
[2011/12/12 15:40:59] @ Quit: fredden: Remote host closed the connection
[2011/12/12 15:41:13] @ agagag joined channel #puppet
[2011/12/12 15:41:16] @ fredden joined channel #puppet
[2011/12/12 15:41:37] @ emergion joined channel #puppet
[2011/12/12 15:41:44] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/12 15:42:09] @ Quit: nevyn: Ping timeout: 245 seconds
[2011/12/12 15:42:19] @ Quit: emergion: Client Quit
[2011/12/12 15:42:42] @ Quit: JoeJulian: Excess Flood
[2011/12/12 15:44:16] @ nevyn joined channel #puppet
[2011/12/12 15:44:20] @ JoeJulian joined channel #puppet
[2011/12/12 15:45:18] @ maxb_ is now known as maxb
[2011/12/12 15:47:00] @ newtMcKerr joined channel #puppet
[2011/12/12 15:47:32] @ Quit: clustermagnet: Remote host closed the connection
[2011/12/12 15:48:28] @ Quit: JoeJulian: Excess Flood
[2011/12/12 15:48:38] @ Quit: GeoDud: Ping timeout: 248 seconds
[2011/12/12 15:48:49] @ JoeJulian joined channel #puppet
[2011/12/12 15:49:18] @ GeoDud joined channel #puppet
[2011/12/12 15:51:23] @ Quit: newtMcKerr: Client Quit
[2011/12/12 15:52:30] @ Quit: JoeJulian: Excess Flood
[2011/12/12 15:52:40] @ purefail left channel #puppet ()
[2011/12/12 15:53:03] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/12 15:53:19] @ JoeJulian joined channel #puppet
[2011/12/12 15:53:28] @ Quit: JoeJulian: Excess Flood
[2011/12/12 15:53:49] @ JoeJulian joined channel #puppet
[2011/12/12 15:54:25] @ gniks joined channel #puppet
[2011/12/12 15:55:02] @ Quit: iamchrisf_: Quit: iamchrisf_
[2011/12/12 15:56:18] <matchaw_> does dashboard have parametrized class support?
[2011/12/12 15:56:27] @ Quit: ^Majestic^: Ping timeout: 240 seconds
[2011/12/12 15:56:28] @ Quit: iw_work: Quit: Leaving
[2011/12/12 15:58:10] <Hunner> matchaw_: Not directly at the moment, though ENCs support parameterised classes so it's just a front-end change
[2011/12/12 15:58:28] @ Quit: JoeJulian: Excess Flood
[2011/12/12 15:58:48] <matchaw_> so if using dashboard as an enc it does support param classes? how would you configure that ?
[2011/12/12 15:58:49] @ JoeJulian joined channel #puppet
[2011/12/12 15:59:33] <Volcane> i think he said it does not support it :)
[2011/12/12 15:59:35] @ pcarlisle joined channel #puppet
[2011/12/12 15:59:57] @ Quit: JoeJulian: Client Quit
[2011/12/12 16:00:09] @ Quit: tblamer: Quit: Going offline, see ya! (www.adiirc.com)
[2011/12/12 16:02:29] <matchaw_> sounded like when querying dashboard with the enc script it would pull the parameterized classes..
[2011/12/12 16:05:03] <Hunner> The issue is that there's no place in dashboard to input parameters yet
[2011/12/12 16:05:14] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/12 16:06:56] @ Quit: savid: Ping timeout: 252 seconds
[2011/12/12 16:09:22] <mosen> There are parameter inputs
[2011/12/12 16:09:41] <mosen> unless im looking at the wrong thing :)
[2011/12/12 16:09:45] <Volcane> different parameters though
[2011/12/12 16:09:57] <mosen> ah right, not applicable to class parameters?
[2011/12/12 16:10:33] <Hunner> parameters are also called "variables", and class parameters are like arguments to classes
[2011/12/12 16:10:37] <Volcane> afaik the ones there now are node level parameter - like global vars
[2011/12/12 16:10:40] <Hunner> So yeah, different
[2011/12/12 16:10:42] @ newtMcKerr joined channel #puppet
[2011/12/12 16:11:07] @ peridot joined channel #puppet
[2011/12/12 16:11:52] @ ascarter_ joined channel #puppet
[2011/12/12 16:11:53] @ Quit: ascarter: Ping timeout: 252 seconds
[2011/12/12 16:11:57] @ Quit: nul0op: Quit: Leaving
[2011/12/12 16:12:16] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/12/12 16:12:27] @ abstrakt joined channel #puppet
[2011/12/12 16:12:39] <peridot> Hey there: This may be an obvious question, but say I wanted to ensure /var/foo has root:root 755 perms, and everything below /var/foo has root:root ownership, but leave the perms alone. How would I accomplish this?
[2011/12/12 16:12:42] <abstrakt> is puppet extensible? can I add my own resource types as plugins?
[2011/12/12 16:15:13] <Hunner> abstrakt: Yes! <module>/lib/puppet/{type,provider} are what your module should have
[2011/12/12 16:15:22] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 16:15:36] @ haus set topic "Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Important Security Announcement: http://bit.ly/AltNames | Puppet 2.7.9 and 2.6.13 available at downloads.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A | November Newsletter http://bit.ly/nl11-11"
[2011/12/12 16:16:59] <Hunner> peridot: Well, maybe there's a better way but I'd use an exec resource of chown -R for the second part, and a file resource for the first
[2011/12/12 16:17:08] @ nevyn joined channel #puppet
[2011/12/12 16:17:20] @ Quit: DJClean: Read error: Operation timed out
[2011/12/12 16:17:33] <Dr_Memory> is there any currently known bug involving puppetmaster eating most available CPU in 2.7.6?
[2011/12/12 16:19:56] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/12 16:20:16] <peridot> hunner: OK, thanks
[2011/12/12 16:20:41] <Hunner> Dr_Memory: Are you using webrick?
[2011/12/12 16:20:51] <Dr_Memory> unfortunatly yes
[2011/12/12 16:21:00] <Hunner> That's usually the 'bug' :)
[2011/12/12 16:21:04] <Dr_Memory> migrating to passenger was supposed to be my _next_ task
[2011/12/12 16:21:09] @ johnston_ joined channel #puppet
[2011/12/12 16:21:14] <Hunner> Apache+passenger is really nice, and not too hard to write a module for
[2011/12/12 16:21:50] @ newtMcKerr joined channel #puppet
[2011/12/12 16:22:23] <Dr_Memory> I actually briefly tried the puppetlabs puppetmaster-passenger apt package, but quickly got lost in a twisty maze of ssl errors, all slightly different
[2011/12/12 16:22:37] <Dr_Memory> put it on the back-burner until I had the time to deal
[2011/12/12 16:24:51] @ Quit: choonming: Quit: Leaving
[2011/12/12 16:24:51] <peridot> hunner: Hmm, unfortunately, that makes it run each time and so reports it as having a change. That will make any legitimate change harder to track down. :-/
[2011/12/12 16:25:19] @ Quit: newtMcKerr: Client Quit
[2011/12/12 16:25:36] <Hunner> peridot: Use 'loglevel => debug' perhaps?
[2011/12/12 16:26:01] <Hunner> or put the chown in an 'unless' and an error message in the 'command' :)
[2011/12/12 16:26:20] <peridot> Yeah :-/
[2011/12/12 16:26:28] <Hunner> (sure it runs every time still, but that's less cpu intensive that checking every file/dir)
[2011/12/12 16:26:46] <Hunner> Or you could do a fancy `find -mode ... | xargs chown ...` something
[2011/12/12 16:27:28] <peridot> OK, thanks. Was just hoping there was a straightforward way. I like to avoid exec when there's an alternative.
[2011/12/12 16:28:10] <peridot> Ahh, I know…reverse them. Do a recursive file on one, and the exec w/test on the directory.
[2011/12/12 16:29:01] <Hunner> Well, I also habitually avoid recursive management of 'path => /...' local directories because of how slow it is (was)
[2011/12/12 16:29:11] <Hunner> But there have recently been improvements to speed it up 10x
[2011/12/12 16:31:18] @ st33v joined channel #puppet
[2011/12/12 16:36:02] @ Quit: st33v: Client Quit
[2011/12/12 16:36:25] @ benjiedm_ joined channel #puppet
[2011/12/12 16:37:09] @ st33v joined channel #puppet
[2011/12/12 16:37:17] @ Quit: Stenbryggen1: Quit: Leaving.
[2011/12/12 16:37:47] @ cliff-hm joined channel #puppet
[2011/12/12 16:37:54] <Dr_Memory> completely random thought: it's a little unfortunate that there's no way (that I know of?) to instantly discern between "puppet agent disabled" and "another puppet process running"
[2011/12/12 16:38:13] @ Quit: st33v: Client Quit
[2011/12/12 16:38:21] <Dr_Memory> and while I'm wishing for a pony, it'd be great if "puppet agent --disable" prompted you for a reason and saved that in the lockfile
[2011/12/12 16:39:28] @ shadoi joined channel #puppet
[2011/12/12 16:39:29] <Dr_Memory> (if I coded such a thing, would the patch be looked on favorably?)
[2011/12/12 16:39:30] @ _flex joined channel #puppet
[2011/12/12 16:39:48] <tmz> Dr_Memory: I do that via a script, and we use that reason in nagios to show why puppet is disable (and by whom).
[2011/12/12 16:40:10] @ Quit: benjiedmund: Ping timeout: 276 seconds
[2011/12/12 16:40:19] @ Quit: littleidea: Read error: No route to host
[2011/12/12 16:40:28] <tmz> Allowing --disable to be followed by a reason (or having another option that provided $reason) would be handy if builtin.
[2011/12/12 16:41:08] @ Quit: benjiedm_: Ping timeout: 240 seconds
[2011/12/12 16:41:31] * Dr_Memory nods
[2011/12/12 16:41:58] <Dr_Memory> bubbling that status back up to $monitoring_system was in fact where I was going with that plan
[2011/12/12 16:42:15] <Dr_Memory> (also just dealing with "why the fuck did the overnight ops guy disable puppet on this server?!")
[2011/12/12 16:44:35] <Dr_Memory> I think for this to work, you'd need two lockfiles: an automatic one generated by puppet agent when running, and a manual one to be created by --disable
[2011/12/12 16:44:42] <Dr_Memory> anyway, I'll go look at the code
[2011/12/12 16:45:02] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 16:46:29] <tmz> Dr_Memory: I just drop my message into the statefile. It's easy to tell the difference between disabled and mid-run, as mid-run it contains a PID.
[2011/12/12 16:46:46] <torrancew> tmz: is that script/nagios connection in the public domain?
[2011/12/12 16:47:00] @ nevyn joined channel #puppet
[2011/12/12 16:50:12] @ st33v joined channel #puppet
[2011/12/12 16:50:16] <tmz> torrancew: It is, but it's nothing much to look at. If it spurs you to write it properly, let me know... http://tmz.fedorapeople.org/scripts/puppetstatus/
[2011/12/12 16:50:43] <tmz> It's in python. Using puppet faces for it would be nicer, perhaps.
[2011/12/12 16:50:52] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/12 16:51:45] @ Quit: wilmoore: Remote host closed the connection
[2011/12/12 16:52:33] @ Quit: alanevans: Remote host closed the connection
[2011/12/12 16:52:48] @ Quit: neonflux: Quit: Leaving.
[2011/12/12 16:53:09] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 16:54:13] @ nevyn joined channel #puppet
[2011/12/12 16:57:06] @ iamchrisf_ joined channel #puppet
[2011/12/12 16:57:22] @ Quit: paxos: Quit: Leaving.
[2011/12/12 16:58:17] @ drewrm joined channel #puppet
[2011/12/12 16:58:19] @ Quit: st33v: Quit: st33v
[2011/12/12 16:58:35] @ Quit: edwardsharp: Ping timeout: 252 seconds
[2011/12/12 16:58:36] @ mizzy joined channel #puppet
[2011/12/12 17:00:04] @ Quit: gadavis: Quit: Leaving.
[2011/12/12 17:00:54] @ Quit: msaum: Quit: Leaving.
[2011/12/12 17:00:54] @ Quit: nevyn: Ping timeout: 245 seconds
[2011/12/12 17:00:55] @ e1mer joined channel #puppet
[2011/12/12 17:00:58] @ Quit: danblack: Quit: solitude begins
[2011/12/12 17:02:43] @ nevyn joined channel #puppet
[2011/12/12 17:02:48] @ msaum1 joined channel #puppet
[2011/12/12 17:03:18] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/12 17:06:38] @ Quit: the_ramink: Ping timeout: 240 seconds
[2011/12/12 17:06:43] @ miche joined channel #puppet
[2011/12/12 17:07:15] @ newtMcKerr joined channel #puppet
[2011/12/12 17:08:14] @ ben_duyujie joined channel #puppet
[2011/12/12 17:08:24] @ ^Majestic^ joined channel #puppet
[2011/12/12 17:09:47] @ Quit: althara: Ping timeout: 240 seconds
[2011/12/12 17:13:27] @ Quit: zwi: Quit: Leaving.
[2011/12/12 17:13:36] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/12 17:13:48] @ Quit: joshcooper: Quit: joshcooper
[2011/12/12 17:15:55] @ Quit: lak: Quit: Leaving.
[2011/12/12 17:16:12] @ Quit: p3rror: Ping timeout: 252 seconds
[2011/12/12 17:17:34] @ Quit: nevyn: Ping timeout: 245 seconds
[2011/12/12 17:18:57] @ wmoxam__ joined channel #puppet
[2011/12/12 17:19:19] @ nevyn joined channel #puppet
[2011/12/12 17:21:00] @ Quit: wmoxam_: Ping timeout: 252 seconds
[2011/12/12 17:22:09] @ Quit: msaum1: Quit: Leaving.
[2011/12/12 17:24:04] @ msaum1 joined channel #puppet
[2011/12/12 17:26:29] @ Quit: skm: Quit: Leaving...
[2011/12/12 17:29:27] @ Quit: wmoxam__: Ping timeout: 255 seconds
[2011/12/12 17:29:32] @ st33v joined channel #puppet
[2011/12/12 17:30:00] @ Quit: st33v: Client Quit
[2011/12/12 17:30:27] @ Quit: matti: Read error: Connection reset by peer
[2011/12/12 17:30:52] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 17:32:30] @ Quit: ascarter_: Quit: Computer has gone to sleep.
[2011/12/12 17:32:54] @ nevyn joined channel #puppet
[2011/12/12 17:34:47] @ ascarter joined channel #puppet
[2011/12/12 17:35:01] @ Quit: ascarter: Client Quit
[2011/12/12 17:38:24] @ Quit: nevyn: Ping timeout: 245 seconds
[2011/12/12 17:38:54] @ Quit: drewrm: Remote host closed the connection
[2011/12/12 17:39:31] @ nevyn joined channel #puppet
[2011/12/12 17:40:03] @ ghg joined channel #puppet
[2011/12/12 17:40:40] <joe-mac> does apt.puppetlabs.com support rsync?
[2011/12/12 17:41:13] <joe-mac> wget's not recursing properly on the site, would be much easier to be able to use rsync
[2011/12/12 17:42:40] @ wmoxam joined channel #puppet
[2011/12/12 17:42:41] @ Quit: wmoxam: Changing host
[2011/12/12 17:42:41] @ wmoxam joined channel #puppet
[2011/12/12 17:43:52] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2011/12/12 17:44:38] @ ascarter joined channel #puppet
[2011/12/12 17:45:00] @ Quit: ascarter: Client Quit
[2011/12/12 17:45:09] @ Quit: msaum1: Quit: Leaving.
[2011/12/12 17:45:11] <seanh-ansca> joe-mac: you'd probably get better off using one of the apt-repo cloning tools
[2011/12/12 17:45:26] <joe-mac> yea
[2011/12/12 17:45:30] <seanh-ansca> or apt-cache it you're a little more space conscious
[2011/12/12 17:46:15] <seanh-ansca> it's apt-mirror not apt-clone sorry
[2011/12/12 17:46:51] @ ascarter joined channel #puppet
[2011/12/12 17:46:59] @ msaum joined channel #puppet
[2011/12/12 17:47:19] @ Quit: kermit: Quit: Leaving.
[2011/12/12 17:47:26] @ Quit: ascarter: Client Quit
[2011/12/12 17:47:33] @ kermit joined channel #puppet
[2011/12/12 17:48:40] <joe-mac> yea
[2011/12/12 17:51:03] @ Quit: cwarden: Ping timeout: 255 seconds
[2011/12/12 17:51:14] <joe-mac> I think I was just missing a wget switch
[2011/12/12 17:53:02] @ Quit: _flex: Remote host closed the connection
[2011/12/12 17:53:31] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/12/12 17:53:54] @ Quit: peridot: Quit: Leaving.
[2011/12/12 17:56:22] @ rcrowley joined channel #puppet
[2011/12/12 17:56:27] @ Quit: Scott-Mc: Ping timeout: 240 seconds
[2011/12/12 17:56:52] <haus> joe-mac: there are symlinks on apt.puppetlabs.com currently
[2011/12/12 17:56:53] @ Quit: seanh-ansca: Quit: Leaving.
[2011/12/12 17:57:21] @ Quit: metcalfc: Quit: Leaving
[2011/12/12 17:59:24] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/12 18:01:27] @ Quit: tilgovi: Read error: Connection reset by peer
[2011/12/12 18:02:27] @ Quit: e1mer: Ping timeout: 240 seconds
[2011/12/12 18:05:06] @ |Majestic| joined channel #puppet
[2011/12/12 18:06:24] @ Quit: msaum: Quit: Leaving.
[2011/12/12 18:06:47] @ Quit: ^Majestic^: Ping timeout: 244 seconds
[2011/12/12 18:07:54] @ xizhendu|off is now known as xizhendu
[2011/12/12 18:08:02] @ msaum1 joined channel #puppet
[2011/12/12 18:08:29] @ Marius joined channel #puppet
[2011/12/12 18:09:26] @ Quit: nevyn: Ping timeout: 248 seconds
[2011/12/12 18:10:24] @ nevyn joined channel #puppet
[2011/12/12 18:13:50] @ Enf joined channel #puppet
[2011/12/12 18:16:59] @ alanevans joined channel #puppet
[2011/12/12 18:21:41] @ skm joined channel #puppet
[2011/12/12 18:21:56] @ Quit: hggh: Ping timeout: 240 seconds
[2011/12/12 18:21:59] @ hggh joined channel #puppet
[2011/12/12 18:22:52] @ Quit: shadoi: Quit: Leaving.
[2011/12/12 18:27:35] @ Quit: williemach: Quit: Leaving.
[2011/12/12 18:29:24] @ Quit: mrwacky42: Read error: Operation timed out
[2011/12/12 18:29:39] @ Quit: msaum1: Quit: Leaving.
[2011/12/12 18:30:04] @ Quit: nevyn: Ping timeout: 245 seconds
[2011/12/12 18:31:34] @ msaum1 joined channel #puppet
[2011/12/12 18:32:09] @ nevyn joined channel #puppet
[2011/12/12 18:35:35] @ KaiserBeto1 joined channel #puppet
[2011/12/12 18:36:27] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 18:36:29] @ rbowlby joined channel #puppet
[2011/12/12 18:37:31] @ Quit: zanefactory: Read error: Connection reset by peer
[2011/12/12 18:37:40] @ nevyn joined channel #puppet
[2011/12/12 18:37:40] <rbowlby> anyone here have any documents describing how you perform change management of puppet?
[2011/12/12 18:38:04] @ zanefactory joined channel #puppet
[2011/12/12 18:38:22] <rbowlby> I am specifically looking into the best way to move changes through the dev->qa->prod cycle using Jira.
[2011/12/12 18:38:39] @ Quit: zanefactory: Client Quit
[2011/12/12 18:39:56] @ Quit: KaiserBeto1: Ping timeout: 240 seconds
[2011/12/12 18:39:57] <stew> "fuck it, we'll do it live"
[2011/12/12 18:40:39] <mosen> haha
[2011/12/12 18:41:27] <rbowlby> lol
[2011/12/12 18:41:51] @ Quit: langworthy: Quit: langworthy
[2011/12/12 18:43:41] @ stick_zz is now known as stick
[2011/12/12 18:48:10] @ tilgovi joined channel #puppet
[2011/12/12 18:48:10] @ Quit: tilgovi: Changing host
[2011/12/12 18:48:10] @ tilgovi joined channel #puppet
[2011/12/12 18:51:13] @ Quit: BrickBag: Ping timeout: 244 seconds
[2011/12/12 18:51:52] @ the_ramink joined channel #puppet
[2011/12/12 18:52:10] @ Quit: msaum1: Quit: Leaving.
[2011/12/12 18:52:48] @ Quit: bmahe: Quit: Leaving
[2011/12/12 18:53:39] @ msaum1 joined channel #puppet
[2011/12/12 18:54:41] @ Quit: iamchrisf_: Read error: Connection timed out
[2011/12/12 18:55:12] @ iamchrisf_ joined channel #puppet
[2011/12/12 18:56:51] @ Quit: joe-mac: Remote host closed the connection
[2011/12/12 18:57:52] @ BrickBag joined channel #puppet
[2011/12/12 18:59:50] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/12 19:01:25] @ nevyn joined channel #puppet
[2011/12/12 19:04:12] @ Quit: abstrakt: Quit: Leaving
[2011/12/12 19:04:14] @ Quit: |Majestic|: Ping timeout: 253 seconds
[2011/12/12 19:05:44] @ langworthy joined channel #puppet
[2011/12/12 19:07:58] @ wilmoore joined channel #puppet
[2011/12/12 19:09:03] @ Quit: johnston_: Ping timeout: 258 seconds
[2011/12/12 19:11:45] @ JoeJulian joined channel #puppet
[2011/12/12 19:19:42] <WALoeIII> my puppetmaster's hostname changed
[2011/12/12 19:19:58] <WALoeIII> which SSL file do I need to rename so it is picked up and continues without a problem
[2011/12/12 19:20:17] @ Quit: MattM: Remote host closed the connection
[2011/12/12 19:20:48] @ _flex joined channel #puppet
[2011/12/12 19:21:28] @ MattM joined channel #puppet
[2011/12/12 19:25:26] @ Scott-Mc joined channel #puppet
[2011/12/12 19:25:51] @ bobra joined channel #puppet
[2011/12/12 19:26:58] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/12 19:28:17] @ nevyn joined channel #puppet
[2011/12/12 19:28:36] @ Quit: ben_duyujie: Remote host closed the connection
[2011/12/12 19:35:36] @ bmahe joined channel #puppet
[2011/12/12 19:39:33] @ Quit: newtMcKerr: Ping timeout: 252 seconds
[2011/12/12 19:46:16] @ Quit: wilmoore: Remote host closed the connection
[2011/12/12 19:47:25] @ newtMcKerr joined channel #puppet
[2011/12/12 19:50:27] @ Quit: rbowlby: Ping timeout: 258 seconds
[2011/12/12 19:53:18] @ Quit: comptona: Read error: Operation timed out
[2011/12/12 20:00:21] @ benjiedmund joined channel #puppet
[2011/12/12 20:00:33] @ Quit: benjiedmund: Remote host closed the connection
[2011/12/12 20:05:51] @ wilmoore joined channel #puppet
[2011/12/12 20:06:09] @ fredden left channel #puppet ("Leaving")
[2011/12/12 20:10:36] @ ascarter joined channel #puppet
[2011/12/12 20:17:57] @ SnuffScarp joined channel #puppet
[2011/12/12 20:18:49] @ zwi joined channel #puppet
[2011/12/12 20:20:08] @ Quit: motomike: Quit: Leaving.
[2011/12/12 20:21:42] @ Quit: SnuffScarp:
[2011/12/12 20:22:04] @ Quit: iamchrisf_: Quit: iamchrisf_
[2011/12/12 20:22:13] @ Quit: ascarter: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/12 20:22:15] @ SnuffScarp joined channel #puppet
[2011/12/12 20:22:15] @ Quit: SnuffScarp: Client Quit
[2011/12/12 20:27:35] @ joshcooper joined channel #puppet
[2011/12/12 20:28:57] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 20:30:35] @ nevyn joined channel #puppet
[2011/12/12 20:36:12] @ iamchrisf_ joined channel #puppet
[2011/12/12 20:38:16] @ ocherno joined channel #puppet
[2011/12/12 20:38:24] @ Quit: iamchrisf_: Client Quit
[2011/12/12 20:38:38] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 20:39:41] @ neonflux joined channel #puppet
[2011/12/12 20:40:09] @ nevyn joined channel #puppet
[2011/12/12 20:41:35] <wooster> waloeiii: /var/lib/puppet/ssl
[2011/12/12 20:41:45] <wooster> rm -rf it
[2011/12/12 20:44:06] @ iamchrisf_ joined channel #puppet
[2011/12/12 20:46:13] @ Quit: gniks: Quit: Leaving.
[2011/12/12 20:49:14] @ lak joined channel #puppet
[2011/12/12 20:49:15] @ Quit: lak: Changing host
[2011/12/12 20:49:15] @ lak joined channel #puppet
[2011/12/12 20:49:30] @ maxmartin joined channel #puppet
[2011/12/12 20:51:40] @ Quit: iamchrisf_: Quit: iamchrisf_
[2011/12/12 20:54:40] @ AshishH joined channel #puppet
[2011/12/12 21:04:43] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/12 21:04:47] @ Quit: msaum1: Read error: Connection reset by peer
[2011/12/12 21:05:56] @ nevyn joined channel #puppet
[2011/12/12 21:07:38] @ Quit: langworthy: Quit: langworthy
[2011/12/12 21:08:15] @ Quit: cliff-hm: Read error: Operation timed out
[2011/12/12 21:11:46] @ Vulcan[OMNI] joined channel #puppet
[2011/12/12 21:12:32] @ buddha_ joined channel #puppet
[2011/12/12 21:14:25] @ Quit: buddha_: Remote host closed the connection
[2011/12/12 21:16:40] @ stevecho joined channel #puppet
[2011/12/12 21:17:15] @ Quit: _flex: Remote host closed the connection
[2011/12/12 21:19:48] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/12 21:23:38] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 21:25:41] @ nevyn joined channel #puppet
[2011/12/12 21:27:31] @ Quit: l0n:
[2011/12/12 21:29:35] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/12 21:32:49] @ langworthy joined channel #puppet
[2011/12/12 21:34:04] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/12 21:35:22] @ paroneayea joined channel #puppet
[2011/12/12 21:40:29] @ seanh-ansca joined channel #puppet
[2011/12/12 21:41:05] @ ascarter joined channel #puppet
[2011/12/12 21:42:12] @ Quit: ascarter: Client Quit
[2011/12/12 21:42:22] @ ascarter joined channel #puppet
[2011/12/12 21:42:46] @ Quit: tdb: Ping timeout: 252 seconds
[2011/12/12 21:43:08] @ Quit: _nono_: Ping timeout: 252 seconds
[2011/12/12 21:43:23] @ _nono_ joined channel #puppet
[2011/12/12 21:43:33] @ tdb joined channel #puppet
[2011/12/12 21:44:28] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 21:46:25] @ nevyn joined channel #puppet
[2011/12/12 21:46:25] @ jedi4ever joined channel #puppet
[2011/12/12 21:46:38] @ Quit: zwi: Quit: Leaving.
[2011/12/12 21:47:09] @ Quit: Holocaine: Ping timeout: 245 seconds
[2011/12/12 21:50:45] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/12 21:50:48] <zleslie> Anyone know what might cause import 'nodes/*.pp' to fail with No file(s) found for import of 'nodes/*.pp' other than the obvious, since I do have nodes/*.pp
[2011/12/12 21:51:01] <zleslie> Using puppet apply blag.pp
[2011/12/12 21:52:41] @ Quit: jedi4ever: Quit: jedi4ever
[2011/12/12 21:52:52] @ Quit: wilmoore: Remote host closed the connection
[2011/12/12 21:53:57] <the_ramink> zleslie: I think you'd want "nodes/*.pp" rather than single quotes
[2011/12/12 21:54:55] <zleslie> Ah, I've tried both
[2011/12/12 21:58:25] <zleslie> The docs say that the path is relative to the manifest that is doing the including, so...
[2011/12/12 21:58:29] <zleslie> what am I missing?
[2011/12/12 21:59:22] @ Quit: stevecho: Quit: stevecho
[2011/12/12 21:59:47] @ Quit: neonflux: Quit: Leaving.
[2011/12/12 22:01:55] @ stevecho joined channel #puppet
[2011/12/12 22:03:27] @ jedi4ever joined channel #puppet
[2011/12/12 22:03:58] @ dgibbons joined channel #puppet
[2011/12/12 22:08:33] <zleslie> I may be working on an unsupported platform
[2011/12/12 22:08:43] <zleslie> freebsd works fine with the *exact* same config
[2011/12/12 22:09:02] @ jbraeuer joined channel #puppet
[2011/12/12 22:09:40] <whack> zleslie: strace or truss will help you find out what's going on
[2011/12/12 22:10:32] @ Quit: stevecho: Quit: stevecho
[2011/12/12 22:10:46] @ kelseyhightower joined channel #puppet
[2011/12/12 22:11:41] <zleslie> Alright, I suppose its down to that. I am now getting a message: Could not retrieve root_home: private method 'split called for nil:nilClass. I'll man some dtrace
[2011/12/12 22:11:56] @ _flex joined channel #puppet
[2011/12/12 22:12:41] @ Quit: fragfutter: Ping timeout: 252 seconds
[2011/12/12 22:14:27] @ ben_duyujie joined channel #puppet
[2011/12/12 22:14:51] @ kenperkins joined channel #puppet
[2011/12/12 22:14:54] @ Quit: nevyn: Read error: Operation timed out
[2011/12/12 22:15:35] <kenperkins> so I get the dynamic lookup warning, but I Can't figure out how to fix it
[2011/12/12 22:15:45] <kenperkins> I've got something like .....<%= environment %> in an erb
[2011/12/12 22:16:07] <kenperkins> but <%= $::environment %> throws a syntax error, how else do I get the correct syntax in to get rid of the warning
[2011/12/12 22:16:28] <zleslie> kenperkins: maybe http://docs.puppetlabs.com/guides/templating.html#out-of-scope-variables
[2011/12/12 22:16:52] <zleslie> Though, I don't know how facts are out of scope
[2011/12/12 22:17:20] @ nevyn joined channel #puppet
[2011/12/12 22:18:19] @ Quit: jbraeuer: Quit: jbraeuer
[2011/12/12 22:21:02] <kenperkins> having to do scope lookup for facts seems bizaree but I'll try it
[2011/12/12 22:21:21] <whack> kenperkins: you don't have to use scope.lookupvar for facts, only out of scope variables (which are not facts)
[2011/12/12 22:21:45] <kenperkins> so why am I getting the dynamic var lookup error on facts
[2011/12/12 22:22:08] <whack> unless they changed that recently, I haven't used any recent 2.7's lately
[2011/12/12 22:22:45] @ mfladischer joined channel #puppet
[2011/12/12 22:23:13] <kenperkins> warning: Dynamic lookup of $environment at /puppet/modules-0/users/templates/.bashrc.erb:53 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.
[2011/12/12 22:23:14] <kenperkins> :(
[2011/12/12 22:24:24] <kenperkins> this blog post says I should use scope.lookupvar http://blog.penumbra.be/2011/08/dynamic-lookup-is-deprecated-when-using-facts-in-templates/
[2011/12/12 22:27:38] <zleslie> whack: have you been reading your master's log files lately?
[2011/12/12 22:27:54] <zleslie> :)
[2011/12/12 22:28:05] @ nokia3510 joined channel #puppet
[2011/12/12 22:29:13] @ fragfutter joined channel #puppet
[2011/12/12 22:30:53] @ Quit: seanh-ansca: Quit: Leaving.
[2011/12/12 22:34:56] @ danikov joined channel #puppet
[2011/12/12 22:35:55] @ stick is now known as stick_zz
[2011/12/12 22:36:00] @ jaydg joined channel #puppet
[2011/12/12 22:37:19] @ jodok joined channel #puppet
[2011/12/12 22:37:28] @ riha joined channel #puppet
[2011/12/12 22:38:32] @ Quit: langworthy: Quit: langworthy
[2011/12/12 22:39:23] @ riha left channel #puppet ()
[2011/12/12 22:39:24] @ skm joined channel #puppet
[2011/12/12 22:41:25] @ tizzo-afk is now known as tizzo
[2011/12/12 22:41:45] @ espent joined channel #puppet
[2011/12/12 22:42:35] @ ohadlevy joined channel #puppet
[2011/12/12 22:43:37] @ Quit: espent: Read error: Operation timed out
[2011/12/12 22:46:34] @ Quit: skm: Read error: Connection reset by peer
[2011/12/12 22:47:36] @ Quit: mattr: Ping timeout: 255 seconds
[2011/12/12 22:48:48] <kenperkins> is there a way to profile a puppet run
[2011/12/12 22:48:53] <kenperkins> so you can see where time is spent
[2011/12/12 22:49:25] @ skm joined channel #puppet
[2011/12/12 22:50:20] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 22:50:34] <misc> kenperkins: there is, someone paster a url 2/3 days ago
[2011/12/12 22:51:07] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/12/12 22:51:30] @ Quit: lak: Quit: Leaving.
[2011/12/12 22:52:19] @ nevyn joined channel #puppet
[2011/12/12 22:54:41] <kenperkins> hmmm
[2011/12/12 22:54:54] <kenperkins> I have a config that on my work network takes 20-30 seconds
[2011/12/12 22:54:59] <kenperkins> but at home takes 150-200
[2011/12/12 22:55:02] <kenperkins> no changes otherwise
[2011/12/12 22:55:05] @ Quit: ocherno: Quit: Leaving
[2011/12/12 22:55:53] @ Quit: ghanima: Quit: Leaving.
[2011/12/12 22:56:40] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/12 22:58:18] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/12 22:58:21] @ choonming joined channel #puppet
[2011/12/12 22:59:02] @ langworthy joined channel #puppet
[2011/12/12 22:59:09] @ nevyn joined channel #puppet
[2011/12/12 22:59:43] @ lak joined channel #puppet
[2011/12/12 22:59:44] @ Quit: lak: Changing host
[2011/12/12 22:59:44] @ lak joined channel #puppet
[2011/12/12 23:01:16] @ Quit: tremble: Ping timeout: 240 seconds
[2011/12/12 23:01:40] @ tremble joined channel #puppet
[2011/12/12 23:01:47] @ Quit: tremble: Changing host
[2011/12/12 23:01:47] @ tremble joined channel #puppet
[2011/12/12 23:03:54] @ erthad joined channel #puppet
[2011/12/12 23:03:57] @ pjd3 joined channel #puppet
[2011/12/12 23:04:12] @ Quit: erthad: Changing host
[2011/12/12 23:04:12] @ erthad joined channel #puppet
[2011/12/12 23:04:12] @ artkrz joined channel #puppet
[2011/12/12 23:04:53] @ mattr joined channel #puppet
[2011/12/12 23:04:54] @ Quit: MrBIOS: Ping timeout: 244 seconds
[2011/12/12 23:06:00] @ jabir joined channel #puppet
[2011/12/12 23:06:14] <jabir> how do i install a package with dependencies
[2011/12/12 23:06:16] <jabir> apt-get -f install
[2011/12/12 23:06:41] @ skm joined channel #puppet
[2011/12/12 23:06:58] @ cli666 joined channel #puppet
[2011/12/12 23:07:47] @ Dr_Memory left channel #puppet ()
[2011/12/12 23:10:04] @ Quit: Vulcan[OMNI]: Ping timeout: 244 seconds
[2011/12/12 23:12:28] @ Quit: lak: Quit: Leaving.
[2011/12/12 23:12:50] @ Quit: ascarter: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/12 23:13:56] @ Vulcan[OMNI] joined channel #puppet
[2011/12/12 23:14:02] @ Quit: Vulcan[OMNI]: Client Quit
[2011/12/12 23:16:07] @ Quit: pjd3: Remote host closed the connection
[2011/12/12 23:16:57] @ nuknad joined channel #puppet
[2011/12/12 23:17:17] @ Quit: joemiller: Ping timeout: 252 seconds
[2011/12/12 23:18:13] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/12 23:19:48] @ nevyn joined channel #puppet
[2011/12/12 23:19:53] @ smintz joined channel #puppet
[2011/12/12 23:26:12] <whack> jabir: '-f' doesn't mean "install with dependencies"
[2011/12/12 23:27:59] @ Vasik|work joined channel #puppet
[2011/12/12 23:28:07] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/12 23:30:01] @ e1mer joined channel #puppet
[2011/12/12 23:30:22] @ nevyn joined channel #puppet
[2011/12/12 23:32:06] @ DJClean joined channel #puppet
[2011/12/12 23:32:34] @ Quit: cli666: Read error: Connection reset by peer
[2011/12/12 23:33:48] @ MattyM joined channel #puppet
[2011/12/12 23:34:16] @ pmorillon joined channel #puppet
[2011/12/12 23:35:04] @ Stenbryggen joined channel #puppet
[2011/12/12 23:35:49] @ Quit: Stenbryggen: Client Quit
[2011/12/12 23:36:08] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/12 23:37:10] @ pieter joined channel #puppet
[2011/12/12 23:38:44] @ cli933 joined channel #puppet
[2011/12/12 23:39:02] @ Quit: fragfutter: Ping timeout: 252 seconds
[2011/12/12 23:39:15] @ fragfutter joined channel #puppet
[2011/12/12 23:39:25] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/12 23:41:00] @ nevyn joined channel #puppet
[2011/12/12 23:41:47] @ Stenbryggen joined channel #puppet
[2011/12/12 23:42:34] @ EL84 joined channel #puppet
[2011/12/12 23:42:59] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/12 23:43:08] @ Quit: cli933: Read error: Connection reset by peer
[2011/12/12 23:43:30] @ Quit: codec: Ping timeout: 268 seconds
[2011/12/12 23:43:50] @ codec joined channel #puppet
[2011/12/12 23:44:27] @ Quit: tilgovi: Ping timeout: 240 seconds
[2011/12/12 23:46:18] @ pugnacity joined channel #puppet
[2011/12/12 23:46:50] @ cli162 joined channel #puppet
[2011/12/12 23:47:14] @ Quit: joshcooper: Quit: joshcooper
[2011/12/12 23:48:00] @ nevyn joined channel #puppet
[2011/12/12 23:50:56] @ sdog joined channel #puppet
[2011/12/12 23:51:54] @ Quit: danikov: Read error: Connection timed out
[2011/12/12 23:52:24] @ danikov joined channel #puppet
[2011/12/12 23:52:42] @ Quit: pugnacity: Quit: Leaving.
[2011/12/12 23:54:47] @ doubleukay joined channel #puppet
[2011/12/12 23:56:07] @ Quit: ben_duyujie: Quit: ben_duyujie
[2011/12/12 23:56:25] @ ben_duyujie joined channel #puppet
[2011/12/12 23:57:03] @ Quit: mosen: Quit: Leaving
[2011/12/12 23:57:11] @ Quit: hfnix: Quit: Leaving.
[2011/12/12 23:57:17] @ Quit: langworthy: Quit: langworthy
[2011/12/12 23:57:35] @ jonhattan joined channel #puppet

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