[Puppet Users] merge 2 of more files

2015-09-07 Thread Patrick G.
Hi, In /etc/puppet/hieradata/users/ I have 2 yaml files. For a node I want to merge these files and on the other node only one file. In the /etc/puppet/enc/nodes/server1.yaml I have: --- classes: - ssh parameters: usergroups: - group1 - group2 And on the other node only -group2.

Re: [Puppet Users] Re: puppetlabs-postgrest module not loaded

2015-09-07 Thread David Levray
Hello, sorry, but I do understand your réponce: but if I change something on the nodes/puppet-sql.alflab.net it gets reflected into the node with the new catalog. Mysql installed? different commands past returns 'nil': >> DEBUG: Fri Sep 04 20:19:04 +1000 2015: Looking up postgresql::server

Re: [Puppet Users] Re: puppetlabs-postgrest module not loaded

2015-09-07 Thread Alfredo De Luca
Hi David. Here is the output [root@puppet-server puppet]# ls -rtla /etc/hiera.yaml lrwxrwxrwx 1 root root 22 Sep 4 14:46 /etc/hiera.yaml -> /etc/puppet/hiera.yaml [root@puppet-server puppet]# The owner was root so I changed it as per your suggestions so now it's puppet. But still can't

[Puppet Users] (Amazon linux AMI) passenger starts but something is off?

2015-09-07 Thread Snd Lt
I'm trying to move over to AWS. Been installing puppet open source on Amazon Linux AMI. After hours of struggle, finally got passenger(ruby rack) to start. ("/var/log/httpd/error_log" been saying it can't find passenger rack to start but I provided correct ruby path now). But

[Puppet Users] Unable to setup Environments in 2015.2

2015-09-07 Thread giridhar kazama
HI, I have set up a master with 400+ agents. My master has 2015.2. I have to setup 4 environments and all are test environments. I've tried creating directories named with the test environments at /etc/puppetlabs/code/environments/test1 /etc/puppetlabs/code/environments/test2

Re: [Puppet Users] Why variables standing by themselves should be quoted in resource titles and only there?

2015-09-07 Thread Henrik Lindberg
On 2015-19-08 8:39, David Racodon wrote: Hi John, Thanks for your feedback. Actually, puppet-lint goes against this recommendation because it flags quoted resource titles containing only a variable as an issue: "string containing only a variable on line 8". Which is a different problem,

[Puppet Users] Re: MCollective Plugins - Can I Install with Puppet Collections?

2015-09-07 Thread Chad Thompson
Thank you! I opened a ticket earlier as well after posting this (https://tickets.puppetlabs.com/browse/MCO-722) - I didn't see the two that you posted. (In the meantime, I'll be trying to work around by installing from source into the 'libdir' if I can.) On Friday, September 4, 2015 at

Re: [Puppet Users] Is there a method for puppet to find all suid files?

2015-09-07 Thread Corey Osman
As Trevor mentioned above this is something you want to control externally via cron and not puppet. I took a slightly different approach and used an external fact which allowed be to write a fact in bash. There is no reason why you couldn't do this in a Ruby based fact but since all the