[Puppet Users] Re: How can I have a defined resource depend on a resource that is not in the global scope?

2012-01-16 Thread bel
Thank you all. Updated the module and now works without the import: https://github.com/belminf/puppet-iptables On Jan 9, 8:51 am, jcbollinger john.bollin...@stjude.org wrote: On Jan 6, 9:10 pm, bel belm...@gmail.com wrote: I am working on this module:

[Puppet Users] Problems with Host ||

2012-01-16 Thread Florian Koch
Hi, i use exported hosts and Host | | to collect all hosts and ips for my hosts file. i like to use this to manage my dnsmasq installation, and use | tag == ${domain} | ~Service['dnsmasq'] this works. on another Host i use only | | and get the error Dependency dnsmasq not found on host ...

Re: [Puppet Users] Re: Using foo::params, inheritance, and parameterized classes simultaneously?

2012-01-16 Thread Alessandro Franceschi
On Sunday, January 15, 2012 9:30:02 PM UTC+1, Nigel Kersten wrote: On Sun, Jan 15, 2012 at 12:42 AM, Alessandro Franceschi a...@lab42.itwrote: So, to reply to your question, Nigel, something like a hiera backend or a Puppet function that does what is written before in any Puppet setup

[Puppet Users] Display correctly any array

2012-01-16 Thread Antidot SAS
Hi everyone, Is there a way to display correctly an array, each time I am trying to 'notice' an array I have something like that: Here is the code: $array = [ 'test' , 'test2'] notice(Here is the $array) The ouput is as follow: Here is the testtest2 There is no way to put a clean IFS for the

[Puppet Users] Re: Display correctly any array

2012-01-16 Thread Krzysztof Wilczynski
Hi, [...] There is no way to put a clean IFS for the ouput... You could use join() to join array elements with a single space and display then with notice, or have a define that would iterate over array elements for you printing them one by one. You can also try this little function:

Re: [Puppet Users] Re: Using foo::params, inheritance, and parameterized classes simultaneously?

2012-01-16 Thread Nigel Kersten
On Mon, Jan 16, 2012 at 7:23 AM, Alessandro Franceschi a...@lab42.it wrote: On Sunday, January 15, 2012 9:30:02 PM UTC+1, Nigel Kersten wrote: So here's the rough idea we have in place. Let me contextualize: What you suggest here is what may be introduced in 2.8 , when Hiera will be

[Puppet Users] pip provider

2012-01-16 Thread Chris Blumentritt
I am running puppet 2.7.9 and using the pip provider. The package gets/is installed but puppet installs it on every run. Do other people run into this. I tried search bugs and the group and have not seen any mention of it. Chris -- You received this message because you are subscribed to the

Re: [Puppet Users] pip provider

2012-01-16 Thread Nigel Kersten
On Mon, Jan 16, 2012 at 11:01 AM, Chris Blumentritt cblum...@gmail.comwrote: I am running puppet 2.7.9 and using the pip provider. The package gets/is installed but puppet installs it on every run. Do other people run into this. I tried search bugs and the group and have not seen any

Re: [Puppet Users] pip provider

2012-01-16 Thread Dan Bode
I ran into the same issue when I tried to use the pip provider. Perhaps this is related? http://projects.puppetlabs.com/issues/7754 On Mon, Jan 16, 2012 at 11:01 AM, Chris Blumentritt cblum...@gmail.comwrote: I am running puppet 2.7.9 and using the pip provider. The package gets/is installed

[Puppet Users] Where to submit documentation request?

2012-01-16 Thread Alan Evans
Is the puppet documentation still in git somewhere and I can just submit a pull request? I that the section on undefined variables in the templating document was lacking. When using paramaterized classes, default values for variables and has_variable?() the results may not be what one expects.

Re: [Puppet Users] Where to submit documentation request?

2012-01-16 Thread Nigel Kersten
On Mon, Jan 16, 2012 at 2:39 PM, Alan Evans alanwev...@gmail.com wrote: Is the puppet documentation still in git somewhere and I can just submit a pull request? I that the section on undefined variables in the templating document was lacking. When using paramaterized classes, default values

Re: [Puppet Users] pip provider

2012-01-16 Thread Chris Blumentritt
That looks like exactly what is happening. I wonder if there is something special that has to happen in the pip package to show up when you do a pip freeze? Chris On Mon, Jan 16, 2012 at 4:10 PM, Dan Bode d...@puppetlabs.com wrote: I ran into the same issue when I tried to use the pip

Re: [Puppet Users] pip provider

2012-01-16 Thread Chris Blumentritt
I have updated the bug with more info that Ben requested. On Mon, Jan 16, 2012 at 4:10 PM, Dan Bode d...@puppetlabs.com wrote: I ran into the same issue when I tried to use the pip provider. Perhaps this is related? http://projects.puppetlabs.com/issues/7754 On Mon, Jan 16, 2012 at 11:01

Re: [Puppet Users] pip provider

2012-01-16 Thread Chris Blumentritt
debug: Prefetching pip resources for packagedebug: Puppet::Type::Package::ProviderPip: Executing '/usr/bin/pip freeze'debug: Puppet::Type::Package::ProviderPip: Executing '/usr/bin/pip freeze'debug: Puppet::Type::Package::ProviderPip: Executing '/usr/bin/pip install -q xenapi'notice:

[Puppet Users] delayed final state??

2012-01-16 Thread Ryan Bowlby
I have a somewhat abstract best practice question. In some instances fully applying a node's puppet catalog results in that node interacting with production infrastructure. Sometimes you want to provision a new host and have it apply it's puppet catalog but not yet integrate into the production

Re: [Puppet Users] delayed final state??

2012-01-16 Thread Michael Stahnke
On Mon, Jan 16, 2012 at 6:01 PM, Ryan Bowlby rbowlb...@gmail.com wrote: I have a somewhat abstract best practice question. In some instances fully applying a node's puppet catalog results in that node interacting with production infrastructure. Sometimes you want to provision a new host and

[Puppet Users] Re: [Puppet-dev] Puppet Triage-A-Thon

2012-01-16 Thread Nan Liu
On Mon, Jan 9, 2012 at 11:36 PM, James Turnbull ja...@puppetlabs.com wrote: Love Puppet? Hate the backlog of tickets? Want to help us out? The Puppet community has grown really fast and a lot of you have logged tickets and issues. We’ve tried to give those tickets as much love as we could but