Re: [Puppet Users] Multi environment and multi system

2015-10-05 Thread Joao Morais
On 04/10/15 18:23, Richard Gray wrote: On 03/10/15 13:08, Joao Morais wrote: How to manage a Puppet Server with multi-environment and multi-system? Rather than having puppet environments that correspond to physical environments, the single production Puppet environment represents the stable t

Re: [Puppet Users] Multi environment and multi system

2015-10-05 Thread Joao Morais
On 04/10/15 13:36, Maxim Nikolaev wrote: Can you split repositories for manifests and config? Do you mean manifests and hieradata in the same repository, but split into one repository per system? We can do it and this is currently the move we are trying to achieve. Problem is that we don't kn

[Puppet Users] Re: Custom Provider - Set all attributes on resource creation

2015-10-05 Thread jcbollinger
On Sunday, October 4, 2015 at 5:03:17 PM UTC-5, Danny Roberts wrote: > > I am writing my first custom type/provider for a Puppet module. I can > correctly check for, create & destroy an instance of a resource as well as > update attributes. The existing implementation of the provider is here:

[Puppet Users] Re: Warning: Unable to fetch my node definition, but the agent run will continue:

2015-10-05 Thread Dale Bradman
Hi Szerémi, I am new to Puppet. Could you explain this a little more please? I have my Puppet master and the node I am trying to run 'puppet agent --test' on however I am seeing the same error as Shawn. Which /etc/hosts file are you talking about - puppet master or the node? Thanks. On Friday

[Puppet Users] External fact script provided by module not parsing on CentOS6

2015-10-05 Thread Roan O'Sullivan
I think it's a permissions issue, but not sure how to best resolve. On CentOS6 the plugin sync sets file mode for external fact script (/var/opt/lib/pe-puppet/facts.d/myfacts.sh) to 0644, and then agent (or standalone puppet) reports that the file "parsed but returned an empty data set": [roo

[Puppet Users] Is there a more elegant way of declaring this variable and its value?

2015-10-05 Thread Fabien Delpierre
Hey folks, I have something like this in a manifest: class foo( $python_pips = { pbr => { ensure => '1.3.0', install_args => ['-I'] }, linecache2 => { ensure => '1.0.0', install_args => ['-I'] }, elasticsearch => { ensure => '1.6.0', install_args => ['-I'] }, }, ) { require p

[Puppet Users] Re: External fact script provided by module not parsing on CentOS6

2015-10-05 Thread Roan O'Sullivan
Seems like this may be a regression: https://tickets.puppetlabs.com/browse/PUP-2705 PUP-2705 was closed and marked as fixed in PUP 3.6.2 . However this same issue is occurring in PE 3.8.1. On Monday, October 5, 2015 at 11:47:08 AM

Re: [Puppet Users] Re: External fact script provided by module not parsing on CentOS6

2015-10-05 Thread Josh Cooper
Hi Roan, On Mon, Oct 5, 2015 at 9:36 AM, Roan O'Sullivan wrote: > Seems like this may be a regression: > https://tickets.puppetlabs.com/browse/PUP-2705 > > PUP-2705 was closed and marked as fixed in PUP 3.6.2 > . However > this same

Re: [Puppet Users] Re: External fact script provided by module not parsing on CentOS6

2015-10-05 Thread Roan O'Sullivan
Hmmm ... seems like the issue here may be r10k deploy. I've explicitly set +x on the file in Git repo, but "r10k deploy environment" does not update the file permissions. On Monday, October 5, 2015 at 1:12:48 PM UTC-4, Josh Cooper wrote: > > Hi Roan, > > On Mon, Oct 5, 2015 at 9:36 AM, Roan O'Su

Re: [Puppet Users] Is there a more elegant way of declaring this variable and its value?

2015-10-05 Thread Henrik Lindberg
On 2015-05-10 8:51, Fabien Delpierre wrote: Hey folks, I have something like this in a manifest: class foo( $python_pips = { pbr => { ensure => '1.3.0', install_args => ['-I'] }, linecache2 => { ensure => '1.0.0', install_args => ['-I'] }, elasticsearch => { ensure => '1.6.0'

[Puppet Users] Re: Custom Provider - Set all attributes on resource creation

2015-10-05 Thread Danny Roberts
Thanks John, most helpful. I agree its a documentation area Puppet is severely lacking in, hopefully one day they'll fix it as its all useful stuff. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiv

Re: [Puppet Users] Multi environment and multi system

2015-10-05 Thread Garrett Honeycutt
On 10/2/15 8:08 PM, Joao Morais wrote: > > How to manage a Puppet Server with multi-environment and multi-system? > > Background: > > I am using a `puppet-environments` repository with some branches that > represents my environments. r10k provides the sinchronization between > repository and Pup

Re: [Puppet Users] ANNOUNCE: puppet-retrospec -- automate your unit test creation and other cool stuff

2015-10-05 Thread Corey Osman
I'll be at the contributor summit and conference on thursday-friday. Whats the best way to get a hold of you? Corey On Friday, October 2, 2015 at 4:08:58 PM UTC-7, Henrik Lindberg wrote: > > On 2015-01-10 7:24, Corey Osman wrote: > > Last year I had an idea to create a tool to automate the bui