Wednesday, 2010-08-25

[2010/08/25 00:14:56] @ Log started by gepetto
[2010/08/25 00:14:56] @ Quit: lak: Quit: lak
[2010/08/25 00:24:33] @ ohookins joined channel #puppet-dev
[2010/08/25 00:53:05] <Volcane> did http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4542 make it into rc3?
[2010/08/25 00:53:39] <Volcane> hmm, seems it did
[2010/08/25 01:28:47] <ohookins> can anyone tell me what is the correct way of overriding the confdir/manifest settings when calling the puppet module?
[2010/08/25 01:29:02] <ohookins> Puppet.setdefaults ?
[2010/08/25 02:29:49] @ rcrowley joined channel #puppet-dev
[2010/08/25 02:41:15] <masterzen> ohookins: maybe you can just do Puppet.settings[:confdir] = "blahblah"
[2010/08/25 02:41:37] <ohookins> yes, i finally found that in the code
[2010/08/25 02:42:23] <ohookins> i'm running cucumber-puppet tests from a working directory on my workstation but i think my overridden :confdir and :manifest are being thwarted due to me having a puppet.conf in the same directory
[2010/08/25 02:42:33] <ohookins> which lists the settings that the puppetmaster uses
[2010/08/25 02:44:24] <masterzen> ohookins: you might have a look on the way the specs are bootstrapped, since it has potentially the same issue
[2010/08/25 02:47:54] <ohookins> overrides by calling Puppet.settings[:confdir] are conceptually similar to using command line options, right?
[2010/08/25 02:48:15] <ohookins> if you are comparing direct calls to the puppet module vs command line puppet tools
[2010/08/25 02:48:48] <ohookins> because i would consider options specified on the command line to supercede any config file options
[2010/08/25 02:51:43] <masterzen> ohookins: it should. But since I don't know your code, there can be some calls to config parsing somewhere that happens after you set your settings.
[2010/08/25 02:52:19] <ohookins> http://github.com/nistude/cucumber-puppet/blob/0.0.5/lib/cucumber-puppet/puppet.rb lines 33-35 is pretty much it
[2010/08/25 02:56:00] <masterzen> ohookins: you call parse_config after setting the :manifestdir so it might overwrite this setting with the content of the puppet.conf
[2010/08/25 02:56:39] <ohookins> ah, it was staring me right in the face
[2010/08/25 02:56:42] <ohookins> thanks!
[2010/08/25 02:58:53] <masterzen> ohookins: there are some things that I find strange in the code. For instance, you never set the terminus for the node or catalog, since it works, hopefully it might use the correct one (ie compiler for catalog).
[2010/08/25 03:01:06] <ohookins> it's not my code, i'm just using it and trying to figure out why my config overrides don't work
[2010/08/25 03:01:39] <ohookins> but if i run into problems due to it not being coded correctly, i'll submit patches ;)
[2010/08/25 03:02:45] <masterzen> ohookins: np, I was just commenting :) it's on my todolist to start using puppet-cucumber. Unfortunately my spare time is relatively low now :)
[2010/08/25 03:03:15] <ohookins> i'm yet to meet anyone in tech circles with any free time ;)
[2010/08/25 03:03:27] <ohookins> but puppet-cucumber was worth my time investment so far
[2010/08/25 03:04:03] <ohookins> being able to embark on huge refactoring missions with relatively little worry of breaking things is a nice change
[2010/08/25 03:06:55] @ Quit: rcrowley: Quit: rcrowley
[2010/08/25 05:12:18] @ Quit: ReinH: Ping timeout: 240 seconds
[2010/08/25 05:13:26] @ ReinH joined channel #puppet-dev
[2010/08/25 05:39:57] @ Quit: stahnma: Quit: Disconnecting from stoned server.
[2010/08/25 05:40:54] @ stahnma joined channel #puppet-dev
[2010/08/25 06:35:04] @ Quit: notbrien: Quit: notbrien
[2010/08/25 06:56:00] @ Quit: ohookins: Quit: Leaving.
[2010/08/25 06:56:17] @ ohookins joined channel #puppet-dev
[2010/08/25 07:03:41] @ notbrien joined channel #puppet-dev
[2010/08/25 07:56:30] @ ohookins left channel #puppet-dev ("Leaving.")
[2010/08/25 08:03:45] @ rcrowley joined channel #puppet-dev
[2010/08/25 09:26:36] @ plathrop-away is now known as plathrop
[2010/08/25 10:01:22] <nasrat> ReinH: it seems to be how the solaris ruby implementation of %x works
[2010/08/25 10:01:34] <nasrat> it's not stderr of the command but the shell
[2010/08/25 10:04:24] @ lak joined channel #puppet-dev
[2010/08/25 11:35:35] <ReinH> riiight
[2010/08/25 11:35:39] <ReinH> I knew that much
[2010/08/25 11:38:51] @ Quit: lak: Quit: lak
[2010/08/25 12:29:16] @ lak joined channel #puppet-dev
[2010/08/25 12:57:06] @ Quit: masterzen: Ping timeout: 240 seconds
[2010/08/25 13:05:38] @ masterzen joined channel #puppet-dev
[2010/08/25 14:32:29] @ Quit: lak: Quit: lak
[2010/08/25 15:59:17] @ notbrien_ joined channel #puppet-dev
[2010/08/25 15:59:19] @ Quit: notbrien: Remote host closed the connection
[2010/08/25 15:59:19] @ notbrien_ is now known as notbrien
[2010/08/25 16:36:43] @ Quit: notbrien: Read error: Operation timed out
[2010/08/25 16:38:18] @ Quit: ricky: Ping timeout: 240 seconds
[2010/08/25 16:45:45] @ lak joined channel #puppet-dev
[2010/08/25 17:12:20] @ Quit: lak: Quit: lak
[2010/08/25 17:13:29] @ notbrien joined channel #puppet-dev
[2010/08/25 17:31:15] @ plathrop is now known as plathrop-away
[2010/08/25 18:03:35] @ Quit: rcrowley: Quit: rcrowley
[2010/08/25 18:09:27] @ ricky joined channel #puppet-dev
[2010/08/25 20:56:17] @ lak joined channel #puppet-dev
[2010/08/25 21:02:38] @ Quit: ricky: Ping timeout: 255 seconds
[2010/08/25 21:40:47] @ plathrop-away is now known as plathrop
[2010/08/25 22:14:39] @ github joined channel #puppet-dev
[2010/08/25 22:14:39] <github> puppet: feature/2.6.x/extlookupdoc James Turnbull * ac7493f (2 files in 1 dirs): Fixed extlookup documentation and spacing - http://bit.ly/dr7eKm
[2010/08/25 22:14:39] @ github left channel #puppet-dev ()
[2010/08/25 22:21:30] @ github joined channel #puppet-dev
[2010/08/25 22:21:30] <github> puppet: feature/2.6.x/extlookupdoc James Turnbull * 743cdc9 (2 files in 1 dirs): Fixed extlookup documentation and spacing - http://bit.ly/cDPw0I
[2010/08/25 22:21:30] @ github left channel #puppet-dev ()
[2010/08/25 22:39:07] @ rcrowley joined channel #puppet-dev
[2010/08/25 22:49:50] @ Quit: lak: Quit: lak
[2010/08/25 23:26:10] @ ricky joined channel #puppet-dev
[2010/08/25 23:26:18] @ ohookins joined channel #puppet-dev

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