Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-25 Thread Jeff McCune
On Thu, Feb 24, 2011 at 3:34 PM, Jeff McCune j...@puppetlabs.com wrote: FYI I updated the envpuppet script in 2.6.x to load interfaces if ENVPUPPET_BLEEDING=true There's a branch in my puppet github.  On my phone, will link if you need it. Here it is if you're interested. The technique has

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-24 Thread Luke Kanies
On Feb 23, 2011, at 4:41 PM, Trevor Vaughan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bin/puppet catalog --manifest ~/test.pp find localhost Unable to find interface 'catalog': Action select already defined for #Puppet::Interface::Indirector:0x2b12a9681370. Could not prepare

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-24 Thread Trevor Vaughan
Yep, that works. I just blew away my installation and re-installed from the puppet git repo. I think that perhaps I didn't remove that when working from the original codebase. It was interesting since the 'interface' command didn't show up unless I included the external module path. Quite

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-24 Thread Trevor Vaughan
Ah! Thanks. That did cut the execution time by about half. It did seem to do the 'right thing'. Trevor On Thu, Feb 24, 2011 at 2:11 PM, Luke Kanies l...@puppetlabs.com wrote: You're compiling the catalog from scratch, which uses the facts like normal. If you want it from yaml, say so: $

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-23 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan's follow up e-mail made the programmatic interface usage a bit clearer. The rest inline On 02/22/2011 08:22 PM, Luke Kanies wrote: On Feb 22, 2011, at 1:44 PM, Trevor Vaughan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 snip/

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-23 Thread Luke Kanies
On Feb 23, 2011, at 11:19 AM, Trevor Vaughan wrote: Try with the latest version of Puppet or the latest interface code? Interface. That trace was with the latest interface code unless you haven't pushed past b43555a. Hmm. I just pushed a big refactor yesterday, but I can't find that

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-23 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I tried a --debug --trace before the last message and didn't get any output whatsoever. Trevor On 02/23/2011 04:58 PM, Luke Kanies wrote: On Feb 23, 2011, at 11:19 AM, Trevor Vaughan wrote: Try with the latest version of Puppet or the latest

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-23 Thread Luke Kanies
On Feb 23, 2011, at 3:06 PM, Trevor Vaughan wrote: I tried a --debug --trace before the last message and didn't get any output whatsoever. I'm pretty stumped. Could you try specifying a very short test manifest and see if that makes a difference? E.g.: puppet catalog --manifest

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-23 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bin/puppet catalog --manifest ~/test.pp find localhost Unable to find interface 'catalog': Action select already defined for #Puppet::Interface::Indirector:0x2b12a9681370. Could not prepare for execution: Could not find interface 'catalog' This is

[Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-22 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So, I got this working and have played around with it a bit. My feedback is below. 1) You need to include the 'interface' lib path before the puppet lib path in RUBYLIB to get this to work. 2) puppet catalog - doesn't seem to do anything gives the

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-22 Thread Luke Kanies
On Feb 22, 2011, at 1:44 PM, Trevor Vaughan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So, I got this working and have played around with it a bit. My feedback is below. 1) You need to include the 'interface' lib path before the puppet lib path in RUBYLIB to get this to

Re: [Puppet-dev] Feedback on Puppet 'interface' command.

2011-02-22 Thread Dan Bode
On Tue, Feb 22, 2011 at 1:44 PM, Trevor Vaughan tvaug...@onyxpoint.comwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So, I got this working and have played around with it a bit. My feedback is below. 1) You need to include the 'interface' lib path before the puppet lib path in