Monday, 2010-06-14

[2010/06/14 00:01:25] @ Log started by gepetto
[2010/06/14 00:01:25] @ ckauhaus joined channel #puppet
[2010/06/14 00:03:32] @ pinoyskull joined channel #puppet
[2010/06/14 00:06:42] @ Ramonster joined channel #puppet
[2010/06/14 00:09:32] @ Quit: jaredrhine: Ping timeout: 265 seconds
[2010/06/14 00:11:13] @ Quit: giskard: Remote host closed the connection
[2010/06/14 00:11:43] @ Quit: sdog: Changing host
[2010/06/14 00:11:43] @ sdog joined channel #puppet
[2010/06/14 00:13:35] @ adrian_broher joined channel #puppet
[2010/06/14 00:13:35] @ verwilst joined channel #puppet
[2010/06/14 00:13:41] @ MattyM joined channel #puppet
[2010/06/14 00:14:37] @ m1nish joined channel #puppet
[2010/06/14 00:14:56] @ m1nish left channel #puppet ()
[2010/06/14 00:24:11] @ Chiku|dc joined channel #puppet
[2010/06/14 00:24:26] @ Quit: Chiku: Read error: No route to host
[2010/06/14 00:26:29] @ jab_doa joined channel #puppet
[2010/06/14 00:30:32] <kc7zzv> Wow. I've never had a need for facter before, but it's really nice and easy to use.
[2010/06/14 00:37:32] @ giskard joined channel #puppet
[2010/06/14 00:39:45] @ bronto joined channel #puppet
[2010/06/14 00:53:22] @ themroc joined channel #puppet
[2010/06/14 00:55:25] @ DavidS joined channel #puppet
[2010/06/14 01:07:25] @ fluxdude joined channel #puppet
[2010/06/14 01:18:33] <FiXion> anyone had problems with extlookup variables when upgrading from 0.24 to 0.25 ?
[2010/06/14 01:19:13] <FiXion> updated the server - and now a puppet run on a 0.24.8 client says it can't find an extlookup variable :(
[2010/06/14 01:19:27] <FiXion> it's a message from the server ofcourse :)
[2010/06/14 01:20:09] <Volcane> my upgrade went smooth
[2010/06/14 01:20:31] <Volcane> just a normal lookup or something fancy with defaults and custom search paths? or variable inside the result?
[2010/06/14 01:26:22] <FiXion> Volcane: $vimrcpath = extlookup("vimrcpath")
[2010/06/14 01:26:38] <Volcane> that should keep working fine
[2010/06/14 01:26:49] @ Quit: adrian_broher: Quit: Verlassend
[2010/06/14 01:26:56] <Volcane> do a notice() of the extlookup setup variables, make sure they are in scope still
[2010/06/14 01:28:31] <FiXion> they're setup in site.pp
[2010/06/14 01:28:42] <FiXion> will do that and see
[2010/06/14 01:30:11] <FiXion> resolved it.
[2010/06/14 01:30:21] <FiXion> I was testing on a test setup.
[2010/06/14 01:30:42] <FiXion> where each user can run "the" puppetmasterd test server - which then uses his /home/$user/puppet folder as base.
[2010/06/14 01:30:47] <Volcane> ah
[2010/06/14 01:30:56] <FiXion> but the test script never changes the extlookup_datadir
[2010/06/14 01:31:14] <FiXion> and I made a workaround before - which appearently disappeared with the upgrade
[2010/06/14 01:31:20] <FiXion> and I don't remember what it was
[2010/06/14 01:31:28] <FiXion> I symlinked that folder to the current user - and that fixed it.
[2010/06/14 01:31:40] <FiXion> so my runpuppetmasterd script will just have to set that symlink
[2010/06/14 01:31:47] <FiXion> so we have a proper test environment again
[2010/06/14 01:32:28] <FiXion> only found one other problem - it no longer accepts 2xensure : ensure => present, ensure => "0.25.5-1" f.ex.
[2010/06/14 01:32:46] <FiXion> but 0.25.5-1 implies "present" - so I'll just remove those :)
[2010/06/14 01:33:13] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/14 01:34:58] <Volcane> 2 x ensure? you never needed 2 per resource
[2010/06/14 01:35:07] <Volcane> infact if you had 2, it silently ignord one
[2010/06/14 01:35:56] <nasrat> DavidS: about?
[2010/06/14 01:36:47] <FiXion> Volcane: I know - but since it silently ignored it - no one was ever aware that it was a problem :)
[2010/06/14 01:41:26] <FiXion> Volcane: thank you for your help
[2010/06/14 01:44:30] @ ckauhaus joined channel #puppet
[2010/06/14 01:46:42] @ Quit: n3kl: Ping timeout: 240 seconds
[2010/06/14 01:50:22] <Volcane> np
[2010/06/14 01:55:21] @ alban2 joined channel #puppet
[2010/06/14 02:03:09] <masterzen> FiXion: that's even an issue because you didn't know which one it ignored :-)
[2010/06/14 02:23:50] @ mikepea joined channel #puppet
[2010/06/14 02:24:50] <FiXion> masterzen: it have never failed using the version - so I guess it just used the last -whic happened to always be the version in our case.
[2010/06/14 02:25:36] <masterzen> FiXion: yes, that's because you are lucky :-)
[2010/06/14 02:28:04] * FiXion always prides himself on his luck :)
[2010/06/14 02:28:21] <FiXion> yet I always manage to find bugs no one else found
[2010/06/14 02:28:29] <FiXion> when not looking
[2010/06/14 02:37:46] @ Quit: kc7zzv: Quit: kc7zzv
[2010/06/14 02:44:06] @ Quit: marcellods: Quit: leaving
[2010/06/14 02:45:37] @ marcellods joined channel #puppet
[2010/06/14 02:46:46] @ fruitcake joined channel #puppet
[2010/06/14 02:48:48] @ malikai joined channel #puppet
[2010/06/14 02:49:36] @ n3kl joined channel #puppet
[2010/06/14 02:53:20] @ macfly joined channel #puppet
[2010/06/14 03:00:03] @ Mandus joined channel #puppet
[2010/06/14 03:04:10] @ zorzar_ joined channel #puppet
[2010/06/14 03:07:49] @ Quit: zorzar: Ping timeout: 264 seconds
[2010/06/14 03:14:40] @ jaredrhine joined channel #puppet
[2010/06/14 03:21:57] @ Quit: filler: Ping timeout: 252 seconds
[2010/06/14 03:23:02] @ fruitcake left channel #puppet ()
[2010/06/14 03:24:02] @ Quit: artis: Ping timeout: 260 seconds
[2010/06/14 03:27:59] @ filler joined channel #puppet
[2010/06/14 03:37:22] @ Quit: pinoyskull: Ping timeout: 258 seconds
[2010/06/14 03:44:55] @ Quit: giskard: Quit: Leaving...
[2010/06/14 03:49:45] @ Quit: alban2: Ping timeout: 240 seconds
[2010/06/14 03:50:15] @ pinoyskull joined channel #puppet
[2010/06/14 03:53:33] @ jrisch joined channel #puppet
[2010/06/14 04:02:15] @ giskard joined channel #puppet
[2010/06/14 04:03:04] @ Quit: jrisch: Quit: jrisch
[2010/06/14 04:16:28] @ Quit: benoit_: Ping timeout: 258 seconds
[2010/06/14 04:16:30] @ Quit: achester: Remote host closed the connection
[2010/06/14 04:22:16] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/06/14 04:30:01] @ artis joined channel #puppet
[2010/06/14 04:30:12] @ benoit_ joined channel #puppet
[2010/06/14 04:35:39] @ fruitcake joined channel #puppet
[2010/06/14 04:39:53] * nareshov eats fruitcake
[2010/06/14 04:43:57] @ ninjazjb joined channel #puppet
[2010/06/14 04:50:33] <fruitcake> harumpf
[2010/06/14 04:52:00] @ alban2 joined channel #puppet
[2010/06/14 05:00:51] <DavidS> nasrat: now
[2010/06/14 05:01:33] <FiXion> It seems 0.24.8 "remembers" if it can't connect to puppetmaster - it continues to complain about that on every run -until I restart the client
[2010/06/14 05:01:56] <FiXion> is anyone maintaining 0.24.x anymore?
[2010/06/14 05:02:08] <FiXion> I'll be upgrading the clients to 0.25.x any minute anyways..
[2010/06/14 05:03:45] @ Quit: alban2: Ping timeout: 240 seconds
[2010/06/14 05:05:37] <FiXion> is worth reporting ?
[2010/06/14 05:08:28] @ cygnus1 joined channel #puppet
[2010/06/14 05:08:53] @ ahasenack joined channel #puppet
[2010/06/14 05:10:35] @ Quit: cygnus1: Client Quit
[2010/06/14 05:13:45] @ espent_ is now known as espent
[2010/06/14 05:14:39] @ cygnus1 joined channel #puppet
[2010/06/14 05:16:10] @ cygnus1 left channel #puppet ()
[2010/06/14 05:20:05] @ alban2 joined channel #puppet
[2010/06/14 05:20:24] @ Quit: pinoyskull: Quit: Leaving
[2010/06/14 05:21:15] @ Quit: macfly: Ping timeout: 258 seconds
[2010/06/14 05:21:31] @ ckrough left channel #puppet ()
[2010/06/14 05:21:46] @ lutter joined channel #puppet
[2010/06/14 05:22:45] @ Quit: afletcher: Quit: afletcher
[2010/06/14 05:23:14] @ Quit: rsquared: Quit: Leaving
[2010/06/14 05:23:39] @ Quit: malikai: Ping timeout: 248 seconds
[2010/06/14 05:23:47] @ rsquared joined channel #puppet
[2010/06/14 05:24:37] @ macfly joined channel #puppet
[2010/06/14 05:32:20] @ Quit: Ramonster: Quit: So long, thanx for all the fish
[2010/06/14 05:34:02] @ Bass10 joined channel #puppet
[2010/06/14 05:37:15] @ sebas891 joined channel #puppet
[2010/06/14 05:39:39] @ tim__ joined channel #puppet
[2010/06/14 05:41:53] @ floess_chris joined channel #puppet
[2010/06/14 05:42:07] @ floess_chris is now known as flooose
[2010/06/14 05:48:05] @ joe-mac joined channel #puppet
[2010/06/14 05:48:51] @ afletcher joined channel #puppet
[2010/06/14 05:51:38] <nasrat> DavidS: you got some time a bit later on (about to head to a meeting) to try and figure out if the exec win32 patches are all good
[2010/06/14 05:53:52] <DavidS> nasrat: can do!
[2010/06/14 05:56:45] @ malikai joined channel #puppet
[2010/06/14 05:56:53] <malikai> howdy folks
[2010/06/14 05:57:01] * FiXion can't seem to find the "report a bug" link on puppetlabs.com :(
[2010/06/14 05:57:19] <FiXion> server on 0.25.5 keeps saying things like: defined 'minute' as '*'
[2010/06/14 05:59:14] <malikai> is there a way to make fifos with the file module?
[2010/06/14 05:59:23] <joe-mac> do you see this?
[2010/06/14 05:59:25] <malikai> or do i need to create my own exec to do it?
[2010/06/14 05:59:39] <malikai> joe, yes
[2010/06/14 05:59:49] <joe-mac> thanks malikai, trying to fix some NAT rules on this router
[2010/06/14 05:59:59] <malikai> de nada man
[2010/06/14 06:02:40] <mikepea> anyone aware that unless =
[2010/06/14 06:02:41] <mikepea> .
[2010/06/14 06:02:48] <mikepea> stoopid enter ket.
[2010/06/14 06:02:51] <mikepea> arg!
[2010/06/14 06:03:00] * mikepea slaps himself
[2010/06/14 06:03:22] <mikepea> anyone aware that exec unless => parameters are being parsed into dependencies in 0.25?
[2010/06/14 06:03:50] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/14 06:03:56] <mikepea> can't see how, but commenting out the unless removes my dependency cycle.
[2010/06/14 06:05:10] <joe-mac> no clue, pastie the code befopre and after as well as the log output
[2010/06/14 06:12:47] @ gm1959 joined channel #puppet
[2010/06/14 06:12:58] <gm1959> anyone got any idea what '
[2010/06/14 06:13:07] <gm1959> wrong header line format' is about?
[2010/06/14 06:13:52] <henk> gm1959: sounds like an error message...
[2010/06/14 06:14:04] <gm1959> yep. :)
[2010/06/14 06:14:10] <henk> you could give some more info...
[2010/06/14 06:15:02] <gm1959> well, I migrated some previously working configs over in a VM environment, the machines were down for a day, then I started them up this morning, and the first client I went to run threw that error
[2010/06/14 06:15:48] <gm1959> then it says could not retrieve catalog, skipping run
[2010/06/14 06:19:55] @ kaptk2 joined channel #puppet
[2010/06/14 06:21:15] @ itguru_ joined channel #puppet
[2010/06/14 06:21:55] @ Quit: flooose: Ping timeout: 276 seconds
[2010/06/14 06:22:08] @ santoroj joined channel #puppet
[2010/06/14 06:22:09] @ Quit: itguru: Remote host closed the connection
[2010/06/14 06:22:15] @ itguru_ is now known as itguru
[2010/06/14 06:23:39] <itguru> Good afternoon people :)
[2010/06/14 06:23:50] <itguru> \how are people finding using forge?
[2010/06/14 06:25:02] <jmeeuwen> bad, right now
[2010/06/14 06:25:35] <jmeeuwen> it appears i need to use some new tool that does not work with ruby 1.9.1 so in order to release anything the bar is just too high
[2010/06/14 06:26:37] <itguru> Anyone else have a similar feeling?
[2010/06/14 06:26:44] <itguru> Or any comments?
[2010/06/14 06:27:15] <gm1959> what is being connected to on port 5432?
[2010/06/14 06:27:23] <jmeeuwen> gm1959, postgres
[2010/06/14 06:27:29] <gm1959> aha
[2010/06/14 06:27:31] <itguru> I'm finding myself stumbling a little too
[2010/06/14 06:28:04] <jmeeuwen> there's no collaborative foo either, like with a development team working on the same module
[2010/06/14 06:28:22] <jmeeuwen> it's single-user oriented right now, afaics
[2010/06/14 06:28:24] <itguru> I think it needs to come from the community upwards
[2010/06/14 06:28:33] <itguru> jmeeuwen: I agree with you on that
[2010/06/14 06:28:59] <jmeeuwen> i just created a puppetmanaged account and shared the password with one of the other big contributors
[2010/06/14 06:29:12] <itguru> if we had about five or six module devs, to make a team, and put out the basic modules, maybe it'll move forward a bit
[2010/06/14 06:29:26] <jmeeuwen> but, i can't release anything because of the fucked up release requirements
[2010/06/14 06:29:46] <itguru> jmeeuwen: You write modules?
[2010/06/14 06:29:58] <gm1959> okay, well that 'header line' error is very misleading when it's actually the puppetmaster that cant connect to the backend db.
[2010/06/14 06:30:06] <jmeeuwen> itguru, http://git.puppetmanaged.org
[2010/06/14 06:32:07] @ cliff joined channel #puppet
[2010/06/14 06:32:09] <jmeeuwen> yikes
[2010/06/14 06:32:25] <jmeeuwen> the puppet-module-tool vendors some too
[2010/06/14 06:33:50] @ iAlien joined channel #puppet
[2010/06/14 06:35:37] @ Quit: avleen: Ping timeout: 258 seconds
[2010/06/14 06:36:07] @ avleen joined channel #puppet
[2010/06/14 06:36:22] @ sebas891 left channel #puppet ()
[2010/06/14 06:46:46] @ gaveen joined channel #puppet
[2010/06/14 06:47:32] @ Quit: malikai: Read error: Connection reset by peer
[2010/06/14 06:49:42] @ jdcasey joined channel #puppet
[2010/06/14 06:53:36] @ ckauhaus joined channel #puppet
[2010/06/14 06:56:00] <DavidS> mikepea: all command parameters are.
[2010/06/14 06:56:45] <nasrat> DavidS: can you confirm this is your head 1adc473ac6b6d442e5e639e8e221a44f395eddc1
[2010/06/14 06:56:53] <nasrat> for 3393
[2010/06/14 06:57:37] <DavidS> Yes, iti is: http://github.com/DavidS/facter/commit/1adc473ac6b6d442e5e639e8e221a44f395eddc1
[2010/06/14 07:00:08] <DavidS> and this one has no spec failures on debian lenny for me
[2010/06/14 07:02:09] <nasrat> ok I get 4 failures on Darwin
[2010/06/14 07:02:26] <nasrat> and 0 on master
[2010/06/14 07:02:33] @ Quit: jdcasey: Remote host closed the connection
[2010/06/14 07:03:45] @ pheezy joined channel #puppet
[2010/06/14 07:04:15] <DavidS> hmm, can you pastie me the output with the traces, or do you want to look into it yourself?
[2010/06/14 07:04:43] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/06/14 07:07:26] <nasrat> ./lib/facter/util/resolution.rb:51:in `exec': undefined local variable or method `binary' for Facter::Util::Resolution:Class (NameError)
[2010/06/14 07:07:57] <nasrat> indeed
[2010/06/14 07:08:20] <nasrat> if you have a Exec with an absolute path you reference binary which is undefined
[2010/06/14 07:08:47] <nasrat> line 51 of resolution.rb
[2010/06/14 07:08:57] @ Quit: joe-mac: Quit: Leaving.
[2010/06/14 07:09:11] <nasrat> should be path = code I guess
[2010/06/14 07:09:45] <DavidS> nasrat: you're totally right. why don't the specs catch that on debian?
[2010/06/14 07:10:02] @ socketub2 joined channel #puppet
[2010/06/14 07:10:10] <mikepea> DavidS: re command parameters, interesting. i'm seeing "unless => 'test -d /var/lib/postgres/data'" creating a requirement for /var/lib/postgres/data - would you expect this?
[2010/06/14 07:10:24] <DavidS> mikepea: having read the code, yes.
[2010/06/14 07:10:29] <nasrat> DavidS: ok so what is being passed in as code is "/usr/sbin/system_profiler -xml SPHardwareDataType"
[2010/06/14 07:11:09] <DavidS> nasrat: yeah, that *should* work. and there *should* be a spec that tries something like that on every system
[2010/06/14 07:11:39] <nasrat> argh - I don't even want to think about "/User/foo/My Binaries/blah" as a path
[2010/06/14 07:12:34] <DavidS> nasrat: passing commandlines as strings is evil anyways. I'd vastly prefer requiring arrays at al times, but that would be a massively breaking change
[2010/06/14 07:13:19] <DavidS> nasrat: microsoft's CreateProcess API uses the first prefix that is a file
[2010/06/14 07:13:21] <nasrat> DavidS: indeed
[2010/06/14 07:13:37] <DavidS> (which is even more hackish, but at least DTRT in most cases)
[2010/06/14 07:13:50] * DavidS shudders
[2010/06/14 07:14:26] * fsweetser has heard windows breaks in interesting ways if you create c:\Programs.txt
[2010/06/14 07:14:38] <DavidS> next step up in complexity is allowing and handling arrays as additional feature and warning when a single string is used.
[2010/06/14 07:14:40] @ notbrien joined channel #puppet
[2010/06/14 07:14:43] <nasrat> ok, I think it's as we don't really test exec (see comment about %x{})
[2010/06/14 07:14:49] <DavidS> and deprecate/remove in the next releases
[2010/06/14 07:15:01] <nasrat> so I think we should pull the path sanitization into a function which we can test.
[2010/06/14 07:15:21] @ flakrat joined channel #puppet
[2010/06/14 07:15:30] <DavidS> nasrat: you're right, I've even added a little test at the very end of spec/unit/util/resolution.rb
[2010/06/14 07:16:08] <DavidS> isn'T there a more verbose alternative to %x that CAN be stubbed?
[2010/06/14 07:16:19] @ Quit: macfly: Ping timeout: 260 seconds
[2010/06/14 07:16:19] <mikepea> DavidS: this is via validatecmd() in exec.rb yet
[2010/06/14 07:16:24] <mikepea> s/yet/yes?/
[2010/06/14 07:16:50] <nasrat> DavidS: http://gist.github.com/437731
[2010/06/14 07:17:40] <DavidS> mikepea: I've no puppet source at hand
[2010/06/14 07:17:48] <DavidS> nasrat: sweet, does that fix all your failures?
[2010/06/14 07:18:10] <tim__> hi, a question about ordering things in a class
[2010/06/14 07:18:16] <nasrat> DavidS: yup
[2010/06/14 07:18:24] <mikepea> DavidS: np - will try to dig into it further - basically think i've found a corner case where it's not a sensible thing to do.
[2010/06/14 07:18:41] <nasrat> do you want to redo your end again with that fix - it's trivial
[2010/06/14 07:18:44] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/14 07:18:56] <DavidS> mikepea: bring it up on -dev?
[2010/06/14 07:18:57] <nasrat> and having a single commit for this makes most sense to me
[2010/06/14 07:19:02] @ rcsheets` joined channel #puppet
[2010/06/14 07:19:08] <DavidS> nasrat: yeah, will do
[2010/06/14 07:19:15] <nasrat> DavidS: thanks
[2010/06/14 07:19:24] <mikepea> DavidS: yup - will do, once i'm concrete about what's happening.
[2010/06/14 07:19:27] <tim__> I have a custom definition that installs packages. I use this to install the munin-node package and then use a service to start it
[2010/06/14 07:19:31] <rcsheets`> does puppet keep a cached copy of the last config it got from the puppetmaster?
[2010/06/14 07:19:35] @ Quit: mboyd: Ping timeout: 260 seconds
[2010/06/14 07:19:36] <DavidS> I'll update #3393 as soon as I've pushed the commit
[2010/06/14 07:19:37] <gepetto> DavidS: #3393 is http://projects.puppetlabs.com/issues/show/3393 "Facter - Refactor #3393: Facter for MS Windows - Puppet Labs"
[2010/06/14 07:19:42] <mikepea> rcsheets`: yup
[2010/06/14 07:19:47] <tim__> the problem is that puppet tries to start the service before it's run the install command
[2010/06/14 07:19:47] <nasrat> the exception was being swallowed by a default catch in macosx.rb which I'll get to sometime
[2010/06/14 07:20:16] <nasrat> the whole error/logging path for exec needs some attention
[2010/06/14 07:20:25] <tim__> http://pastebin.com/LGeZWALK
[2010/06/14 07:20:30] <rcsheets`> mikepea: that is exactly what i wanted to hear. where would it typically live on linux?
[2010/06/14 07:20:46] <DavidS> nasrat: yeah, exec is a pain
[2010/06/14 07:21:15] <mikepea> rcsheets`: for 0.25.x, /var/lib/puppet/client_yaml/{hostname}.yaml
[2010/06/14 07:21:25] <rcsheets`> thank you! :)
[2010/06/14 07:21:50] @ ckauhaus joined channel #puppet
[2010/06/14 07:21:56] <mikepea> rcsheets`: sorry, /var/lib/puppet/client_yaml/catalog/
[2010/06/14 07:23:25] @ macfly joined channel #puppet
[2010/06/14 07:23:36] @ Quit: gaveen: Quit: Leaving
[2010/06/14 07:23:42] @ eidolon joined channel #puppet
[2010/06/14 07:23:54] <rcsheets`> cool. i can work with that. thanks again.
[2010/06/14 07:24:08] <eidolon> hi folks - is there a simple way to show the status on all puppet-managed hosts? i dont have passenger or the like installed (I can't get it stable). a command line stauts would be great.
[2010/06/14 07:24:17] @ rcsheets` left channel #puppet ()
[2010/06/14 07:29:56] @ sebas891 joined channel #puppet
[2010/06/14 07:35:41] @ mboyd joined channel #puppet
[2010/06/14 07:36:59] @ Quit: jbooth: Quit: leaving
[2010/06/14 07:37:19] @ jdcasey joined channel #puppet
[2010/06/14 07:38:03] @ shenson joined channel #puppet
[2010/06/14 07:41:16] @ jbooth joined channel #puppet
[2010/06/14 07:42:27] @ rcrowley joined channel #puppet
[2010/06/14 07:44:04] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/14 07:44:14] @ Quit: ninjazjb: Ping timeout: 258 seconds
[2010/06/14 07:45:58] @ Quit: Bass10: Ping timeout: 272 seconds
[2010/06/14 07:46:03] @ tonyskapunk joined channel #puppet
[2010/06/14 07:46:40] @ rmiller4pi8 joined channel #puppet
[2010/06/14 07:50:15] @ snoop joined channel #puppet
[2010/06/14 07:51:10] <snoop> Hello
[2010/06/14 07:56:03] @ ecapriolo joined channel #puppet
[2010/06/14 07:56:22] <snoop> I upgrade my puppetmaster .24.4 to .25.4 but i have an ssl err: /File[/var/lib/puppet/lib/]: Failde to retrieve current start of ressource : Certificate were not trusted: SSL_connect returned=1 errno=0 stat=SSLv3 read server certificate B:certificate verify failed could not describe /plugins:...
[2010/06/14 07:57:05] <snoop> any body ever had this error ?
[2010/06/14 07:57:40] @ Bass10 joined channel #puppet
[2010/06/14 07:59:43] @ Quit: KarlHungus: Changing host
[2010/06/14 07:59:43] @ KarlHungus joined channel #puppet
[2010/06/14 08:00:03] <snoop> i tried remove the ssl directrory /var/lib/puppet/ssl and remove the client with puppetca on the master but same error occured
[2010/06/14 08:01:41] @ steph021 joined channel #puppet
[2010/06/14 08:03:33] @ lohapuk joined channel #puppet
[2010/06/14 08:04:51] @ Quit: sdog: Quit: Leaving.
[2010/06/14 08:13:15] @ Quit: giskard: Remote host closed the connection
[2010/06/14 08:15:43] <snoop> i don't find how set the debug level on the master server and which section (main,puppetmaster)
[2010/06/14 08:16:35] @ labrown joined channel #puppet
[2010/06/14 08:19:24] <snoop> i don't find how set the debug level on the master server and which section (main,puppetmaster)
[2010/06/14 08:19:31] <DavidS> nasrat: pushed
[2010/06/14 08:19:32] @ TREllis joined channel #puppet
[2010/06/14 08:19:45] @ Quit: setient: Ping timeout: 240 seconds
[2010/06/14 08:20:47] <snoop> how ever i don't find how the ssl working on this version, it's possible to disable the ssl mechanism of puppet ? Appears no...
[2010/06/14 08:21:44] @ mccune joined channel #puppet
[2010/06/14 08:24:17] <mccune> Good morning
[2010/06/14 08:25:04] @ mccune left channel #puppet ()
[2010/06/14 08:25:09] @ mccune joined channel #puppet
[2010/06/14 08:25:10] @ mccune left channel #puppet ()
[2010/06/14 08:26:25] <snoop> Good morning mccune, evening for me ;)
[2010/06/14 08:27:09] @ Quit: snoop: Quit: So Say We All
[2010/06/14 08:27:46] @ LinuxCode joined channel #puppet
[2010/06/14 08:31:43] @ socketub2 left channel #puppet ()
[2010/06/14 08:34:44] @ themurph joined channel #puppet
[2010/06/14 08:35:55] @ giskard joined channel #puppet
[2010/06/14 08:42:25] <jbooth> snoop: module/name/plugins moved to module/name/lib in 0.25
[2010/06/14 08:42:35] <jbooth> If you're using 0.24 clients, there may be cranky due to that
[2010/06/14 08:45:45] @ Quit: emag: Ping timeout: 240 seconds
[2010/06/14 08:51:40] @ gebi joined channel #puppet
[2010/06/14 08:53:35] <KarlHungus> anyone know how to prevent puppet from loading custom facts twice?
[2010/06/14 08:53:39] @ Quit: MattyM: Remote host closed the connection
[2010/06/14 08:55:37] @ Quit: verwilst: Quit: Ex-Chat
[2010/06/14 08:55:38] @ Quit: TREllis: Quit: leaving
[2010/06/14 08:55:41] <jbooth> KarlHungus: There was a bug about them loading 3 times, but I think there was some sort of conclusion they had to load twice?
[2010/06/14 08:56:30] @ lak joined channel #puppet
[2010/06/14 08:56:30] @ malikai joined channel #puppet
[2010/06/14 08:56:59] <KarlHungus> yeah. i see the bug in the tracker
[2010/06/14 08:57:04] <KarlHungus> its just sort of odd
[2010/06/14 08:57:14] <KarlHungus> i dont see that resolution, though
[2010/06/14 08:57:51] @ bleon joined channel #puppet
[2010/06/14 08:58:01] @ vagn joined channel #puppet
[2010/06/14 08:58:13] <jbooth> Might have been mailing list discussion
[2010/06/14 08:58:42] @ Quit: bleon: Client Quit
[2010/06/14 08:59:01] @ bleon joined channel #puppet
[2010/06/14 08:59:16] <malikai> hey guys, would 400mb ram usage for a puppetmaster on webrick sound normal with about 20 puppet clients?
[2010/06/14 08:59:33] <KarlHungus> malikai: probably. why are you using webrick?
[2010/06/14 08:59:39] @ emag joined channel #puppet
[2010/06/14 08:59:59] <malikai> because i haven't gotten around to setting up apache to do it yet..
[2010/06/14 09:00:03] <bleon> hello
[2010/06/14 09:00:18] @ setient joined channel #puppet
[2010/06/14 09:00:26] <malikai> i think i should soon though.. would i see a nice drop in memory with apache?
[2010/06/14 09:00:44] <bleon> do you manage to collect on machine A resource exported by that same machine ?
[2010/06/14 09:01:14] @ Quit: lak: Client Quit
[2010/06/14 09:01:16] <bleon> malikai: using apache with passenger will significantly imporve your perfs
[2010/06/14 09:01:23] @ Quit: alban2: Ping timeout: 265 seconds
[2010/06/14 09:01:50] <malikai> i have read that there is a big difference with cpu, but is that the same for memory too?
[2010/06/14 09:01:54] @ alban2 joined channel #puppet
[2010/06/14 09:03:04] <KarlHungus> blah. ok. one more nitpicky little issue i want to hammer out before i start some heavy lifting type work. i'm using david schmitt's common module (specifically concatenated_file). everytime the client runs i see the concatenation exec run and my change count is incremented
[2010/06/14 09:03:28] @ joe-mac joined channel #puppet
[2010/06/14 09:03:38] <KarlHungus> this makes it look like my nodes are changing every time puppet runs, which isn't exactly true. am i doing it wrong?
[2010/06/14 09:06:53] @ Quit: shug: Quit: Leaving
[2010/06/14 09:09:13] @ toi joined channel #puppet
[2010/06/14 09:09:27] <KarlHungus> this might be the correct behavior, though.
[2010/06/14 09:09:49] <KarlHungus> however i expected the concat exec to only occur if the files in the concat dir changed.
[2010/06/14 09:10:21] @ santoroj1 joined channel #puppet
[2010/06/14 09:10:50] @ Quit: santoroj: Read error: Connection reset by peer
[2010/06/14 09:18:02] <malikai> has anybody here tried rails on nginx/passenger as a puppetmaster before? is this a stupid question? :)
[2010/06/14 09:19:45] @ mccune joined channel #puppet
[2010/06/14 09:32:54] @ lwhalen joined channel #puppet
[2010/06/14 09:33:07] <lwhalen> any good HOWTOs for writing facter facts?
[2010/06/14 09:35:08] @ Quit: DavidS: Quit: Leaving.
[2010/06/14 09:35:56] @ SEJeff joined channel #puppet
[2010/06/14 09:36:02] <SEJeff> Is there a way to run shell scripts as facts?
[2010/06/14 09:36:21] <SEJeff> I heard there was a plugin that lets you run shell scripts and turn them into facts. Does anyone know where one might find this?
[2010/06/14 09:36:47] <Tonnerre> Exec[] should do that
[2010/06/14 09:37:38] <SEJeff> Tonnerre, I thought there were problems with it forking the shell and reading the output with that
[2010/06/14 09:42:30] <mccune> SEJeff: One second, shell scripts as a fact are very simple.
[2010/06/14 09:42:38] <SEJeff> mccune, Sure
[2010/06/14 09:45:08] @ gaveen joined channel #puppet
[2010/06/14 09:45:20] <mccune> SEJeff: http://pastie.org/1004062
[2010/06/14 09:45:51] @ Quit: scooby2: Ping timeout: 252 seconds
[2010/06/14 09:46:45] <lwhalen> thanks mccune!
[2010/06/14 09:46:52] <mccune> Anytime
[2010/06/14 09:47:13] <lwhalen> question though: where do I drop the facts in either the localhost or the puppetmaster so they're processed at runtime by the puppet client?
[2010/06/14 09:47:25] @ scooby2 joined channel #puppet
[2010/06/14 09:47:55] <jamesturnbull> Volcane: hey - Alan Barrett - do you know if he's on the channel/has a nick?
[2010/06/14 09:47:58] * jamesturnbull can't remember
[2010/06/14 09:51:14] @ Quit: themroc: Remote host closed the connection
[2010/06/14 09:53:38] @ Quit: ckdake: Quit: Leaving.
[2010/06/14 09:55:27] @ Quit: benoit_: Ping timeout: 260 seconds
[2010/06/14 09:58:03] @ sdog joined channel #puppet
[2010/06/14 09:58:18] <Volcane> apb i think - sometimes, not often
[2010/06/14 09:59:15] @ sdog left channel #puppet ()
[2010/06/14 09:59:18] <fruitcake> Is there a comparison available smewhere between like passenger, mongrel, nginx etc loadbalancing setups?
[2010/06/14 09:59:51] <Volcane> if you're using apache today you should use passenger
[2010/06/14 09:59:53] <SEJeff> mccune, Thankyou
[2010/06/14 10:00:21] <fruitcake> not using anything, clean setup
[2010/06/14 10:00:30] @ ckdake joined channel #puppet
[2010/06/14 10:00:30] @ Quit: ckdake: Changing host
[2010/06/14 10:00:30] @ ckdake joined channel #puppet
[2010/06/14 10:00:30] <mccune> SEJeff: You're welcome.
[2010/06/14 10:00:47] <fruitcake> just wondering about pro's and con's and what most effort is going into .
[2010/06/14 10:00:55] <mccune> lwhalen: Put the facts in lib/facter inside of a module
[2010/06/14 10:01:06] <mccune> lwhalen: If you have fact foo, name the file foo.rb
[2010/06/14 10:01:12] <KarlHungus> ok. i need someone to confirm i'm not crazy. when using concatenated_file from dschmitt, does the concat_* exec run on every puppet client run?
[2010/06/14 10:01:22] <mccune> lwhalen: Then make sure pluginsync is turned on. There's documentation on the website about this.
[2010/06/14 10:01:25] <KarlHungus> or do i have some dependency messed up?
[2010/06/14 10:02:01] <lwhalen> so if I have /etc/puppet/modules/yum/ (for yum modules, which everyone gets), I can do /etc/puppet/modules/yum/lib/facter/somefact.rb?
[2010/06/14 10:02:14] <lwhalen> and then when pluginsync is turned on, it all just magically shows up?
[2010/06/14 10:02:21] <Volcane> fruitcake: apache+mongrel is probably the least painful but mongrel is kind of unsupported/maintained now so probably not the way to go. mongrl also doesnt help maintain puppets memory usage at sane levels where passenger will restart them perioically etc
[2010/06/14 10:02:23] <KarlHungus> lwhalen: yes =)
[2010/06/14 10:02:39] @ Quit: giskard: Read error: Connection timed out
[2010/06/14 10:02:51] <lwhalen> for testing on just one host at a time, can I stick somefact.rb someplace in /var/lib/puppet (or whereever) and just run 'facter' to see if it shows up?
[2010/06/14 10:03:50] <fruitcake> Cool :) Thanks Volcane
[2010/06/14 10:03:54] <LinuxCode> you can export a ruby_lib env var
[2010/06/14 10:03:59] <LinuxCode> lwhalen,
[2010/06/14 10:04:09] <LinuxCode> and then run facter locally
[2010/06/14 10:04:12] @ darkfade1 joined channel #puppet
[2010/06/14 10:04:12] <LinuxCode> errm
[2010/06/14 10:04:18] <LinuxCode> there was a page on the wiki about it
[2010/06/14 10:05:10] @ giskard joined channel #puppet
[2010/06/14 10:05:41] <LinuxCode> RUBYLIB
[2010/06/14 10:05:50] <LinuxCode> i think that was it
[2010/06/14 10:05:55] <hMz> how do i get movement on an issue? (#3961)
[2010/06/14 10:05:56] <gepetto> hMz: #3961 is http://projects.puppetlabs.com/issues/show/3961 "Puppet - Bug #3961: puppetca doesnt generate certificate in $certdir. - Puppet Labs"
[2010/06/14 10:06:02] <joe-mac> or facter -p shiuld work too
[2010/06/14 10:06:09] <jamesturnbull> gepetto: seen apb
[2010/06/14 10:06:09] <gepetto> jamesturnbull: apb was last seen 1 month, 11 days, 8 minutes and 3 seconds ago, quitting IRC (Ping timeout: 276 seconds) and a while before saying "bug #3645 may bite you" in #puppet
[2010/06/14 10:06:11] <joe-mac> it parses the puppet config to find vardir
[2010/06/14 10:06:51] @ Quit: jaredrhine: Ping timeout: 248 seconds
[2010/06/14 10:07:00] <jamesturnbull> hMz: write some code?
[2010/06/14 10:07:22] <jamesturnbull> hMz: It's with Jesse to look at but we're in the midst of trying to finalise 2.6 so it might not get a look until after that
[2010/06/14 10:07:40] <hMz> jamesturnbull: i would glady write some code if i could even begin to understand whats wrong
[2010/06/14 10:07:49] <hMz> i've alredy spent a week trying to obsorb the code with no context
[2010/06/14 10:08:00] <hMz> and figured someone with experience should be able to just say yay or nay so i know i'm not smoking crack
[2010/06/14 10:08:29] <hMz> i mean, i hope i'm not the only one using --generate :P
[2010/06/14 10:09:17] <jamesturnbull> hMz: I'll add it to my TODO to take a quick look
[2010/06/14 10:13:21] <Whoop> Anyone know how I can configure the permissions of the file that nagios_service generates?
[2010/06/14 10:14:03] <darkfade1> hey, i hope it's ok if i ask some beginner stuff, but it confuses me right now. can i drive software updates with a puppet recipe? like, defining, the webservers should all be on rhel5.5? i'm still searching in the docs too :)
[2010/06/14 10:16:11] @ macfly left channel #puppet ()
[2010/06/14 10:16:22] <jamesturnbull> hMz: okay I think you've spotted a bug
[2010/06/14 10:19:00] <hMz> jamesturnbull: whew, thanks.
[2010/06/14 10:19:54] <hMz> jamesturn: at least if i'm smoking crack, it came ootb. :D
[2010/06/14 10:20:17] <nareshov> :D
[2010/06/14 10:22:16] @ Quit: mikepea: Quit: mikepea
[2010/06/14 10:22:38] @ nexusone joined channel #puppet
[2010/06/14 10:24:10] <nexusone> in puppet class, is it possible to put server's "fqdn" facter (the server name) as a file download folder name?
[2010/06/14 10:24:30] <hMz> nexusone: yes, specify $fqdn in the source path
[2010/06/14 10:24:47] @ taihen joined channel #puppet
[2010/06/14 10:24:58] <hMz> source => "puppet://$server/modules/<module>/files/limits.conf.$fqdn
[2010/06/14 10:25:01] <hMz> "
[2010/06/14 10:25:13] @ Quit: alban2: Ping timeout: 264 seconds
[2010/06/14 10:25:23] <nexusone> thanks hMz!
[2010/06/14 10:25:26] <hMz> but that will quickly get you to a not so nice place and you should consider using a template
[2010/06/14 10:26:32] <nexusone> never used template before. I am thinking of doing this:
[2010/06/14 10:27:17] <hMz> nexusone: a template will allow you to have a single "copy" of the file in question, with conditional statements in to change bits and pieces for certain hosts (in this case but you can use any fact)
[2010/06/14 10:27:40] <nexusone> have a central sudo file, then to use concat module, and put local customized sudo file under /concat/files/$fqdn folder, that module would concat them together into one /etc/sudoers file.
[2010/06/14 10:28:02] <hMz> oh if you're using concat, that's more appropriate
[2010/06/14 10:28:15] <nexusone> ok
[2010/06/14 10:28:22] <hMz> i was assuming basic stuff
[2010/06/14 10:35:37] @ [GuS] joined channel #puppet
[2010/06/14 10:36:55] @ husimon joined channel #puppet
[2010/06/14 10:37:13] <husimon> anyone know a good way for puppet to key off a blade chassis id?
[2010/06/14 10:37:24] @ husimon left channel #puppet ("Leaving")
[2010/06/14 10:37:31] @ jheiss joined channel #puppet
[2010/06/14 10:39:00] @ thekad-afk is now known as thekad
[2010/06/14 10:41:48] @ Quit: lwhalen: Quit: Where'd my controlling terminal go?!?
[2010/06/14 10:41:56] <jamesturnbull> husi ... well leave then ... but a custom fact works
[2010/06/14 10:42:19] * Volcane was just wondering if the chassis id is availble to a blade
[2010/06/14 10:44:58] @ husimon joined channel #puppet
[2010/06/14 10:45:19] <husimon> Can puppet key off of things other then hostname ?
[2010/06/14 10:45:55] <Volcane> oh, it is in dmidecode
[2010/06/14 10:45:56] <Volcane> nice
[2010/06/14 10:45:57] <husimon> like say, a key in a text file?
[2010/06/14 10:46:04] <SEJeff> husimon, Make a custom fact that includes the chassis id, then create modules that key off of that fact
[2010/06/14 10:46:06] <Volcane> husimon: what do you mean 'key off' ?
[2010/06/14 10:46:32] <husimon> Volcane, a way to identify a machine
[2010/06/14 10:46:36] <husimon> instead of hostname
[2010/06/14 10:46:51] <jamesturnbull> hMz: though I can't see why --generate would be any different
[2010/06/14 10:46:51] <husimon> SEJeff, do you know what i should google for, or what docs I should read on that?
[2010/06/14 10:46:54] @ Mick27 joined channel #puppet
[2010/06/14 10:47:07] <jamesturnbull> husimon: wiki:Adding_Facts
[2010/06/14 10:47:07] <gepetto> jamesturnbull: husimon: wiki:Adding_Facts is http://projects.puppetlabs.com/projects/puppet/wiki/Adding_Facts "Puppet - Adding Facts - Puppet Labs"
[2010/06/14 10:47:11] <SEJeff> husimon, For instance in our yum module, we have a key named "yum_devel_repo=0", in the nodes / environments we need to have the devel yum repo enabled, we have that var set to 1
[2010/06/14 10:47:26] <Volcane> SEJeff: i think he doesnt want node files based on hostname.
[2010/06/14 10:47:27] <SEJeff> The yum module sees that, and sets that repo file's enabled= line from 0 to 1
[2010/06/14 10:47:38] <mccune> husimon: All facts are avaialable to your puppet configuration as variables.
[2010/06/14 10:47:39] <SEJeff> Volcane, Again, I said you could key off of facts
[2010/06/14 10:47:51] <husimon> ok i'll check out that page
[2010/06/14 10:48:04] <mccune> husimon: "key off" means "use these facts / variables to make decisions about your configuration state"
[2010/06/14 10:48:05] <SEJeff> husimon, Read the docs on creating a custom fact
[2010/06/14 10:48:29] <Volcane> SEJeff: node <box name> { include foo } how would you repalce <box name> with a fact?
[2010/06/14 10:48:30] @ mccune is now known as jeffmccune
[2010/06/14 10:49:00] <KarlHungus> better question: *why* would you key a host off of anything but the hostname?
[2010/06/14 10:49:11] * Volcane can think of many reasons
[2010/06/14 10:49:28] <Volcane> like instead of hostname do it based on the ami id that started the cloud instance
[2010/06/14 10:49:50] <SEJeff> KarlHungus, Perhaps you are in a fluid environment that changes hardware often or switches virtual to physical and back on a somewhat frequent basis?
[2010/06/14 10:50:00] @ jcape joined channel #puppet
[2010/06/14 10:50:33] @ jcape left channel #puppet ()
[2010/06/14 10:50:37] @ jcape joined channel #puppet
[2010/06/14 10:50:57] <mriddle> Is there a proper way for the puppetmaster to access facts about a client outside of the actual puppetmaster run, specifically in the external nodes script? I'm toying with accessing the yaml directly from the filesystem (/var/lib/puppet/yaml/facts/$hostname.yaml), but am not sure if that's a good thing to be doing long term. I'd love to see something like 'facter --client' that's runnable...
[2010/06/14 10:50:58] <mriddle> ...from the server, but I'm not sure anything like that exists...
[2010/06/14 10:51:01] <jeffmccune> KarlHungus: Many "cloud" systems like EC2 don't even provide a predictable host name...
[2010/06/14 10:51:06] <jeffmccune> KarlHungus: So you need something else.
[2010/06/14 10:51:28] <KarlHungus> SEJeff: i'm in that environment. sure. but i wouldnt have considered changing the node's id to change its 'role' in the intrastructure
[2010/06/14 10:51:56] <jeffmccune> KarlHungus: Also, if you rebuild machines frequently / quickly, it's easier to use a new unique identifier than it is to deal with recycling the hostname and certificates.
[2010/06/14 10:52:12] <jeffmccune> KarlHungus: You don't change ID's to change roles.
[2010/06/14 10:52:39] <jeffmccune> KarlHungus: You change ID's when the node is something entirely different than it was previously.
[2010/06/14 10:52:46] <Volcane> KarlHungus: well with node blocks the only out of the box supported identifier is useless in many situations, so you really would just want to change the node identifier. luke suggested a new node terminus but i couldnt see how that would allow you to do it, did just spend 5 minutes on it though
[2010/06/14 10:53:28] <mriddle> Volcane: you can do something like:
[2010/06/14 10:53:32] <mriddle> if ( $operatingsystem == 'RedHat' ) and ( $operatingsystemrelease >= 6.0 ) {
[2010/06/14 10:53:34] <mriddle> include sssd
[2010/06/14 10:53:36] <mriddle> }
[2010/06/14 10:53:40] <Volcane> mriddle: thats lame.
[2010/06/14 10:53:50] @ adrian_broher joined channel #puppet
[2010/06/14 10:53:52] <mriddle> both $operatingsystem and $operatingsystemrelease are facts
[2010/06/14 10:53:52] <KarlHungus> i guess i can see the point
[2010/06/14 10:53:58] <mriddle> why?
[2010/06/14 10:54:06] <SEJeff> why is that lame? Seems perfectly sane
[2010/06/14 10:54:07] <KarlHungus> isn't this better solved by extrenal node classification?
[2010/06/14 10:54:09] <jeffmccune> mriddle: Yeah, that's not cool since your node classification is in code
[2010/06/14 10:54:31] @ Quit: jcape: Quit: jcape
[2010/06/14 10:54:33] <jeffmccune> Node classification ideally is a really, really simple process to change.
[2010/06/14 10:55:16] <mriddle> Can't see how manually mapping out potentially complex relationships statically works for anything bigger than a very small environment...
[2010/06/14 10:55:20] <Volcane> mriddle: cos every where you have a if, or a case statement, you have code to go change next time your criteria change. the more of those you ahve the bigger the problem becomes. the more files need to change regularly and the bigger the chance for human error becomes
[2010/06/14 10:56:03] @ jcape joined channel #puppet
[2010/06/14 10:56:30] <mriddle> How is that different than: SEJeff: node <box name> { include foo } how would you repalce <box name> with a fact?
[2010/06/14 10:56:45] <KarlHungus> ok. here is something i've been trying to figure out the best way to handle. i have nodes that perform the same Role, but in different environments. (e.g. prod/app_server, staging/app_server) configuring the actual services is simple, but how do i push specific resources into the extrenal node classification system?
[2010/06/14 10:56:53] <mriddle> it's still a conditional, as long as you're specific enough I don't see the difference...
[2010/06/14 10:57:02] @ Quit: jcape: Client Quit
[2010/06/14 10:57:08] <Volcane> mriddle: if you had cloud instances where the real useful identifier isnt the - always variable - hostname but something else, then node name clearly just doesnt work
[2010/06/14 10:57:30] <mriddle> Agreed, that's why i'm wrapping facts in an if statement...
[2010/06/14 10:57:38] <KarlHungus> ideally, a web_server would know to contact an external source to identify the sites it needs to host (including the release version, db tables and their release versions, etc)
[2010/06/14 10:57:42] <SEJeff> Volcane, What are you trying to argue? You agree with him?
[2010/06/14 10:57:55] <Volcane> mriddle: so do you just have default node with lots of if statements?
[2010/06/14 10:58:11] <mriddle> exactly
[2010/06/14 10:58:34] <Volcane> ah, sorry i thought you suggested that as a general approach all over your manifests
[2010/06/14 10:58:35] <jeffmccune> That doesn't scale well
[2010/06/14 10:58:46] <Volcane> still, that sounds like a poorly done node classifier :P
[2010/06/14 10:58:49] <jeffmccune> In general.
[2010/06/14 10:58:58] <SEJeff> jeffmccune, Well how would you do it?
[2010/06/14 10:59:07] <jeffmccune> SEJeff: External Node classifier.
[2010/06/14 10:59:10] <mriddle> bear in mind I'm just starting to really deploy puppet, I've been using cfengine for ~5 years and can't deal with it any more, and with lots of machines moving to redhat6 soon the time for puppet in our environmentseems to be now
[2010/06/14 10:59:15] <SEJeff> If say you might be bringing up 10k nodes in the next week of various types and don't want to put in hostnames
[2010/06/14 10:59:20] @ jcape joined channel #puppet
[2010/06/14 10:59:26] <mriddle> I'm using an external node calssifier as well...
[2010/06/14 11:00:05] <mriddle> see my earlier question: Is there a proper way for the puppetmaster to access facts about a client outside of the actual puppetmaster run, specifically in the external nodes script? I'm toying with accessing the yaml directly from the filesystem (/var/lib/puppet/yaml/facts/$hostname.yaml), but am not sure if that's a good thing to be doing long term.
[2010/06/14 11:00:08] <jeffmccune> SEJeff: Sure. External node classifiers let you group nodes
[2010/06/14 11:00:18] <jeffmccune> So just assign a node group to the classes you want.
[2010/06/14 11:00:19] <Volcane> SEJeff: my point is if puppe tnatively supported identifier other than hostname then your scenario might be much easier since you can think past 10k hostnames
[2010/06/14 11:00:22] <SEJeff> jeffmccune, Oh right, we use cobbler's management classes for that
[2010/06/14 11:00:41] <mriddle> I'd love to see something like 'facter --client' that's runnable on the server, this would allow me to encapsulate more of my node definition in the external nodes script
[2010/06/14 11:00:49] <Volcane> mriddle: the hacky solution is to run the external node script on the puppetmaster and load the facts from the yaml files
[2010/06/14 11:00:59] <Volcane> mriddle: since they get put there prior to the external node classifer gets run
[2010/06/14 11:01:45] <mriddle> sure, but can I rely on that being safe moving forward? I can't risk this breaking in the near future (somehting that happened ofter with cfengine)
[2010/06/14 11:02:01] <Volcane> its currently the only option
[2010/06/14 11:02:16] <mriddle> I'll probably end up going this route, but would prefer a 'proper' way for the external nodes script to retrieve clients' facts
[2010/06/14 11:02:53] <Volcane> yup, you and lots of other people recently :)
[2010/06/14 11:03:16] <jeffmccune> This is also where
[2010/06/14 11:03:19] <jeffmccune> Err
[2010/06/14 11:03:39] <jeffmccune> nevermind.
[2010/06/14 11:05:02] @ reyjrar joined channel #puppet
[2010/06/14 11:06:19] <SEJeff> Volcane, Forgive my stupidity, can the external node classifier come from something like ldap?
[2010/06/14 11:07:17] <Volcane> SEJeff: puppet supports ldap for nodes out the box y but you can write the classifer in any language
[2010/06/14 11:08:16] @ Quit: SEJeff: Read error: Connection reset by peer
[2010/06/14 11:08:51] <KarlHungus> if i have a class like site::xyz.com how can i maintain specific parameters about this site without modifying the class file?
[2010/06/14 11:09:56] @ macfly joined channel #puppet
[2010/06/14 11:10:00] <hMz> jamesturnbull: in the code it looked like that to me also, which was puzzling. i assumed i was just missing something
[2010/06/14 11:16:07] @ Quit: jdcasey: Remote host closed the connection
[2010/06/14 11:19:35] @ jaredrhine joined channel #puppet
[2010/06/14 11:25:41] @ kgraham joined channel #puppet
[2010/06/14 11:27:40] <eshamow> Volcane: say hello to another mcollective instance! :)
[2010/06/14 11:27:58] <eshamow> it's for testing now but i suspect we'll roll it into production in a few weeks
[2010/06/14 11:29:30] <Volcane> very kewl :)
[2010/06/14 11:30:47] <Volcane> i should spent some time and test this TLS support in the stomp gem, gem authors said they'll happily take requests from me to improve how tht all works
[2010/06/14 11:30:57] <Volcane> atm its limited in options etc
[2010/06/14 11:31:32] @ Quit: lohapuk: Quit: Leaving.
[2010/06/14 11:34:45] <joe-mac> i think i just realized the value of parameterized classes
[2010/06/14 11:35:36] @ Quit: stanlly: Quit: puff
[2010/06/14 11:36:12] <Volcane> joe-mac: yea?
[2010/06/14 11:36:49] @ Quit: allsystemsarego: Ping timeout: 265 seconds
[2010/06/14 11:37:29] @ ezmobius joined channel #puppet
[2010/06/14 11:37:44] <joe-mac> Volcane: yea i want to include this class and pass some vars to it so it looks cleaner
[2010/06/14 11:37:50] <joe-mac> but now i just dwefine the vars globally in the node
[2010/06/14 11:38:27] <KarlHungus> that sounds like what i'm trying to figure out =)
[2010/06/14 11:38:38] <Volcane> joe-mac: yeah thats more or less what its for
[2010/06/14 11:38:43] @ lak joined channel #puppet
[2010/06/14 11:39:41] <KarlHungus> how do include a class like project::deployments, such that i can include that class and have it load all deployed projects (with the right paramters) for the given environment
[2010/06/14 11:42:04] @ Quit: jcape: Quit: jcape
[2010/06/14 11:42:51] @ Quit: afletcher: Quit: afletcher
[2010/06/14 11:48:55] @ jcape joined channel #puppet
[2010/06/14 11:56:59] @ jdcasey joined channel #puppet
[2010/06/14 11:59:51] <jbooth> KarlHungus: I'm not sure I'm clear on what you're asking
[2010/06/14 12:00:43] @ HouseAway is now known as AimanA
[2010/06/14 12:00:52] <KarlHungus> well, i have three (with a fourth on the way) environments; prod,staging,dev
[2010/06/14 12:01:19] <KarlHungus> each environment has a web stack built out across multiple nodes all handling different roles in the stack
[2010/06/14 12:02:11] <KarlHungus> currently i have a class calls web_stack::all_deployments that uses a case statement to switch environmnet and define a resource for the deployment, site: xyz.com, release: 1.3.4, foo: bar
[2010/06/14 12:02:32] <KarlHungus> i'd like to move the site specific deployment parameters out of a class file
[2010/06/14 12:02:56] @ jrisch joined channel #puppet
[2010/06/14 12:04:21] <KarlHungus> does that make more sense?
[2010/06/14 12:06:02] <Volcane> KarlHungus: did u look at something like extlookup?
[2010/06/14 12:06:18] @ Quit: jaredrhine: Ping timeout: 265 seconds
[2010/06/14 12:06:56] @ lwhalen joined channel #puppet
[2010/06/14 12:07:21] <KarlHungus> Volcane: i havent
[2010/06/14 12:07:30] <Volcane> thats what its for
[2010/06/14 12:07:36] <lwhalen> hey, can someone please re-send that Facter-related pastebin from an hour ago?
[2010/06/14 12:07:37] @ alfism joined channel #puppet
[2010/06/14 12:07:42] <lwhalen> I had to reboot, and I lost all my browser tabs
[2010/06/14 12:09:41] <KarlHungus> Volcane: hrm. well, that seems interesting. but can extlookup return hashes, or just strings?
[2010/06/14 12:09:54] <Volcane> KarlHungus: does puppet support hashes?
[2010/06/14 12:10:18] <KarlHungus> yeah yeah. i know, i'm just trying to determine how in the world to pull this off using puppets dsl
[2010/06/14 12:10:35] <KarlHungus> and i refuse to make the monumental switch to chef.
[2010/06/14 12:10:53] <Volcane> :) puppet will support hashes in next ver
[2010/06/14 12:11:13] <Volcane> but its not that hard even without hashes
[2010/06/14 12:11:25] <KarlHungus> if i have 3500 different sites to deploy, i need a way to move the management task of keep them organized out of a file
[2010/06/14 12:11:26] <Volcane> $ver = extlookup("site.com_version")
[2010/06/14 12:11:26] <Volcane> etc
[2010/06/14 12:11:32] <Volcane> right
[2010/06/14 12:11:39] <Volcane> well if you have that many sites
[2010/06/14 12:11:41] <KarlHungus> site has_many deployments, deployment has_many options
[2010/06/14 12:11:58] <Volcane> then take a look at how extlookup work and do something custom built
[2010/06/14 12:12:07] <Volcane> that queries whatever db/resource you have that details in
[2010/06/14 12:12:44] <KarlHungus> haha. i was, but it seems so annoying to have to pass everything as strings. instead of just querying for the deployment object and realizing that as a deployment resource
[2010/06/14 12:12:59] <Volcane> nods
[2010/06/14 12:13:22] @ Quit: LinuxCode: Quit: Connection Closed
[2010/06/14 12:13:31] <Volcane> doesnt help but there's lots of talk of giving external nodes he ability to make resources etc
[2010/06/14 12:13:40] <Volcane> and ofcourse puppet will support a ruby dsl which will help too soon
[2010/06/14 12:14:03] <Volcane> since u can then fetch a ruby data strcture from somewhere and use ruby to construct resouces
[2010/06/14 12:14:15] <KarlHungus> yeah. i never quite understood why external classfication ignored resources
[2010/06/14 12:15:15] <KarlHungus> its a PITA. since i might have a web stack in a prod environment that has 30 apache servers, and only want to realize a resource on 5 of them
[2010/06/14 12:15:59] <KarlHungus> haha. puppet keeps reminding me why i avoid be an early adopter of new tech :(
[2010/06/14 12:16:35] <Volcane> KarlHungus: yeah you'd basically need to make classes for those resources
[2010/06/14 12:17:21] <KarlHungus> heh. so back to managing flat files :(
[2010/06/14 12:18:28] <jbooth> KarlHungus: In your situation I'd think very seriously about writing a compiler for your datasource.
[2010/06/14 12:18:37] <jbooth> With the output being *.pp files for puppet
[2010/06/14 12:20:49] <jbooth> You might have to use a slew of classes for puppet in its current form to do the work for you, but that doesn't mean you have to manage said classes/files by hand.
[2010/06/14 12:23:17] @ alban2 joined channel #puppet
[2010/06/14 12:23:26] <KarlHungus> thats pretty obnoxious also though =) since updating puppet means updating the compiler
[2010/06/14 12:23:36] <KarlHungus> i know its a complex problem and i'm being whiney, btw :P
[2010/06/14 12:24:54] @ ckauhaus joined channel #puppet
[2010/06/14 12:26:28] @ eljeffe joined channel #puppet
[2010/06/14 12:26:46] @ jaredrhine joined channel #puppet
[2010/06/14 12:27:29] @ Quit: lak: Quit: lak
[2010/06/14 12:27:58] <eric0> oy Jun 14 11:01:25 puppetmaster002 puppetmasterd[465]: The indirection name must be purely alphanumeric, not 'HTTP_INTERNAL_SERVER_ERROR.html.var'
[2010/06/14 12:30:25] @ Quit: Mick27: Quit: Leaving
[2010/06/14 12:37:55] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/14 12:38:25] @ kc7zzv joined channel #puppet
[2010/06/14 12:38:37] @ ninjazjb joined channel #puppet
[2010/06/14 12:38:52] @ Quit: jsman: Remote host closed the connection
[2010/06/14 12:41:55] @ jsman joined channel #puppet
[2010/06/14 12:41:55] @ Quit: jsman: Changing host
[2010/06/14 12:41:55] @ jsman joined channel #puppet
[2010/06/14 12:42:12] <jbooth> KarlHungus: for sure on a tricky problem. That said, who wants to work with boring problems?
[2010/06/14 12:42:22] <jbooth> I have computers to do that task!
[2010/06/14 12:42:37] @ Quit: ninjazjb: Client Quit
[2010/06/14 12:42:57] @ ninjazjb joined channel #puppet
[2010/06/14 12:43:49] @ Quit: jrisch: Quit: jrisch
[2010/06/14 12:47:27] @ MattyM joined channel #puppet
[2010/06/14 12:50:15] @ Quit: n0ts: Ping timeout: 240 seconds
[2010/06/14 12:51:40] @ Quit: cliff: Ping timeout: 258 seconds
[2010/06/14 12:54:48] * KarlHungus wishes occasionally he was still working for a mom and pop with just a couple dozen servers to manage ;)
[2010/06/14 12:55:05] @ n0ts joined channel #puppet
[2010/06/14 12:57:44] @ Quit: [GuS]: Remote host closed the connection
[2010/06/14 12:59:17] @ pLr joined channel #puppet
[2010/06/14 12:59:44] @ plutt joined channel #puppet
[2010/06/14 13:07:07] @ plathrop-away is now known as plathrop
[2010/06/14 13:10:03] @ Quit: plutt: Quit: Leaving
[2010/06/14 13:14:14] <lwhalen> hey, can someone please re-send that Facter-related pastebin from a couple hours ago?
[2010/06/14 13:14:18] <lwhalen> I had to reboot, and I lost all my browser tabs :-(
[2010/06/14 13:15:00] <Volcane> your browser doesnt ahve a history function?
[2010/06/14 13:15:27] <Tonnerre> Maybe he had to delete the configuration directory
[2010/06/14 13:15:34] <Tonnerre> I can't find what he's looking for though
[2010/06/14 13:16:14] <Volcane> yeah also didnt see a related paste
[2010/06/14 13:20:41] @ theriffer_ joined channel #puppet
[2010/06/14 13:21:01] @ Quit: kc7zzv: Ping timeout: 264 seconds
[2010/06/14 13:22:02] @ kc7zzv joined channel #puppet
[2010/06/14 13:22:40] <Insyte> I'm having trouble getting puppetmaster to find a custom provider/type. Initially my problem was that I was trying to load a type/provider that only existed in my dev environment. Nigel set me straight on that, so I copied the type and provider to a module on my production environment. Still getting "Could not find resource type haddock at ..."
[2010/06/14 13:22:58] <Insyte> Yes, my test provider/type is called "haddock" for no readily apparent reason.
[2010/06/14 13:23:08] <Insyte> Are there any other gotchas in getting custom types working?
[2010/06/14 13:23:11] <Insyte> (in modules)
[2010/06/14 13:24:29] @ sebas891 left channel #puppet ()
[2010/06/14 13:26:00] <Insyte> My puppet.conf and the type/provider: http://pastebin.ws/lc5d4
[2010/06/14 13:27:59] <joe-mac> haddock { "fish": preparation => "fried", require => Side["french_fries"]; }
[2010/06/14 13:28:11] <Insyte> Exactly.
[2010/06/14 13:28:39] @ Quit: jdcasey: Remote host closed the connection
[2010/06/14 13:28:43] <Insyte> Although I believe it would be "require => Side['chips']"
[2010/06/14 13:28:52] @ jsimpson joined channel #puppet
[2010/06/14 13:29:08] <joe-mac> lol, yea
[2010/06/14 13:29:32] @ Quit: eidolon: Quit: Leaving.
[2010/06/14 13:29:37] @ Quit: toi: Quit: Ex-Chat
[2010/06/14 13:31:59] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/14 13:32:10] @ santoroj1 left channel #puppet ()
[2010/06/14 13:32:28] <plathrop> http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Ec2_Patterns says that the facts were pulled into mainline, but I'm not seeing them on one of my images running facter 1.5.6 -- anyone know the story?
[2010/06/14 13:33:24] <Volcane> i thought there's a bug with them
[2010/06/14 13:33:45] <Volcane> the ones i use rely on the righscale stuff to be there
[2010/06/14 13:33:50] <Volcane> which also blows
[2010/06/14 13:34:01] <plathrop> damn
[2010/06/14 13:34:07] <plathrop> guess I'll try to cook my own
[2010/06/14 13:34:32] <Volcane> prolly a small bug with the included ones
[2010/06/14 13:34:50] <plathrop> http://projects.puppetlabs.com/issues/2346
[2010/06/14 13:35:45] @ Quit: mattock: Ping timeout: 258 seconds
[2010/06/14 13:36:23] <Volcane> yeah thats the ticket i remember
[2010/06/14 13:36:30] <plathrop> Man, now I have to do actual work :-P
[2010/06/14 13:36:43] <Volcane> if you come up with something nice let me know
[2010/06/14 13:37:01] <Volcane> looking for a way to break away from the rightscale images
[2010/06/14 13:37:07] <Volcane> also too lazy to write facts :P
[2010/06/14 13:37:33] <jsimpson> what do the rightscale images give you?
[2010/06/14 13:38:13] <Volcane> type 'centos' in the search box, hit deploy
[2010/06/14 13:38:16] @ Quit: vagn: Remote host closed the connection
[2010/06/14 13:38:17] <Volcane> compared to roll my own :P
[2010/06/14 13:39:00] <jsimpson> that's very convenient :)
[2010/06/14 13:39:29] <Volcane> yeah htey have a few extra bits like motd things and some scripts, lots of ruby stuff on the drive already, all the ec2 client stuff there already blah blah
[2010/06/14 13:39:38] <Volcane> lots of hassly crap that would just take up time to do yourself
[2010/06/14 13:39:59] <Volcane> but i have been planning out new awesome box provisioner
[2010/06/14 13:40:22] @ jaredrhine joined channel #puppet
[2010/06/14 13:40:25] <Volcane> using mcollective to drive a machine from known base into whatever state i want it
[2010/06/14 13:40:39] <Volcane> already wrote up some of the bits, like a puppetca manager for mcollective etc
[2010/06/14 13:41:44] <Volcane> i imagine a cloud instance boots, and joins mcollective running just a provisioning agent nothing else
[2010/06/14 13:41:51] <jsimpson> so you just need to roll out the mcollective agent?
[2010/06/14 13:41:58] <Volcane> provisioner can discover it, inventory it etc
[2010/06/14 13:42:01] <jsimpson> like you just said
[2010/06/14 13:42:13] <Volcane> and then you say go deploy a machine matching ami=xxxx or dc=xxx or hardwareprofile=xxx or whatever
[2010/06/14 13:42:36] <Volcane> it goes off and finds provisionable machines that match, discovers what dc/zones/country they are in, set them up to talk to the right puppet master etc
[2010/06/14 13:42:45] <Volcane> does the CA jig without needing autosign
[2010/06/14 13:42:56] <jsimpson> that's worth it
[2010/06/14 13:42:58] <Volcane> and finally make them do a normal puppet run which will then remove the provisioning agent from the box
[2010/06/14 13:43:05] <jsimpson> you just sold me on it :)
[2010/06/14 13:43:34] <Volcane> compared some recent presentaitons that involved like 3 OS installs just to deploy a box this sounds a lot more sane
[2010/06/14 13:43:50] <jsimpson> wtf?
[2010/06/14 13:44:17] <Volcane> yeah well, kickstart, install redhat on a box etc
[2010/06/14 13:44:22] <jsimpson> on a single node? or just to build the infrastructure?
[2010/06/14 13:44:26] <Volcane> it then just hits up the inventory system and register itself
[2010/06/14 13:44:33] <Volcane> thats it, done with that box, next time they need it
[2010/06/14 13:44:37] <Volcane> they start with a new fresh machine
[2010/06/14 13:44:57] <Volcane> which then does some bootstrappy install and then another run of further insanity to get the box into a usable state
[2010/06/14 13:45:08] @ Eghie joined channel #puppet
[2010/06/14 13:45:28] <Volcane> ...new fresh install
[2010/06/14 13:45:30] <Volcane> not machine
[2010/06/14 13:45:53] <jsimpson> I like your idea more.
[2010/06/14 13:46:10] <Insyte> I would like to subscribe to your newsletter.
[2010/06/14 13:46:27] <plathrop> Yeah, I'm trying to figure out the best way to handle these things myself. SimpleGeo's infrastructure is all cloud for the foreseeable future.
[2010/06/14 13:46:58] <plathrop> I just rolled a puppetmaster AMI, now I'm trying to figure out how to dynamically configure our client AMI to point to the puppetmaster in the same "region"
[2010/06/14 13:47:00] <Volcane> plathrop: yeah the way i did the mc demo on ec2 you just give it user data when you provision the instance of where to find its mcollective middleware
[2010/06/14 13:47:27] <Volcane> plathrop: hehe yeah i figured discover the node, find out its region, find masters in the same region else find one that responded first
[2010/06/14 13:47:42] <nasrat> yeah user data is the bootstrapping key, as multicast doesn't work on ec2 IIRC
[2010/06/14 13:47:46] <Volcane> plathrop: and to make it work, fiddle /etc/hosts adding a puppet entry to the thing
[2010/06/14 13:47:54] <joe-mac> what defines a region?
[2010/06/14 13:47:59] <Volcane> joe-mac: ec2
[2010/06/14 13:48:22] <Volcane> joe-mac: facts on the machine says what region/avail zone its in
[2010/06/14 13:48:23] <nasrat> availability zones are the EC2 terminology
[2010/06/14 13:48:54] <plathrop> Availability Zones are not the same as regions
[2010/06/14 13:48:56] <Volcane> nasrat: well they have rgions with avail zones in those regions right? I'd be happy with a master per region not per avail zone
[2010/06/14 13:49:00] <nasrat> yeah
[2010/06/14 13:49:07] @ Quit: kaptk2: Ping timeout: 276 seconds
[2010/06/14 13:49:10] <nasrat> sorry tired
[2010/06/14 13:49:12] <plathrop> Yeah, I'm doing a PM per region, not per zone
[2010/06/14 13:49:24] <nasrat> http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?concepts-regions-availability-zones.html
[2010/06/14 13:50:25] <Volcane> plathrop: yeah so my provisioner seems like a perfect way to go in that scenario
[2010/06/14 13:51:03] <Volcane> plathrop: and if you're using software load balncers, even better, you can register new nodes into that via mc and periodically scrub them of dead instances via discovery etc :)
[2010/06/14 13:51:11] <Volcane> have done that with haproxy
[2010/06/14 13:51:45] @ kaptk2 joined channel #puppet
[2010/06/14 13:52:00] <plathrop> Volcane: I definitely want what you have. Where do I start?
[2010/06/14 13:52:11] <plathrop> We're using amazon's load balancer at the moment.
[2010/06/14 13:52:21] <plathrop> I guess I start by getting mcollective up
[2010/06/14 13:52:26] <Volcane> yup :P
[2010/06/14 13:53:03] <plathrop> Which means figuring out rabbitmq/stomp because we already have a rabbitmq cluster and the CTO won't be happy deploying another messaging solution
[2010/06/14 13:53:13] <Volcane> joy :(
[2010/06/14 13:53:21] <Volcane> the stomp connector just got f'n awesome
[2010/06/14 13:53:29] <Volcane> so i am even less inclined to spend time on amqp
[2010/06/14 13:53:40] <plathrop> *sigh*
[2010/06/14 13:53:53] <plathrop> what are the other stomp options, though, just so I know?
[2010/06/14 13:54:03] <nasrat> plathrop: if you have $$$ lshift are in london
[2010/06/14 13:54:25] <Volcane> activemq, few other shitty small implimentations and a just anounced ocaml based on that seems the dogs bollocks
[2010/06/14 13:54:43] <Volcane> activemq 6 though is benchmarked at 300 000 topic messages/ SECOND
[2010/06/14 13:55:14] <plathrop> activemq was HELL to set up, and I wasn't happy because I didn't understand it at all.
[2010/06/14 13:55:28] <Volcane> yeah cant wait for the book to hit the shelves
[2010/06/14 13:55:39] <Volcane> i have some stuff i want to do that i just cant make work
[2010/06/14 13:55:59] <Volcane> a) meshes of brokers b) persistance of queue messages to disk (for non mc stuff)
[2010/06/14 13:56:25] <Volcane> i can easily build star configurations, but not meshes
[2010/06/14 13:56:54] <plathrop> That was the other thing, it seems hard to get redundancy, which is a MUST for our environment
[2010/06/14 13:57:07] <plathrop> Though rabbitmq isn't any better
[2010/06/14 13:57:14] <Volcane> thats sorted now
[2010/06/14 13:57:24] <Volcane> put down 2 x activemq's hook them together easily
[2010/06/14 13:57:28] <Volcane> create a pool in mcollective
[2010/06/14 13:57:30] <Volcane> job done
[2010/06/14 13:57:55] <Volcane> i have regional mq's, uk de and us
[2010/06/14 13:58:06] <Volcane> using GSLB to send clients to nearest
[2010/06/14 13:58:13] <Volcane> then a 2nd GSLB that send clients to 2nd nearest
[2010/06/14 13:58:18] @ alexine_dsouza joined channel #puppet
[2010/06/14 13:58:25] <Volcane> and configured mcollective connection pool to failover to 2nd nearest should nearest go down
[2010/06/14 13:58:28] <Volcane> it works a charm
[2010/06/14 13:58:34] <plathrop> hmmm
[2010/06/14 13:58:42] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/06/14 13:58:51] <Volcane> even the client connections failover automagically
[2010/06/14 13:58:58] <plathrop> Well, then I'll pester you incessantly while I try to get this up and running
[2010/06/14 13:59:04] <Volcane> hehe
[2010/06/14 13:59:09] <Volcane> i can just give you my conigs
[2010/06/14 13:59:17] <Volcane> the needed pooling is 4 lines for a 3 server setup
[2010/06/14 14:00:34] <plathrop> So, if you were building from scratch, you'd set up your MQs by hand as a pre-req for your puppet infrastructure?
[2010/06/14 14:00:42] <plathrop> Instead of using a puppetmaster to provision them?
[2010/06/14 14:01:14] <Volcane> I'd probably create manifests for that that can run using standalone puppet to build them and then manage them ongoing using the same manifests but run from a master
[2010/06/14 14:01:24] <plathrop> That makes sense.
[2010/06/14 14:01:47] <plathrop> Alright. I'll take this to #mcollective since that's what I'll be setting up :-)
[2010/06/14 14:01:55] <Volcane> :)
[2010/06/14 14:02:33] @ Quit: MPSimmons: Quit: Leaving.
[2010/06/14 14:06:00] <pLr> hi Volcane ^^
[2010/06/14 14:06:10] @ Quit: nexx: Quit: quit
[2010/06/14 14:06:15] <Volcane> hey
[2010/06/14 14:07:49] @ Quit: reyjrar: Quit: Leaving.
[2010/06/14 14:09:22] @ Quit: iAlien: Ping timeout: 252 seconds
[2010/06/14 14:10:39] @ Alagar1 joined channel #puppet
[2010/06/14 14:10:40] @ Quit: Alagar1: Excess Flood
[2010/06/14 14:10:51] @ Alagar1 joined channel #puppet
[2010/06/14 14:10:51] @ Quit: Alagar1: Excess Flood
[2010/06/14 14:11:52] @ cwebber joined channel #puppet
[2010/06/14 14:12:52] <cwebber> I have looked around the list and googled it but cant seem to find the answer to what this error means
[2010/06/14 14:12:54] <cwebber> No format match the given format name or mime-type (text/html)
[2010/06/14 14:13:00] <cwebber> anyone have an idea
[2010/06/14 14:13:17] <cwebber> there are two tickets slightly related but they don't give much info
[2010/06/14 14:13:20] <Volcane> cwebber: your webserver is talking html instead of passing request to the master
[2010/06/14 14:13:29] <jsimpson> cwebber: are you using rack?
[2010/06/14 14:13:42] <cwebber> I am using mongrel with apache
[2010/06/14 14:14:15] <cwebber> Volcane: how do I tell it to pass the request...
[2010/06/14 14:14:25] <Insyte> To get custom types working from in modules. do I need to add/change anyting in puppet.conf aside from enabling pluginsync?
[2010/06/14 14:16:31] <Volcane> http://www.devco.net/archives/2010/03/17/scheduling_puppet_with_mcollective.php
[2010/06/14 14:16:33] <Volcane> oops
[2010/06/14 14:16:36] <Volcane> wrong #
[2010/06/14 14:16:48] <Insyte> My test type continues to "not find resource".
[2010/06/14 14:18:53] @ andrew3 joined channel #puppet
[2010/06/14 14:19:13] @ Quit: f3ew: Ping timeout: 264 seconds
[2010/06/14 14:19:14] @ nareshov_ joined channel #puppet
[2010/06/14 14:19:17] @ Quit: nareshov: Ping timeout: 272 seconds
[2010/06/14 14:21:03] @ Quit: shenson: Quit: /me taps out
[2010/06/14 14:24:22] <jason^> if i'm trying to use a class within a module outside of the module, i should just need to import "modulename" and that's it, correct?
[2010/06/14 14:26:42] <eljeffe> quit
[2010/06/14 14:26:47] @ Quit: eljeffe:
[2010/06/14 14:29:39] <jason^> you quit
[2010/06/14 14:32:56] @ WALoeIII joined channel #puppet
[2010/06/14 14:33:38] @ f3ew joined channel #puppet
[2010/06/14 14:33:44] <eric0> jason^: if you're modularised you should be able to 'include classname' rather than import it
[2010/06/14 14:33:59] @ Quit: nareshov_: Read error: Operation timed out
[2010/06/14 14:38:47] @ joe-mac left channel #puppet ()
[2010/06/14 14:40:50] @ Quit: adrian_broher: Quit: Verlassend
[2010/06/14 14:43:07] <jason^> eric0: either way i get this error: "Error 400 on SERVER: Could not find resource type apt::config at /etc/puppet/tree/manifests/nodes.pp:30 on node blah"
[2010/06/14 14:43:13] @ Quit: fluxdude: Ping timeout: 258 seconds
[2010/06/14 14:43:24] <jason^> i'm using this http://github.com/camptocamp/puppet-apt/
[2010/06/14 14:43:38] <jason^> my own modules seem to be working though
[2010/06/14 14:46:13] <RS-232> jason^: did you rename the directory to "apt"? It won't work when called "puppet-apt"
[2010/06/14 14:46:46] <RS-232> or rather: it won't autp-import when called "puppet-apt"
[2010/06/14 14:46:56] <RS-232> (auto-import that is)
[2010/06/14 14:47:07] @ Quit: f3ew: Read error: Operation timed out
[2010/06/14 14:49:54] @ f3ew joined channel #puppet
[2010/06/14 14:50:28] @ PhabX joined channel #puppet
[2010/06/14 14:50:37] @ nareshov joined channel #puppet
[2010/06/14 14:51:23] @ jcape left channel #puppet ()
[2010/06/14 14:53:28] @ Quit: nico: Ping timeout: 276 seconds
[2010/06/14 14:54:46] @ Quit: itguru: Ping timeout: 276 seconds
[2010/06/14 14:56:46] @ nico joined channel #puppet
[2010/06/14 14:57:23] @ Quit: nareshov: Ping timeout: 260 seconds
[2010/06/14 14:57:36] @ Quit: f3ew: Ping timeout: 265 seconds
[2010/06/14 14:57:59] <jubei__> is ther an equivalent way of something like mkdir -p /path/to/foo/
[2010/06/14 14:58:29] <plathrop> jubei__: No there is not.
[2010/06/14 15:02:30] @ jdcasey joined channel #puppet
[2010/06/14 15:05:33] @ Quit: ecapriolo: Quit: KVIrc Insomnia 4.0.0, revision: 4030, sources date: 20100125, built on: 2010-02-25 23:12:54 UTC http://www.kvirc.net/
[2010/06/14 15:07:08] @ nareshov joined channel #puppet
[2010/06/14 15:09:08] @ Quit: pheezy: Remote host closed the connection
[2010/06/14 15:12:11] @ f3ew joined channel #puppet
[2010/06/14 15:12:42] @ rodnet joined channel #puppet
[2010/06/14 15:15:47] <eric0> #86 :P
[2010/06/14 15:15:48] <gepetto> eric0: #86 is http://projects.puppetlabs.com/issues/show/86 "Puppet - Feature #86: Directory creation fails if parent directory does not exist - Puppet Labs"
[2010/06/14 15:17:19] <Tonnerre> Good thing it does
[2010/06/14 15:17:40] <Tonnerre> Imagine you depend on something which creates the upper directory
[2010/06/14 15:17:58] <Tonnerre> And suddenly that stuff never gets fired because a lower rule already created the dir
[2010/06/14 15:19:19] @ Quit: jsimpson: Quit: jsimpson
[2010/06/14 15:19:42] @ Quit: MattyM: Ping timeout: 240 seconds
[2010/06/14 15:20:17] @ jsimpson joined channel #puppet
[2010/06/14 15:21:35] @ Quit: lutter: Quit: Leaving.
[2010/06/14 15:28:41] @ Quit: ezmobius: Remote host closed the connection
[2010/06/14 15:30:41] <eshamow> strange thing happening in my puppet env -- suddenly seeing a lot of
[2010/06/14 15:30:42] <eshamow> Could not retrieve catalog from remote server: Could not intern from pson: source did not contain any PSON!
[2010/06/14 15:30:54] <eshamow> didn't upgrade too recently -- moved to 0.25.5 maybe 2 weeks ago
[2010/06/14 15:30:59] <eshamow> but this is recent, as of the last few days
[2010/06/14 15:31:01] <eshamow> any ideas?
[2010/06/14 15:31:49] @ Quit: jsimpson: Ping timeout: 264 seconds
[2010/06/14 15:32:55] <eshamow> i should add, kicking puppetmaster occasionally -- but not always -- resolves the problem
[2010/06/14 15:33:08] @ fredden joined channel #puppet
[2010/06/14 15:36:17] @ lak joined channel #puppet
[2010/06/14 15:36:31] @ Quit: lak: Client Quit
[2010/06/14 15:38:16] @ Quit: jab_doa: Quit: Verlassend
[2010/06/14 15:40:03] @ Quit: cwebber: Quit: cwebber
[2010/06/14 15:40:50] @ plathrop is now known as plathrop-away
[2010/06/14 15:44:06] <kc7zzv> eshamow: I don't know enough to help you, but it's more likely that other people will be able to help you if you post: your ruby version and what server you are using for the puppetmaster.
[2010/06/14 15:44:07] @ Quit: mackn: Quit: BitchX-1.1-final -- just do it.
[2010/06/14 15:44:36] @ mackn joined channel #puppet
[2010/06/14 15:45:34] <eshamow> kc7zzv: surely. Puppet v 1.8.5-5, Puppet 0.25.5 on CentOS 5.5
[2010/06/14 15:47:17] <kc7zzv> You using Passenger, Mongral, Webrick, or something else?
[2010/06/14 15:47:39] <kgraham> complete newbie question, but is there a clean/proper way to have the file module iterate an array?
[2010/06/14 15:48:30] <kgraham> ie. file { path => [ '/bin/ping' , '/bin/tracert' ], mode => 0555; }
[2010/06/14 15:49:41] <kc7zzv> kgraham: So you want to set the permissions on those two files to 0555?
[2010/06/14 15:50:11] <kgraham> kc7zzv: correct
[2010/06/14 15:50:39] <kgraham> ...or similar file attr's (ie. content)
[2010/06/14 15:51:24] @ Quit: kaptk2: Quit: Leaving.
[2010/06/14 15:51:51] <kc7zzv> I know two ways you can apply all the attributes to a list of files.
[2010/06/14 15:52:29] <kc7zzv> The problem is that you have to use the same source for all the files. Does that make is useless to you?
[2010/06/14 15:54:15] <kgraham> no source for them, just manipulating pre-existing
[2010/06/14 15:55:14] <kc7zzv> Just a moment while I double-check the syntax.
[2010/06/14 15:56:04] @ Quit: jetole: Quit: leaving
[2010/06/14 15:56:06] <kgraham> (have a similar need where source is actually via content, but inclined to do those via a define)
[2010/06/14 15:56:38] @ Quit: londo: Remote host closed the connection
[2010/06/14 15:56:53] @ londo joined channel #puppet
[2010/06/14 15:57:25] @ jetole joined channel #puppet
[2010/06/14 15:57:37] <kc7zzv> kgraham: Here's an example. http://pastie.org/1004601
[2010/06/14 15:58:19] <kc7zzv> kgraham: You were mostly right. Just a small syntax problem.
[2010/06/14 15:58:19] <kgraham> pastie wins some 503 fail
[2010/06/14 15:58:51] @ Quit: jetole: Client Quit
[2010/06/14 15:59:22] @ jetole joined channel #puppet
[2010/06/14 15:59:28] <kgraham> kc7zzv: perfect, thanks
[2010/06/14 16:00:02] <kgraham> starting to migrate over some heaps of cfengine and reject that it must be equally ugly
[2010/06/14 16:01:16] @ Quit: jetole: Client Quit
[2010/06/14 16:01:34] @ jetole joined channel #puppet
[2010/06/14 16:02:00] @ jcape joined channel #puppet
[2010/06/14 16:02:35] @ Quit: steph021: Remote host closed the connection
[2010/06/14 16:03:11] @ steph021 joined channel #puppet
[2010/06/14 16:04:22] @ TREllis joined channel #puppet
[2010/06/14 16:07:29] <jamesturnbull> kgraham: what made you choose puppet over cfengine?
[2010/06/14 16:07:46] <jamesturnbull> kgraham: if I may rudely ask - I am gatherign some data about that currently
[2010/06/14 16:11:23] @ Quit: jdcasey:
[2010/06/14 16:12:34] <kgraham> jamesturnbull: have you worked with cfengine much?
[2010/06/14 16:13:58] <kgraham> compare twiddling configs via cfengine editfiles: and puppet's augueus module
[2010/06/14 16:15:22] @ Quit: lwhalen: Ping timeout: 276 seconds
[2010/06/14 16:15:47] <kc7zzv> By the way, if anyone wants some augeas+puppet examples, just ask me. I plan to fix them up sometime and post them, but that might not happen for a while. They mostly just show syntax.
[2010/06/14 16:17:24] <jamesturnbull> kgraham: yeah thought you might say that - you looked at cfe3?
[2010/06/14 16:18:14] <kgraham> jamesturnbull: briefly, but the cfengine's past track record isn't encouraging
[2010/06/14 16:18:17] @ Quit: jcape: Ping timeout: 258 seconds
[2010/06/14 16:19:31] <jamesturnbull> kgraham: what size cfengine install do you have?
[2010/06/14 16:19:47] <jamesturnbull> kgraham: /me works at Puppet Labs BTW and always curious about migration rationales
[2010/06/14 16:19:52] <kgraham> it stinks of far too many functionality patches from people with my own C competence level... the extensibility of puppet is a huge mark in the win column
[2010/06/14 16:20:06] <barn> \
[2010/06/14 16:20:26] @ Quit: notbrien: Quit: notbrien
[2010/06/14 16:20:51] <kgraham> jamesturnbull: ~2000 hosts, about 28k lines of cfengine configs
[2010/06/14 16:21:08] <eshamow> kgraham: be fair what you guys did to cfengine here ain't exactly cfengine ;-)
[2010/06/14 16:22:02] <kgraham> jamesturnbull: ...largely to to needlessly complex editfiles patterns
[2010/06/14 16:22:17] <kgraham> (about 8-10 lines to safely replace a k/v pair)
[2010/06/14 16:24:16] @ Quit: TREllis: Quit: leaving
[2010/06/14 16:24:36] @ Quit: n3kl: Ping timeout: 252 seconds
[2010/06/14 16:24:59] @ Quit: rmiller4pi8: Ping timeout: 248 seconds
[2010/06/14 16:25:23] <eshamow> kc7zzv: missed your question before, sorry. Mongrel, behind Apache
[2010/06/14 16:25:25] <kgraham> eshamow: FWVO 'did to cfengine'?
[2010/06/14 16:25:54] <eshamow> FWVO?
[2010/06/14 16:25:59] <eshamow> but yeah conf repo == ow.
[2010/06/14 16:26:00] <kgraham> for what values of
[2010/06/14 16:26:02] <eshamow> ahhh
[2010/06/14 16:27:39] @ eshamow left channel #puppet ()
[2010/06/14 16:29:39] @ pheezy joined channel #puppet
[2010/06/14 16:30:29] <jamesturnbull> kgraham: what do you guys do?
[2010/06/14 16:30:36] <jamesturnbull> kgraham: industry-wise
[2010/06/14 16:30:52] @ n3kl joined channel #puppet
[2010/06/14 16:30:52] @ Quit: n3kl: Changing host
[2010/06/14 16:30:52] @ n3kl joined channel #puppet
[2010/06/14 16:30:57] @ lak joined channel #puppet
[2010/06/14 16:31:12] <kgraham> jamesturnbull: slinging billions of banner ads a day
[2010/06/14 16:31:48] <PhabX> kgraham: sounds like valueclick :)
[2010/06/14 16:32:27] @ Quit: gebi: Ping timeout: 248 seconds
[2010/06/14 16:32:37] @ Quit: steph021: Quit: Leaving
[2010/06/14 16:32:43] * kgraham churns through likely identities for PhabX
[2010/06/14 16:34:33] <kgraham> (not that my /whois wouldn't make it obvious enough)
[2010/06/14 16:35:23] @ Quit: ptman: Ping timeout: 260 seconds
[2010/06/14 16:37:36] @ Quit: alfism: Quit: alfism
[2010/06/14 16:37:39] <PhabX> haha no kidding
[2010/06/14 16:38:31] @ plathrop-away is now known as plathrop
[2010/06/14 16:40:21] <kgraham> kc7zzv: as far as interesting examples, something that pulls in from an external resource would be good to see
[2010/06/14 16:40:52] <kgraham> kc7zzv: ie. extracting a config from dell racadm tools, editing, and then pushing back
[2010/06/14 16:40:55] @ Quit: pheezy: Remote host closed the connection
[2010/06/14 16:42:57] @ bobinabottle joined channel #puppet
[2010/06/14 16:44:29] <kc7zzv> kgramham: I wish. Nothing that complicated.
[2010/06/14 16:45:55] * eric0 shudders at '28K lines of cfengine configs'
[2010/06/14 16:46:31] <kgraham> eric: I know you'd really love it, as its almost all editfiles :)
[2010/06/14 16:47:48] <eric0> mm i should go back and revise 'Editfiles Considered Harmful' at some point
[2010/06/14 16:48:12] @ gmcquillan joined channel #puppet
[2010/06/14 16:48:54] <kgraham> I've always appreciated it, even though I strongly disagree
[2010/06/14 16:49:00] <kc7zzv> eric0: You the one who wrote 'Editfiles Considered Harmful'?
[2010/06/14 16:51:01] <eric0> aye along with a few other 'gems' on cfwiki.org
[2010/06/14 16:53:02] <kc7zzv> eric0: What do you think of Augeas? I'm wondering if you group it in with Editfiles or if the syntax checking makes the difference.
[2010/06/14 16:55:22] @ jcape joined channel #puppet
[2010/06/14 16:56:46] <kgraham> personally I can't wait until it gets a step further where lenses include unit-awareness
[2010/06/14 16:57:18] <eric0> i like the *idea* of augeas a lot, it's much better to have syntax-aware parsing than the 'search for this, regexp that' stuff.
[2010/06/14 16:57:43] @ cwebber joined channel #puppet
[2010/06/14 16:57:48] <kc7zzv> I think I hear a "but" coming.
[2010/06/14 16:57:58] @ Quit: gaveen: Ping timeout: 264 seconds
[2010/06/14 16:58:20] <eric0> it's a fairly big but. (*whipcrack*)
[2010/06/14 16:59:28] <eric0> the puppet->augeas code i've seen seems to be too little puppet and too much augeas, if that makes sense
[2010/06/14 17:00:43] <kc7zzv> I'm afraid that doesn't make sense to me. Is it the logic in the "onlyif" section?
[2010/06/14 17:00:54] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/06/14 17:01:03] <kgraham> eric0: presumably that objection drops when modules (ie. sysctl) are silently using augeas on the backend?
[2010/06/14 17:04:13] <eric0> yeah that would be better. it's mainly the resource attributes whose values are a big blast of augeas syntax that kind of soured me. to be fair i haven't used it in a greater extent that fiddling around so i could just be at the bottom of the learning curve
[2010/06/14 17:05:27] <kc7zzv> I agree that it has a steep learning curve, and I'm still not anywhere near the top.
[2010/06/14 17:05:55] <eric0> for stuff like syslog.conf that puppet doesn't have a first-class Type for i'm more inclined to
[2010/06/14 17:06:14] <eric0> just *make* one with a little parsedfile provider , rather than turn to augeas
[2010/06/14 17:06:37] <plathrop> yeah, I'm the same
[2010/06/14 17:06:50] @ lwhalen joined channel #puppet
[2010/06/14 17:07:31] * eric0 wonders if lutter is going to jump out from behind a corner and club me. best stop there
[2010/06/14 17:10:10] <kc7zzv> So it's mostly a "The learning curve is steep, so I wouldn't use it for most things," instead of "It will cause nasty surprises when you least expect it"?
[2010/06/14 17:10:38] <darkfade1> stop saying learning curve or i'll go back to isconf3
[2010/06/14 17:10:42] <darkfade1> :)
[2010/06/14 17:12:07] <plathrop> kc7zzv: not for me. For me I just don't believe in only controlling single lines of config files. I'd much rather control the whole file and use templating for the per-line differences.
[2010/06/14 17:13:02] <eric0> plathrop++
[2010/06/14 17:17:42] <plathrop> I think it has high potential for nasty surprises. I also see it as solving a problem I've already got good tools to solve
[2010/06/14 17:19:22] @ Quit: lak: Quit: lak
[2010/06/14 17:22:40] <kgraham> plathrop: disagree for the same reason -- wallpapering over system configs has equal elements of surprise
[2010/06/14 17:23:09] <kgraham> ...and potentially ends up with larger number of templates to deal with
[2010/06/14 17:25:01] @ Quit: LapTop006: Read error: Operation timed out
[2010/06/14 17:25:32] <kgraham> 'disable AllowTcpForwarding' in sshd config requires no less than a template-per-distribution vs. one-line edit
[2010/06/14 17:26:37] @ LapTop006 joined channel #puppet
[2010/06/14 17:26:48] <kgraham> getting that wrong has very nasty silent implications
[2010/06/14 17:35:53] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/14 17:35:54] @ rodnet_ joined channel #puppet
[2010/06/14 17:39:57] @ lak joined channel #puppet
[2010/06/14 17:47:25] @ Quit: cwebber: Quit: cwebber
[2010/06/14 17:50:50] <plathrop> kgraham: *shrug* To each their own; I guess since I've been lucky enough to work in homogeneous environments it isn't a big deal for me.
[2010/06/14 17:51:43] @ Quit: theriffer_: Quit: theriffer_
[2010/06/14 17:52:07] @ theriffer_ joined channel #puppet
[2010/06/14 17:53:02] @ crdant joined channel #puppet
[2010/06/14 17:54:38] @ Quit: rodnet_: Read error: Connection reset by peer
[2010/06/14 17:54:40] @ rodnet joined channel #puppet
[2010/06/14 17:56:43] @ Quit: theriffer_: Ping timeout: 265 seconds
[2010/06/14 18:07:02] @ plathrop is now known as plathrop-away
[2010/06/14 18:11:19] @ M- joined channel #puppet
[2010/06/14 18:11:35] @ Quit: gmcquillan: Quit: gmcquillan
[2010/06/14 18:11:36] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/14 18:14:42] <jamesturnbull> eric0: plathrop-away interestingly it'd be easy to add back-end augeas providers to a lot of those types or build types with an augeas provider - perhaps that were a but more "puppet" than "augeas"
[2010/06/14 18:15:34] @ cliff joined channel #puppet
[2010/06/14 18:17:01] @ Quit: lak: Quit: lak
[2010/06/14 18:17:15] @ rmiller4pi8 joined channel #puppet
[2010/06/14 18:22:44] @ Quit: PhabX:
[2010/06/14 18:25:55] @ johnf joined channel #puppet
[2010/06/14 18:26:42] <johnf> does anyone have recommendations on external CAs they've used with puppet. Not so much worried about puppet side but just a nice open source CA
[2010/06/14 18:26:54] <johnf> potentially with some sort of REST API
[2010/06/14 18:29:39] <johnf> the two I'm looking at now are EJBCA and OpenCA PKI
[2010/06/14 18:35:06] @ \ask joined channel #puppet
[2010/06/14 18:36:40] @ Quit: kc7zzv: Quit: kc7zzv
[2010/06/14 18:36:50] @ achester joined channel #puppet
[2010/06/14 18:44:07] @ Quit: gm1959:
[2010/06/14 18:56:13] @ Quit: WALoeIII: Quit: Bai.
[2010/06/14 19:10:37] <dispalt> any ideas puppetmasterd[25794]: Not authorized to call search on /file_metadata/plugins with {:links=>"manage", :recurse=>true, :ignore=>[".svn", "CVS", ".git"]}
[2010/06/14 19:10:49] <dispalt> I am not sure how fix this...
[2010/06/14 19:14:45] @ Quit: ahasenack: Quit: Leaving
[2010/06/14 19:24:18] @ pheezy joined channel #puppet
[2010/06/14 19:29:13] @ Quit: Bass10: Ping timeout: 260 seconds
[2010/06/14 19:32:46] <jamesturnbull> johnf: ask nigelk
[2010/06/14 19:37:41] @ Quit: ryan-c|w: Quit: Leaving
[2010/06/14 19:39:20] @ thekad is now known as thekad-afk
[2010/06/14 19:43:29] @ thekad-afk is now known as thekad
[2010/06/14 19:44:53] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/14 19:45:06] @ rodnet joined channel #puppet
[2010/06/14 19:45:21] @ thekad is now known as thekad-afk
[2010/06/14 20:07:17] @ Quit: cliff: Ping timeout: 245 seconds
[2010/06/14 20:23:57] @ Quit: jcape: Remote host closed the connection
[2010/06/14 20:24:12] @ jcape joined channel #puppet
[2010/06/14 20:28:04] @ Quit: pheezy: Remote host closed the connection
[2010/06/14 20:28:50] @ Quit: kaos01: Ping timeout: 260 seconds
[2010/06/14 20:37:28] @ pinoyskull joined channel #puppet
[2010/06/14 20:52:38] @ Quit: jcape: Ping timeout: 260 seconds
[2010/06/14 21:06:59] @ AimanA is now known as HouseAway
[2010/06/14 21:09:51] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/14 21:09:51] @ rodnet_ joined channel #puppet
[2010/06/14 21:10:54] @ LeLutin_ joined channel #puppet
[2010/06/14 21:13:25] @ Quit: pinoyskull: Ping timeout: 265 seconds
[2010/06/14 21:14:13] @ Quit: LeLutin: Ping timeout: 258 seconds
[2010/06/14 21:23:35] @ Quit: pLr: Read error: No route to host
[2010/06/14 21:23:51] @ Quit: crdant: Quit: Leaving.
[2010/06/14 21:25:31] @ pinoyskull joined channel #puppet
[2010/06/14 21:37:33] @ Quit: dreacu666: Ping timeout: 252 seconds
[2010/06/14 21:38:19] @ dreacu666 joined channel #puppet
[2010/06/14 21:39:50] @ mrowell joined channel #puppet
[2010/06/14 21:42:19] @ Quit: LeLutin_: Ping timeout: 248 seconds
[2010/06/14 21:43:57] @ LeLutin joined channel #puppet
[2010/06/14 21:58:48] @ cwebber joined channel #puppet
[2010/06/14 22:01:59] @ jcape joined channel #puppet
[2010/06/14 22:08:39] @ Quit: rodnet_: Read error: Connection reset by peer
[2010/06/14 22:08:40] @ rodnet joined channel #puppet
[2010/06/14 22:24:05] @ MarkN joined channel #puppet
[2010/06/14 22:26:24] @ Quit: cwebber: Quit: cwebber
[2010/06/14 22:30:35] @ whack left channel #puppet ()
[2010/06/14 22:31:58] @ kc7zzv joined channel #puppet
[2010/06/14 22:32:33] @ tracphil joined channel #puppet
[2010/06/14 22:32:41] <kc7zzv> If I have a class called first, and a class called second, is there any easy way to order them?
[2010/06/14 22:32:58] @ Quit: odyi: Ping timeout: 260 seconds
[2010/06/14 22:33:02] @ odyi joined channel #puppet
[2010/06/14 22:33:34] <kc7zzv> It looked like I might be able to do something like that with the require function.
[2010/06/14 22:36:01] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/14 22:36:01] @ rodnet_ joined channel #puppet
[2010/06/14 22:39:19] @ lak joined channel #puppet
[2010/06/14 22:45:15] @ alexine_dsouza joined channel #puppet
[2010/06/14 22:47:53] @ LeLutin_ joined channel #puppet
[2010/06/14 22:50:45] @ Quit: LeLutin: Ping timeout: 240 seconds
[2010/06/14 22:51:50] @ tuv left channel #puppet ()
[2010/06/14 22:52:08] @ tuf joined channel #puppet
[2010/06/14 23:00:08] @ theriffer_ joined channel #puppet
[2010/06/14 23:02:30] @ andrew3 left channel #puppet ()
[2010/06/14 23:03:03] @ tuf_ joined channel #puppet
[2010/06/14 23:15:45] <jamesturnbull> kc7zzv: that's the way to go
[2010/06/14 23:16:51] @ shug joined channel #puppet
[2010/06/14 23:17:05] <kc7zzv> jamesturnbull: Thanks. It didn't work when I tried it which means I probably have a syntax error.
[2010/06/14 23:18:17] <kc7zzv> How do I do it? Have both classes as arguments, or put the require function in the class that needs the other?
[2010/06/14 23:18:49] <kc7zzv> Like this? "class second { require( Class[first] ) }"?
[2010/06/14 23:21:26] <jamesturnbull> kc7zzv: that should work
[2010/06/14 23:21:30] @ Quit: jcape: Ping timeout: 252 seconds
[2010/06/14 23:22:08] <jamesturnbull> kc7zzv: require classname though
[2010/06/14 23:22:27] <jamesturnbull> kc7zzv: you don't need the brackets and the reference
[2010/06/14 23:22:36] @ Quit: jmslagle: Read error: Connection reset by peer
[2010/06/14 23:23:06] <jamesturnbull> kc7zzv: so to require the bob class in the alice class you do class alice { require bob }
[2010/06/14 23:23:08] @ jsimpson joined channel #puppet
[2010/06/14 23:23:50] <jamesturnbull> jsimpson: hey about that extlookup code
[2010/06/14 23:23:57] <jsimpson> hi
[2010/06/14 23:24:01] <jamesturnbull> jsimpson: I've started adding a YAML backend
[2010/06/14 23:24:06] <jamesturnbull> jsimpson: and yes hi :)
[2010/06/14 23:24:22] <jsimpson> :) very good. How did you find that?
[2010/06/14 23:24:23] * jamesturnbull IRC manners are fail again
[2010/06/14 23:24:47] <jamesturnbull> jsimpson: hmmm I think it needs some refactoring
[2010/06/14 23:24:58] <jamesturnbull> jsimpson: otherwise we'll duplicate a lot of methods
[2010/06/14 23:25:49] <jamesturnbull> jsimpson: I'm going to have a hack tomorrow to do a YAML and JSON backend - I did the YMAL one today with tests but wasn't overly happy with the outcome
[2010/06/14 23:26:11] @ jsimpson_ joined channel #puppet
[2010/06/14 23:26:16] @ debianuser joined channel #puppet
[2010/06/14 23:26:27] <jsimpson_> jamesturnbull: would it be like duck-typing, where you have similar methods in different classes, or you think just plain old evil duplication?
[2010/06/14 23:28:14] <jsimpson_> jamesturnbull: I can have a look, but I need to go to work now :)
[2010/06/14 23:28:27] <kc7zzv> jamesturnbull: Thanks for all the help. I had a coupe of typos.
[2010/06/14 23:29:54] @ Quit: jsimpson: Ping timeout: 260 seconds
[2010/06/14 23:29:54] @ jsimpson_ is now known as jsimpson
[2010/06/14 23:31:59] @ itguru joined channel #puppet
[2010/06/14 23:39:16] <jamesturnbull> jsimpson: plain old evil duplication
[2010/06/14 23:42:46] @ Quit: jsimpson: Ping timeout: 265 seconds
[2010/06/14 23:43:22] <Volcane> he lives in the sticks :)
[2010/06/14 23:43:45] <Volcane> internet by prayer
[2010/06/14 23:48:01] @ jsimpson joined channel #puppet
[2010/06/14 23:48:32] @ thekad-afk is now known as thekad
[2010/06/14 23:50:31] <jamesturnbull> Volcane: ah that explains it
[2010/06/14 23:52:09] @ Quit: fredden: Quit: Leaving
[2010/06/14 23:52:34] <jsimpson> jamesturnbull: let me know if you need me to look at anything. Have to go to work now though.
[2010/06/14 23:52:39] @ Quit: jsimpson: Client Quit

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