Monday, 2011-12-05

[2011/12/05 00:03:35] @ Log started by gepetto
[2011/12/05 00:03:35] @ jaydg joined channel #puppet
[2011/12/05 00:05:29] @ Quit: jodok: Quit: jodok
[2011/12/05 00:07:36] @ Ramonster joined channel #puppet
[2011/12/05 00:14:00] @ espent joined channel #puppet
[2011/12/05 00:15:35] @ zorg1 joined channel #puppet
[2011/12/05 00:16:23] @ jodok joined channel #puppet
[2011/12/05 00:17:17] @ Quit: tilgovi: Remote host closed the connection
[2011/12/05 00:22:35] @ Quit: Holocaine:
[2011/12/05 00:23:58] @ emergion joined channel #puppet
[2011/12/05 00:25:41] @ raphdg joined channel #puppet
[2011/12/05 00:34:06] @ Quit: csanchez: Quit: csanchez
[2011/12/05 00:34:18] @ Stenbryggen joined channel #puppet
[2011/12/05 00:36:09] @ Quit: jayne: Remote host closed the connection
[2011/12/05 00:37:49] @ Quit: Ramonster: Read error: Operation timed out
[2011/12/05 00:39:56] @ d3c joined channel #puppet
[2011/12/05 00:40:13] @ Ramonster joined channel #puppet
[2011/12/05 00:40:15] @ Quit: Ramonster: Remote host closed the connection
[2011/12/05 00:40:56] @ csanchez joined channel #puppet
[2011/12/05 00:41:11] @ Ramonster joined channel #puppet
[2011/12/05 00:41:26] @ n8 joined channel #puppet
[2011/12/05 00:41:33] <d3c> I have a bunch of mcollective::agent::foo classes where foo may be puppetd, puppetca, etc. it's not guaranteed that include all of them but anyway, how may I have mcollective::service (Service['mcollective']) subscribe to updates from any of them? right now, I've specified a notify for each class but it would be nice if I could just subscribe to all classes with the service.
[2011/12/05 00:41:43] <d3c> that I*
[2011/12/05 00:42:43] @ Quit: wilmoore: Remote host closed the connection
[2011/12/05 00:43:10] <rodjek> d3c: why not have the resources in the mcollective::agent::* classes notify Service[mcollective]
[2011/12/05 00:45:26] <d3c> rodjek: they do but I figured it would be easier if I could have the service subscribe to all of them instead of specifying notify n places.
[2011/12/05 00:45:29] @ trickyf joined channel #puppet
[2011/12/05 00:45:58] <rodjek> i don't think that's possible unfortunately
[2011/12/05 00:47:16] <d3c> rodjek: ok. it's also because I'm having some really weird problem where specifying notify to the mcollective service for a package - and a file that depends on that package - breaks notification. service won't refresh when I do this.
[2011/12/05 00:48:07] <rodjek> d3c: can you pasetbin the problem manifest?
[2011/12/05 00:48:20] <d3c> rodjek: yeah, just a sec
[2011/12/05 00:50:16] <d3c> rodjek: as soon as I specify notify => Class['::mcollective::reload'] for the file that should be absent, things break: http://pastebin.com/5zJ0kD9T
[2011/12/05 00:50:25] @ zeroXten joined channel #puppet
[2011/12/05 00:50:56] <d3c> rodjek: if I change the rewrite agent files, it won't trigger a refresh as long as notify is specified for the absent file
[2011/12/05 00:52:10] @ inecas joined channel #puppet
[2011/12/05 00:52:19] <Callek> sooo does puppet do anything weird when I |include settings| other than class lookup
[2011/12/05 00:52:36] <Callek> when I have a modules/settings/manifests/init.pp with |class settings {}|
[2011/12/05 00:52:51] <Callek> since even if I stick a fail() in the file, it seems to never get evaluated
[2011/12/05 00:53:47] @ Quit: jaytaph: Remote host closed the connection
[2011/12/05 00:53:50] <Callek> but if I copy the class/file to modules/settings/manifests/settings.pp and change the class name to settings::settings it loads fine
[2011/12/05 00:54:02] @ jaytaph joined channel #puppet
[2011/12/05 00:54:07] @ xet7 joined channel #puppet
[2011/12/05 00:55:02] <Callek> worst part is there is no error about loading with |include settings|
[2011/12/05 00:55:43] <d3c> rodjek: strange, isn't it?
[2011/12/05 01:02:07] @ Quit: zorg1: Quit: Leaving
[2011/12/05 01:04:15] @ ben_duyujie joined channel #puppet
[2011/12/05 01:06:32] @ lkoranda joined channel #puppet
[2011/12/05 01:07:58] @ ezryx joined channel #puppet
[2011/12/05 01:11:04] @ erthad joined channel #puppet
[2011/12/05 01:12:15] @ Quit: erthad: Changing host
[2011/12/05 01:12:15] @ erthad joined channel #puppet
[2011/12/05 01:12:56] @ duerF joined channel #puppet
[2011/12/05 01:13:53] <d3c> rodjek: if I remove notify from the absent file, it works like a charm. as soon as I add notify to it, refreshing/notification breaks
[2011/12/05 01:15:05] @ nul0op joined channel #puppet
[2011/12/05 01:17:11] <d3c> rodjek: if I specify notify e.g. mcollective::service instead of mcollective::reload for the absent file, it works. it's *only* when I specify notify mcollective::reload that it breaks.
[2011/12/05 01:17:34] @ londo_ joined channel #puppet
[2011/12/05 01:20:05] @ _TB_ joined channel #puppet
[2011/12/05 01:20:40] <d3c> rodjek: now, the absent file usually doesn't remove anything. if I however add the file that it removes, it will remove it but it still won't trigger a refresh to the exec.
[2011/12/05 01:21:32] @ Quit: the_ramink_: Read error: Connection reset by peer
[2011/12/05 01:22:13] @ the_ramink_ joined channel #puppet
[2011/12/05 01:23:07] @ The-Bat joined channel #puppet
[2011/12/05 01:24:27] @ Holocaine joined channel #puppet
[2011/12/05 01:25:35] @ jedi4ever joined channel #puppet
[2011/12/05 01:25:59] @ Quit: diq: Ping timeout: 258 seconds
[2011/12/05 01:30:29] @ diq joined channel #puppet
[2011/12/05 01:32:47] @ Quit: kubicek: Excess Flood
[2011/12/05 01:32:51] @ kubicek joined channel #puppet
[2011/12/05 01:32:52] @ Quit: kubicek: Excess Flood
[2011/12/05 01:34:03] @ kubicek joined channel #puppet
[2011/12/05 01:34:37] @ dissipate_ joined channel #puppet
[2011/12/05 01:34:57] <d3c> rodjek: I actually suspect this is more of a caching issue. I just tried moving the file absent into manifests/site.pp and then it worked the first time I ran it. second time I ran it, it didn't work. back to square one where it doesn't notify. if I move it back to the mcollective::agent::mcprovision manifest again, it doesn't work. what the hell is this... hm
[2011/12/05 01:36:02] <d3c> (if anybody else has an idea of what's going on, I'd appreciate your help as well. thanks)
[2011/12/05 01:36:12] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/05 01:37:26] <_rc_> d3c: is your puppetmaster running under passenger, if so what version of puppet?
[2011/12/05 01:38:39] <d3c> _rc_: it is. 2.7.6 and passenger 3.0.9. httpd 2.2.21
[2011/12/05 01:39:09] <_rc_> hm, 2.7.6 is new enough not to have the caching bug I'm thinking of
[2011/12/05 01:39:14] @ dylants joined channel #puppet
[2011/12/05 01:39:29] <d3c> _rc_: I also notified that when I went to bed last night, it didn't work. ran the manifest this morning and it worked *one time* again and then it stopped notifying once again
[2011/12/05 01:39:58] <d3c> _rc_: changed the manifests quite a lot by moving the absent file into site.pp. then it worked *one time* and stopped notifying
[2011/12/05 01:40:11] <d3c> _rc_: moving back to its original manifest didn't make it work one time again though
[2011/12/05 01:40:27] @ Quit: ben_duyujie: Ping timeout: 240 seconds
[2011/12/05 01:41:03] <_rc_> notifies happen when the changes the state; is the resource changing?
[2011/12/05 01:41:50] <d3c> _rc_: another agent is changing, the one called 'rewrite'. but it won't notify if the notify is specified for the absent file in the mcprovision agent manifest.
[2011/12/05 01:42:36] <_rc_> did you share the code yet?
[2011/12/05 01:42:37] <d3c> _rc_: that's what's really strange: as soon as I remove the notify from the absent file, everything works: http://pastebin.com/zudzVWkG
[2011/12/05 01:42:59] @ jimmy1980 joined channel #puppet
[2011/12/05 01:43:12] @ Quit: Holocaine:
[2011/12/05 01:43:55] <_rc_> what's with the weird anchoring?
[2011/12/05 01:44:56] <d3c> _rc_: what do you mean?
[2011/12/05 01:45:16] <_rc_> ^::
[2011/12/05 01:46:19] <d3c> _rc_: I had name collisions when not specifying the top scope for classes.
[2011/12/05 01:46:32] <d3c> _rc_: that's a long time ago though.
[2011/12/05 01:46:59] <_rc_> can you show us the logs of it working and not working?
[2011/12/05 01:47:12] <d3c> _rc_: sure, just a second
[2011/12/05 01:48:41] <d3c> _rc_: not working: http://pastebin.com/KeZrtZjb
[2011/12/05 01:48:51] @ Quit: scobal: Read error: Connection reset by peer
[2011/12/05 01:49:38] <_rc_> Dec 5 09:47:54 ip-10-228-9-237 puppet-agent[17153]: Caught TERM; calling stop
[2011/12/05 01:49:41] <d3c> _rc_: working: http://pastebin.com/NqNJXQ9k
[2011/12/05 01:49:55] <_rc_> are you running puppet within mcollective?
[2011/12/05 01:50:25] <d3c> _rc_: yes, triggering a run via mco puppetd runonce -f --with-fact role=web (working on my web server).
[2011/12/05 01:50:36] <_rc_> that's your issue I think
[2011/12/05 01:50:44] <d3c> _rc_: but I'm sure output is the same if I do puppet agent -v -o --no-daemonize on the server itself
[2011/12/05 01:50:58] <d3c> _rc_: will double check but I'm quite sure it's the same
[2011/12/05 01:51:15] <_rc_> you puppet agengt run shouldn't be killed off with TERM
[2011/12/05 01:51:16] @ Quit: Deesl: Ping timeout: 245 seconds
[2011/12/05 01:51:55] <_rc_> that it is makes me suspect that it just didn't get round to running/logging the notify
[2011/12/05 01:52:18] @ Deesl joined channel #puppet
[2011/12/05 01:52:20] @ Quit: Deesl: Remote host closed the connection
[2011/12/05 01:53:13] <d3c> _rc_: hm, maybe you're right. running via puppet agent -v -o --no-daemonize on the web server itself works every time.
[2011/12/05 01:53:37] <d3c> _rc_: I actually wrote the reload manifest to make sure it didn't kill itself (restarting mcollective when running via mcollective)
[2011/12/05 01:55:25] <_rc_> well something is causing puppet to get a TERM, I'd look for that
[2011/12/05 01:56:21] <d3c> _rc_: will try. how may I debug this though? any ideas?
[2011/12/05 02:01:05] @ wilmoore joined channel #puppet
[2011/12/05 02:04:09] @ Quit: nul0op: Ping timeout: 268 seconds
[2011/12/05 02:05:02] @ scobal joined channel #puppet
[2011/12/05 02:15:47] @ nul0op joined channel #puppet
[2011/12/05 02:19:30] @ Quit: _flex: Remote host closed the connection
[2011/12/05 02:20:04] <d3c> _rc_: found the culprit: I had ensure => 'stopped' in my puppet service manifest. I only want puppet to run when I tell it to (via mcollective). however, this meant that as soon as mcollective started puppet, puppet would - err - commit suicide by ensuring it's stopped.
[2011/12/05 02:23:55] @ MattyM joined channel #puppet
[2011/12/05 02:25:06] @ danikov joined channel #puppet
[2011/12/05 02:25:31] @ Quit: dissipate_: Ping timeout: 252 seconds
[2011/12/05 02:25:44] @ dissipate_ joined channel #puppet
[2011/12/05 02:25:56] <d3c> _rc_: thanks for your help debugging this :)
[2011/12/05 02:26:41] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/05 02:30:42] @ Quit: csanchez: Quit: csanchez
[2011/12/05 02:34:16] @ Quit: n8: Quit: n8
[2011/12/05 02:36:01] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 02:36:05] <_rc_> d3c: ah cool (sorry, status meeting)
[2011/12/05 02:36:13] @ The-Bat joined channel #puppet
[2011/12/05 02:38:44] @ Quit: abetterlie: Ping timeout: 244 seconds
[2011/12/05 02:50:02] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 02:50:13] @ The-Bat joined channel #puppet
[2011/12/05 02:54:44] @ brtl joined channel #puppet
[2011/12/05 02:55:47] @ Quit: d3c: Ping timeout: 244 seconds
[2011/12/05 02:55:52] @ Quit: inecas: Ping timeout: 240 seconds
[2011/12/05 02:58:41] @ Quit: gaveen: Remote host closed the connection
[2011/12/05 03:01:29] @ d3c joined channel #puppet
[2011/12/05 03:01:30] @ Quit: jaydg: Read error: Connection reset by peer
[2011/12/05 03:03:05] @ csanchez joined channel #puppet
[2011/12/05 03:06:00] @ pierre1 joined channel #puppet
[2011/12/05 03:06:51] <pierre1> hey! anyone would know an equivalent of Puppet::Node.find(fqdn).classes for 2.7?
[2011/12/05 03:10:01] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 03:10:13] @ The-Bat joined channel #puppet
[2011/12/05 03:11:03] @ Quit: choonming: Quit: Leaving
[2011/12/05 03:12:00] @ Quit: The-Bat: Client Quit
[2011/12/05 03:12:12] @ The-Bat joined channel #puppet
[2011/12/05 03:13:08] @ Quit: wilmoore: Ping timeout: 240 seconds
[2011/12/05 03:16:11] @ Guest22951 joined channel #puppet
[2011/12/05 03:16:15] @ jaydg joined channel #puppet
[2011/12/05 03:17:32] @ Quit: crs: Ping timeout: 258 seconds
[2011/12/05 03:19:36] @ Quit: Enf: Quit: Leaving
[2011/12/05 03:22:08] @ Quit: jaydg: Ping timeout: 244 seconds
[2011/12/05 03:22:15] @ Holocaine joined channel #puppet
[2011/12/05 03:24:33] @ Quit: ezryx: Read error: No route to host
[2011/12/05 03:24:40] @ ezryx joined channel #puppet
[2011/12/05 03:27:21] <bd> it seems that my nagios-nrpe-service does use the new config even if it gets restarted: http://pastie.org/private/qxltesgelpct2nrlc4vg
[2011/12/05 03:33:10] @ Quit: kelseyhi1htower: Ping timeout: 248 seconds
[2011/12/05 03:33:48] @ jaydg joined channel #puppet
[2011/12/05 03:35:17] @ kelseyhightower joined channel #puppet
[2011/12/05 03:35:40] <bd> okay, it seems like puppet is trying to start nrpe, but it is already running
[2011/12/05 03:38:18] @ fronlius joined channel #puppet
[2011/12/05 03:40:27] <bd> the pattern attribute to service {} is the answer
[2011/12/05 03:40:34] @ Quit: dwalu: Quit: dwalu
[2011/12/05 03:41:37] @ Quit: dissipate_: Remote host closed the connection
[2011/12/05 03:43:29] <kjetilho> bd: or fix the init-script of your distro. I've had the same problem due to mismatched pidfile definitions
[2011/12/05 03:44:43] @ Quit: fronlius: Quit: fronlius
[2011/12/05 03:50:58] @ hikkk joined channel #puppet
[2011/12/05 03:55:25] @ ken_barber joined channel #puppet
[2011/12/05 03:58:14] @ robinbow1s is now known as robinbowes
[2011/12/05 03:58:51] @ dim0 joined channel #puppet
[2011/12/05 03:58:55] @ fronlius joined channel #puppet
[2011/12/05 04:05:30] @ verwilst joined channel #puppet
[2011/12/05 04:05:55] @ natewalck joined channel #puppet
[2011/12/05 04:06:04] @ n8 joined channel #puppet
[2011/12/05 04:18:42] @ Quit: eskp: Read error: Connection reset by peer
[2011/12/05 04:19:19] @ _flex joined channel #puppet
[2011/12/05 04:20:21] @ eskp joined channel #puppet
[2011/12/05 04:20:29] @ Desdic joined channel #puppet
[2011/12/05 04:21:37] <Desdic> Hi, have anyone seem a weird issue on CentOS 5.7 when setting trace=false .. mine always sets trace=true just after server= in puppet.conf
[2011/12/05 04:22:04] @ inecas joined channel #puppet
[2011/12/05 04:22:09] <Desdic> no matter what I write to that file it will always be the one that is pushed out from puppet + trace=true
[2011/12/05 04:22:31] <Desdic> Debian does not do this and its the same puppet configurations
[2011/12/05 04:22:34] @ choonming joined channel #puppet
[2011/12/05 04:26:09] @ agwells0714 joined channel #puppet
[2011/12/05 04:33:53] <dcarley> Desdic: how do you push out puppet.conf - a template?
[2011/12/05 04:33:59] @ rocket joined channel #puppet
[2011/12/05 04:34:09] @ Quit: ken_barber: Quit: Leaving.
[2011/12/05 04:43:00] @ marrusl joined channel #puppet
[2011/12/05 04:43:31] @ Quit: mogitaff: Ping timeout: 255 seconds
[2011/12/05 04:43:42] @ mogitaff joined channel #puppet
[2011/12/05 04:47:00] <agwells0714> Is there a way for a single node to collect information from multiple classes?
[2011/12/05 04:47:10] <agwells0714> so that another class can reference that information?
[2011/12/05 04:47:11] @ hikkk left channel #puppet ()
[2011/12/05 04:47:22] @ Quit: natewalck: Quit: Outta here
[2011/12/05 04:47:28] @ Quit: marczak: Ping timeout: 252 seconds
[2011/12/05 04:51:18] <Desdic> dcarley: yes a erb file
[2011/12/05 04:51:59] <Desdic> dcarley: same .erb file on debian and centos. I actually only noticed it because I get a email every 30 min saying that there is nothing to change (trace=true)
[2011/12/05 04:52:14] @ Quit: kolla_: Ping timeout: 252 seconds
[2011/12/05 04:53:23] @ Quit: AshishH: Quit: In a day, when you do not come across any problem means you are travelling in a wrong path.
[2011/12/05 04:54:33] @ Quit: Holocaine:
[2011/12/05 04:55:13] @ Quit: windowsrefund: Quit: WeeChat 0.3.2
[2011/12/05 04:56:08] @ St3v3o joined channel #puppet
[2011/12/05 04:56:15] <St3v3o> good morning
[2011/12/05 04:56:50] <agwells0714> good morning fellow east coaster
[2011/12/05 04:58:26] <St3v3o> I have a few clients that are on puppet 2.7.6 and randomly will be come unresponsive. When executing puppet manually I get the message "notice: Run of Puppet configuration client already in progress; skipping". If I remove the lock file from /var/lib/puppet/state/puppetlock, puppet will then execute. Does anyone know what would cause these nodes to continue to "lock" ?
[2011/12/05 04:59:09] @ Quit: jimmy1980: Ping timeout: 244 seconds
[2011/12/05 04:59:25] @ Quit: fronlius: Quit: fronlius
[2011/12/05 05:00:01] @ jimmy1980 joined channel #puppet
[2011/12/05 05:03:40] <fragfutter> St3v3o: crashed puppet not cleaning up after itself
[2011/12/05 05:04:32] <St3v3o> will the cause of the crash be reported in a log ?
[2011/12/05 05:05:05] @ marczak joined channel #puppet
[2011/12/05 05:05:45] @ cliff-hm joined channel #puppet
[2011/12/05 05:06:26] @ Quit: brahman: Quit: leaving
[2011/12/05 05:10:18] <fragfutter> St3v3o: i would start checking syslog of the machine
[2011/12/05 05:10:19] @ Razique joined channel #puppet
[2011/12/05 05:13:50] @ aherzog joined channel #puppet
[2011/12/05 05:14:19] @ illsci joined channel #puppet
[2011/12/05 05:18:52] @ natewalck joined channel #puppet
[2011/12/05 05:19:35] @ Quit: jl000: Read error: Connection reset by peer
[2011/12/05 05:20:29] @ jl000 joined channel #puppet
[2011/12/05 05:22:07] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2011/12/05 05:23:44] @ johnston joined channel #puppet
[2011/12/05 05:27:49] @ Quit: jl000: Remote host closed the connection
[2011/12/05 05:28:28] @ Quit: johnston: Ping timeout: 265 seconds
[2011/12/05 05:28:42] @ Quit: espent: Quit: espent
[2011/12/05 05:30:01] @ jl000 joined channel #puppet
[2011/12/05 05:30:30] @ Quit: jimmy1980: Ping timeout: 248 seconds
[2011/12/05 05:32:06] @ rgsteele joined channel #puppet
[2011/12/05 05:35:03] @ jimmy1980 joined channel #puppet
[2011/12/05 05:43:25] @ RhysMorgan joined channel #puppet
[2011/12/05 05:43:42] <RhysMorgan> Hi, is there a way to use multiple CA's in puppet yet using a certbundle?
[2011/12/05 05:50:08] @ Quit: shine: Ping timeout: 248 seconds
[2011/12/05 05:53:36] @ ben_duyujie joined channel #puppet
[2011/12/05 05:54:13] @ shine joined channel #puppet
[2011/12/05 05:54:30] @ Quit: marczak: Ping timeout: 248 seconds
[2011/12/05 05:55:31] @ johnston joined channel #puppet
[2011/12/05 05:57:30] @ uphillian joined channel #puppet
[2011/12/05 05:57:31] @ astrostl joined channel #puppet
[2011/12/05 05:59:51] <joe-mac> lisa starts today doesn't it?
[2011/12/05 06:00:23] <lisa> not here too
[2011/12/05 06:01:01] <limed> yesterday actually
[2011/12/05 06:01:06] <joe-mac> o I c
[2011/12/05 06:01:17] @ ben_duyujie left channel #puppet ()
[2011/12/05 06:02:48] @ Quit: nul0op: Read error: Operation timed out
[2011/12/05 06:04:38] @ Quit: joe-mac: Quit: Leaving.
[2011/12/05 06:04:43] @ lak joined channel #puppet
[2011/12/05 06:04:43] @ Quit: lak: Changing host
[2011/12/05 06:04:44] @ lak joined channel #puppet
[2011/12/05 06:07:39] @ Quit: n8: Quit: n8
[2011/12/05 06:09:28] @ londo__ joined channel #puppet
[2011/12/05 06:10:33] @ tblamer joined channel #puppet
[2011/12/05 06:10:48] @ sduchesneau joined channel #puppet
[2011/12/05 06:11:07] @ Quit: ezryx: Read error: Connection reset by peer
[2011/12/05 06:11:15] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/05 06:11:24] @ ezryx joined channel #puppet
[2011/12/05 06:11:49] @ jimmy1980 joined channel #puppet
[2011/12/05 06:18:23] @ Quit: kermit: Quit: Leaving.
[2011/12/05 06:18:37] @ joe-mac joined channel #puppet
[2011/12/05 06:18:43] @ kermit joined channel #puppet
[2011/12/05 06:19:22] @ Quit: joe-mac: Remote host closed the connection
[2011/12/05 06:19:24] @ nul0op joined channel #puppet
[2011/12/05 06:20:04] @ cliff-hm joined channel #puppet
[2011/12/05 06:20:54] @ less_than_puppet joined channel #puppet
[2011/12/05 06:21:03] @ marczak joined channel #puppet
[2011/12/05 06:21:08] @ Quit: kubicek: Excess Flood
[2011/12/05 06:21:46] @ jsm joined channel #puppet
[2011/12/05 06:22:58] @ Quit: dim0: Ping timeout: 244 seconds
[2011/12/05 06:23:08] @ youssef82 joined channel #puppet
[2011/12/05 06:23:09] @ Quit: cwarden: Ping timeout: 268 seconds
[2011/12/05 06:23:12] @ kubicek joined channel #puppet
[2011/12/05 06:23:49] <youssef82> hii
[2011/12/05 06:24:38] @ Quit: ezryx: Read error: Connection reset by peer
[2011/12/05 06:24:39] @ ezryx_ joined channel #puppet
[2011/12/05 06:25:01] @ Quit: nul0op: Ping timeout: 245 seconds
[2011/12/05 06:25:37] <youssef82> hiii
[2011/12/05 06:27:06] @ Quit: youssef82: Client Quit
[2011/12/05 06:27:57] @ blentz joined channel #puppet
[2011/12/05 06:28:24] @ Quit: duerF: Quit: Leaving
[2011/12/05 06:29:32] @ justintime joined channel #puppet
[2011/12/05 06:29:50] @ abetterlie joined channel #puppet
[2011/12/05 06:30:29] @ Quit: ezryx_: Read error: Connection reset by peer
[2011/12/05 06:32:10] @ lborda joined channel #puppet
[2011/12/05 06:33:09] @ joe-mac joined channel #puppet
[2011/12/05 06:33:13] @ Quit: ped: Quit: Leaving.
[2011/12/05 06:33:15] <rocket> grr stupid dependancy cycles ... seems my class inside a run stage is giving me this issue..
[2011/12/05 06:34:10] @ jameswhite left channel #puppet ()
[2011/12/05 06:34:26] @ tomben is now known as tomben[S7]
[2011/12/05 06:35:44] @ pednyc joined channel #puppet
[2011/12/05 06:35:55] @ pednyc is now known as ped
[2011/12/05 06:36:48] <robinbowes> Eh?
[2011/12/05 06:37:15] @ nul0op joined channel #puppet
[2011/12/05 06:38:05] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/05 06:39:13] @ Quit: zwi: Quit: Leaving.
[2011/12/05 06:45:15] <rocket> robinbowes: I am trying to setup a new module and as soon as I include it in a run stage it blows up in a dependancy cycle loop
[2011/12/05 06:46:30] @ gniks joined channel #puppet
[2011/12/05 06:46:39] <_rc_> stages shouldn't do that, but without the code or the error message we can do a good line in looking at you blankly
[2011/12/05 06:47:04] <ashp> Anyone here have any opinions on software loadbalancers
[2011/12/05 06:47:05] @ hazmat` is now known as hazmat
[2011/12/05 06:47:07] <ashp> and which are easy to control via puppet
[2011/12/05 06:50:14] <fragfutter> ashp: what do you want to balance?
[2011/12/05 06:51:22] <joe-mac> sanity vs insanity
[2011/12/05 06:51:27] <joe-mac> I want insanity to win a little
[2011/12/05 06:51:37] <fragfutter> joe-mac: have a drink ;)
[2011/12/05 06:52:00] <ashp> mmm, insanity
[2011/12/05 06:52:05] <ashp> fragfutter: webservers, pretty much
[2011/12/05 06:52:06] <rocket> _rc_: I understand .. I am getting there with a pastebin .. mostly however I was just venting
[2011/12/05 06:52:19] <ashp> apparently here we've used LVS, pound, ldirectord, haproxy
[2011/12/05 06:52:26] <joe-mac> ashp: if you need simple LB, like round robin or source hash, I use PF on OpenBSD
[2011/12/05 06:52:30] <ashp> I just wanted something easy to configure via puppet, that was my only requirement
[2011/12/05 06:52:36] <joe-mac> I hear a lot of people like nginx though
[2011/12/05 06:52:43] <illsci> I've asked this before but I forget what the answer was... what's the mac osx screencast software everyone uses? LIke the ones volcane used for the mcollective videos?
[2011/12/05 06:53:17] <illsci> ashp: are you deploying on real servers or in the cloud?
[2011/12/05 06:53:29] <ashp> illsci: Real servers, but we do test instances in the cloud
[2011/12/05 06:53:30] <illsci> I switched to amazon elb from haproxy...
[2011/12/05 06:53:34] <illsci> werd
[2011/12/05 06:53:35] <fragfutter> ashp: you can also balance through webservers (apache, nginx) and proxies (squid). I can't tell you about the puppet part, but i ended with haproxy.
[2011/12/05 06:54:10] <ashp> joe-mac: I can barely get our RHEL stuff sorted without chucking bsd back in ;)
[2011/12/05 06:54:29] @ dwatsonuk joined channel #puppet
[2011/12/05 06:55:50] <ashp> I should see if anyone has a sweet haproxy module
[2011/12/05 06:56:00] <ashp> because ideally it would use an exported resource from the webservers to build the loadbalancer
[2011/12/05 06:56:02] @ chrischris joined channel #puppet
[2011/12/05 06:56:05] @ dwalu joined channel #puppet
[2011/12/05 06:56:23] @ nadavoid joined channel #puppet
[2011/12/05 06:56:24] <illsci> there might be just that example in the puppet book
[2011/12/05 06:56:44] <illsci> that's where I read about the idea of using exported resources for lb configuring
[2011/12/05 06:57:00] <ashp> hmm, I own pro puppet, guess I'll take a look
[2011/12/05 06:57:21] <ashp> I might have to make my own module/resources for it but it's not the end of the one
[2011/12/05 06:57:35] <ashp> Hmm, if you make a define rather than a full on resource can you export those and collect them on remote nodes
[2011/12/05 06:57:39] <ashp> If I can do that it should be simple
[2011/12/05 06:59:02] @ susman joined channel #puppet
[2011/12/05 06:59:51] <susman> Hi, is there groupinstall yum ability in puppet, if yes, how should i call it?
[2011/12/05 07:00:01] <jedi4ever> illsci: best mac screencast soft -> screenflow
[2011/12/05 07:01:23] @ tomben[S7] is now known as tomben[M7]
[2011/12/05 07:02:09] @ rutger_ joined channel #puppet
[2011/12/05 07:02:12] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/12/05 07:02:15] @ Quit: rutger: Quit: Leaving
[2011/12/05 07:03:19] <illsci> werd up
[2011/12/05 07:03:24] <illsci> jedi4ever: thanks!
[2011/12/05 07:03:34] @ artkrz joined channel #puppet
[2011/12/05 07:04:40] @ ckauhaus joined channel #puppet
[2011/12/05 07:04:40] <lisa> what happens if a file type is defined with many source options but none match for a given node? is the file silently skipped or is that a fatal error?
[2011/12/05 07:05:58] <_rc_> it fails that file resource, carries on
[2011/12/05 07:05:59] @ ldlework joined channel #puppet
[2011/12/05 07:06:01] @ m3ridian joined channel #puppet
[2011/12/05 07:06:05] <lisa> ok
[2011/12/05 07:06:17] <lisa> noisily skipped then
[2011/12/05 07:06:35] @ ezryx joined channel #puppet
[2011/12/05 07:06:50] <_rc_> it applies as much of the rest of the catalog that it can that isn't marked to depend on that file
[2011/12/05 07:07:04] <lisa> okay
[2011/12/05 07:07:13] <lisa> cross platform/cross version manifests are a pain :(
[2011/12/05 07:07:50] <joe-mac> lisa: yea but once you finish them, you are set free
[2011/12/05 07:07:55] <lisa> yep
[2011/12/05 07:07:56] @ tremble joined channel #puppet
[2011/12/05 07:08:00] <joe-mac> I'm supporting way too many OSs in my manifests
[2011/12/05 07:08:06] <lisa> i'm refactoring our LDAP module because it's grown out of hand.
[2011/12/05 07:08:24] <joe-mac> it takes a lot of experience with puppet to know when you're doing something wrong or badly
[2011/12/05 07:08:40] <joe-mac> so I'm on what I'd call maybe my fourth or fifth style re-factoring
[2011/12/05 07:08:48] <lisa> so far we've got CentOS 5 and 6 and many versions of Ubuntu. We may bring Solaris (or some fork) into the fold next year... pain!
[2011/12/05 07:08:59] @ dfamorato joined channel #puppet
[2011/12/05 07:09:06] @ j^2 joined channel #puppet
[2011/12/05 07:09:10] <_rc_> you're writing code, so you're doing wrong. the only winning move is not to play
[2011/12/05 07:09:21] <joe-mac> yea, most of my manifests run on debian 5,6, ubuntu 8.04-11.04, and OpenBSD 4.6-current
[2011/12/05 07:09:34] <joe-mac> and el 5 and 6
[2011/12/05 07:09:47] @ brandon_dacrib joined channel #puppet
[2011/12/05 07:09:48] <joe-mac> mostly doing el6 and ubuntu 10.04 and OpenBSD now though
[2011/12/05 07:10:00] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 07:10:00] @ justintime left channel #puppet ()
[2011/12/05 07:10:07] @ The-Bat joined channel #puppet
[2011/12/05 07:10:12] <lisa> fun times! :)
[2011/12/05 07:10:15] @ justintime joined channel #puppet
[2011/12/05 07:10:20] <lisa> it's a good challenge. i like it.
[2011/12/05 07:10:35] @ Quit: nuknad: Quit: nuknad
[2011/12/05 07:10:37] <lisa> i know that in the worst case i can just brute force it but i would much prefer something more easily maintainable.
[2011/12/05 07:12:11] <joe-mac> the puppet official advice is to do either an if or case at the beginning and set all the service and pckage config variables, then set up the manifest in a generic way by using all those variables
[2011/12/05 07:12:56] @ lwhalen joined channel #puppet
[2011/12/05 07:13:55] @ Quit: _flex: Remote host closed the connection
[2011/12/05 07:14:08] @ Paradoxlord joined channel #puppet
[2011/12/05 07:14:19] <stew> How can I make it so that I can declare a bunch of resources like: foo { "asdf": bar=>"baz"; } ; foo{"qwer": bar=>"qux"} ; then collect those resources into a file which would have lines like "asdf baz" and "qwer qux"? Can I somehow loop over all such resources in a template? or something?
[2011/12/05 07:14:30] @ Paradoxlord left channel #puppet ()
[2011/12/05 07:14:40] <_rc_> stew: concat
[2011/12/05 07:14:51] <_rc_> stew: https://github.com/ripienaar/puppet-concat
[2011/12/05 07:15:15] @ key joined channel #puppet
[2011/12/05 07:15:15] <stew> _rc_: thanks, i'll check it out
[2011/12/05 07:15:22] <stew> in multiple senses of check out, heh
[2011/12/05 07:15:47] @ Quit: Vasik|work: Remote host closed the connection
[2011/12/05 07:16:21] <boklm> you can also use virtual resources
[2011/12/05 07:17:59] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 07:18:06] @ The-Bat joined channel #puppet
[2011/12/05 07:18:31] <boklm> stew: http://pastie.org/2938867
[2011/12/05 07:19:17] @ kolla_ joined channel #puppet
[2011/12/05 07:19:58] @ Quit: The-Bat: Client Quit
[2011/12/05 07:20:05] @ The-Bat joined channel #puppet
[2011/12/05 07:20:24] @ Quit: jsm: Quit: jsm
[2011/12/05 07:21:13] <_rc_> if you had a neat wrapper for that, so you could have multiple lists, it'd much more useful
[2011/12/05 07:22:30] @ rcrowley joined channel #puppet
[2011/12/05 07:24:04] @ _flex joined channel #puppet
[2011/12/05 07:24:48] @ drewrm joined channel #puppet
[2011/12/05 07:25:35] @ flipwork_ joined channel #puppet
[2011/12/05 07:25:35] @ n8 joined channel #puppet
[2011/12/05 07:25:59] @ cwarden joined channel #puppet
[2011/12/05 07:27:06] @ Quit: n8: Client Quit
[2011/12/05 07:27:17] @ n8 joined channel #puppet
[2011/12/05 07:27:47] @ Quit: flipwork: Ping timeout: 240 seconds
[2011/12/05 07:28:00] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 07:28:12] @ The-Bat joined channel #puppet
[2011/12/05 07:28:42] @ ghg joined channel #puppet
[2011/12/05 07:29:29] @ gniks1 joined channel #puppet
[2011/12/05 07:29:54] <stew> boklm: that totally works, thanks. Now i'm just trying to figure out how it works :)
[2011/12/05 07:30:32] @ Quit: gniks: Ping timeout: 244 seconds
[2011/12/05 07:32:26] @ bosszaru joined channel #puppet
[2011/12/05 07:32:53] <lisa> joe-mac: in your ldap client manifests how do you deal with the logic for el5 and el6 machines where in el6 there is no more /etc/ldap.conf but rather /etc/pam_ldap.conf? is it best practice to stuff it behind an if/case block?
[2011/12/05 07:33:43] <lisa> i guess that should be posed to the channel in general heh.
[2011/12/05 07:33:52] @ Quit: tblamer: Read error: Connection reset by peer
[2011/12/05 07:33:53] <joe-mac> lisa: I don;'t have ldap clients in any of my setups, but yea that's a pretty standard type issue
[2011/12/05 07:33:59] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 07:34:04] <joe-mac> you set something like $cfg_file per OS
[2011/12/05 07:34:06] @ The-Bat joined channel #puppet
[2011/12/05 07:34:10] @ tblamer joined channel #puppet
[2011/12/05 07:34:23] <joe-mac> like I was saying earlier, you do all that at the beginning of the manifest, then use the variables throughout the manifest
[2011/12/05 07:34:40] <lisa> hmm
[2011/12/05 07:34:40] <lisa> okay
[2011/12/05 07:34:43] @ rexo joined channel #puppet
[2011/12/05 07:34:47] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/05 07:34:53] <lisa> i guess $ldap_conf_path and $ldap_conf_template
[2011/12/05 07:35:04] @ Quit: tblamer: Read error: Connection reset by peer
[2011/12/05 07:35:20] <joe-mac> why change the template?
[2011/12/05 07:35:24] <joe-mac> also best practice to use one template
[2011/12/05 07:35:26] @ tblamer joined channel #puppet
[2011/12/05 07:35:37] <lisa> well i could use ERB-based logic
[2011/12/05 07:35:44] <joe-mac> yea
[2011/12/05 07:35:58] <lisa> is that preferred though?
[2011/12/05 07:36:14] <joe-mac> you don't want multiple templates for the same config file across OS's
[2011/12/05 07:36:27] <joe-mac> sure some options change and whatnot, use conditionals for that
[2011/12/05 07:36:30] <_rc_> it depends how much you need to vary the file contents. your pam configuration may vary wildly by major version/distributions
[2011/12/05 07:37:02] <_rc_> every time you use a conditional, a kitten is saved from harm :(
[2011/12/05 07:37:09] <lisa> _rc_: pam config is next and it'll be a PAIN. i touch 5 or 6 pam.d files for Ubuntu and just 1 for CentOS
[2011/12/05 07:37:40] <lisa> i'm going to see if Ubuntu has an authconfig(8)-like facility so i can just manage one meta-config file to generate the right stuff.
[2011/12/05 07:37:53] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/05 07:38:17] <joe-mac> yea pam is tough
[2011/12/05 07:38:18] <joe-mac> I have been meaning to write a pam type for years now
[2011/12/05 07:38:28] <joe-mac> maybe I will do it now that I understand ParsedFile a little
[2011/12/05 07:38:33] <lisa> i might just slog it out and use a case statement.
[2011/12/05 07:38:36] <joe-mac> better than before
[2011/12/05 07:38:39] <lisa> what is ParsedFile?
[2011/12/05 07:38:43] @ Quit: brd: Quit: leaving
[2011/12/05 07:38:51] <joe-mac> it's a provider
[2011/12/05 07:39:01] @ Quit: less_than_puppet: Quit: Leaving
[2011/12/05 07:39:13] @ duerF joined channel #puppet
[2011/12/05 07:39:29] <lisa> do you have link to it?
[2011/12/05 07:39:50] <lisa> nevermind, googles :P
[2011/12/05 07:39:51] <_rc_> it's in the guts of writing custom types
[2011/12/05 07:41:39] @ Quit: d3c: Ping timeout: 252 seconds
[2011/12/05 07:42:00] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 07:42:07] @ The-Bat joined channel #puppet
[2011/12/05 07:43:17] @ jimmy1980 joined channel #puppet
[2011/12/05 07:43:20] <joe-mac> speaking of, hey masterzen you here?
[2011/12/05 07:43:34] @ Quit: drewrm: Ping timeout: 244 seconds
[2011/12/05 07:43:35] <joe-mac> self.instances appears to indeed have some effect on the application of a type
[2011/12/05 07:43:44] <masterzen> joe-mac: yep, I'm there
[2011/12/05 07:43:45] <joe-mac> as the docs kind of indicate, but I know you've done a lot of dev on puppet
[2011/12/05 07:43:54] <joe-mac> so I was unsure who to believe heh
[2011/12/05 07:44:08] <joe-mac> my instances method wasn't parsing the host aliases properly and causing issues during the actual puppet run
[2011/12/05 07:44:11] <masterzen> joe-mac: can you point me to the doc that says that?
[2011/12/05 07:44:14] <joe-mac> but I fixed it and they went away
[2011/12/05 07:44:15] <joe-mac> sure hold on
[2011/12/05 07:44:38] <masterzen> joe-mac: the parsedfile implementation of self.instances should be self-sufficient to my knowledge :)
[2011/12/05 07:45:12] <ashp> Ok this is really, really lazy of me
[2011/12/05 07:45:18] <ashp> but does anyone have a gateway fact they put together
[2011/12/05 07:45:20] <ashp> so I don't have to write one
[2011/12/05 07:46:05] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/12/05 07:46:20] @ labrown joined channel #puppet
[2011/12/05 07:46:26] <joe-mac> masterzen: yea problem is with my sshkey type name was generated by concatenating a couple of properties, which is why the one in parsedfile wasn't working
[2011/12/05 07:46:38] <joe-mac> http://docs.puppetlabs.com/guides/provider_development.html <-- Note that all providers must define an instances class method that returns a list of provider instances, one for each existing instance of that provider. For instance, the dpkg provider should return a provider instance for every package in the dpkg database.
[2011/12/05 07:46:50] <joe-mac> but, that's not the exact doc I was talking about
[2011/12/05 07:46:50] <ashp> https://github.com/kwilczynski/facter-facts/blob/master/default_gateway.rb hurrah!
[2011/12/05 07:46:51] <Lorax> rexo: this isn't a dating channel, it's about an administrative tool.
[2011/12/05 07:47:04] <joe-mac> there is one that says basic type and provide architecture and what methods get called when, and they say that instances is called by something else
[2011/12/05 07:47:12] <masterzen> joe-mac: the provider you inherit from (the parsedfile) is already implementing a self.instances for you
[2011/12/05 07:47:47] @ d3c joined channel #puppet
[2011/12/05 07:48:08] @ Guest87129 is now known as crazed
[2011/12/05 07:48:10] <lisa> ashp: 404?
[2011/12/05 07:48:21] <lisa> Oh
[2011/12/05 07:48:23] <lisa> copy/paste fail
[2011/12/05 07:48:24] <Guest22951> Hi there. In node definition, is it possible to basing on node create a variable available in all classes imported for that node? Like: node /^a.*$/ { if $hostname == /^ab$/ { customvar => "something, ... } } ?
[2011/12/05 07:48:30] <tobert> ashp, I'm using that one, it works fine /cc matti
[2011/12/05 07:48:37] @ crazed is now known as Guest13739
[2011/12/05 07:48:39] <joe-mac> masterzen: correct, but it's insufficient somehow with my type changes for name and host and host_aliases, caused ensure present to happen every time, until I added a proper working instances method of my own
[2011/12/05 07:48:40] <ashp> yep, works perfect for me
[2011/12/05 07:48:44] <ashp> Hope it makes it into facter
[2011/12/05 07:48:49] <ashp> I was shocked when I found no gateway fact
[2011/12/05 07:49:17] <masterzen> joe-mac: yep, that's well possible.
[2011/12/05 07:49:29] @ Quit: Guest13739: Changing host
[2011/12/05 07:49:29] @ Guest13739 joined channel #puppet
[2011/12/05 07:49:52] <joe-mac> masterzen: the only t hing that still puzzles me is how the hell does sshkey automatically find the target
[2011/12/05 07:49:59] <joe-mac> I can't fathom where that is cming from
[2011/12/05 07:50:00] @ Guest13739 is now known as crazed
[2011/12/05 07:50:59] <masterzen> joe-mac: you mean the file where the stuff will be read/written?
[2011/12/05 07:51:06] <joe-mac> indeed
[2011/12/05 07:51:29] <ashp> this guy has a bunch of awesome facts
[2011/12/05 07:51:30] <ashp> that rules
[2011/12/05 07:51:33] <lisa> oooh i like uuid.rb
[2011/12/05 07:51:46] <ashp> kwilczynski, if you're in here, thanks!
[2011/12/05 07:52:13] <ashp> They should go ahead and integrate all of these, they are cool
[2011/12/05 07:52:37] <tobert> ashp, he goes by "matti" on irc
[2011/12/05 07:53:05] <joe-mac> that default gateway fact is a little... too nerdy in its way of determining the gateway
[2011/12/05 07:53:09] <ashp> I love it tho
[2011/12/05 07:53:18] <ashp> I am stealing his location.rb rather than putting together a bad one myself
[2011/12/05 07:53:26] <tobert> it's not totally surprising that there isn't a default route fact -- it's incredibly tricky to get right once you step a little outside of the normal bounds
[2011/12/05 07:53:34] <joe-mac> matti: you nerd
[2011/12/05 07:53:41] <joe-mac> yea which is why he did it the way he did
[2011/12/05 07:53:59] <joe-mac> you'd figure there is a syscall for this though
[2011/12/05 07:54:38] <ashp> This stuff makes me ashamed of how bad my ruby is :)
[2011/12/05 07:54:45] <tobert> joe-mac: there is on other unixes ... but it's super tricky in cases where there's zebra, multiple routes, etc.
[2011/12/05 07:54:52] @ ken_barber joined channel #puppet
[2011/12/05 07:54:52] @ Quit: chjohnst: Quit: BitchX-1.1-final -- just do it.
[2011/12/05 07:55:31] @ dan__t joined channel #puppet
[2011/12/05 07:56:24] <tobert> and syscalls from Ruby is a pretty awful experience
[2011/12/05 07:58:59] @ Quit: danikov: Quit: danikov
[2011/12/05 07:59:33] @ spiette joined channel #puppet
[2011/12/05 07:59:42] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/12/05 08:00:32] <ashp> Hmm, I should enhance my location fact
[2011/12/05 08:00:38] <ashp> to fall back in parsing the hostname if it can't find anything
[2011/12/05 08:00:49] <ashp> Because most hosts start with datacenterX-blah
[2011/12/05 08:01:03] <ashp> wouldn't be too hard to cut on - and parse for that pattern
[2011/12/05 08:01:13] @ Quit: paroneayea: Remote host closed the connection
[2011/12/05 08:06:55] <lisa> i'll just parse hostname.
[2011/12/05 08:07:00] @ brd joined channel #puppet
[2011/12/05 08:07:00] <lisa> we're moving towards location-based names
[2011/12/05 08:07:08] <lisa> tor- atl- ott- makes it easy :)
[2011/12/05 08:07:18] <lisa> there's also SNMP :P
[2011/12/05 08:07:27] <lisa> just read snmpd.conf syslocation
[2011/12/05 08:07:49] <lisa> (pity that is managed by puppet...)
[2011/12/05 08:09:58] @ Quit: clustermagnet: Remote host closed the connection
[2011/12/05 08:10:36] @ clustermagnet joined channel #puppet
[2011/12/05 08:11:07] @ Quit: m3ridian:
[2011/12/05 08:12:11] @ alanevans joined channel #puppet
[2011/12/05 08:12:34] @ hobbeswalsh joined channel #puppet
[2011/12/05 08:14:12] <joe-mac> I prefer location domains
[2011/12/05 08:14:20] <joe-mac> not really possible if you're using AD heavily though
[2011/12/05 08:14:36] @ jonhattan joined channel #puppet
[2011/12/05 08:14:36] <joe-mac> at least, not advised as best practice by ms consultants
[2011/12/05 08:14:37] <joe-mac> haha
[2011/12/05 08:14:57] <rocket> is there a way to have a class depend on one or more defined resource?
[2011/12/05 08:15:16] @ Quit: ryancoleman: Quit: Leaving.
[2011/12/05 08:15:24] <lak> rocket: Thing[foo] -> Class[bar]
[2011/12/05 08:15:44] <rocket> eg my drbd::service needs to depend on at least one define drbd::resource element
[2011/12/05 08:15:56] <joe-mac> lak: you in boston for lisa?
[2011/12/05 08:16:08] <rocket> lak but I dont necessarily know the name of my define at the time I am setting up the relationship
[2011/12/05 08:16:16] <lak> joe-mac: ayup
[2011/12/05 08:16:27] <joe-mac> rocket: use tags, same way lak said but with tags, I use that to great win
[2011/12/05 08:16:33] @ Quit: csanchez: Quit: csanchez
[2011/12/05 08:16:39] <joe-mac> lak: LMK if you're doing a puppet meetup or anything, I've never actually met you in person
[2011/12/05 08:16:48] <joe-mac> and you're rarely in my hometown I think
[2011/12/05 08:16:57] @ `Kevin joined channel #puppet
[2011/12/05 08:17:19] <nahamu> I thought I saw a puppet BoF on the board, but I might be making that up...
[2011/12/05 08:17:41] <joe-mac> money is too tight right now, for once LISA is in boston and I can't make it for that stupid reason
[2011/12/05 08:17:53] <joe-mac> but I'd definitely be game for some kind of meetup etc
[2011/12/05 08:19:15] @ Quit: leifmadsen: Read error: Connection reset by peer
[2011/12/05 08:19:36] @ kaptk2 joined channel #puppet
[2011/12/05 08:19:44] @ leifmadsen joined channel #puppet
[2011/12/05 08:20:01] @ Quit: dwalu: Ping timeout: 245 seconds
[2011/12/05 08:20:53] <rocket> joe-mac can I just require => Tag["drbd-resource"], ??
[2011/12/05 08:21:18] @ Quit: jaydg: Quit: Verlassend
[2011/12/05 08:21:50] @ antony_ joined channel #puppet
[2011/12/05 08:22:13] <joe-mac> no, you can't use require in that way in the middle of a class
[2011/12/05 08:22:25] <joe-mac> that syntax will only work in a resource and you can't use Tag like that either
[2011/12/05 08:22:34] <joe-mac> hold on let me find an example
[2011/12/05 08:23:17] <antony_> Hello all
[2011/12/05 08:23:26] <joe-mac> here is a slightly different usage but basic syntax
[2011/12/05 08:23:27] <joe-mac> Exec <| tag == "httpd_config" |> ~> Exec["reload-${apache_name}"]
[2011/12/05 08:23:40] <eshamow> joe-mac: there is indeed a Puppet Bof - Wednesday at 7:30 in Fairfax A
[2011/12/05 08:23:55] <joe-mac> I'm unfamiliar with this acronym?
[2011/12/05 08:24:10] <lisa> birds of a feather?
[2011/12/05 08:24:11] <eshamow> sorry that was at nahamu and not you - but it's a Birds of a Feather
[2011/12/05 08:24:42] <eshamow> basically informal-ish get together on a topic
[2011/12/05 08:25:05] <nahamu> eshamow: thanks
[2011/12/05 08:25:37] <eshamow> nahamu: if you're planning on being there, fairly sure I will as well barring major injury :)
[2011/12/05 08:25:39] <eshamow> or beer.
[2011/12/05 08:25:48] <nahamu> I can't :(
[2011/12/05 08:26:35] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/05 08:26:50] <eshamow> rocket: "tag" is a meta-parameter
[2011/12/05 08:27:00] <eshamow> you can only require resources
[2011/12/05 08:27:18] @ Quit: raphdg: Remote host closed the connection
[2011/12/05 08:27:20] <eshamow> what you've written is like saying require => Mode['0677'] :)
[2011/12/05 08:27:30] <joe-mac> lisa: interesting probably a good networking opportunity, I wonder if I can register for a day only
[2011/12/05 08:27:58] <rocket> yeah that makes sense .. but I was hoping it would just require all objects that have that tag go before me etc ..
[2011/12/05 08:27:59] <eshamow> joe-mac you may be able to: http://www.usenix.org/events/lisa11/registration/
[2011/12/05 08:28:12] <eshamow> rocket: ahh then joe-mac's spaceshot syntax is what you're looking for
[2011/12/05 08:28:17] <eshamow> sorry spaceship
[2011/12/05 08:28:21] <rocket> joe-mac: there is a free day ..
[2011/12/05 08:28:26] <eshamow> grr. my IRC client does not need autocomplete.
[2011/12/05 08:28:34] <rocket> storage day I believe is free on wednesday
[2011/12/05 08:29:08] <antony_> I have 2 puppet server in cluster, I duplicate folder /var/lib/puppet/ssl/ on both nodes. All is good but i have a very recursive error in /var/log/puppet/masterhttp.log : ERROR OpenSSL::SSL::SSLError: SSL_accept SYSCALL returned=5 errno=0 state=SSLv2/v3 read client hello A
[2011/12/05 08:29:13] <joe-mac> rocket: will look into it
[2011/12/05 08:29:18] <antony_> Could you help me please ?
[2011/12/05 08:29:22] @ Quit: cwebber: Remote host closed the connection
[2011/12/05 08:29:49] @ Quit: tizzo-afk: Quit: ZNC - http://znc.sourceforge.net
[2011/12/05 08:30:01] <lisa> joe-mac: i don't know :P #lopsa can probably tell you about day passes
[2011/12/05 08:30:15] <rocket> grr I have to be doing something wrong now ...
[2011/12/05 08:30:19] <joe-mac> lisa: yea I avoid #lopsa
[2011/12/05 08:30:20] <rocket> undefined method `<<' for {}:Hash
[2011/12/05 08:30:22] @ tizzo-afk joined channel #puppet
[2011/12/05 08:31:23] <joe-mac> rocket: you have any more info on the 'free day'
[2011/12/05 08:32:00] <joe-mac> nm found it rocket
[2011/12/05 08:32:02] <joe-mac> thanks ude, you rock
[2011/12/05 08:32:11] @ Quit: d3c: Ping timeout: 252 seconds
[2011/12/05 08:32:50] <rocket> heh if you come you can help me figure out my issue with this stupid syntax .. :p
[2011/12/05 08:33:22] <joe-mac> sahWEET, see you on Wednesday anybody who is there
[2011/12/05 08:33:33] <joe-mac> rocket what's wrong?
[2011/12/05 08:33:41] <joe-mac> oh the require thing
[2011/12/05 08:33:48] <joe-mac> pastie.org what you've got
[2011/12/05 08:34:42] @ Quit: mogitaff: Quit: Leaving
[2011/12/05 08:34:52] @ cwebber joined channel #puppet
[2011/12/05 08:35:36] <matchaw> Hi, using notify => Exec on a dir managed by puppet doesn't seem to run the exec when the content changes?
[2011/12/05 08:35:43] <rocket> http://pastie.org/2970175
[2011/12/05 08:35:49] @ Quit: odyi: Quit: Coyote finally caught me
[2011/12/05 08:36:02] <rocket> joe-mac: thats a snippet, the file piece is in a define
[2011/12/05 08:36:15] <joe-mac> yea that should notify drbd when that file changes
[2011/12/05 08:36:22] <joe-mac> you're saying it's not?
[2011/12/05 08:36:29] <joe-mac> or you get that wonky hash error?
[2011/12/05 08:36:36] @ odyi joined channel #puppet
[2011/12/05 08:36:37] <joe-mac> OH
[2011/12/05 08:36:41] <joe-mac> get rid of that notify Class business
[2011/12/05 08:36:45] <rocket> the hash error
[2011/12/05 08:36:46] <joe-mac> you can't notify classes like that
[2011/12/05 08:36:49] @ Quit: odyi: Changing host
[2011/12/05 08:36:49] @ odyi joined channel #puppet
[2011/12/05 08:37:04] @ wilmoore joined channel #puppet
[2011/12/05 08:37:15] <rocket> joe-mac: I cant?
[2011/12/05 08:37:30] <rocket> I thought I read that in the new pro_puppet book .. maybe I misread it
[2011/12/05 08:37:36] <joe-mac> no, what's your goal anyways? it doesn't really make sense, that part at the bottom notifies the service anyways
[2011/12/05 08:37:42] <rocket> or this new syntax is getting in the way
[2011/12/05 08:38:14] <joe-mac> if that worked, it would notify every resource in the class, seems like not the thing you want to do
[2011/12/05 08:38:25] <rocket> basically install drbd -> define_to_configure_resources -> restart drbd if necessary
[2011/12/05 08:38:33] @ paroneayea joined channel #puppet
[2011/12/05 08:38:42] @ danikov joined channel #puppet
[2011/12/05 08:38:44] <rocket> well there is only one item in this class so it makes no difference
[2011/12/05 08:38:56] <rocket> but in the future I may want it to notify every thing
[2011/12/05 08:39:14] <rocket> I removed the notify now I get this message
[2011/12/05 08:39:14] <joe-mac> then you can probably put tags on both sides of the relationship
[2011/12/05 08:39:17] <rocket> Could not find dependency Tag[drbd-resource] for Service[drbd]
[2011/12/05 08:39:30] <joe-mac> then you haven't included wherever that other resource is
[2011/12/05 08:39:41] <rocket> ah ok
[2011/12/05 08:40:35] @ motomike joined channel #puppet
[2011/12/05 08:40:56] <dcarley> notifying a class is fine.
[2011/12/05 08:41:11] <joe-mac> oh rly? haven't done that
[2011/12/05 08:41:26] <joe-mac> seems to me using Class like that is bound to hit dependency cycle problems
[2011/12/05 08:41:50] <joe-mac> I figured it was just correct syntax but doesn't work internally
[2011/12/05 08:42:04] <antony_> Anybody can help me ?
[2011/12/05 08:42:17] <dcarley> we talked about it the other week in respect of leaky abstractions :)
[2011/12/05 08:42:36] <joe-mac> dcarley: I remember that conversation but not notifying Class aspect of it heh
[2011/12/05 08:42:55] @ Tribaal left channel #puppet ()
[2011/12/05 08:43:00] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/12/05 08:43:06] <rocket> joe-mac: grr still not finding the dependancy ..
[2011/12/05 08:43:14] <dcarley> by notifying or requiring the class you can group common resources together. like say, all config files for this module.
[2011/12/05 08:43:36] <rocket> thats the design pattern I am trying to follow
[2011/12/05 08:43:46] <joe-mac> dcarley: right I vaguely recall that I denounced this practice in favor of tags
[2011/12/05 08:43:59] <dcarley> rocket: does that file resource come from another class/define?
[2011/12/05 08:44:13] <joe-mac> yea it must be somewhere that isn't included
[2011/12/05 08:44:17] <dcarley> joe-mac: yeah.
[2011/12/05 08:44:29] <rocket> dcarley: yes it does come from a define
[2011/12/05 08:45:01] @ Quit: trickyf: Quit: Leaving.
[2011/12/05 08:45:04] <joe-mac> why don't you try tagging the define itself and hanging File to Definename
[2011/12/05 08:45:08] <rocket> I sometimes hate defines because they never feel fully part of a class etc
[2011/12/05 08:45:29] <joe-mac> I'm not sure what you mean by that
[2011/12/05 08:45:30] <matti> ?
[2011/12/05 08:45:34] <matti> What have I done? ;]
[2011/12/05 08:45:45] <joe-mac> a class in puppet is more like a namespace in regular language, a define in puppet is more like a class in regular languages
[2011/12/05 08:46:04] <joe-mac> matti: nothing I was just taunting you for the incredibly nerdy default gateway fact that uses .pack and .inject and whatnot
[2011/12/05 08:46:24] <joe-mac> when the everyman would have just parsed the output with a regex lol
[2011/12/05 08:46:38] <matti> Ah.
[2011/12/05 08:46:39] <matti> ;D
[2011/12/05 08:46:39] <rocket> dcarley: what would be the syntax for referring to the define?
[2011/12/05 08:46:51] <matti> joe-mac: Well, I could not help myself ;p
[2011/12/05 08:47:08] <matti> ashp: If you need anything, then let me know.
[2011/12/05 08:47:18] * matti need to add his MongoDB facts too.
[2011/12/05 08:47:26] @ Quit: jordane: Changing host
[2011/12/05 08:47:26] @ jordane joined channel #puppet
[2011/12/05 08:48:09] <rocket> all I am trying to do is class[drbd::install] requires one or more defined drbd::resources which comes before the class[drbd::service]
[2011/12/05 08:48:39] <dcarley> rocket: technically you probably don't need to. the notify will ensure that the file{} is always realised before the service{}.
[2011/12/05 08:49:00] @ zwi joined channel #puppet
[2011/12/05 08:49:45] <rocket> dcarley: normally that pattern has worked for me .. until I moved this drbd module into an earlier run_stage than main
[2011/12/05 08:50:20] <joe-mac> rocket: run stages do not behave like you hpe they do wrt to scoping and what have you
[2011/12/05 08:50:22] <joe-mac> could be related
[2011/12/05 08:50:35] <joe-mac> this is why I am not yet using stages
[2011/12/05 08:50:38] <rocket> I fear it is
[2011/12/05 08:50:58] <joe-mac> I tried to solve some problems with them and ended up creating more problems
[2011/12/05 08:51:19] <asteve> the first rule of problem solving is that when you solve one problem you've created at least 3 more
[2011/12/05 08:51:36] <asteve> generally the first problem you create is "what do I do with the solution"
[2011/12/05 08:51:44] <rocket> I may just use the spaceship operator I think then with an if statement I guess ..
[2011/12/05 08:51:45] @ KristianDK joined channel #puppet
[2011/12/05 08:51:49] @ ncjohnsto joined channel #puppet
[2011/12/05 08:52:12] <rocket> if drbd etc ..
[2011/12/05 08:52:14] <matti> tobert: I have a version witch reports 0/0 per network.
[2011/12/05 08:52:34] <matti> tobert: Plus any other gateway per network.
[2011/12/05 08:52:50] @ csanchez joined channel #puppet
[2011/12/05 08:52:50] @ johnston__ joined channel #puppet
[2011/12/05 08:52:51] <matti> tobert: It is more complex, and I have to test it more.
[2011/12/05 08:53:10] <matti> tobert: I put it on a machine that uses OSPF via quagga.
[2011/12/05 08:53:18] @ ghanima joined channel #puppet
[2011/12/05 08:53:40] <matti> tobert: And I did one for NetBSD too, but I need to add ...
[2011/12/05 08:53:48] <matti> tobert: If the time permits :)
[2011/12/05 08:53:49] @ seanh-ansca joined channel #puppet
[2011/12/05 08:54:39] <tobert> matti: cool :) my shop is all linux & osx at the moment so I'm mostly thinking back to when I had FreeBSD and Solaris boxes to worry about
[2011/12/05 08:55:33] <matti> tobert: OS X.
[2011/12/05 08:55:43] <matti> tobert: I overlook OS X, but I should not.
[2011/12/05 08:55:48] <rocket> I think the dsl is just getting in the way of what my brain wants to do .. ;p
[2011/12/05 08:56:24] <joe-mac> then use the ruby dsl... somewhat more intuitive maybe cause you can do regular iterative, imperative programming
[2011/12/05 08:56:28] <matti> tobert: With the more complex one for use with quagga and OSPF, you get first a list of networks, and then default route per network.
[2011/12/05 08:56:50] <matti> tobert: Other than that it is quite hard to represent this as only key-value pair which makes sense and it is easy to parse.
[2011/12/05 08:57:00] <matti> Meh.
[2011/12/05 08:57:08] * matti goes back to a cold build room :)
[2011/12/05 08:57:09] @ fronlius joined channel #puppet
[2011/12/05 08:58:47] <matti> lisa: uuid.rb may not work on big-endian (network byte order) system.
[2011/12/05 08:59:07] <matti> lisa: I mean, it should as Ruby should do "the right thing under the hood" but I do not have access to any PPC and/or MIPS to test it.
[2011/12/05 09:00:00] * _UsUrPeR_ tips his hat
[2011/12/05 09:00:13] <matti> ?
[2011/12/05 09:00:38] <_UsUrPeR_> what determines the order of operation for my manifests/site.pp module execution if I have more than one "include" in my site.pp?
[2011/12/05 09:00:40] <joe-mac> yea I count on ruby to appear like it DTRTs
[2011/12/05 09:00:47] @ Quit: KristianDK: Quit: KristianDK
[2011/12/05 09:00:52] <matti> lisa: Some time ago ohadlevy had some spare time to try it for me, but since then he is extremely busy, so I am still unsure about big-endian :)
[2011/12/05 09:00:56] <joe-mac> but I always am suspect it is actually DTRTing behidn the scenes
[2011/12/05 09:01:22] <_UsUrPeR_> a little more in-depth: I have two modules that must run one-after-the-other, and I can't seem to figure out why they are running in reverse order
[2011/12/05 09:01:31] <matti> joe-mac: Hehe
[2011/12/05 09:01:34] <matti> joe-mac: You never know :)
[2011/12/05 09:01:44] <matti> joe-mac: Ruby is powered by Magic.
[2011/12/05 09:01:52] <joe-mac> and dead virgin chickens
[2011/12/05 09:01:52] <matti> joe-mac: And propelled by unicorns :)
[2011/12/05 09:02:02] <joe-mac> sacrificed to our lord the FSM
[2011/12/05 09:02:03] <matti> joe-mac: No, that would be JRuby :)(
[2011/12/05 09:02:07] <joe-mac> haha
[2011/12/05 09:02:18] <matti> :>
[2011/12/05 09:03:17] @ Quit: _flex: Remote host closed the connection
[2011/12/05 09:04:34] @ hobbeswalsh joined channel #puppet
[2011/12/05 09:04:44] @ clover-leaf left channel #puppet ()
[2011/12/05 09:07:10] @ Quit: ali3n0: Read error: Operation timed out
[2011/12/05 09:09:58] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 09:10:04] @ The-Bat joined channel #puppet
[2011/12/05 09:10:23] @ magicaltrout is now known as gnackenson
[2011/12/05 09:11:09] @ gnackenson is now known as magicalgnackenso
[2011/12/05 09:11:16] @ magicalgnackenso is now known as magicaltrout
[2011/12/05 09:11:58] @ Quit: The-Bat: Client Quit
[2011/12/05 09:12:04] @ The-Bat joined channel #puppet
[2011/12/05 09:12:05] <the_ramink_> _UsUrPeR_: there is no order, but the order you specify when it comes to includes
[2011/12/05 09:13:31] <_UsUrPeR_> the_ramink_, that is quite weird then. so my include in site.pp looks like: "node xyz { include whatever include other thing include etc ] is should execute just like that then?
[2011/12/05 09:14:05] <_UsUrPeR_> the_ramink_: if it's not executing like I specify, is there any way to ensure that I can specifically create an order?
[2011/12/05 09:14:31] @ dwalu joined channel #puppet
[2011/12/05 09:17:39] @ Quit: ken_barber: Quit: Leaving.
[2011/12/05 09:18:16] @ ccaum joined channel #puppet
[2011/12/05 09:18:41] <the_ramink_> _UsUrPeR_: sorry, I suppose I was obtuse. includes are just includes and order is never a condieration. You have to specify order explicitly using require => or before => or with resource chaining. http://docs.puppetlabs.com/guides/language_guide.html#chaining-resources
[2011/12/05 09:19:14] @ williemach joined channel #puppet
[2011/12/05 09:19:28] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/05 09:20:35] @ dwatsonuk left channel #puppet ()
[2011/12/05 09:21:28] @ kenperkins joined channel #puppet
[2011/12/05 09:21:39] @ ckauhaus joined channel #puppet
[2011/12/05 09:23:24] @ Quit: riha: Quit: Leaving.
[2011/12/05 09:24:47] @ Quit: Guest22951: Ping timeout: 240 seconds
[2011/12/05 09:24:48] @ comptona joined channel #puppet
[2011/12/05 09:26:36] @ Quit: lak: Quit: Leaving.
[2011/12/05 09:27:06] <kenperkins> I'm trying to figure out why I keep getting useradd password errors after installing libshadow-ruby
[2011/12/05 09:27:51] <astrostl> i want two things to recursively deploy files to a dir. if i put file { '/etc/openvpn': source => foo, recurse => true } it will fail on a name conflict with the file resource. i just tried giving it a unique name and then using the 'path' attribute, and that seems to conflict too. is there no way to do this?
[2011/12/05 09:28:56] <astrostl> or put more simply, can i have two unique puppet file resources which reference the same path?
[2011/12/05 09:29:42] <_UsUrPeR_> the_ramink_: Ahh. I see. Thank you. This makes sense
[2011/12/05 09:29:59] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 09:30:02] @ Quit: tremble: Read error: Operation timed out
[2011/12/05 09:30:11] @ The-Bat joined channel #puppet
[2011/12/05 09:32:07] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/05 09:32:28] @ Quit: labrown: Ping timeout: 268 seconds
[2011/12/05 09:32:41] @ Quit: paroneayea: Remote host closed the connection
[2011/12/05 09:32:57] <fixxxermet> Having some trouble with a seemingly simple case statement, getting "err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "Service[]"". If I hard-code the value, it works
[2011/12/05 09:33:11] <fixxxermet> http://pastebin.com/qr555QbZ is my puppet config, and it is failing on the $package_name variable on line 12
[2011/12/05 09:33:56] <_UsUrPeR_> the_ramink_: I apologize if I am not picking up what is being put down, but after looking at the "chaining resources" section, I have one more question
[2011/12/05 09:33:58] @ Quit: The-Bat: Client Quit
[2011/12/05 09:34:05] @ The-Bat joined channel #puppet
[2011/12/05 09:34:21] <_UsUrPeR_> the_ramink_, Are modules assumed to be cognoscente of each other prior to execution?
[2011/12/05 09:35:02] <_rc_> fixxxermet: you're falling foul of variable scoping, try referring to ${ntp::params::package_name}
[2011/12/05 09:35:14] <the_ramink_> _UsUrPeR_: cool. One thing to watch out for if you go the chaining router is that Class['php']-> Class['apache'] is not the same as Class['php'] -> Class['apache::sinstall'] Unfortunately Class['apache'] is not a wrapper around all the subclasses.
[2011/12/05 09:35:26] @ larstobi joined channel #puppet
[2011/12/05 09:35:48] <_UsUrPeR_> the_ramink_: That is, if I have a module with an execute function "do_one_thing", and I have another function that must execute a script "do_this_first" located in another module
[2011/12/05 09:36:16] <the_ramink_> _UsUrPeR_: yes all modules should be loaded first and then the dependency graph is created
[2011/12/05 09:36:20] <limed> fixxxermet: might need to require the clas too to make ${ntp::params::package_name} work
[2011/12/05 09:36:39] @ stephenh joined channel #puppet
[2011/12/05 09:36:40] <fixxxermet> ah, thank you both.
[2011/12/05 09:36:55] @ Quit: seanh-ansca: Quit: Leaving.
[2011/12/05 09:37:13] @ seanh-ansca joined channel #puppet
[2011/12/05 09:38:07] <kenperkins> Can anyone help with my useradd password management query?
[2011/12/05 09:38:14] <_UsUrPeR_> the_ramink_, : ok, great. So the noenclature is not discussed on the site for exec command. Would it look something like this: exec['do_this_first'] -> exec['do_one_thing'] ?
[2011/12/05 09:39:09] @ ianbrandt joined channel #puppet
[2011/12/05 09:39:19] @ Guest22951 joined channel #puppet
[2011/12/05 09:39:25] @ Quit: Razique: Quit: Razique
[2011/12/05 09:39:59] <the_ramink_> _UsUrPeR_: yep thought capitalize the exec. Also you can do require => Exec['do_this_first], withing the first Exec if that's easier to maintain. Generally I prefer requires if the resources are within the same class and chaining when I go cross class.
[2011/12/05 09:40:28] @ Quit: jodok: Quit: jodok
[2011/12/05 09:40:39] <_UsUrPeR_> the_ramink_, awesome. The require => Exec['do_this_first] will help a *LOT*
[2011/12/05 09:41:06] @ paroneayea joined channel #puppet
[2011/12/05 09:41:26] <the_ramink_> remember you can require classes, users, files, packagers, mounts, etc
[2011/12/05 09:41:46] <_UsUrPeR_> the_ramink_, gotcha. This is great. Thanks.
[2011/12/05 09:41:58] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 09:42:05] @ The-Bat joined channel #puppet
[2011/12/05 09:42:31] @ althara joined channel #puppet
[2011/12/05 09:43:02] @ enziobar joined channel #puppet
[2011/12/05 09:43:17] @ PedroGomes joined channel #puppet
[2011/12/05 09:43:32] @ nfagerlund joined channel #puppet
[2011/12/05 09:43:58] @ Quit: The-Bat: Client Quit
[2011/12/05 09:44:04] @ The-Bat joined channel #puppet
[2011/12/05 09:45:05] @ car|0s joined channel #puppet
[2011/12/05 09:45:38] @ Quit: althara: Client Quit
[2011/12/05 09:45:55] @ Quit: the_ramink_: Ping timeout: 255 seconds
[2011/12/05 09:45:56] @ althara joined channel #puppet
[2011/12/05 09:46:22] @ Quit: csanchez: Quit: csanchez
[2011/12/05 09:46:40] @ Quit: enziobar: Client Quit
[2011/12/05 09:48:08] @ alfism joined channel #puppet
[2011/12/05 09:48:40] <kenperkins> so I'm getting the "dynamic lookup of $variable is deprecated" notice, but it's on $environment, which I thought was an official global variable
[2011/12/05 09:48:45] <PedroGomes> Hi, I having a problem with puppet 2.7.1 and passager, a know bug I know. How can I upgrade puppet being my installation based on debian packages ?
[2011/12/05 09:48:45] <kenperkins> what should I be using instead of this?
[2011/12/05 09:49:20] @ tremble joined channel #puppet
[2011/12/05 09:49:49] @ newtMcKerr joined channel #puppet
[2011/12/05 09:51:58] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 09:52:02] <justintime> kenperkins: try $::environment
[2011/12/05 09:52:05] @ The-Bat joined channel #puppet
[2011/12/05 09:53:08] @ Quit: jeremy: Ping timeout: 258 seconds
[2011/12/05 09:53:57] @ Quit: The-Bat: Client Quit
[2011/12/05 09:54:04] @ The-Bat joined channel #puppet
[2011/12/05 09:54:58] @ Quit: PhilK: Excess Flood
[2011/12/05 09:55:36] @ jeremy joined channel #puppet
[2011/12/05 09:56:14] @ pll` is now known as pll
[2011/12/05 09:56:31] @ Quit: tremble: Ping timeout: 252 seconds
[2011/12/05 09:57:06] @ miche joined channel #puppet
[2011/12/05 09:57:30] <PedroGomes> _rc_: last week you shown me this "https://github.com/puppetlabs/puppet/commit/68c106e3ef192d64eb5a1e8daa1e070774909728", can I apply this on 2.7.1 or will it cause some sort of conflict ?
[2011/12/05 09:57:34] @ PhilK joined channel #puppet
[2011/12/05 09:58:04] @ the_ramink_ joined channel #puppet
[2011/12/05 09:58:04] @ the_ramink_ is now known as the_ramink
[2011/12/05 09:58:14] @ maxmartin joined channel #puppet
[2011/12/05 09:59:05] @ Quit: maxmartin: Client Quit
[2011/12/05 09:59:09] @ Quit: duerF: Remote host closed the connection
[2011/12/05 10:00:15] @ Quit: kolla_: Remote host closed the connection
[2011/12/05 10:04:11] @ Quit: fronlius: Quit: fronlius
[2011/12/05 10:04:39] @ l0n joined channel #puppet
[2011/12/05 10:06:18] @ maxmartin joined channel #puppet
[2011/12/05 10:11:25] <kenperkins> justintime: this is in a template file, <%= $::environment %> throws an error
[2011/12/05 10:12:39] @ Quit: yann3: Remote host closed the connection
[2011/12/05 10:13:16] @ Falco70 joined channel #puppet
[2011/12/05 10:13:41] @ Quit: Falco70: Client Quit
[2011/12/05 10:15:50] @ mrwacky42 joined channel #puppet
[2011/12/05 10:17:44] @ KaiserBeto joined channel #puppet
[2011/12/05 10:18:08] @ Quit: brandon_dacrib: Remote host closed the connection
[2011/12/05 10:18:24] @ brandon_dacrib joined channel #puppet
[2011/12/05 10:18:34] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/05 10:18:46] @ Quit: brandon_dacrib: Client Quit
[2011/12/05 10:19:23] @ brandon_dacrib joined channel #puppet
[2011/12/05 10:19:57] @ Quit: rexo:
[2011/12/05 10:21:48] @ KristianDK joined channel #puppet
[2011/12/05 10:23:57] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 10:24:04] @ The-Bat joined channel #puppet
[2011/12/05 10:24:45] @ shadoi joined channel #puppet
[2011/12/05 10:25:53] @ tremble joined channel #puppet
[2011/12/05 10:26:13] @ miche joined channel #puppet
[2011/12/05 10:26:51] <kenperkins> anyone know about "Could not find a default provider for vcsrepo". I'm using 2.7.1 in client only mode with modules that work perfectly in my hosted environment with a puppet master
[2011/12/05 10:27:49] <_UsUrPeR_> the_ramink: Mind if I pastebin something? I am having a problem with requires => :/
[2011/12/05 10:28:12] @ jsurfer joined channel #puppet
[2011/12/05 10:28:14] @ conntrack joined channel #puppet
[2011/12/05 10:28:22] @ conntrack left channel #puppet ()
[2011/12/05 10:29:03] @ lak joined channel #puppet
[2011/12/05 10:29:03] @ Quit: lak: Changing host
[2011/12/05 10:29:03] @ lak joined channel #puppet
[2011/12/05 10:29:30] @ DemonWitch joined channel #puppet
[2011/12/05 10:29:35] <tremble> kenperkins: custom plugin that you've not pointed puppet at for your local install ?
[2011/12/05 10:29:57] @ Quit: The-Bat: Quit: Konversation terminated!
[2011/12/05 10:30:04] @ The-Bat joined channel #puppet
[2011/12/05 10:30:50] @ Quit: ezryx: Remote host closed the connection
[2011/12/05 10:31:57] @ Quit: The-Bat: Client Quit
[2011/12/05 10:32:04] @ The-Bat joined channel #puppet
[2011/12/05 10:34:20] <the_ramink> _UsUrPeR_: sure
[2011/12/05 10:34:55] <_UsUrPeR_> the_ramink: http://pastebin.com/DXynGEDD
[2011/12/05 10:35:14] <_UsUrPeR_> the_ramink: check that out. Not sure if I am using "require" today
[2011/12/05 10:35:25] <_UsUrPeR_> err today = properly
[2011/12/05 10:36:01] @ labrown joined channel #puppet
[2011/12/05 10:36:18] @ scsinutz joined channel #puppet
[2011/12/05 10:36:23] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/05 10:36:24] @ scsinutz left channel #puppet ()
[2011/12/05 10:36:43] @ miche joined channel #puppet
[2011/12/05 10:36:48] @ scsinutz joined channel #puppet
[2011/12/05 10:36:59] @ scsinutz left channel #puppet ()
[2011/12/05 10:38:25] @ Quit: The-Bat: Remote host closed the connection
[2011/12/05 10:39:38] @ Quit: daysmen: Ping timeout: 244 seconds
[2011/12/05 10:40:09] @ lavaman joined channel #puppet
[2011/12/05 10:40:48] @ Quit: jsurfer: Remote host closed the connection
[2011/12/05 10:40:56] @ Quit: jonhattan: Quit: llevaré una chaquete de guns'n'roses
[2011/12/05 10:41:05] @ jsurfer joined channel #puppet
[2011/12/05 10:41:15] <kenperkins> tremble: I can't recall doing a custom plugin, how would I discover this?
[2011/12/05 10:41:59] @ BManojlovic joined channel #puppet
[2011/12/05 10:41:59] @ Quit: BManojlovic: Changing host
[2011/12/05 10:42:00] @ BManojlovic joined channel #puppet
[2011/12/05 10:43:05] @ clover-leaf joined channel #puppet
[2011/12/05 10:43:09] @ clover-leaf left channel #puppet ()
[2011/12/05 10:43:34] <tremble> kenperkins: got any .rb files in your puppet trees?
[2011/12/05 10:45:07] @ Quit: St3v3o: Ping timeout: 240 seconds
[2011/12/05 10:45:41] @ Quit: jorhett: Quit: Leaving.
[2011/12/05 10:46:02] @ jorhett joined channel #puppet
[2011/12/05 10:46:07] @ nanliu joined channel #puppet
[2011/12/05 10:46:21] @ Quit: ^conner: Ping timeout: 244 seconds
[2011/12/05 10:46:25] <the_ramink> _UsUrPeR_: try something like this, http://pastie.org/2970793
[2011/12/05 10:46:34] <Callek> _UsUrPeR_: I'm personally not a fan of "require" stages works well in my experience
[2011/12/05 10:47:05] <_UsUrPeR_> I understand. This is very preliminary, and one module is required to follow the other
[2011/12/05 10:47:21] <_UsUrPeR_> no big deal. It just needs to be done somehow :)
[2011/12/05 10:47:56] <the_ramink> Callek: stages work in certain cases, but they are a big blunt hammer. If you're using them for more than a class or two you usually run into problems.
[2011/12/05 10:48:01] <Callek> _UsUrPeR_: at very top level do |stage { 'packagesetup': before => Stage['main']; }| (name it however you want, 'main' is special though)
[2011/12/05 10:48:06] <kenperkins> tremble: yep, infact inside of /modules/vcsrepo
[2011/12/05 10:48:27] <_UsUrPeR_> the_ramink: ok, this clarifies a few questions I had pertaining to how this operates.
[2011/12/05 10:48:39] <_UsUrPeR_> wonderful
[2011/12/05 10:49:14] <Callek> _UsUrPeR_: then in your node, instead of include add_repo; you do |class { 'add_repo': stage => packagesetup; }
[2011/12/05 10:49:39] <tremble> kenperkins: http://docs.puppetlabs.com/references/2.7.6/configuration.html#libdir
[2011/12/05 10:50:07] @ Quit: astrostl:
[2011/12/05 10:50:14] <the_ramink> _UsUrPeR_: The big one was probably the missing require on the exec run_the_repo.
[2011/12/05 10:50:29] <_UsUrPeR_> Callek: I'm afraid I am not sure what you mean in reference to |stage { 'packagesetup': etc etc etc... I apologize.
[2011/12/05 10:50:49] <_UsUrPeR_> It's *really* helpful to see this stuff in code because everything is so order and nomenclature dependent
[2011/12/05 10:51:06] <tremble> kenperkins: you may also need to look at http://docs.puppetlabs.com/references/2.7.6/configuration.html#modulepath if you don't know about --libdir
[2011/12/05 10:51:13] <Callek> _UsUrPeR_: first you need to identify a stage and list it as a dependancy to be before the 'main' (default) stage
[2011/12/05 10:51:27] <Callek> so doing that at the top-level (such as in site.pp outside of the node definition)
[2011/12/05 10:51:27] <_UsUrPeR_> Callek: you can do that? :O
[2011/12/05 10:51:30] <kenperkins> I don't know about --libdir, thanks
[2011/12/05 10:51:40] <kenperkins> is libdir the same as modulepath?
[2011/12/05 10:51:47] <tremble> kenperkins: no
[2011/12/05 10:51:47] <_UsUrPeR_> Callek: where are the docs? This sounds important :)
[2011/12/05 10:52:02] <kenperkins> I guess I'm confused how these work in my hosted environment :S
[2011/12/05 10:52:05] <Callek> _UsUrPeR_: once you have the stage identified you can only identify it with stuff with the class {} resource4
[2011/12/05 10:52:08] <jorhett> kenperkits: puppet —genconfig |less
[2011/12/05 10:52:48] <_UsUrPeR_> Callek: I totally understand what you are saying. Functions will be run in stages. Makes sense to me.
[2011/12/05 10:53:15] <tremble> kenperkins: actually you probably only need to do puppet apply --modulepath=/modules
[2011/12/05 10:53:18] <Callek> _UsUrPeR_: http://docs.puppetlabs.com/guides/language_guide.html#run-stages
[2011/12/05 10:53:33] <_UsUrPeR_> Callek: oh thanks. This is just awesome.
[2011/12/05 10:53:56] <kenperkins> tremble: I don't have libdir set on my puppetmaster either, so i'm clearly misunderstanding something
[2011/12/05 10:54:02] <_UsUrPeR_> Callek: ok, I see what you are saying now
[2011/12/05 10:54:04] <kenperkins> tremble: that's exactly what i'm doing
[2011/12/05 10:54:05] <Callek> _UsUrPeR_: stages can be delicate if you're not too careful, my only use-case is for stuff that _must_ run before everything else, and stuff that _must_ (or should) run after just about everything else is done
[2011/12/05 10:54:20] <jorhett> kenperkins: everything has defaults. again, run genconfig and read it.
[2011/12/05 10:54:28] <kenperkins> rgr that
[2011/12/05 10:54:45] <_UsUrPeR_> Callek: funny you should mention that. The only thing that *needs* to be run after, in my script, is the rebuilding of the ltsp chroot. That needs to be the final process.
[2011/12/05 10:54:53] <kenperkins> jorhett: sorry I didn't see your first comment, I didn't get the alert (misspelled nick)
[2011/12/05 10:54:55] <_UsUrPeR_> aside from that, I don't really care what happens when :)
[2011/12/05 10:55:32] <Callek> then yea, stages sound like it might be what you want :-)
[2011/12/05 10:55:33] @ labrown is now known as labrown[M12]
[2011/12/05 10:56:16] <the_ramink> _UsUrPeR_: no stages are not what you want. :)
[2011/12/05 10:57:01] @ Quit: nul0op: Ping timeout: 255 seconds
[2011/12/05 10:57:05] <the_ramink> seriously. I use one stage to update apt and it's repos because that really does need to be run before everything else and I don't want to stick a require Class[apt::update] everywhere.
[2011/12/05 10:57:08] @ Quit: MattyM: Remote host closed the connection
[2011/12/05 10:57:54] <the_ramink> if you can do ordering any other way it's almost always better to do it with requires or resource chaining.
[2011/12/05 10:58:20] * _UsUrPeR_ tries to cut the baby in half.
[2011/12/05 10:58:23] @ ^conner joined channel #puppet
[2011/12/05 10:58:31] <_UsUrPeR_> how about I use chaining and stages! :D
[2011/12/05 10:59:01] <_UsUrPeR_> actually, that sounds like quite the mess
[2011/12/05 10:59:15] @ Quit: lwhalen: Read error: Operation timed out
[2011/12/05 10:59:32] <_UsUrPeR_> the_ramink: I think stages seems like the best idea for me at this precise moment, because I can put my finger on the *only* thing required to be completed last
[2011/12/05 10:59:48] <_UsUrPeR_> which is something that compresses a chroot file structure after everything else has been completed
[2011/12/05 10:59:59] @ chadskidmore joined channel #puppet
[2011/12/05 11:00:09] <_UsUrPeR_> normally, I would be fine with going through the process of a chain.
[2011/12/05 11:00:13] <dwalu> does puppet support regex in case statements, or only if loops?
[2011/12/05 11:00:23] <the_ramink> _UsUrPeR_: you're doing three things, you can figure out how to order them without resorting to the atom bomb of ordering? :-)
[2011/12/05 11:00:43] <_UsUrPeR_> the_ramink: this is a small tip of a ginormous iceburg
[2011/12/05 11:01:14] @ erthad left channel #puppet ()
[2011/12/05 11:01:15] <_UsUrPeR_> I only included in my site.pp the final steps. There's actually more like twelve verious modules being enacted, and having to instantiate each one of them in order of operations seems like a pita to me
[2011/12/05 11:01:22] <kenperkins> So I don't understand how the plugins on my puppet master get moved from the conf dir to the libdir automatically
[2011/12/05 11:01:52] <nlew> kenperkins: Is your puppet master also running a puppet agent?
[2011/12/05 11:02:10] <kenperkins> yes
[2011/12/05 11:02:26] <kenperkins> not as a daemon, but we run the agent manually
[2011/12/05 11:02:44] <the_ramink> _UsUrPeR_: fair enough. Putting your final class in a final stage makes some sense.
[2011/12/05 11:02:59] <nlew> Then if you're using pluginsync, they would be synced from the master's module dirs to the agent's libdir, which is probably the same as the master's libdir.
[2011/12/05 11:03:00] @ ccaum_ joined channel #puppet
[2011/12/05 11:03:10] <_UsUrPeR_> the_ramink: for the record, if I am misconstruing how chaining works, please tell me.
[2011/12/05 11:03:42] <the_ramink> dwalu: you can use regex is case statements
[2011/12/05 11:04:06] @ djm68 joined channel #puppet
[2011/12/05 11:04:48] <dwalu> the_ramink thanks, just figured out my problem. still had things surrounded by parens from when I was trying to do captures.
[2011/12/05 11:04:54] <kenperkins> ah! how do you do pluginsync=true with puppet apply?
[2011/12/05 11:06:45] @ astrostl joined channel #puppet
[2011/12/05 11:06:58] <kenperkins> or, how do you get plugins deployed correctly for puppetmasterless runs
[2011/12/05 11:07:23] @ ken_barber joined channel #puppet
[2011/12/05 11:07:53] <nlew> kenperkins: I'm not sure how people solve that. You could sync them with an agent run I suppose..
[2011/12/05 11:08:32] <kenperkins> nlew: this is on a machine not on a network with a puppet master
[2011/12/05 11:08:33] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/05 11:09:35] @ Quit: lkoranda: Quit: Ex-Chat
[2011/12/05 11:10:20] <nlew> kenperkins: Well, you need to get the plugins to it somehow. I guess that would have to be out of band of Puppet, in that case.
[2011/12/05 11:12:15] <Callek> dwalu: caught in scrollback, but yes it supports it in case statements
[2011/12/05 11:12:21] @ langworthy joined channel #puppet
[2011/12/05 11:12:45] <tremble> kenperkins: Do you have a lib/plugin dir in that module?
[2011/12/05 11:13:13] <tremble> kenperkins: if so you can manually point puppet at the lib/plugin dirs within each of the modules.
[2011/12/05 11:13:43] <kenperkins> the module hierarchy is vcsrepo/lib/puppet/...
[2011/12/05 11:13:59] <tremble> point it at vcsrepo/lib IIRC
[2011/12/05 11:14:47] @ miche joined channel #puppet
[2011/12/05 11:15:58] <Callek> so anyone know of any docs/bugs/whatever on why http://callek.pastebin.mozilla.org/1392577 (with ONLY site.pp present) would fail on only 2 out of the 3 lines
[2011/12/05 11:16:20] <Callek> (include settings succeeds to let you reference internal puppet settings, but I can't find any docs on it)
[2011/12/05 11:18:26] <kenperkins> I so don't understand this, and it's driving me fucking insane
[2011/12/05 11:18:39] <kenperkins> I've replicated the lib dir exactly as it is on my hosted puppet machines, and still no dice
[2011/12/05 11:19:27] @ Quit: labrown[M12]: Read error: Connection reset by peer
[2011/12/05 11:19:34] @ Quit: astrostl:
[2011/12/05 11:19:50] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/12/05 11:21:39] @ Quit: maxmartin: Read error: Connection reset by peer
[2011/12/05 11:21:40] <nlew> kenperkins: For puppet apply, you'll want to replicate the modulepath, rather than the libdir.
[2011/12/05 11:21:48] <kenperkins> I've done that as well
[2011/12/05 11:22:20] @ rharrison joined channel #puppet
[2011/12/05 11:22:39] <nlew> kenperkins: Copying the module directory of the master?
[2011/12/05 11:24:05] @ brandon_dacrib joined channel #puppet
[2011/12/05 11:24:46] <kenperkins> nlew: I'm doing seemingly basic shit. I've got my entire modules directly (as exactly matches that on my puppet master) on the local machine of my virtual machine
[2011/12/05 11:24:52] <kenperkins> it's plumbed in using the module path
[2011/12/05 11:25:08] <kenperkins> I've also additonally replicated the shape of the lib dir, and routed that in with the --libdir option
[2011/12/05 11:25:13] <kenperkins> still doesn't work
[2011/12/05 11:25:26] <kenperkins> sudo puppet apply --environment=test --modulepath=/puppet/modules-0 --libdir=/var/lib/puppet/lib --verbose clipboard-onebox-full.pp
[2011/12/05 11:25:40] <kenperkins> I'm at a loss, and I'm really frustrated
[2011/12/05 11:26:21] <dwalu> is there a fact which matches node?
[2011/12/05 11:26:50] <kenperkins> my manifest only has node default {}
[2011/12/05 11:26:58] <kenperkins> rather node default { .... }
[2011/12/05 11:27:31] <dwalu> my node name is different from the hostname, and once node matches, I can't use a case $hostname since the hostname is different from the node name.
[2011/12/05 11:27:35] <the_ramink> dwalu: if you haven't messed with certname or node_name_value it should default to fqdn
[2011/12/05 11:27:41] <dwalu> the_ramink: I have
[2011/12/05 11:27:47] @ jaytaph_ joined channel #puppet
[2011/12/05 11:27:58] <_UsUrPeR_> the_ramink / callek: I am seeing that "run stages" are defined, but the docs do not seem to say *where* to define them. Do I need to define run stages in the site.pp or the module's init.pp?
[2011/12/05 11:28:26] <dwalu> I'm "manually" setting certname and node_name_value on my staging hosts so that my devs can arbitrarily spawn up version-specific staging environments
[2011/12/05 11:28:35] <Callek> I have always defined them in site.pp (or something imported in it)
[2011/12/05 11:28:48] <Callek> I'm not _sure_ if thats a requirement though
[2011/12/05 11:28:50] @ Quit: jaytaph: Read error: Operation timed out
[2011/12/05 11:28:50] @ jaytaph_ is now known as jaytaph
[2011/12/05 11:29:02] @ geekbri joined channel #puppet
[2011/12/05 11:29:03] <the_ramink> dwalu: hmmm if it was only certname then clientcert is the local fact... I'm not sure with node_name_value
[2011/12/05 11:29:16] <dwalu> i'll try matching against clientcert
[2011/12/05 11:29:20] <nlew> kenperkins: And what's the failure you're getting?
[2011/12/05 11:29:35] <kenperkins> brb
[2011/12/05 11:29:37] <kenperkins> phone call
[2011/12/05 11:29:56] <marut> _UsUrPeR_: stages can be defined in any manifest. as for what the "best practice" would be considered I don't know
[2011/12/05 11:29:58] @ maxmartin joined channel #puppet
[2011/12/05 11:30:41] <dwalu> ah. case $clientcert matched well enough
[2011/12/05 11:30:51] <dwalu> thanks!
[2011/12/05 11:30:56] <dwalu> $::clientcert even
[2011/12/05 11:31:00] <_UsUrPeR_> the_ramink / callek: further, the doc says that I define the actual stage that these commands to in a class, which seems to indicate that I need to do this in my module's init.pp. Is this true?
[2011/12/05 11:32:14] @ bmahe joined channel #puppet
[2011/12/05 11:33:25] <motomike> I have a service on Solaris where I need to use the "init" provider. On every other platform I want to use that platform's default provider. Is there an easy way to specify the service { foo: provider=>'init'} on solaris without specifying the provider on other platforms?
[2011/12/05 11:34:25] <nfagerlund> motomike: I thiiiink you can explicitly set the provider to "undef" and that'll make it select whatever the default provider would be.
[2011/12/05 11:35:10] <motomike> nfagerlund: aha! exactly what I needed; thanks =)
[2011/12/05 11:38:03] @ illsci left channel #puppet ()
[2011/12/05 11:38:34] @ Quit: jsurfer: Remote host closed the connection
[2011/12/05 11:38:53] @ jsurfer joined channel #puppet
[2011/12/05 11:39:23] <the_ramink> _UsUrPeR_: not as far as I understand. I set stage {"pre": before => Stage["main"]} in site.pp and then load the specific modules as a parameterized class with stage => pre
[2011/12/05 11:39:55] @ multiverse joined channel #puppet
[2011/12/05 11:40:46] <multiverse> Hi all, where can I download PE 1.2.4. PuppetLabs has hidden (?) the links. I can only download 2.0.
[2011/12/05 11:41:02] <_UsUrPeR_> the_ramink: gotcha. Since I originally made these two separate modules, how would I go about this? Can I do that in site.pp in the "node" section?
[2011/12/05 11:41:09] @ RhysMorgan joined channel #puppet
[2011/12/05 11:42:55] <the_ramink> _UsUrPeR_: yeah in nodes (or in another class, but there are some caveats there) it's just class { 'apt': stage => 'pre', }
[2011/12/05 11:43:06] <_UsUrPeR_> ok, cool
[2011/12/05 11:43:08] <_UsUrPeR_> thanks
[2011/12/05 11:44:32] <multiverse> I need 1.2.4 because of a fix that didn't make it into 2.0.
[2011/12/05 11:44:46] <multiverse> It's on the roadmap, but my fix won't make it all the way yet.
[2011/12/05 11:45:14] <multiverse> Couple of months off, but I need it now, so I am forced to go back to 1.2.4 -- but I lost the stupid package. What a mistake!
[2011/12/05 11:45:58] @ Quit: johnston: Ping timeout: 265 seconds
[2011/12/05 11:48:17] @ Quit: wilmoore: Ping timeout: 240 seconds
[2011/12/05 11:49:37] @ Quit: sp33t: Remote host closed the connection
[2011/12/05 11:49:49] @ Quit: lborda: Quit: Ex-Chat
[2011/12/05 11:50:59] @ kelseyhi1htower joined channel #puppet
[2011/12/05 11:51:26] <PedroGomes> what is the best to way to create a folder and its parents?
[2011/12/05 11:51:32] @ jameswhite joined channel #puppet
[2011/12/05 11:53:58] @ Quit: kelseyhightower: Ping timeout: 248 seconds
[2011/12/05 11:56:43] @ astrostl joined channel #puppet
[2011/12/05 11:57:45] @ Quit: jaytaph: Quit: jaytaph
[2011/12/05 11:58:57] @ wilmoore joined channel #puppet
[2011/12/05 11:59:50] @ Quit: PedroGomes: Quit: PedroGomes
[2011/12/05 12:01:14] <_UsUrPeR_> the_ramink: ok, I am having a problem with using stages. Here's my site.pp: http://pastebin.com/KE1C2Xw6
[2011/12/05 12:01:36] <_UsUrPeR_> It seems like something that should work in the node { } definition in there
[2011/12/05 12:01:39] <_UsUrPeR_> however, nope :/
[2011/12/05 12:01:56] <_UsUrPeR_> I am guessing this needs to go somewhere else, huh?
[2011/12/05 12:04:05] @ Quit: lak: Quit: Leaving.
[2011/12/05 12:06:19] @ Quit: ^conner: Ping timeout: 255 seconds
[2011/12/05 12:09:26] @ Quit: dbristow: Quit: Leaving
[2011/12/05 12:11:07] @ Quit: shine: Read error: Operation timed out
[2011/12/05 12:11:41] @ skm joined channel #puppet
[2011/12/05 12:12:25] @ fredden joined channel #puppet
[2011/12/05 12:13:34] @ Djelibeybi joined channel #puppet
[2011/12/05 12:15:49] @ lak joined channel #puppet
[2011/12/05 12:15:50] @ Quit: lak: Changing host
[2011/12/05 12:15:50] @ lak joined channel #puppet
[2011/12/05 12:16:07] @ shine joined channel #puppet
[2011/12/05 12:17:25] @ Quit: paroneayea: Remote host closed the connection
[2011/12/05 12:18:34] @ ^conner joined channel #puppet
[2011/12/05 12:21:29] <Callek> _UsUrPeR_: ok a few things
[2011/12/05 12:21:39] <Callek> #1 you don't need to (and imo, shouldn't) define main stage
[2011/12/05 12:21:40] <gepetto> Callek: #1 is http://projects.puppetlabs.com/issues/show/1 "Puppet - Feature #1: Differentiate classes from definitions. It has a status of Closed and is assigned to Luke Kanies"
[2011/12/05 12:22:05] <_UsUrPeR_> I think you can exclude the hash tags ;)
[2011/12/05 12:22:14] <_UsUrPeR_> gotcha. no definition of main stage
[2011/12/05 12:22:16] <_UsUrPeR_> that makes sense
[2011/12/05 12:22:35] <Callek> _UsUrPeR_: #2 you need to wrap it in a class resource, so |class { 'ltsp_...': stage.... }|
[2011/12/05 12:22:35] <gepetto> Callek: _UsUrPeR_: #2 is http://projects.puppetlabs.com/issues/show/2 "Puppet - Feature #2: Add 'link' ability to File. It has a status of Closed and is assigned to Luke Kanies"
[2011/12/05 12:22:38] @ paroneayea joined channel #puppet
[2011/12/05 12:22:58] <Callek> weird issue-tracking bot, O well
[2011/12/05 12:23:02] <_UsUrPeR_> lol
[2011/12/05 12:23:15] <_UsUrPeR_> callek: about number 2: can I create a class resource in site.pp?
[2011/12/05 12:23:26] <_UsUrPeR_> that seems like a place not necessarily meant to have them
[2011/12/05 12:23:29] <_UsUrPeR_> not the case?
[2011/12/05 12:23:31] <Callek> well you would wrap class{} inside the node
[2011/12/05 12:23:38] <_UsUrPeR_> ok
[2011/12/05 12:24:15] <Callek> you can do that in another module/class if you want, (and if you plan to use ENC probably should) but it should work in node {} iirc
[2011/12/05 12:24:22] <_UsUrPeR_> so wrapping a class inside a node... does that mean that I could get rid of the init.pp file in puppet/modules/[module_name]/manifests/init.pp ?
[2011/12/05 12:24:48] <Callek> no, init.pp is still needed to dynamically load that class
[2011/12/05 12:24:54] @ ali3n0 joined channel #puppet
[2011/12/05 12:24:55] <_UsUrPeR_> gotcha
[2011/12/05 12:24:58] <_UsUrPeR_> intredasting
[2011/12/05 12:25:01] <multiverse> Hi all, where can I download PE 1.2.4?  PuppetLabs has hidden (?) the links.  I can only download 2.0.
[2011/12/05 12:25:10] <_UsUrPeR_> ok, let me try that then
[2011/12/05 12:25:12] <Callek> by doing |class { 'foo': ...; }| is just another way to do |include foo|
[2011/12/05 12:25:21] <Callek> but you need the former if you want to associate it with a stage
[2011/12/05 12:25:31] <_UsUrPeR_> I see! very useful
[2011/12/05 12:25:35] <_UsUrPeR_> ok, cool. thanks
[2011/12/05 12:25:51] @ lwhalen joined channel #puppet
[2011/12/05 12:26:11] <dwalu> is there an equivalent of a --exclude for puppet's file server?
[2011/12/05 12:26:30] @ Quit: rgsteele: Quit: ChatZilla 0.9.86.1 [Firefox 3.0.7/2009030423]
[2011/12/05 12:27:47] <dwalu> ah ignore, nevermind.
[2011/12/05 12:28:00] <kenperkins> so I can't figure out why vcsrepo { ...., require => Class["git"] } doesn't seem to be working
[2011/12/05 12:28:14] <kenperkins> it fails before attempting to install git
[2011/12/05 12:29:05] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/05 12:31:18] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/05 12:32:27] @ Quit: lwhalen: Quit: Leaving
[2011/12/05 12:32:47] <multiverse> Anyone know of a Puppet Enterprise FTP site?
[2011/12/05 12:34:21] @ indigo joined channel #puppet
[2011/12/05 12:34:30] @ paroneayea joined channel #puppet
[2011/12/05 12:34:47] <Callek> kenperkins: whats the failure message?
[2011/12/05 12:35:04] <kenperkins> it's just claiming that ther;s no default provider for vcsrepo
[2011/12/05 12:35:14] <kenperkins> when all of my calls for vcsrepo have a require git statement
[2011/12/05 12:35:26] @ lwhalen joined channel #puppet
[2011/12/05 12:35:47] <kenperkins> brb lunch
[2011/12/05 12:35:50] <torrancew> kenperkins: try setting provider => 'git' in the vcsrepo stanzas
[2011/12/05 12:36:10] @ lborda joined channel #puppet
[2011/12/05 12:36:18] @ Quit: localhost: Remote host closed the connection
[2011/12/05 12:36:21] <torrancew> kenperkins: Or a single Vcsrepo{ provider => 'git' } in your site.pp *should* also work
[2011/12/05 12:36:24] <Callek> kenperkins: then you need provider=>"git" I think
[2011/12/05 12:36:50] * Callek sighs as well, fwiw that doesn't document vcsrepo{}
[2011/12/05 12:36:58] <Callek> : http://docs.puppetlabs.com/references/stable/type.html
[2011/12/05 12:37:33] @ localhost joined channel #puppet
[2011/12/05 12:38:08] @ Quit: negronjl: Ping timeout: 248 seconds
[2011/12/05 12:40:06] @ Quit: multiverse: Ping timeout: 265 seconds
[2011/12/05 12:40:06] @ Quit: agwells0714: Remote host closed the connection
[2011/12/05 12:41:51] @ Quit: dwalu: Quit: dwalu
[2011/12/05 12:42:12] @ Boltsky joined channel #puppet
[2011/12/05 12:42:14] @ Quit: Boltsky: Client Quit
[2011/12/05 12:42:18] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/05 12:42:18] @ agwells0714 joined channel #puppet
[2011/12/05 12:42:43] @ dylants joined channel #puppet
[2011/12/05 12:44:11] @ negronjl joined channel #puppet
[2011/12/05 12:44:37] @ Quit: lak: Quit: Leaving.
[2011/12/05 12:45:59] @ londo_ is now known as londo
[2011/12/05 12:46:17] @ Quit: ncjohnsto: Quit: BitchX-1.1-final -- just do it.
[2011/12/05 12:46:38] @ Quit: lborda: Remote host closed the connection
[2011/12/05 12:48:08] @ justintime left channel #puppet ()
[2011/12/05 12:48:12] @ Quit: rodjek: Quit: leaving
[2011/12/05 12:49:24] @ hyde joined channel #puppet
[2011/12/05 12:49:33] @ nul0op joined channel #puppet
[2011/12/05 12:49:47] @ Quit: Guest22951: Ping timeout: 240 seconds
[2011/12/05 12:50:15] @ Quit: stu__: Ping timeout: 265 seconds
[2011/12/05 12:50:30] <hyde> Is this currently supported by puppet dashboard as of now? to run puppet in noop mode, and have a nice report (GUI best) to let admin knows what would be changed for those servers..
[2011/12/05 12:50:43] @ Moe__ joined channel #puppet
[2011/12/05 12:51:52] @ duerF joined channel #puppet
[2011/12/05 12:53:00] @ Quit: ped: Read error: No route to host
[2011/12/05 12:53:12] @ Quit: kelseyhi1htower: Quit: leaving
[2011/12/05 12:53:24] @ kelseyhightower joined channel #puppet
[2011/12/05 12:54:31] @ Quit: car|0s: Read error: Connection reset by peer
[2011/12/05 12:56:59] <hyde> what's the status for this? http://www.mailinglistarchive.com/html/puppet-users@googlegroups.com/2011-05/msg00143.html
[2011/12/05 12:57:02] @ jhford_ is now known as jhford
[2011/12/05 12:57:11] <hyde> Quote: "We'll have this ready within the next two Dashboard point releases."
[2011/12/05 12:57:12] @ Quit: fredden: Remote host closed the connection
[2011/12/05 12:57:25] <hyde> Is this feature available in puppet dashboard? which version?
[2011/12/05 12:57:27] @ Quit: highclasshole: Ping timeout: 240 seconds
[2011/12/05 12:57:30] @ fredden joined channel #puppet
[2011/12/05 12:57:31] @ Quit: fredden: Remote host closed the connection
[2011/12/05 12:58:37] @ verwilst joined channel #puppet
[2011/12/05 12:59:17] @ d3c joined channel #puppet
[2011/12/05 12:59:28] @ Quit: natewalck: Quit: Outta here
[2011/12/05 13:00:27] @ Quit: joe-mac: Ping timeout: 240 seconds
[2011/12/05 13:01:25] <_UsUrPeR_> Callek: I am 100% positive I am screwing this up, but have not yet used any modules called from module_name: yet, and I think I just have this wrong. It's saying there's something wrong with line 7... http://pastebin.com/YmecNunF
[2011/12/05 13:01:40] <_UsUrPeR_> specifically, it's saying that I am missing a "}"
[2011/12/05 13:02:01] @ mmcgrath_ is now known as mmcgrath
[2011/12/05 13:02:16] <Callek> _UsUrPeR_: the problem is line 6
[2011/12/05 13:02:27] <Callek> you don't want to define a class, but rather use the class resource
[2011/12/05 13:02:39] <Callek> so |class {| rather than |class foo {|
[2011/12/05 13:02:53] <_UsUrPeR_> aah
[2011/12/05 13:02:57] * _UsUrPeR_ makes that change
[2011/12/05 13:03:23] <_UsUrPeR_> hmm. Not it's saying it can't find stage 100.
[2011/12/05 13:03:45] <_UsUrPeR_> I fiured numbers made more sense than saying "main"
[2011/12/05 13:03:50] <Callek> try quotes then, since stages are meant to be string
[2011/12/05 13:03:59] @ Quit: BLZbubba: Changing host
[2011/12/05 13:03:59] @ BLZbubba joined channel #puppet
[2011/12/05 13:04:32] <Callek> but imo, if anyone else has to look at this, you don't need to specify "main" explicitly and "main" is generall more clear, since if you specify _anything_ other than "main" you could shoot yourself in the foot when you add other classes
[2011/12/05 13:04:37] <the_ramink> _UsUrPeR_: everything runs in Stage Main by default. Don't set a stage unless you need to
[2011/12/05 13:04:52] <Callek> and of course, you don't define stage 100 ;-)
[2011/12/05 13:05:06] @ Guest22951 joined channel #puppet
[2011/12/05 13:05:09] <Callek> which imo, you shouldm't, should just use Stage['main']
[2011/12/05 13:05:19] <_UsUrPeR_> ok
[2011/12/05 13:05:21] <_UsUrPeR_> that makes sense
[2011/12/05 13:06:32] <Callek> I treat |Stage| as a sniper rifle, very useful, but only in moderation
[2011/12/05 13:06:34] <Callek> you wouldn
[2011/12/05 13:06:38] @ tilgovi joined channel #puppet
[2011/12/05 13:06:49] @ Quit: tilgovi: Changing host
[2011/12/05 13:06:49] @ tilgovi joined channel #puppet
[2011/12/05 13:07:02] @ jaytaph joined channel #puppet
[2011/12/05 13:07:12] <_UsUrPeR_> Callek: like I was telling the_ramink earlier: I have a script that _must_ be run last at all times
[2011/12/05 13:07:15] <Callek> ... you wouldn't arm your entire infantry with sniper rifles when regular assualt weaponry [in this case, proper dependancy chains] work better
[2011/12/05 13:07:27] <_UsUrPeR_> It's the update_image portion
[2011/12/05 13:07:46] <Callek> _UsUrPeR_: of course, I agree stage is the right tool for what you described, just commenting in general :-)
[2011/12/05 13:07:57] @ flipwork_ is now known as flipwork
[2011/12/05 13:08:25] <_UsUrPeR_> ok, so am I defining stages improperly?
[2011/12/05 13:08:28] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/05 13:08:33] <_UsUrPeR_> it's saying that the stage cannot be found
[2011/12/05 13:08:47] <_UsUrPeR_> if I move it outside node { } i
[2011/12/05 13:09:11] <_UsUrPeR_> t doesn't like that either
[2011/12/05 13:09:34] <_UsUrPeR_> "could not find dependency stage[Main] for stage [199]
[2011/12/05 13:09:36] @ Quit: zul: Ping timeout: 245 seconds
[2011/12/05 13:09:48] <_UsUrPeR_> you had specifically said that "main" should not be defined
[2011/12/05 13:09:52] <_UsUrPeR_> and I understand why that is
[2011/12/05 13:10:01] <_UsUrPeR_> I had assumed that it was *something* though :)
[2011/12/05 13:10:47] @ Quit: duerF: Ping timeout: 240 seconds
[2011/12/05 13:11:01] <_UsUrPeR_> OH WAIT.
[2011/12/05 13:11:12] <_UsUrPeR_> it was "main", not "Main"
[2011/12/05 13:11:14] <_UsUrPeR_> (caps)
[2011/12/05 13:12:00] @ Quit: hyde: Ping timeout: 265 seconds
[2011/12/05 13:12:11] @ highclasshole joined channel #puppet
[2011/12/05 13:12:29] @ Quit: antony_: Ping timeout: 265 seconds
[2011/12/05 13:12:36] @ lak joined channel #puppet
[2011/12/05 13:12:36] @ Quit: lak: Changing host
[2011/12/05 13:12:36] @ lak joined channel #puppet
[2011/12/05 13:13:27] @ Quit: johnston__: Ping timeout: 265 seconds
[2011/12/05 13:13:37] <Callek> yea, sorry
[2011/12/05 13:16:26] @ duerF joined channel #puppet
[2011/12/05 13:16:49] @ christophermlee joined channel #puppet
[2011/12/05 13:17:19] <kenperkins> Callek: I'm not sure what you mean, but I already had the provider=>"git" in all of my vcsrepo{ ...} blocks
[2011/12/05 13:17:49] <Callek> kenperkins: from what you said before that you have require=>... set, not provider=>
[2011/12/05 13:18:04] <kenperkins> I'll show you the block as it is, 1 sec
[2011/12/05 13:18:07] <Callek> and the error message mentioned "no default provider" which is why I suggested it
[2011/12/05 13:18:30] <_UsUrPeR_> Callek: I got it. Main is not caps, and also there was a script error causing exit 1
[2011/12/05 13:18:33] <_UsUrPeR_> thanks a lot
[2011/12/05 13:18:44] <Callek> _UsUrPeR_: you're welcome, glad it worked
[2011/12/05 13:18:47] <kenperkins> https://gist.github.com/1435394
[2011/12/05 13:19:01] <_UsUrPeR_> I am getting a white board for the office
[2011/12/05 13:19:07] <_UsUrPeR_> just because of this program
[2011/12/05 13:19:15] <_UsUrPeR_> GOOD TIMES
[2011/12/05 13:21:58] <Callek> kenperkins: so what is your error message when you run that then?
[2011/12/05 13:22:38] @ Quit: christophermlee: Ping timeout: 265 seconds
[2011/12/05 13:23:38] @ zul joined channel #puppet
[2011/12/05 13:24:19] @ snk joined channel #puppet
[2011/12/05 13:24:40] <kenperkins> Puppet Apply just ends before it even starts (I never see the "Applying configuration" notice) where the last statement is: Could not find a default provider for vcsrepo
[2011/12/05 13:25:04] @ paroneayea joined channel #puppet
[2011/12/05 13:25:08] <Volcane> kenperkins: you unfortunately need to get git on the machine before you can use it
[2011/12/05 13:25:55] <kenperkins> Volcane: I can't use puppet to put git on the machine before vcsrepo works?
[2011/12/05 13:26:08] @ Holocaine joined channel #puppet
[2011/12/05 13:27:38] <Volcane> no there's a chicken and egg, its been fixed very recently but not in release now
[2011/12/05 13:27:43] <kenperkins> :(
[2011/12/05 13:27:46] @ jodok joined channel #puppet
[2011/12/05 13:27:53] @ Quit: Moe__: Remote host closed the connection
[2011/12/05 13:28:01] @ Quit: motomike: Remote host closed the connection
[2011/12/05 13:28:14] <kenperkins> ok thank you for solving my WTF problem :P
[2011/12/05 13:28:14] @ hfnix joined channel #puppet
[2011/12/05 13:28:33] @ Quit: BManojlovic: Remote host closed the connection
[2011/12/05 13:28:39] <RhysMorgan> Can anyone tell me where I can find the code that generates the rest call to the puppet master?
[2011/12/05 13:28:59] <RhysMorgan> i thought it would be in /lib/agent/agent.rb but I can't see it
[2011/12/05 13:29:21] @ motomike joined channel #puppet
[2011/12/05 13:30:26] @ Quit: hfnix: Client Quit
[2011/12/05 13:30:36] <Callek> huh interesting https://github.com/puppetlabs/puppet/blob/master/CHANGELOG
[2011/12/05 13:30:55] <Callek> lists vcsrepo as having been backed out
[2011/12/05 13:31:09] <Callek> Volcane: yea I was *just* thinking of that as you wrote it
[2011/12/05 13:31:45] @ Quit: cliff-hm: Read error: Operation timed out
[2011/12/05 13:32:04] <Callek> kenperkins: fyi #6907
[2011/12/05 13:32:04] <gepetto> Callek: kenperkins: #6907 is http://projects.puppetlabs.com/issues/show/6907 "Puppet - Feature #6907: Ensure providers can be used in the same puppet run that their prerequisites are delivered in. It has a status of Merged - Pending Release and is assigned to -"
[2011/12/05 13:32:28] @ Quit: emergion: Quit: later...
[2011/12/05 13:32:31] <kenperkins> yay
[2011/12/05 13:32:39] <kenperkins> although kind of a sad wtf realization :(
[2011/12/05 13:32:51] <Callek> I agree
[2011/12/05 13:34:41] <RhysMorgan> I want to modify the agent code to accept an array of puppet masters but I can't seem to find the rb that contains the code
[2011/12/05 13:35:01] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/05 13:35:16] @ c33s joined channel #puppet
[2011/12/05 13:35:32] @ newtMcKerr joined channel #puppet
[2011/12/05 13:35:43] @ benjiedmund joined channel #puppet
[2011/12/05 13:36:16] @ jrmillette joined channel #puppet
[2011/12/05 13:36:18] <kenperkins> thanks for helping me with that guys
[2011/12/05 13:36:22] <kenperkins> i was ready to kill someone
[2011/12/05 13:36:38] @ Dr_Memory joined channel #puppet
[2011/12/05 13:36:40] <c33s> hello
[2011/12/05 13:36:55] <Dr_Memory> I think I have broken something in a creative fashion: err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://puppet/plugins
[2011/12/05 13:37:28] <Dr_Memory> and yet as far as I can determine, the puppetmaster daemon is up, and the [plugins] section of fileserver.conf has not changed
[2011/12/05 13:37:56] @ Quit: jimmy1980: Ping timeout: 245 seconds
[2011/12/05 13:37:57] <c33s> i have a problem with the split function, puppet returns the error "can't convert String into Integer" when running the following to lines of code: $parts = split('test-test','-') notice( $parts[0] )
[2011/12/05 13:38:12] <c33s> in detail description: http://stackoverflow.com/questions/8382594/how-to-fix-cant-convert-string-into-integer-after-calling-the-split-function
[2011/12/05 13:38:41] @ jab_doa joined channel #puppet
[2011/12/05 13:39:05] <Callek> kenperkins: I would suggest a facter check of |puppetversion| and use vcsrepo when possible then :-)
[2011/12/05 13:39:23] <Callek> and of course, comment about why, and the else clause use a direct git exec
[2011/12/05 13:39:24] <Callek> :-)
[2011/12/05 13:39:30] <kenperkins> Callek: I'm modifying my vagrant base image to include git :P
[2011/12/05 13:39:37] <kenperkins> kind of a pain but o well
[2011/12/05 13:39:41] <Callek> kenperkins: ahhh that works too :-)
[2011/12/05 13:39:49] @ Quit: newtMcKerr: Ping timeout: 252 seconds
[2011/12/05 13:39:56] @ maes_` joined channel #puppet
[2011/12/05 13:40:07] * Callek is *not* a fan of pre-req's in base images, before puppet, but there are use-cases for it of course.
[2011/12/05 13:40:15] @ drewrm joined channel #puppet
[2011/12/05 13:41:21] * RhysMorgan wonders if anyone can see what he's typing
[2011/12/05 13:41:58] <Dr_Memory> RhysMorgan: we can
[2011/12/05 13:42:08] <kenperkins> use-cases as in puppet SUCKS ;)
[2011/12/05 13:42:09] <kenperkins> j/k
[2011/12/05 13:42:14] @ Quit: maes_: Ping timeout: 248 seconds
[2011/12/05 13:42:41] <RhysMorgan> Dr_Memory: Thankyou :) no one ever seems to answer me in here
[2011/12/05 13:43:39] @ jimmy1980 joined channel #puppet
[2011/12/05 13:45:40] @ gtrduop joined channel #puppet
[2011/12/05 13:45:44] <gtrduop> I`ve forgotten a3li for ban-nazi. sorry!
[2011/12/05 13:45:45] <Callek> heh, was about to comment about http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern being a rip-off from Pro Puppet, then I saw that http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern/history had James as a heavy author (and of course is a "Pro Puppet" author) :-)
[2011/12/05 13:45:59] @ dwalu joined channel #puppet
[2011/12/05 13:46:02] @ Quit: gtrduop: Killed (idoru (Spam is off topic on freenode.))
[2011/12/05 13:46:56] <Dr_Memory> eric0: I summonz j00
[2011/12/05 13:47:07] @ ncjohnsto joined channel #puppet
[2011/12/05 13:47:23] @ Quit: kubicek: Excess Flood
[2011/12/05 13:47:23] <c33s> anyone who can help me with the split function error i get?
[2011/12/05 13:47:24] @ Quit: jetole: Ping timeout: 252 seconds
[2011/12/05 13:47:27] @ kubicek joined channel #puppet
[2011/12/05 13:47:27] @ Quit: kubicek: Excess Flood
[2011/12/05 13:48:43] @ kubicek joined channel #puppet
[2011/12/05 13:48:46] @ Quit: marczak: Ping timeout: 245 seconds
[2011/12/05 13:51:42] @ lborda joined channel #puppet
[2011/12/05 13:52:56] @ Quit: chadskidmore: Quit: Computer has gone to sleep.
[2011/12/05 13:55:09] <Dr_Memory> c33s: can you see if the same code fails using the version of puppet direct from puppetlabs rather than the debian-provided version?
[2011/12/05 13:55:30] <Dr_Memory> (I don't work for PL; just making a semi-educated guess here.)
[2011/12/05 13:56:27] <c33s> Dr_Memory: have no PL version running anywhere :( (maybe i try to upgrade to the backport package)
[2011/12/05 13:57:37] @ newtMcKerr joined channel #puppet
[2011/12/05 13:58:41] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#128) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=128 (by Matthaus Litteken)
[2011/12/05 13:59:45] @ marczak joined channel #puppet
[2011/12/05 14:00:07] @ jetole joined channel #puppet
[2011/12/05 14:00:19] @ Quit: tremble: Read error: Operation timed out
[2011/12/05 14:01:29] @ Quit: indigo: Quit: leaving
[2011/12/05 14:04:02] @ beaknit joined channel #puppet
[2011/12/05 14:05:42] @ jongrocho joined channel #puppet
[2011/12/05 14:05:49] @ nitram_macair joined channel #puppet
[2011/12/05 14:05:54] @ Quit: amoe: Ping timeout: 244 seconds
[2011/12/05 14:06:34] @ rubic joined channel #puppet
[2011/12/05 14:07:56] * eric0 *poof*
[2011/12/05 14:08:00] @ amoe joined channel #puppet
[2011/12/05 14:08:12] <Dr_Memory> hey sir
[2011/12/05 14:08:28] <Dr_Memory> (wow, that worked!)
[2011/12/05 14:09:01] <Dr_Memory> today's wtf: err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://puppet/plugins
[2011/12/05 14:09:52] @ Quit: duerF: Quit: Leaving
[2011/12/05 14:10:08] @ Quit: uphillian: Quit: Leaving.
[2011/12/05 14:10:20] @ duerF joined channel #puppet
[2011/12/05 14:10:34] @ ncjohnsto is now known as chjohnst
[2011/12/05 14:10:55] <Dr_Memory> the full context is here: http://pastebin.com/m6ijj148
[2011/12/05 14:11:07] <Dr_Memory> AFAICT it isn't even getting to the point to talking to the PM server
[2011/12/05 14:11:27] <Dr_Memory> (or at least the server logs nothing with --debug)
[2011/12/05 14:11:56] <dwalu> are duplicate definition errors ever "wrong" when classes are nested a couple of levels deep?
[2011/12/05 14:12:22] <dwalu> I mean do they ever report a top-level class when the problem is actually a a class one or two levels down?
[2011/12/05 14:12:55] @ mosen joined channel #puppet
[2011/12/05 14:13:34] <eric0> Dr_Memory: is this on a an old client talkign to newly-upgraded server?
[2011/12/05 14:14:44] <Dr_Memory> shouldn't be, but this is in the context of more prepwork for the 2.7 upgrade
[2011/12/05 14:15:01] <eric0> def make sure pluginsync=true in [master] section of the server's puppet.conf
[2011/12/05 14:15:01] <Dr_Memory> OFFS
[2011/12/05 14:15:04] <eric0> BRB
[2011/12/05 14:15:06] <Dr_Memory> clientver > serverver
[2011/12/05 14:15:15] <Dr_Memory> yup, that was it
[2011/12/05 14:15:15] <the_ramink> dwalu: Puppet doesn't judge it just points out conflicts. :-)
[2011/12/05 14:15:17] * Dr_Memory facepalm
[2011/12/05 14:16:17] <dwalu> the_ramink: yeah I'm discovering :) . I have one class definition that I just wrote, and then I'm declaring it once for a node in nodes.pp. I can't find a duplicate anywhere for that specific class, so i'm a bit lost.
[2011/12/05 14:17:02] @ dylants left channel #puppet ()
[2011/12/05 14:18:09] @ CosmicRay joined channel #puppet
[2011/12/05 14:18:31] @ ken_barber1 joined channel #puppet
[2011/12/05 14:19:04] <the_ramink> dwalu: are you setting a unique name with your define? like using file { "/some/vhost/${name}": rather than without the name. It's common when people start writting defines to include them in multiple classes without thinking about namespace collisions
[2011/12/05 14:19:19] <dwalu> the_ramink: sorry, define is the wrong word, it's not actually a define here
[2011/12/05 14:19:34] <CosmicRay> Hi folks - got a question. I have a flat config file that I need to manage with puppet, and it lacks an "include dir.d/*" sort of feature. I'd like to define a resource type that, when invoked, will lead to creating a section in that file. I'll probably invoke it a few dozen times on some machines. A template would be perfect for this if I could figure out the right way to iterate over all the defined resources. any ideas?
[2011/12/05 14:20:25] @ Quit: DemonWitch: Read error: Connection timed out
[2011/12/05 14:20:43] <jbaldridge> I usually create a .d style directory somewhere, then use puppet to concat the files
[2011/12/05 14:20:46] <dwalu> I have a class called dwalu::mongodb in modules/dwalu/manifests/mongodb.pp, written as class dwalu::mongodb (parameters) {} and then in nodes.pp for a specific host I declare it as class {'dwalu::mongodb': }, but when I apply it, those two lines conflict with each other
[2011/12/05 14:21:02] <CosmicRay> jbaldridge: you just exec cat?
[2011/12/05 14:21:05] <Callek> CosmicRay: my suggestion, |extlookup()| and use an array with it :-)
[2011/12/05 14:21:20] @ DemonWitch joined channel #puppet
[2011/12/05 14:21:21] <Callek> might be cludgy but would work if you don't want to hack in ruby to make your solution happen
[2011/12/05 14:21:28] @ Quit: jodok: Remote host closed the connection
[2011/12/05 14:21:32] <CosmicRay> Callek: indeed I don't want to do that ;-)
[2011/12/05 14:21:43] @ jodok joined channel #puppet
[2011/12/05 14:21:46] @ Quit: jodok: Changing host
[2011/12/05 14:21:46] @ jodok joined channel #puppet
[2011/12/05 14:21:54] * CosmicRay goes to read about extlookup
[2011/12/05 14:22:06] @ tremble joined channel #puppet
[2011/12/05 14:22:10] <Dr_Memory> okay, dumb question: in a puppet case statement, can I match against an array?
[2011/12/05 14:22:19] @ Quit: ken_barber: Ping timeout: 244 seconds
[2011/12/05 14:22:21] @ Quit: DemonWitch: Max SendQ exceeded
[2011/12/05 14:22:33] <jbaldridge> CosmicRay: I've used a concatenated_file.pp snippet stolen from David Schmidtt
[2011/12/05 14:22:36] <Dr_Memory> e.g. case $hostname { ["foo", "bar"]: { ... } }
[2011/12/05 14:23:02] <jbaldridge> it uses a define and an exec
[2011/12/05 14:23:03] <the_ramink> dwalu: my limited understanding of parameterized classes is that you can only include them once... maybe someone familiar with them could chime in here and tell if you're breaking that.
[2011/12/05 14:23:10] <torrancew> CosmicRay: puppet-concat is a module that helps enable conf.d/ type setups
[2011/12/05 14:23:23] <dwalu> the_ramink: as far as I can tell I'm not including them twice
[2011/12/05 14:24:54] @ Quit: gniks1: Quit: Leaving.
[2011/12/05 14:25:10] <dwalu> ok weird, if I take everything out of dwalu::mongodb and just put it straight into the node definition, no problem.
[2011/12/05 14:25:35] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#129) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=129 (by Matthaus Litteken)
[2011/12/05 14:25:41] <CosmicRay> thanks folks, I think this is what I'm after
[2011/12/05 14:26:59] @ skm joined channel #puppet
[2011/12/05 14:27:02] <eric0> Dr_Memory: its just case $hostname { "foo","bar": ... } , dont need array syntax there.
[2011/12/05 14:27:18] @ Quit: duerF: Read error: Operation timed out
[2011/12/05 14:27:37] @ emergion joined channel #puppet
[2011/12/05 14:27:44] <the_ramink> dwalu: you're not doing an include dwalu::mongodb in your dwalu/manifests/init.pp or anything like that?
[2011/12/05 14:27:49] <Dr_Memory> eric0: aha, thanks
[2011/12/05 14:28:12] <dwalu> the_ramink: nope, I don't use include terribly often since most of my classes are parameterized
[2011/12/05 14:28:31] <dwalu> I'm thinking one of the sub-classes is calling something that gets called somewhere else
[2011/12/05 14:28:43] <dwalu> and puppet is just reporting it at a higher level scope for some reason
[2011/12/05 14:29:09] @ duerF joined channel #puppet
[2011/12/05 14:30:27] @ Quit: jl000: Ping timeout: 240 seconds
[2011/12/05 14:30:37] <dwalu> ah hah, got it. both my dwalu:: app and dwalu::mongodb classes include firewall::(app|mongodb) which in turn include firewall
[2011/12/05 14:30:51] <the_ramink> dwalu: likely, Puppet is bad and figuring out where the problem is if it's down a few levels. I've run into that with templates in a subclass in a class included in another class. I only see the errors in the class included the class.
[2011/12/05 14:32:42] <dwalu> sweet. with that my devs can bring up an ec2 instance with a fully functional staging environment with a script named `bootstaging.sh --version="somesvnversionhere"`
[2011/12/05 14:32:48] <dwalu> my work for today is done.
[2011/12/05 14:36:06] @ christophermlee joined channel #puppet
[2011/12/05 14:36:12] @ Quit: ali3n0: Quit: Leaving.
[2011/12/05 14:36:24] <christophermlee> .
[2011/12/05 14:36:26] <gepetto> ::redmine:: Wiki edit: Release_Notes (#149) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=149 (by Matthaus Litteken)
[2011/12/05 14:36:26] @ jl000 joined channel #puppet
[2011/12/05 14:38:29] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/05 14:39:47] @ hfnix joined channel #puppet
[2011/12/05 14:41:22] @ csanchez joined channel #puppet
[2011/12/05 14:41:29] @ Quit: lborda: Quit: Ex-Chat
[2011/12/05 14:41:35] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/05 14:41:35] @ tessier_ joined channel #puppet
[2011/12/05 14:41:50] <gepetto> ::redmine:: Wiki edit: Release_Notes (#150) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=150 (by Matthaus Litteken)
[2011/12/05 14:44:02] @ Quit: blentz: Ping timeout: 252 seconds
[2011/12/05 14:44:46] @ langworthy_ joined channel #puppet
[2011/12/05 14:45:04] @ Kazuhiro joined channel #puppet
[2011/12/05 14:45:57] <dwalu> the_ramink: as always, thanks for talking me through it.
[2011/12/05 14:46:21] @ Quit: hfnix: Quit: Leaving.
[2011/12/05 14:46:39] @ Quit: langworthy: Ping timeout: 252 seconds
[2011/12/05 14:46:40] @ langworthy_ is now known as langworthy
[2011/12/05 14:47:15] @ Quit: tilgovi: Remote host closed the connection
[2011/12/05 14:48:37] <the_ramink> dwalu: no problem, was interesting since I think I mgiht be testing the waters on paramterized class and also nice to know that clientcert will work for node_name_value
[2011/12/05 14:48:46] <haus> PSA: Puppet Dashboard 1.2.4rc1 available in the usual locations
[2011/12/05 14:48:58] <haus> also, Puppet 2.6.13rc1 similarly available
[2011/12/05 14:50:26] @ Quit: aherzog: Quit: aherzog
[2011/12/05 14:52:43] @ Quit: sduchesneau: Remote host closed the connection
[2011/12/05 14:52:55] @ Quit: asteve: Remote host closed the connection
[2011/12/05 14:53:05] @ Quit: alanevans: Ping timeout: 240 seconds
[2011/12/05 14:53:16] @ Quit: agwells0714: *.net *.split
[2011/12/05 14:53:17] @ Quit: inecas: *.net *.split
[2011/12/05 14:53:18] @ Quit: Demosthenes: *.net *.split
[2011/12/05 14:53:18] @ asteve joined channel #puppet
[2011/12/05 14:54:11] @ Quit: tblamer: Quit: Going offline, see ya! (www.adiirc.com)
[2011/12/05 14:55:12] @ Quit: Phibs: Ping timeout: 248 seconds
[2011/12/05 14:55:23] @ lwhalen-work joined channel #puppet
[2011/12/05 14:56:54] @ Demosthenes joined channel #puppet
[2011/12/05 14:57:00] @ Atwa1337 joined channel #puppet
[2011/12/05 14:57:40] @ Atwa1337 left channel #puppet ()
[2011/12/05 14:58:04] @ Atwa1337 joined channel #puppet
[2011/12/05 14:59:25] @ Quit: asteve: Read error: Operation timed out
[2011/12/05 14:59:53] @ johnsotn joined channel #puppet
[2011/12/05 15:00:06] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/05 15:01:48] @ asteve joined channel #puppet
[2011/12/05 15:02:40] <dwalu> @the_ramink what's interesting is if you have the same clientcert everywhere then I'm not sure how you would go about differenatiating on nodename
[2011/12/05 15:03:08] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/05 15:04:07] @ Quit: lwhalen: Disconnected by services
[2011/12/05 15:04:18] @ lwhalen-work is now known as lwhalen
[2011/12/05 15:04:49] @ lwhalen-work joined channel #puppet
[2011/12/05 15:05:13] @ tilgovi joined channel #puppet
[2011/12/05 15:05:14] @ Quit: tilgovi: Changing host
[2011/12/05 15:05:14] @ tilgovi joined channel #puppet
[2011/12/05 15:07:31] @ inecas joined channel #puppet
[2011/12/05 15:07:36] @ Quit: asteve: Ping timeout: 240 seconds
[2011/12/05 15:07:39] @ alanevans joined channel #puppet
[2011/12/05 15:07:47] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/05 15:08:13] <mrwacky42> @ken_barber1 check out the latest diffs on pull #34
[2011/12/05 15:08:13] <gepetto> mrwacky42: #34 is http://projects.puppetlabs.com/issues/show/34 "Puppet - Feature #34: added info switch.... It has a status of Closed and is assigned to Luke Kanies"
[2011/12/05 15:08:14] @ hfnix joined channel #puppet
[2011/12/05 15:08:22] <mrwacky42> no no no gepetto
[2011/12/05 15:08:42] @ sdog joined channel #puppet
[2011/12/05 15:08:47] <mrwacky42> pull request 34 for issue #10984
[2011/12/05 15:08:47] <gepetto> mrwacky42: #10984 is http://projects.puppetlabs.com/issues/show/10984 "Puppet Labs Modules - Bug #10984: firewall: Default firewall class to handle rote tasks for firewall provider. It has a status of Code Insufficient and is assigned to Sharif Nassar"
[2011/12/05 15:08:51] @ Quit: csanchez: Quit: csanchez
[2011/12/05 15:09:05] @ Quit: brtl: Ping timeout: 240 seconds
[2011/12/05 15:09:06] <mrwacky42> yes, that
[2011/12/05 15:10:19] @ Quit: spidey_: Remote host closed the connection
[2011/12/05 15:10:22] <the_ramink> dwalu: I went about it in the opposite direction. I use certname as the friendly name of the machine and set it manually on the first run. What I'm thinking about doing is letting certname stay fqdn and setting node_name_value since I'm autosigning everything that comes in. Get around the problem that allow_duplicate_certs doesn't work
[2011/12/05 15:10:48] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/12/05 15:10:55] @ hco-bitlbee-mba joined channel #puppet
[2011/12/05 15:11:20] <dwalu> @the_ramink oh that's not a bad idea, so once you've set the certname on the first run, you change the hostname to be what you want, then you don't have to add that specifically to /etc/puppet/puppet.conf before the next time the agent restarts, since now the hostname matches the certificate?
[2011/12/05 15:13:34] <ken_barber1> mrwacky42: I'll look tomorrow probably - its getting too late to do a full review. Most of my niggles look fixed though so cheers - still $ip6tables_config … where does that come from?
[2011/12/05 15:14:30] <mrwacky42> ken_barber1: You mean what sets the variable ?
[2011/12/05 15:14:46] <ken_barber1> mrwacky42: yah - I couldn't find it last time
[2011/12/05 15:14:50] <the_ramink> dwalu: yep, but I run into the problem that I need to wipe the cert from the master if a reimage a machine to the same name
[2011/12/05 15:14:54] <mrwacky42> It's hard-coded for redhat
[2011/12/05 15:15:16] <mrwacky42> actually also for Debian
[2011/12/05 15:15:33] @ Quit: d3c: Quit: Lost terminal
[2011/12/05 15:15:35] <mrwacky42> ken_barber1: https://github.com/puppetlabs/puppetlabs-firewall/pull/34/files#L5R47
[2011/12/05 15:15:54] <mrwacky42> ken_barber1: https://github.com/puppetlabs/puppetlabs-firewall/pull/34/files#L5R115
[2011/12/05 15:16:19] <ken_barber1> mrwacky42: $ip6tables_config I mean: https://github.com/puppetlabs/puppetlabs-firewall/pull/34/files#L5R154
[2011/12/05 15:16:26] <dwalu> @the_ramink, good call I need to think through that. right now I have a script that lets my devs bring up a staging environment with the version and username embedded into the hostname/certname. I should either add some sort of a random element to that or make a call to the puppetmaster's api to wipe the cert
[2011/12/05 15:16:46] <the_ramink> dwalu: If certs are randomly named, but stay with the server and node_name_value actually defines the node then I can reimage without worrying about it. Though really at this point it might be better to presign certs or something along those lines.... I'm still playing with it.
[2011/12/05 15:16:50] <mrwacky42> ken_barber1: whoops. that looks like a bug
[2011/12/05 15:16:52] <mrwacky42> will fix
[2011/12/05 15:16:54] @ Quit: n8: Quit: n8
[2011/12/05 15:17:00] @ jimmy1980 joined channel #puppet
[2011/12/05 15:17:08] <ken_barber1> mrwacky42: sweet
[2011/12/05 15:17:17] <ken_barber1> mrwacky42: so it wasn't just me going crazy then
[2011/12/05 15:17:18] @ Quit: sdog: Quit: Leaving.
[2011/12/05 15:17:28] <mrwacky42> ken_barber1: nope, I'd renamed the variable
[2011/12/05 15:17:38] <ken_barber1> mrwacky42: aah
[2011/12/05 15:17:44] @ gniks joined channel #puppet
[2011/12/05 15:18:10] <ken_barber1> mrwacky42: all in all - its looking pretty good. but there is some test work we need to get rspec-puppet to do the Right Thing(™)
[2011/12/05 15:18:32] <ken_barber1> mrwacky42: let me get my act together and show you what I mean tomorrow
[2011/12/05 15:18:34] <mrwacky42> mrwacky42: we == puppetlabs, or we == you & I ?
[2011/12/05 15:18:50] <ken_barber1> mrwacky42: both actually.
[2011/12/05 15:18:57] * mrwacky42 talks to self
[2011/12/05 15:19:06] @ brtl joined channel #puppet
[2011/12/05 15:19:47] @ Quit: rharrison: Quit: Leaving
[2011/12/05 15:19:47] <mrwacky42> ken_barber1: Ok. I'm merging v0.0.4 into our master for internal use, and I'll add a couple more cleanups to the README, and wait to hear back.
[2011/12/05 15:19:54] <the_ramink> dwalu: part of what I'm working towards is allow the application to create jobs that spawn servers to do those jobs. I'd like some sort of naming so that the application knows various job servers are up. rails -> resque_scheduler -> resque -> fog -> ec2 -> puppet :)
[2011/12/05 15:20:04] <ken_barber1> mrwacky42: I need to change the scripts in CI to grab a version of rspec-puppet for CI … but there is also some other hacky stuff we need to workaround another bug. Err … look at this: https://github.com/puppetlabs/puppetlabs-ntp/commit/2de694927175dcfd0752a1bf1a961e495ed0ffdc
[2011/12/05 15:20:24] <mrwacky42> ken_barber1: yeah, I had that issue also
[2011/12/05 15:20:28] <ken_barber1> mrwacky42: turns out that fix is not ruby 1.8.5 compatible though - so its not complete. we need to use our own tmpdir function which is ruby 1.8.5 compatible.
[2011/12/05 15:20:47] <dwalu> the_ramink: that's cool, plus you could put logic into that to boot up enough instances to do your entire queue instantaneously, thus furthering our goal towards creating a von neumann machine
[2011/12/05 15:21:08] <mrwacky42> ken_barber1: meh. I only tested on 1.9.3 I think ..
[2011/12/05 15:21:13] <ken_barber1> mrwacky42: well - if you like - try to make that stuff work. There is a function in our own scaffolding called 'tmpdir' that you can use as an alternative to Dir.mktmpdir ...
[2011/12/05 15:21:13] <mrwacky42> ken_barber1: lmk what needs to happen
[2011/12/05 15:21:17] <the_ramink> dwalu: grey goo, powered by Puppet. :)
[2011/12/05 15:21:53] @ Quit: kaptk2: Quit: Leaving.
[2011/12/05 15:21:53] <dwalu> the_ramink: precisely!
[2011/12/05 15:22:17] @ Quit: kermit: Quit: Leaving.
[2011/12/05 15:22:21] <ken_barber1> mrwacky42: its the Dir.mktmpdir function that is not ruby 1.8.5 compatible. But we have 'tmpdir' function which should just be available … and that servers the same purpose.
[2011/12/05 15:22:31] @ Quit: amoe: Ping timeout: 255 seconds
[2011/12/05 15:22:31] <mrwacky42> ken_barber1: rgr
[2011/12/05 15:22:32] @ kermit joined channel #puppet
[2011/12/05 15:22:40] @ Guest22951 is now known as crs
[2011/12/05 15:22:56] <ken_barber1> mrwacky42: looking good btw :-). thanks for being patient with this …
[2011/12/05 15:22:57] @ Quit: crs: Changing host
[2011/12/05 15:22:57] @ crs joined channel #puppet
[2011/12/05 15:23:22] <mrwacky42> ken_barber1: Hey, it's December, we only have 935 other things going on this time of year instead of the normal 65535
[2011/12/05 15:23:55] <ken_barber1> mrwacky42: yay - and you decided to give your love to puppletabs-firewall … :-).
[2011/12/05 15:24:05] @ amoe joined channel #puppet
[2011/12/05 15:24:27] <ken_barber1> mrwacky42: I've had no time myself. Beyond basic triage and review effort - I've been too maxed to work on bugs.
[2011/12/05 15:24:33] @ setient joined channel #puppet
[2011/12/05 15:24:48] @ Quit: bgupta: Quit: bgupta
[2011/12/05 15:24:55] @ bgupta joined channel #puppet
[2011/12/05 15:25:57] <mrwacky42> ken_barber1: I'll have a look.
[2011/12/05 15:26:30] @ marczak joined channel #puppet
[2011/12/05 15:27:40] @ Quit: brtl: Quit: Leaving.
[2011/12/05 15:29:04] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/05 15:30:07] @ Quit: ken_barber1: Quit: Leaving.
[2011/12/05 15:30:18] @ skm joined channel #puppet
[2011/12/05 15:30:23] @ ken_barber joined channel #puppet
[2011/12/05 15:30:49] @ Quit: langworthy: Read error: No route to host
[2011/12/05 15:31:37] @ peridot joined channel #puppet
[2011/12/05 15:31:40] @ langworthy joined channel #puppet
[2011/12/05 15:32:50] <peridot> Does anyone use schedule? I'm wondering if you have a resource updating afterhours, what do you do when you want to setup a new node? Do you just let it sit around for a day?
[2011/12/05 15:32:51] @ Quit: benjiedmund: Read error: No route to host
[2011/12/05 15:33:03] @ benjiedmund joined channel #puppet
[2011/12/05 15:33:25] @ Dr_Memory left channel #puppet ()
[2011/12/05 15:36:56] @ aherzog joined channel #puppet
[2011/12/05 15:38:23] @ feylya-puppet joined channel #puppet
[2011/12/05 15:39:13] @ n8 joined channel #puppet
[2011/12/05 15:39:55] @ aherzog_ joined channel #puppet
[2011/12/05 15:39:56] @ Quit: aherzog: Read error: Connection reset by peer
[2011/12/05 15:39:56] @ aherzog_ is now known as aherzog
[2011/12/05 15:41:15] @ Kazuhiro1 joined channel #puppet
[2011/12/05 15:43:17] @ Quit: alfism: Quit: alfism
[2011/12/05 15:43:21] @ Arendtse1 joined channel #puppet
[2011/12/05 15:43:51] @ Kazuhiro1 left channel #puppet ()
[2011/12/05 15:44:04] @ Quit: jim`: Ping timeout: 244 seconds
[2011/12/05 15:44:08] @ Quit: Arendtsen: Read error: Connection reset by peer
[2011/12/05 15:44:56] @ Quit: Kazuhiro: Ping timeout: 268 seconds
[2011/12/05 15:47:35] <jmccune> rtyler: Ping?
[2011/12/05 15:49:03] <jmccune> rtyler: Hey, I'm working on a pull request for https://github.com/rtyler/puppet-jenkins which adds CentOS support and works with the puppet-module tool. As part of the PMT stuff I need to fill out the license meta-data. Do you know what license puppet-jenkins is distributed under?
[2011/12/05 15:49:36] @ Quit: jab_doa: Quit: Verlassend
[2011/12/05 15:51:24] <cwarden> ken_barber: thanks for the speedy handling of my pull requests
[2011/12/05 15:53:26] <ken_barber> cwarden: yeah - I have no life :-). I mean - your welcome :-). Thanks for the pull requests btw … always happy to help a contributor.
[2011/12/05 15:53:47] @ Quit: soh: Ping timeout: 240 seconds
[2011/12/05 15:54:02] @ soh joined channel #puppet
[2011/12/05 15:54:15] @ ghg27 joined channel #puppet
[2011/12/05 15:54:27] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/05 15:54:30] @ Quit: ghg: Ping timeout: 248 seconds
[2011/12/05 15:54:30] @ ghg27 is now known as ghg
[2011/12/05 15:55:24] <mrwacky42> ken_barber does this mktmpdir issue only happen in 1.8.5 ?
[2011/12/05 15:55:35] @ Quit: feylya-puppet: Quit: feylya-puppet
[2011/12/05 15:55:35] <mrwacky42> ken_barber: we don't have that anywhere
[2011/12/05 15:55:49] <ken_barber> mrwacky42: mktmpdir was only ever back-ported to 1.8.6
[2011/12/05 15:55:58] @ Quit: ghg: Client Quit
[2011/12/05 15:56:55] <ken_barber> mrwacky42: let me show you something
[2011/12/05 15:56:57] <mrwacky42> ken_barber: so stop supporting 1.8.5 ;)
[2011/12/05 15:57:24] <ken_barber> mrwacky42: https://github.com/puppetlabs/puppetlabs-firewall/blob/master/spec/puppet_spec/files.rb#L34 that function is a good enough replacement that is compatible with 1.8.5.
[2011/12/05 15:57:42] <ken_barber> mrwacky42: yeah - we have redhat 5 users - so we have to be careful.
[2011/12/05 15:57:59] <mrwacky42> tmpfile or tmpdir ?
[2011/12/05 15:58:06] <mrwacky42> But yeah, I'll add the creation of confdir
[2011/12/05 15:58:09] <ken_barber> mrwacky42: yes sorry - tmpdir
[2011/12/05 15:58:56] @ jodok_ joined channel #puppet
[2011/12/05 15:59:25] @ Quit: lak: Quit: Leaving.
[2011/12/05 15:59:27] @ Dr_Memory joined channel #puppet
[2011/12/05 15:59:44] <ken_barber> mrwacky42: so even though the bug is in tests for ruby 1.8.5 - we still need CI tests on ruby 1.8.5 to pick up bugs in the real code - so we have to support 1.8.5 entirely.
[2011/12/05 16:00:21] <mrwacky42> ken_barber: yep, you're lucky I'm nice, since my pull request has nothing to do with 1.8.5
[2011/12/05 16:00:36] <mrwacky42> ken_barber: but because I like you, I'll add the mojo specific to your customers ;)
[2011/12/05 16:00:38] @ jimmy1980 joined channel #puppet
[2011/12/05 16:00:57] <ken_barber> rofl
[2011/12/05 16:01:03] <ken_barber> somebody likes me! *wibble*
[2011/12/05 16:01:47] @ Quit: jodok: Ping timeout: 240 seconds
[2011/12/05 16:01:48] @ jodok_ is now known as jodok
[2011/12/05 16:02:21] <seanh-ansca> what's the best was to pull something out of a stored config? if i export something in a class and then remove a host, how to a purge the exported resources?
[2011/12/05 16:02:25] @ Quit: jodok: Remote host closed the connection
[2011/12/05 16:02:39] @ jodok joined channel #puppet
[2011/12/05 16:02:39] @ Quit: jodok: Changing host
[2011/12/05 16:02:39] @ jodok joined channel #puppet
[2011/12/05 16:05:26] <tmz> seanh-ansca: I don't know about the best way, but there's ext/puppetstoredconfigclean.rb in the source (installed as /usr/share/puppet/ext/puppetstoredconfigclean.rb on RHEL/CentOS).
[2011/12/05 16:05:29] @ Quit: jaytaph: Quit: jaytaph
[2011/12/05 16:05:39] <seanh-ansca> !
[2011/12/05 16:06:07] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/05 16:08:19] <seanh-ansca> doesn't seem to be in my install, but it is here https://github.com/puppetlabs/puppet/raw/master/ext/puppetstoredconfigclean.rb
[2011/12/05 16:08:22] <seanh-ansca> thanks!
[2011/12/05 16:08:29] <seanh-ansca> don't know how i didn't find that
[2011/12/05 16:08:55] @ Quit: nadavoid: Remote host closed the connection
[2011/12/05 16:09:08] @ patrick__ joined channel #puppet
[2011/12/05 16:09:32] @ jodok_ joined channel #puppet
[2011/12/05 16:09:33] @ Quit: jodok_: Changing host
[2011/12/05 16:09:33] @ jodok_ joined channel #puppet
[2011/12/05 16:10:29] @ patrick__ is now known as pcarlisle
[2011/12/05 16:10:37] @ LinuxCode joined channel #puppet
[2011/12/05 16:10:51] @ Quit: jodok_: Client Quit
[2011/12/05 16:11:00] @ jimmy1980 joined channel #puppet
[2011/12/05 16:12:47] @ dbgster joined channel #puppet
[2011/12/05 16:13:04] @ Quit: jodok: Ping timeout: 252 seconds
[2011/12/05 16:13:48] @ Quit: dan__t: Read error: Operation timed out
[2011/12/05 16:14:49] @ Quit: Stenbryggen: Quit: Leaving.
[2011/12/05 16:15:10] <dwalu> has anyone run into an issue with puppetlabs/firewall where it reloads iptables on every puppet run?
[2011/12/05 16:15:32] <mrwacky42> dwalu: yes, and I think it's fixed in v0.0.4 that just was released
[2011/12/05 16:15:56] @ Quit: ken_barber: Quit: Leaving.
[2011/12/05 16:16:51] <dwalu> mrwacky: hmm, nothing is mentioned in the changelog
[2011/12/05 16:17:19] @ Quit: DJClean: Read error: Operation timed out
[2011/12/05 16:17:37] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/12/05 16:19:08] @ Quit: bmahe: Quit: Leaving
[2011/12/05 16:20:02] @ kolla joined channel #puppet
[2011/12/05 16:22:36] @ bmahe joined channel #puppet
[2011/12/05 16:22:41] @ Quit: kolla: Read error: Connection reset by peer
[2011/12/05 16:23:07] @ kolla joined channel #puppet
[2011/12/05 16:24:53] @ Quit: kolla: Remote host closed the connection
[2011/12/05 16:25:00] @ cliff-hm joined channel #puppet
[2011/12/05 16:25:54] @ kolla joined channel #puppet
[2011/12/05 16:26:45] @ Quit: lwhalen-work: Quit: Leaving
[2011/12/05 16:26:54] @ Quit: peridot: Quit: Leaving.
[2011/12/05 16:27:25] @ Quit: kolla: Remote host closed the connection
[2011/12/05 16:27:47] @ kolla joined channel #puppet
[2011/12/05 16:28:07] @ Quit: lbt: Ping timeout: 240 seconds
[2011/12/05 16:28:11] @ feylya-puppet joined channel #puppet
[2011/12/05 16:31:07] @ Quit: langworthy: Read error: No route to host
[2011/12/05 16:31:52] @ stucky101 joined channel #puppet
[2011/12/05 16:31:59] @ langworthy joined channel #puppet
[2011/12/05 16:32:11] @ ken_barber joined channel #puppet
[2011/12/05 16:32:24] @ Quit: LinuxCode: Quit: Connection Closed
[2011/12/05 16:34:02] <stucky101> puppet n00b here : looks like when pointing a "source" to something that is actually a link on the puppetmaster under ./files/ it copies the link locally rather than what it links points to
[2011/12/05 16:34:15] <stucky101> desired ?
[2011/12/05 16:34:41] <stucky101> i have a breakdown like./files/RedHat/5 ./files/RedHat/6
[2011/12/05 16:34:55] <stucky101> sometimes the files are exactly the same, sometimes not
[2011/12/05 16:35:10] <stucky101> if they are I wanted to just link from 6 to 5
[2011/12/05 16:35:42] <stucky101> but that makes puppet create links locally
[2011/12/05 16:35:51] <stucky101> do i have to duplicate the files ?
[2011/12/05 16:36:48] @ Quit: vincent_vdk: Ping timeout: 252 seconds
[2011/12/05 16:37:37] <seanh-ansca> you can put more than one thing in a source def
[2011/12/05 16:38:11] <seanh-ansca> meaning you could have the source be /files/RedHat/${num}, /files/RedHat/
[2011/12/05 16:38:31] <seanh-ansca> and if the file doesn't exist in the first location it goes and checks the second etc
[2011/12/05 16:39:10] @ Quit: omry: Ping timeout: 252 seconds
[2011/12/05 16:39:32] <stucky101> ic - that would be a different approach
[2011/12/05 16:39:38] <stucky101> so no links then ?
[2011/12/05 16:39:51] <seanh-ansca> well, in that case you wouldn't really need them
[2011/12/05 16:39:52] <stucky101> looking to see if there is a "followlinks" directive
[2011/12/05 16:40:05] <seanh-ansca> i'm not actually sure about the real answer to your question unfortunately
[2011/12/05 16:40:19] <stucky101> thanks though this is a good alternative
[2011/12/05 16:40:22] <stucky101> didnt think about it
[2011/12/05 16:40:33] <stucky101> might even be better
[2011/12/05 16:41:28] <stucky101> then again i thought these source arrays at not ordered
[2011/12/05 16:41:34] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/05 16:41:35] <stucky101> so how can I rely on it then
[2011/12/05 16:42:02] <seanh-ansca> they've been working in an ordered fashion for me, wheres the doc that says they aren't?
[2011/12/05 16:42:18] @ daysmen joined channel #puppet
[2011/12/05 16:42:23] <stucky101> more the instructor in the puppet class
[2011/12/05 16:42:32] <stucky101> i gues there is some internal discussion about that
[2011/12/05 16:42:53] <stucky101> he thought it wasn't but now that u mention that I do remember someone telling me he does that too
[2011/12/05 16:42:59] @ skm joined channel #puppet
[2011/12/05 16:43:13] <seanh-ansca> dict/hash array types aren't ordered
[2011/12/05 16:43:20] <seanh-ansca> but indexed arrays should be
[2011/12/05 16:43:32] <stucky101> well if they have been working for you
[2011/12/05 16:43:35] <stucky101> reliably
[2011/12/05 16:43:44] <stucky101> or maybe u've been lucky for ages haha
[2011/12/05 16:43:50] <seanh-ansca> which is the default if you aren't specifying keys
[2011/12/05 16:43:59] <seanh-ansca> yaeh, i'm looking now
[2011/12/05 16:44:00] <henderb> I hope they stay ordered, i've been doing [ $fqdn, defaults ] a bunch
[2011/12/05 16:44:33] <seanh-ansca> isn't the whole point of indexed arrays to maintain order? ;-p
[2011/12/05 16:44:36] @ omry joined channel #puppet
[2011/12/05 16:44:40] <stucky101> well i use hiera for everything else but I still need the files and templates
[2011/12/05 16:45:05] @ Quit: Whoop: Ping timeout: 240 seconds
[2011/12/05 16:45:14] @ Whoop joined channel #puppet
[2011/12/05 16:45:15] @ Quit: Whoop: Changing host
[2011/12/05 16:45:15] @ Whoop joined channel #puppet
[2011/12/05 16:45:55] <stucky101> yeah we had that discussion in class
[2011/12/05 16:46:04] <stucky101> he said internally its not ordered
[2011/12/05 16:46:40] <stucky101> so if you had a bunch of users in an array you woudn't know how they get spit out
[2011/12/05 16:46:53] <stucky101> if you print them
[2011/12/05 16:47:18] <stucky101> i think we had an example where it printed them in different orders each time
[2011/12/05 16:47:23] @ Quit: zwi: Quit: Leaving.
[2011/12/05 16:48:30] <stucky101> then he checked with the internal devs and it looked like source arrays are different
[2011/12/05 16:48:44] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/05 16:48:59] @ vincent_vdk joined channel #puppet
[2011/12/05 16:49:21] <stucky101> but i like that approach - it matches the hiera approach
[2011/12/05 16:49:25] <seanh-ansca> http://docs.puppetlabs.com/references/stable/type.html#file
[2011/12/05 16:49:47] <seanh-ansca> the source docs in the file type have an example of the array def
[2011/12/05 16:50:35] @ aroma joined channel #puppet
[2011/12/05 16:51:08] @ aroma left channel #puppet ()
[2011/12/05 16:51:53] @ Quit: omry: Ping timeout: 240 seconds
[2011/12/05 16:52:06] <seanh-ansca> the link section also talks about setting it to follow to copy the target
[2011/12/05 16:52:30] <stucky101> actually i like your approach better
[2011/12/05 16:52:36] <stucky101> trying that now
[2011/12/05 16:52:45] <stucky101> less to maintain
[2011/12/05 16:53:11] @ Quit: wilmoore: Ping timeout: 244 seconds
[2011/12/05 16:54:46] <seanh-ansca> i do stuff like ["puppet:///files/site-config/configs/${fqdn}/configfile","puppet:///files/site-config/configs/configfile","puppet:///files/module/defaults/configfile"]
[2011/12/05 16:55:04] <seanh-ansca> but there's lotf of variations on that theme
[2011/12/05 16:55:19] @ omry_ joined channel #puppet
[2011/12/05 16:56:44] <stucky101> as long as puppet:///files/site-config/configs/${fqdn}/configfile" comes before "puppet:///files/site-config/configs/configfile" at all times !
[2011/12/05 16:56:58] <seanh-ansca> right
[2011/12/05 16:57:30] <stucky101> how long have you been doing that ?
[2011/12/05 16:57:35] <stucky101> no problems ever right ?
[2011/12/05 16:57:53] <seanh-ansca> i first started doing it several months ago
[2011/12/05 16:58:22] <seanh-ansca> but in that time period i've probably come close to tripling the number of hosts i have in puppet
[2011/12/05 17:00:14] <Callek> few related questions, mostly for anyone employed by puppetlabs or at least in the know with roadmap stuffs :-)
[2011/12/05 17:00:34] <Callek> are there any (current) plans to integrate heira or at least extend extlookup() to use other formats than csv
[2011/12/05 17:00:39] <Callek> ?
[2011/12/05 17:01:04] <Callek> and/or is there any Roadmap(s) published for general wanted directions for puppet future :-)
[2011/12/05 17:01:04] @ Quit: benjiedmund: Read error: Operation timed out
[2011/12/05 17:02:55] @ AK6L left channel #puppet ()
[2011/12/05 17:03:26] @ Quit: the_ramink: Ping timeout: 260 seconds
[2011/12/05 17:06:02] @ Quit: althara: Quit: Leaving.
[2011/12/05 17:06:06] @ Quit: feylya-puppet: Quit: feylya-puppet
[2011/12/05 17:06:58] <stucky101> damn it doesn't work with hiera
[2011/12/05 17:07:26] <stucky101> it pulls the array from hiera but now puppet sees it as on long string rather than an array
[2011/12/05 17:07:34] <stucky101> and of course bals
[2011/12/05 17:07:37] <stucky101> bails
[2011/12/05 17:07:59] <stucky101> looks like i have to make it an array within the manifest
[2011/12/05 17:08:08] <stucky101> but that defeats the point of hiera
[2011/12/05 17:08:40] @ Quit: lwhalen: Quit: Leaving
[2011/12/05 17:09:09] @ Quit: ken_barber: Quit: Leaving.
[2011/12/05 17:09:16] @ Quit: aherzog: Read error: Connection reset by peer
[2011/12/05 17:09:19] @ aherzog joined channel #puppet
[2011/12/05 17:10:17] @ feylya-puppet joined channel #puppet
[2011/12/05 17:10:54] <seanh-ansca> fwiw i normally do that within the context of modules, not in my site.pp
[2011/12/05 17:11:00] @ Dr_Memory left channel #puppet ()
[2011/12/05 17:11:28] <seanh-ansca> which seems like it would still fit the hiera frame of mind
[2011/12/05 17:11:44] * seanh-ansca isn't using hiera at the moment
[2011/12/05 17:13:37] <stucky101> yes this is in the module
[2011/12/05 17:13:55] @ Phibs joined channel #puppet
[2011/12/05 17:13:59] <stucky101> I have all variables and node declarations in hiera
[2011/12/05 17:14:17] <stucky101> so i can easily define a yaml array with all the search paths
[2011/12/05 17:14:30] <stucky101> except puppet doesn't see it as a source array
[2011/12/05 17:14:41] <stucky101> but one path that is a concatenation of all paths
[2011/12/05 17:15:00] @ Quit: dwalu: Quit: dwalu
[2011/12/05 17:15:21] @ Quit: kangman: Remote host closed the connection
[2011/12/05 17:15:28] <stucky101> might have to do links after all
[2011/12/05 17:15:52] @ jrmillette left channel #puppet ()
[2011/12/05 17:17:56] @ zwi joined channel #puppet
[2011/12/05 17:18:23] <stucky101> sean-ansca where did you see the symlink option ?
[2011/12/05 17:18:31] <stucky101> im looking at the metadata doc page
[2011/12/05 17:18:39] <stucky101> http://docs.puppetlabs.com/references/stable/metaparameter.html
[2011/12/05 17:19:21] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2011/12/05 17:20:51] <seanh-ansca> it's on the types page
[2011/12/05 17:20:57] <seanh-ansca> under the link property
[2011/12/05 17:22:45] @ Quit: marczak: Ping timeout: 244 seconds
[2011/12/05 17:22:51] @ Quit: feylya-puppet: Quit: feylya-puppet
[2011/12/05 17:23:52] @ Quit: spiette: Quit: Leaving
[2011/12/05 17:24:16] @ feylya-puppet joined channel #puppet
[2011/12/05 17:25:04] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/05 17:25:27] @ newtMcKerr joined channel #puppet
[2011/12/05 17:25:54] @ Quit: newtMcKerr: Client Quit
[2011/12/05 17:26:53] @ jsm joined channel #puppet
[2011/12/05 17:28:29] @ Quit: feylya-puppet: Client Quit
[2011/12/05 17:29:15] @ Quit: djm68: Quit: leaving
[2011/12/05 17:31:03] @ Quit: bgupta: Quit: bgupta
[2011/12/05 17:32:21] @ langworthy_ joined channel #puppet
[2011/12/05 17:32:39] @ Quit: langworthy: Read error: Connection reset by peer
[2011/12/05 17:32:40] @ langworthy_ is now known as langworthy
[2011/12/05 17:32:47] @ Quit: leifmadsen: Ping timeout: 240 seconds
[2011/12/05 17:37:45] @ Quit: l0n:
[2011/12/05 17:38:00] @ feylya-puppet joined channel #puppet
[2011/12/05 17:41:49] @ Quit: feylya-puppet: Client Quit
[2011/12/05 17:44:36] @ Quit: langworthy: Quit: langworthy
[2011/12/05 17:45:04] <ashp> hey, what's this "puppet module tool" thing i see commits for
[2011/12/05 17:45:38] <fenrus02> ashp, https://github.com/puppetlabs/puppet-module-tool#readme
[2011/12/05 17:45:52] @ Quit: jsm: Quit: Leaving.
[2011/12/05 17:45:54] <ashp> well, that's embarrassing
[2011/12/05 17:46:03] <ashp> but thanks!
[2011/12/05 17:46:41] @ leifmadsen joined channel #puppet
[2011/12/05 17:46:45] @ Quit: leifmadsen: Changing host
[2011/12/05 17:46:45] @ leifmadsen joined channel #puppet
[2011/12/05 17:47:38] @ bgupta joined channel #puppet
[2011/12/05 17:48:51] @ Quit: n8: Quit: n8
[2011/12/05 17:49:00] @ Quit: mrwacky42: Quit: Leaving.
[2011/12/05 17:49:41] @ ben_duyujie joined channel #puppet
[2011/12/05 17:49:57] <fenrus02> heh :)
[2011/12/05 17:50:29] @ Enf joined channel #puppet
[2011/12/05 17:52:08] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/05 17:54:21] <jamesturnbull> ashp: it's about to go away
[2011/12/05 17:54:22] @ Quit: xet7: Quit: Lähdössä
[2011/12/05 17:54:27] <jamesturnbull> ashp: and that code will be in Puppet core
[2011/12/05 17:54:29] <ashp> I know, I saw it being committed
[2011/12/05 17:54:31] <ashp> that's why I asked
[2011/12/05 17:54:37] <jamesturnbull> ah cool
[2011/12/05 17:54:37] <ashp> I've never heard of it before
[2011/12/05 17:54:49] <jamesturnbull> we do announce it's releases :)
[2011/12/05 17:54:52] <ashp> Guess I dont do a lot of forge/community stuff :(
[2011/12/05 17:55:05] <ashp> i need to use that puppet lint and beat my modules into the same style as everyone else
[2011/12/05 17:55:08] <ashp> i'm behind the curve
[2011/12/05 17:55:17] <ashp> hey, this is such an odd question but you wrote the book..
[2011/12/05 17:55:26] <ashp> someone said today there's a bit in pro puppet that deals with loadbalancers via puppet
[2011/12/05 17:55:33] <ashp> is that true? because I have to dig out my copy and look if so
[2011/12/05 17:55:50] <jbaldridge> wasn't it just using that as an exported resources use case?
[2011/12/05 17:55:56] <ashp> I wanted to actually do some exported resource stuff to collect on the loadbalancer and someone said they thought they remembered an example of doing that
[2011/12/05 17:56:09] <ashp> I was just going to be lazy and dig it up and see what you wrote rather than figure it out from scratch
[2011/12/05 17:56:31] <jamesturnbull> ashp: there's a scaling chapter
[2011/12/05 17:56:47] <jamesturnbull> ashp: that talks about LBs and the exported resources examples
[2011/12/05 17:56:51] <cwarden> i seem to be misunderstanding something about dependencies. if i define a dependency like: Class['first'] -> Class['second'], and then declare class { 'first':; 'second': }, why wouldn't tagged('first') return true within the second class?
[2011/12/05 17:56:55] <ashp> Ah ok, I'll have to dig it up and have a look
[2011/12/05 17:57:18] <ashp> I will probably just end up exporting concat snippits or something as a way of doing it
[2011/12/05 17:57:19] <jamesturnbull> ashp: we're also about to release F5 types and providers depending on the LB
[2011/12/05 17:58:03] <ashp> Oh nice!
[2011/12/05 17:58:21] <ashp> Apparently we use something called LVS and they want to use "pacemaker", if that's even a real loadbalancer..
[2011/12/05 17:58:27] <ashp> So I'm looking at our options
[2011/12/05 17:58:27] <jbaldridge> jamesturnbull: thats interesting... Would the F5 be a node, or just resources applied to a node that connects to and configures the LB?
[2011/12/05 17:58:51] <ashp> I always thought puppet could benefit from a few provided examples of configuring non-linux things, f5, cisco, that kinda thing
[2011/12/05 17:59:14] <jamesturnbull> ashp: we support cisco
[2011/12/05 17:59:37] <jamesturnbull> jbaldridge: it uses the API and yes like that
[2011/12/05 17:59:39] <ashp> I can just imagine trying to convince the netops guys to move over, probably scare them forever :(
[2011/12/05 17:59:48] <cwarden> err, rather if i declare declare class { 'second':; 'first': }, tagged('first') is false. the other way around, it's true.
[2011/12/05 17:59:50] <Djelibeybi> ashp: LVS is a load balancer, yes
[2011/12/05 17:59:52] <ashp> Everyone acts terrified of automation at my place.
[2011/12/05 18:00:10] <ashp> Djelibeybi: Yeah, apparently it's super complex and overkill for simple round-robin style LB so I was looking for something like pound to take that place.
[2011/12/05 18:00:29] <Djelibeybi> ashp: perhaps. I haven't used it in anger, to be honest
[2011/12/05 18:00:41] <cwarden> ashp: i've got some old lvs puppet manifests i can dig up
[2011/12/05 18:00:44] @ Quit: nfagerlund: Remote host closed the connection
[2011/12/05 18:01:09] <ashp> cwarden: Oh neat, that would help, give me an easy way to get the current guys on board..
[2011/12/05 18:01:31] <ashp> cwarden: If it's easy enough to do then I might not change technologies as I have zero interest in LBs. Before we always had F5/other hardware
[2011/12/05 18:01:33] <cwarden> it's from pre-module days so it probably needs some cleanup
[2011/12/05 18:01:50] <ashp> as I've never used LVS it'll help me wrap my head around it enough :)
[2011/12/05 18:02:16] @ Quit: gniks: Quit: Leaving.
[2011/12/05 18:03:34] @ Quit: seanh-ansca: Read error: Operation timed out
[2011/12/05 18:05:06] @ gniks joined channel #puppet
[2011/12/05 18:08:50] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/05 18:09:02] @ Quit: williemach: Quit: Leaving.
[2011/12/05 18:10:32] @ Quit: jongrocho: Remote host closed the connection
[2011/12/05 18:10:42] @ Quit: johnsotn: Ping timeout: 265 seconds
[2011/12/05 18:11:06] @ jsm joined channel #puppet
[2011/12/05 18:11:24] <ashp> err: Could not load downloaded file /var/lib/puppet/lib/facter/gateway.rb: no block given
[2011/12/05 18:11:27] <ashp> This is bad.
[2011/12/05 18:12:04] @ dwalu joined channel #puppet
[2011/12/05 18:12:23] <cwarden> ashp: i think all the important stuff is in here: https://github.com/cwarden/puppet-ultramonkey
[2011/12/05 18:13:51] <ashp> I think the gateway.rb fact matti has is bust on RHEL5 :/
[2011/12/05 18:14:25] <ashp> cwarden: looking, thanks!
[2011/12/05 18:14:54] @ maxmartin joined channel #puppet
[2011/12/05 18:15:30] @ Quit: aherzog: Quit: aherzog
[2011/12/05 18:18:33] @ Quit: mosen: Quit: Leaving
[2011/12/05 18:19:06] @ Quit: stucky101: Quit: Page closed
[2011/12/05 18:21:01] @ Quit: comptona: Ping timeout: 244 seconds
[2011/12/05 18:22:21] <fenrus02> jamesturnbull, f5? v4,v9,or v10+ ?
[2011/12/05 18:22:31] <fenrus02> (sadly, they are all different)
[2011/12/05 18:23:20] <jamesturnbull> fenrus02: I believe 9 and 10 since they are the only ones with the SOAP API
[2011/12/05 18:23:38] @ jim` joined channel #puppet
[2011/12/05 18:24:16] <fenrus02> jamesturnbull, but they are different and not compatible with one another.
[2011/12/05 18:24:32] <fenrus02> jamesturnbull, fwiw, netscaler also has a soap api exposed
[2011/12/05 18:24:35] <jamesturnbull> fenrus02: then I am not sure ....
[2011/12/05 18:24:36] <cwarden> there are load balancers with SOAP interfaces?
[2011/12/05 18:24:44] <jamesturnbull> fenrus02: you'd have to look at the module
[2011/12/05 18:24:49] <fenrus02> cwarden, yes, both netscaler and f5-ltm
[2011/12/05 18:25:09] @ Quit: ccaum: Quit: ccaum
[2011/12/05 18:25:11] @ ccaum_ is now known as ccaum
[2011/12/05 18:25:15] <jamesturnbull> fenrus02: https://github.com/puppetlabs/puppetlabs-f5
[2011/12/05 18:25:38] <fenrus02> jamesturnbull, cool! almost makes me wish f5 were not so horrendously expensive
[2011/12/05 18:25:49] @ langworthy joined channel #puppet
[2011/12/05 18:26:28] <fenrus02> i can buy a 1yr-license key for f5, or a brand new *pair* of netscaler devices that include a license.
[2011/12/05 18:30:11] <jbaldridge> We picked up a pair of A10 devices about a year ago that I'm slowly warming to.
[2011/12/05 18:30:59] @ Quit: shadoi: Quit: Leaving.
[2011/12/05 18:31:01] <jbaldridge> Decent rest api that I've just started mucking with.
[2011/12/05 18:31:33] @ mrwacky42 joined channel #puppet
[2011/12/05 18:32:54] @ ccaum_ joined channel #puppet
[2011/12/05 18:35:27] @ Quit: ccaum: Ping timeout: 240 seconds
[2011/12/05 18:35:29] @ Quit: kenperkins: Ping timeout: 244 seconds
[2011/12/05 18:35:30] @ ccaum_ is now known as ccaum
[2011/12/05 18:36:11] @ Quit: trn: Remote host closed the connection
[2011/12/05 18:36:39] <fenrus02> jbaldridge, *nod* the a10 feature set was significantly lacking when f5 handed us the bill that made us look elsewhere.
[2011/12/05 18:38:09] <fenrus02> jbaldridge, though, if you want to see absolute crap, check out csco's "ace" product line. featureless, expensive, drops packets, fails to log, and has a max limit just over 1G despite having 8 gig ports and many glossies to tout just how "awesome" it is.
[2011/12/05 18:38:49] <fenrus02> or the module that can barely sustain 1.3G throughput and costs more than your house.
[2011/12/05 18:39:29] @ Quit: hfnix: Quit: Leaving.
[2011/12/05 18:39:54] @ Quit: choonming: Quit: Leaving
[2011/12/05 18:41:41] @ _flex joined channel #puppet
[2011/12/05 18:41:58] @ Quit: ianbrandt: Quit: ianbrandt
[2011/12/05 18:44:13] @ _flex_ joined channel #puppet
[2011/12/05 18:45:18] <jbaldridge> fenrus02: yeah, the feature set on the A10 is quite limited out of the box.
[2011/12/05 18:45:40] <jbaldridge> To configure a failover service group required scripting it in tcl, for example.
[2011/12/05 18:45:56] @ Quit: _flex: Ping timeout: 240 seconds
[2011/12/05 18:45:56] <jbaldridge> (Though I believe that has been added as a proper feature in later software revisions)
[2011/12/05 18:46:10] <fenrus02> f5 loves tcl too. sad that it is required for nearly anything.
[2011/12/05 18:46:12] @ trn joined channel #puppet
[2011/12/05 18:46:24] <jbaldridge> makes sense -- the A10 guys all jumped ship from F5
[2011/12/05 18:48:16] <fenrus02> huh. they didnt take their marketing/sales people though. the product is not nearly expensive enough to claim a relationship to f5
[2011/12/05 18:49:01] <diq> yeah A10 stuff is almost all aflex
[2011/12/05 18:49:40] <diq> but it's cheap and fast
[2011/12/05 18:49:51] * fenrus02 nods
[2011/12/05 18:50:28] <fenrus02> sustains a few gig worth of traffic too. only works for vanilla setups though
[2011/12/05 18:50:59] <diq> the 3100's can do a few gigs of traffic even with a lot of aflex rules
[2011/12/05 18:51:35] <fenrus02> been over a year since we had lab-a10's. sorry, i dont remember which model we abused
[2011/12/05 18:52:44] @ cwarden left channel #puppet ()
[2011/12/05 18:54:14] @ Quit: _flex_: Remote host closed the connection
[2011/12/05 18:54:23] @ marczak joined channel #puppet
[2011/12/05 18:55:19] @ n8 joined channel #puppet
[2011/12/05 18:57:30] @ the_ramink joined channel #puppet
[2011/12/05 19:00:48] @ mosen joined channel #puppet
[2011/12/05 19:02:56] @ Quit: mrwacky42: Ping timeout: 240 seconds
[2011/12/05 19:05:36] @ bennybangbang joined channel #puppet
[2011/12/05 19:07:29] @ choonming joined channel #puppet
[2011/12/05 19:09:40] @ Quit: omry_: Ping timeout: 268 seconds
[2011/12/05 19:09:41] @ Quit: drewrm: Remote host closed the connection
[2011/12/05 19:10:25] @ joe-mac joined channel #puppet
[2011/12/05 19:12:34] @ Quit: bennybangbang: Ping timeout: 265 seconds
[2011/12/05 19:13:32] @ omry_ joined channel #puppet
[2011/12/05 19:14:56] @ drewrm joined channel #puppet
[2011/12/05 19:15:16] @ Quit: highclasshole: Ping timeout: 240 seconds
[2011/12/05 19:15:38] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/05 19:17:13] @ Quit: dwalu: Quit: dwalu
[2011/12/05 19:18:00] @ wilmoore joined channel #puppet
[2011/12/05 19:22:22] @ mrwacky42 joined channel #puppet
[2011/12/05 19:22:34] @ jongrocho joined channel #puppet
[2011/12/05 19:23:49] @ Quit: jongrocho: Remote host closed the connection
[2011/12/05 19:24:44] @ Quit: bmahe: Quit: Leaving
[2011/12/05 19:26:36] @ Quit: mrwacky42: Ping timeout: 240 seconds
[2011/12/05 19:29:13] @ Quit: Hamzah: Read error: Operation timed out
[2011/12/05 19:32:00] @ Quit: TooExcited: Ping timeout: 248 seconds
[2011/12/05 19:32:17] @ Quit: chrisred: Ping timeout: 260 seconds
[2011/12/05 19:33:37] @ Quit: leifmadsen: Quit: This is how I roll; animal print pants out of control!
[2011/12/05 19:36:41] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/05 19:37:01] @ Quit: alanevans: Remote host closed the connection
[2011/12/05 19:39:49] @ chrisred joined channel #puppet
[2011/12/05 19:40:08] @ TooExcited joined channel #puppet
[2011/12/05 19:42:10] @ bobra joined channel #puppet
[2011/12/05 19:42:30] @ Hamzah joined channel #puppet
[2011/12/05 19:43:48] @ stucky101 joined channel #puppet
[2011/12/05 19:43:57] @ jimmy1980 joined channel #puppet
[2011/12/05 19:44:19] <stucky101> any reason why I cannot define an array of locations to look for a template like I can with files ?
[2011/12/05 19:44:34] <hacim> stucky101: there is an issue for that
[2011/12/05 19:44:52] <stucky101> a bug ?
[2011/12/05 19:45:33] <stucky101> i managed to look up an array of locations from hiera for files - nice ! but no luck with templates
[2011/12/05 19:45:58] <stucky101> so this is a todo ?
[2011/12/05 19:46:09] <stucky101> or you mean there is an issue with doing that ?
[2011/12/05 19:46:17] <stucky101> @hacim
[2011/12/05 19:46:56] <hacim> stucky101: an issue in redmine
[2011/12/05 19:47:12] <hacim> stucky101: @ is a twitter thing, isn't it?
[2011/12/05 19:47:38] <stucky101> sorry i dont hang around irc normally
[2011/12/05 19:47:55] <stucky101> i meant to make the msg for you
[2011/12/05 19:48:11] <stucky101> i dont twitter either though haha
[2011/12/05 19:48:15] <stucky101> just guessed
[2011/12/05 19:48:29] <stucky101> so this cannot or should not be done ?
[2011/12/05 19:48:39] <hacim> stucky101: you typicaly do /msg username to do that, but usually you dont do that unless you need to communicate something privately
[2011/12/05 19:48:45] @ Quit: zwi: Quit: Leaving.
[2011/12/05 19:48:59] <hacim> stucky101: its an issue under discussion/development
[2011/12/05 19:49:09] @ Quit: c33s: Quit: Leaving.
[2011/12/05 19:49:11] <hacim> if you find the issue in redmine, you can find some discussion about it and perhaps contribute
[2011/12/05 19:49:47] <stucky101> well currenly i don't have the need but i'm prepping the files area per module with $os/$osrelease/ etc....
[2011/12/05 19:50:03] <stucky101> then stick it into hiera - workd very nicely
[2011/12/05 19:50:06] <stucky101> to do overwrites
[2011/12/05 19:50:15] <stucky101> ok at least I can stop trying
[2011/12/05 19:50:28] <stucky101> i wanted to prepare as much as possible for whatever comes my way
[2011/12/05 19:50:41] <stucky101> so only one single template that you can point to huh ?
[2011/12/05 19:50:49] <stucky101> no work-arounds
[2011/12/05 19:51:46] <stucky101> it seems everybody does that with files - i wonder why nobody ever wanted to do it with templates
[2011/12/05 19:52:02] <stucky101> or i guess they do and thats why its under discussion :)
[2011/12/05 19:53:18] @ Quit: n8: Quit: n8
[2011/12/05 19:53:31] @ Quit: bobra: Remote host closed the connection
[2011/12/05 19:53:41] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/05 19:55:51] @ mrwacky42 joined channel #puppet
[2011/12/05 19:56:07] @ bennybangbang joined channel #puppet
[2011/12/05 19:56:26] @ bobra joined channel #puppet
[2011/12/05 19:57:38] @ dwalu joined channel #puppet
[2011/12/05 20:00:10] <bennybangbang> Volcane: does hiera work with ruby 1.8.5? keep getting hiera.yaml Argument errors. Works on ruby 1.8.7.
[2011/12/05 20:00:12] @ Quit: stucky101:
[2011/12/05 20:01:03] @ stucky101 joined channel #puppet
[2011/12/05 20:01:15] @ jimmy1980 joined channel #puppet
[2011/12/05 20:01:53] @ Quit: Roxja: Ping timeout: 244 seconds
[2011/12/05 20:01:54] @ Quit: stucky101: Client Quit
[2011/12/05 20:02:13] @ Roxja joined channel #puppet
[2011/12/05 20:02:59] @ Quit: choonming: Ping timeout: 252 seconds
[2011/12/05 20:06:25] @ marczak joined channel #puppet
[2011/12/05 20:11:07] @ joe-mac1 joined channel #puppet
[2011/12/05 20:11:41] @ Quit: maxmartin: Remote host closed the connection
[2011/12/05 20:13:48] @ Quit: cliff-hm: Ping timeout: 268 seconds
[2011/12/05 20:15:07] @ Quit: joe-mac1: Ping timeout: 240 seconds
[2011/12/05 20:19:57] @ Quit: tilgovi: Ping timeout: 252 seconds
[2011/12/05 20:20:09] @ Djelibeybi joined channel #puppet
[2011/12/05 20:20:32] @ AshishH joined channel #puppet
[2011/12/05 20:21:04] @ Quit: jsm: Quit: jsm
[2011/12/05 20:23:48] @ Quit: bennybangbang: Quit: Page closed
[2011/12/05 20:24:55] <fenrus02> more importantly: does it work with 1.9.3 / ror 3.1.0 :)
[2011/12/05 20:26:37] @ Quit: dbgster: Quit: dbgster
[2011/12/05 20:30:11] @ Quit: n0ts: Ping timeout: 244 seconds
[2011/12/05 20:34:34] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/05 20:34:58] @ Quit: Wolfspyre: Quit: Leaving.
[2011/12/05 20:35:04] @ bmahe joined channel #puppet
[2011/12/05 20:35:04] @ Quit: bmahe: Changing host
[2011/12/05 20:35:05] @ bmahe joined channel #puppet
[2011/12/05 20:35:22] @ jimmy1980 joined channel #puppet
[2011/12/05 20:37:22] @ Quit: motomike: Quit: Leaving.
[2011/12/05 20:49:33] @ n8 joined channel #puppet
[2011/12/05 20:51:13] @ Quit: astrostl:
[2011/12/05 20:54:07] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/12/05 20:55:42] @ choonming joined channel #puppet
[2011/12/05 21:00:03] @ Quit: danikov: Read error: Connection timed out
[2011/12/05 21:02:23] @ Quit: kolla: Ping timeout: 252 seconds
[2011/12/05 21:02:25] @ kolla_ joined channel #puppet
[2011/12/05 21:06:22] @ Quit: bmahe: Quit: Leaving
[2011/12/05 21:07:13] @ Quit: jimmy1980: Ping timeout: 255 seconds
[2011/12/05 21:10:30] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/05 21:11:47] @ paroneayea joined channel #puppet
[2011/12/05 21:12:39] @ Quit: dwalu: Quit: dwalu
[2011/12/05 21:13:36] @ jimmy1980 joined channel #puppet
[2011/12/05 21:13:38] @ ben_duyujie left channel #puppet ()
[2011/12/05 21:17:51] @ _flex joined channel #puppet
[2011/12/05 21:22:15] @ Quit: KaiserBeto: Quit: Leaving.
[2011/12/05 21:22:43] @ KaiserBeto joined channel #puppet
[2011/12/05 21:23:28] @ highclasshole joined channel #puppet
[2011/12/05 21:26:55] <hugalua> so, mcollective assumes you install java to every box you need to be a client right? does this mean a java process is running on all boxes?
[2011/12/05 21:27:08] @ Quit: KaiserBeto: Ping timeout: 240 seconds
[2011/12/05 21:27:28] @ _flex_ joined channel #puppet
[2011/12/05 21:28:42] @ Quit: _flex: Read error: Connection reset by peer
[2011/12/05 21:36:08] @ Quit: _flex_: Remote host closed the connection
[2011/12/05 21:37:12] @ zwi joined channel #puppet
[2011/12/05 21:37:44] <torrancew> hugalua: where are you getting that impression from?
[2011/12/05 21:38:29] @ Quit: idoru: Ping timeout: 612 seconds
[2011/12/05 21:39:05] <hugalua> just by what I think I remember from skimming through docs (not implementing yet).
[2011/12/05 21:39:11] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/05 21:39:11] <hugalua> to be honest :)
[2011/12/05 21:39:36] <torrancew> hugalua: I don't recall a drop of java being required, and skimming through the tarball, I don't see any. Should be pure ruby
[2011/12/05 21:40:51] <hugalua> the activemq stuff, is optional?
[2011/12/05 21:41:27] <torrancew> Ah, no, you do need a single activemq server
[2011/12/05 21:41:31] <torrancew> that's correct.
[2011/12/05 21:41:56] <hugalua> er wait, I was thinking activemq has a dependency on java. But .. it's just for the server, you're saying
[2011/12/05 21:42:10] <torrancew> More or less.
[2011/12/05 21:42:21] <torrancew> MCollective is just a series of ruby scripts
[2011/12/05 21:42:23] <Callek> sooooooooo weird issue
[2011/12/05 21:42:33] <torrancew> They utilize the ActiveMQ message queue to communicate though
[2011/12/05 21:43:01] <Callek> actually thinking about it, if I define a class at global scope, or in a module (either way) and include it, I can't (in a template) do a scope.lookupvar('foo::bar') it seems
[2011/12/05 21:43:04] <hugalua> ok, and, activemq is the underlying magic that does the real time stuff
[2011/12/05 21:43:08] <torrancew> So you spin up an ActiveMQ server, and all your mcollective nodes are configured to point to it
[2011/12/05 21:43:12] <torrancew> exactly
[2011/12/05 21:43:37] <Callek> I used to have the class here (foo) named |settings| but I had to rename it due to the magic aspect of "settings"
[2011/12/05 21:43:54] <hugalua> ok cool. i wish there were something I could find that describes it that way.
[2011/12/05 21:43:59] <Callek> (which was breaking extlookup() )
[2011/12/05 21:44:19] <Callek> hrm let me try something
[2011/12/05 21:44:38] @ idoru joined channel #puppet
[2011/12/05 21:45:09] <Callek> ooo nevermind, I was wrong
[2011/12/05 21:45:18] <Callek> stupid "didn't include config in the right place"
[2011/12/05 21:45:30] @ paroneayea joined channel #puppet
[2011/12/05 21:46:08] @ joe-mac1 joined channel #puppet
[2011/12/05 21:46:09] <hugalua> so, for activemq, LinkedIn uses it, but I can't seem to get why: http://hurvitz.org/blog/2008/06/linkedin-architecture like why not just pull messages from a database?
[2011/12/05 21:47:01] <hugalua> i guess they want things fast at their scale? I guess I will never know, unless I work on a system where a plain old database won't work
[2011/12/05 21:48:43] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/05 21:48:46] <torrancew> hugalua: message queues have a variety of uses, JMQ in particular is used at all kinds of big shops. My own shop uses it, and I'm not even sure what *we* are using it for :)
[2011/12/05 21:49:00] <torrancew> but sometimes, it just doesn't scale to do everything from your main db, for sure
[2011/12/05 21:49:18] <hugalua> like that page tells me they ActiveMQ is the underlying thingy for their communication system - and by their description, it sounds like "email" basically.
[2011/12/05 21:49:22] @ ccaum_ joined channel #puppet
[2011/12/05 21:49:31] <hugalua> so why not something normal and uncool like sendmail or postfix
[2011/12/05 21:50:01] @ paroneayea joined channel #puppet
[2011/12/05 21:50:20] <torrancew> I doubt very seriously it's being used for messages. More likely some type of background job processing, or similar
[2011/12/05 21:50:27] <torrancew> rather, literal "mail messages"
[2011/12/05 21:50:51] <torrancew> messages in this sense mean "data suitable for another node to process a job on, or the results of said job"
[2011/12/05 21:51:08] <torrancew> (In most cases, at least, but again, I can't speak for LinkedIn)
[2011/12/05 21:52:15] <hugalua> They mention JMS and from reading a bit on it, sounds like you can use the JMS API to create a mail server if you wanted to, or the underlying guts of a mail server.
[2011/12/05 21:52:34] <hugalua> so I guess it's a bad comparision - JMS/ActiveMQ versus sendmail or postfix
[2011/12/05 21:52:35] <torrancew> Oh, I'm sure you could
[2011/12/05 21:52:50] <torrancew> but it's not the most common use case
[2011/12/05 21:53:00] <torrancew> as postfix is pretty damned good at what it does :)
[2011/12/05 21:53:58] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/05 21:55:15] @ paroneayea joined channel #puppet
[2011/12/05 21:55:33] <torrancew> for sure, they're both async, but message queueing is more or less a more abstract form of the same concept as email
[2011/12/05 21:56:00] <torrancew> email is meant to be the direct analog to snail mail, while message queueing is kind of an extrapolation of the underlying concept
[2011/12/05 21:57:17] <hugalua> ya, i get that conceptually, but trying to connect that that something more concrete application-wise (other that email)
[2011/12/05 21:58:17] <hugalua> ok you can reuse it as the guts for an IM server but I guess I'm wondering about more than that
[2011/12/05 21:58:29] @ bolt12 joined channel #puppet
[2011/12/05 21:58:33] @ Quit: bolt12: Client Quit
[2011/12/05 21:58:59] <torrancew> hugalua: consider an abstract, cluster-like cron
[2011/12/05 22:00:28] @ nitram_macair_ joined channel #puppet
[2011/12/05 22:06:29] <hugalua> so, it sounds like it's a protocol it's using to pass data between nodes, is faster? I think I don't get this immediately is because a lot of what I can google is written in software architecture-speak.
[2011/12/05 22:07:13] <hugalua> well ok, I get that mcollective basically makes the network the database
[2011/12/05 22:07:18] @ _flex joined channel #puppet
[2011/12/05 22:07:53] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/05 22:08:35] @ jimmy1980 joined channel #puppet
[2011/12/05 22:09:00] <hugalua> i guess what would help is if I can properly google what network layer activemq runs at.
[2011/12/05 22:12:56] @ ncmzx joined channel #puppet
[2011/12/05 22:13:57] @ Quit: ccaum_: Quit: ccaum_
[2011/12/05 22:16:31] @ Quit: Holocaine: Ping timeout: 268 seconds
[2011/12/05 22:17:56] @ Quit: drewrm: Ping timeout: 240 seconds
[2011/12/05 22:18:19] @ rcrowley joined channel #puppet
[2011/12/05 22:19:29] <jeremyb> i think i'm looking for something like python's *args, **kwargs (or java's varargs)
[2011/12/05 22:20:16] <jeremyb> i have some virtual users (realized later) with common other things. e.g. i want to force the home dir mode for certain users
[2011/12/05 22:20:27] @ Quit: emergion: Quit: later...
[2011/12/05 22:20:38] @ ali3n0 joined channel #puppet
[2011/12/05 22:20:49] <jeremyb> so i was thinking I'd have a define that does the @user{} and then a matching file{}
[2011/12/05 22:21:27] @ Quit: jsurfer: Quit: jsurfer
[2011/12/05 22:21:45] <jeremyb> but i want to pass all the args on to @user (not hardcode all possible args in and not just catch the args that currently exist, but also new args added in future puppet versions)
[2011/12/05 22:22:02] <jeremyb> related thought i had: is it possible to subclass types?
[2011/12/05 22:23:23] @ Quit: n8: Quit: n8
[2011/12/05 22:26:59] @ tilgovi joined channel #puppet
[2011/12/05 22:30:16] @ Quit: _flex: Remote host closed the connection
[2011/12/05 22:30:39] @ riha joined channel #puppet
[2011/12/05 22:34:27] @ Quit: kolla_: Remote host closed the connection
[2011/12/05 22:35:19] <hugalua> would it be incorrect to say, if you have all your machines mcollective'ized, they are all now a cluster?
[2011/12/05 22:35:53] @ _flex joined channel #puppet
[2011/12/05 22:36:55] @ jaydg joined channel #puppet
[2011/12/05 22:37:25] <bob2> it's up to you to define "cluster" beyond "several computers connected in some wya"
[2011/12/05 22:41:26] @ Quit: joe-mac1: Ping timeout: 252 seconds
[2011/12/05 22:45:53] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/05 22:52:02] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/05 22:52:14] <hugalua> i declare the internet a cluster!
[2011/12/05 22:52:44] @ Quit: _flex: Remote host closed the connection
[2011/12/05 22:54:54] @ lbt joined channel #puppet
[2011/12/05 22:55:13] @ Vasik|work joined channel #puppet
[2011/12/05 22:55:52] <hugalua> hmm 1.5M google matches for "the internet is a cluster" - I retract my comment. it wasn't original enough.
[2011/12/05 22:55:58] @ nuknad joined channel #puppet
[2011/12/05 22:57:03] @ adimania joined channel #puppet
[2011/12/05 22:57:57] @ Quit: vkdir: Ping timeout: 244 seconds
[2011/12/05 22:58:52] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/05 23:00:29] @ jaytaph joined channel #puppet
[2011/12/05 23:02:14] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/12/05 23:02:21] @ csanchez joined channel #puppet
[2011/12/05 23:02:49] <hugalua> argh I would have saved 2 hours of my life if I went to the screencasts of mcollective first
[2011/12/05 23:04:25] @ comptona joined channel #puppet
[2011/12/05 23:05:20] @ Quit: comptona: Client Quit
[2011/12/05 23:05:30] @ Quit: mosen: Quit: Leaving
[2011/12/05 23:14:23] @ drewrm joined channel #puppet
[2011/12/05 23:17:12] @ Quit: ali3n0: Quit: Leaving.
[2011/12/05 23:18:54] @ Quit: daysmen: Ping timeout: 252 seconds
[2011/12/05 23:20:01] @ artkrz joined channel #puppet
[2011/12/05 23:22:35] @ vkdir joined channel #puppet
[2011/12/05 23:22:36] @ Quit: vkdir: Read error: Connection reset by peer
[2011/12/05 23:27:24] @ pradeep joined channel #puppet
[2011/12/05 23:28:11] @ jodok joined channel #puppet
[2011/12/05 23:28:11] @ Quit: jodok: Changing host
[2011/12/05 23:28:12] @ jodok joined channel #puppet
[2011/12/05 23:30:47] @ Quit: nul0op: Ping timeout: 240 seconds
[2011/12/05 23:31:34] @ Quit: langworthy: Quit: langworthy
[2011/12/05 23:32:02] @ DJClean joined channel #puppet
[2011/12/05 23:35:15] @ skm joined channel #puppet
[2011/12/05 23:39:13] @ erkules joined channel #puppet
[2011/12/05 23:40:41] <pradeep> hii , i have written some puppet code , in code creation of some directories , and files and excute some script , but the problem is on the puppet client , when i run the saemon on agent , it tries to excute command first and try to create file
[2011/12/05 23:41:35] <erkules> moin is there a solution to divide recipes on different subdirs? In the end I would like to have different users manage there own recipes.
[2011/12/05 23:41:38] <pradeep> but according to my scenario it should create directiories and file and then it sholu run excuteable
[2011/12/05 23:42:46] @ ali3n0 joined channel #puppet
[2011/12/05 23:43:36] @ Quit: wilmoore: Ping timeout: 252 seconds
[2011/12/05 23:43:48] <pradeep> any idea , how can i do these , according to my requirement ?
[2011/12/05 23:44:37] <fragfutter> pradeep: read up on dependencies
[2011/12/05 23:45:23] <pradeep> is there any document for dependecies
[2011/12/05 23:45:33] <pradeep> is so kindly share
[2011/12/05 23:45:38] <fragfutter> where all the documentation is... http://docs.puppetlabs.com/learning/ordering.html
[2011/12/05 23:48:25] @ red_alert joined channel #puppet
[2011/12/05 23:49:04] @ Quit: Mandus: Ping timeout: 248 seconds
[2011/12/05 23:50:56] <red_alert> if in one module/class I deploy /etc/sudoers.d recursively incl. purging the directory first, can I still somehow add another file to that directory in another module/class?
[2011/12/05 23:51:28] <fragfutter> red_alert: did you try it?

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