[Puppet Users] Re: Did PE 3.7 kills r10k?

2014-12-27 Thread Vadym Chepkov
Hi Justin, That definitely helps, worked like a charm, thank you. Vadym On Saturday, December 27, 2014 4:54:57 PM UTC-5, Justin Holguin wrote: > > Hi Vadym, > > The new classifier does allow agents to specify their own environments, > but it involves an extra couple of steps. What you'll want

[Puppet Users] Re: Did PE 3.7 kills r10k?

2014-12-27 Thread Justin Holguin
Hi Vadym, The new classifier does allow agents to specify their own environments, but it involves an extra couple of steps. What you'll want to do is create a new group for the nodes that you're concerned with (which could be all of them) and set the environment of the new group to "agent-speci

Re: [Puppet Users] Did PE 3.7 kills r10k?

2014-12-27 Thread chris mague
Vadym, I ran into the same problem and was able to work around as follows with the caveat that it's unsupported: sudo su - pe-postgres psql \connect pe-classifier select * from groups; # write everything down update groups set environment_name='agent-specified' where environment_name='productio

Re: [Puppet Users] Did PE 3.7 kills r10k?

2014-12-27 Thread Vadym Chepkov
On Saturday, December 27, 2014 9:44:44 AM UTC-5, Martin Alfke wrote: > > Hi Vadym, > > the PE node classifier is an ENC. > This ENC sets environments per nodes as an authority. Nodes can no longer > switch their environments if you use an ENC with environment parameters > set. > > You still

Re: [Puppet Users] selinux / selboolean error

2014-12-27 Thread Martin Alfke
Hi Paul, some more insight: if $::selinux is true if the variable exists and does not contain the bool value ‘false’ Facter returns a string and therefor the if$var will always apply. You have two possibilities: 1. like Johan mentioned: Check for the proper value: if $::selinux == ‘true’ 2. m

Re: [Puppet Users] Use ftp as source for file

2014-12-27 Thread Martin Alfke
Hi, instead of using exec’s you might want to dig into existing modules and their defines, types and providers: https://github.com/camptocamp/puppet-archive https://github.com/maestrodev/puppet-wget When using exec resources you have to ensure by yourself that the exec runs only in case of cha

Re: [Puppet Users] Did PE 3.7 kills r10k?

2014-12-27 Thread Martin Alfke
Hi Vadym, the PE node classifier is an ENC. This ENC sets environments per nodes as an authority. Nodes can no longer switch their environments if you use an ENC with environment parameters set. You still have the technical possibility to continue using manifests based node classification and t