Re: [Puppet Users] Conditional Require For File Type

2015-01-14 Thread Felix Frank
On 01/14/2015 03:47 PM, Jason Wever wrote: > Hi All, > > I having a problem in where I'm defining a File Type and setting the > requires parameter to use a variable name (e.g. requires => $foo). > However, when I do this, the Puppet run doesn't act like it's > translating the variable into what it

[Puppet Users] Announce: CVE-2015-1029 - Vulnerability in puppetlabs-stdlib module fact cache

2015-01-14 Thread Geoff Nichols
CVE-2015-1029 - Vulnerability in puppetlabs-stdlib module fact cache Assessed Risk Level: Low An issue exists where a non-privileged user may, under certain circumstances, be able to pre-populate the puppetlabs-stdlib module’s fact cache, potentially allowing local privilege escalation or local i

Re: [Puppet Users] Re: Rootless Puppet

2015-01-14 Thread Felix Frank
On 01/14/2015 09:55 AM, KEIGNAERT Mathieu wrote: > Dear all, > > I am very new to puppet, I have been playing with puppet a long time > ago, I haven't done anything recently with puppet but I try to follow it. > One of my main concern with puppet and what I try to achieve is to > have puppet runnin

Re: [Puppet Users] Re: Puppet hangs when hiera data uses hiera lookup

2015-01-14 Thread James Olin Oden
I think that is the answer. Probably when we go to Fedora 21 (because I'm lazy and don't want to rebuild or go past what is in the Fedora repos) we probably see this feature come in. For now I've hard coded the data, and left a note to fix it. So ultimately this isn't a bug to be reported, it'

[Puppet Users] Re: Puppet hangs when hiera data uses hiera lookup

2015-01-14 Thread Tony Thayer
Are you running PE 3.4.2? I don't think it came with Hiera 1.3 bundled (the version that supports nested Hiera calls). Calling hiera from the command line won't necessarily use the same hiera gem PE is using. This bit me a few times when I was exploring using PE last year. On Tuesday, January 1

[Puppet Users] update package with condition

2015-01-14 Thread puppetstan
Hi, I would like to update the package facter on all of my servers. (I can not use INSTALL_OPTIONS because my puppet version is too old) I added a condition--> if the package facter is installed AND if facter version is not facter-1.7.6-1.el6.x86_64.rpm I install the package but I think I have

Re: [Puppet Users] Puppet runs the yum install command per each package

2015-01-14 Thread Josh Cooper
On Wed, Jan 14, 2015 at 5:39 AM, Royee Tager wrote: > How can I enforce Puppet to run only one yum install command if my > manifest is: > > $install_packages_el6 = ['sshpass', 'mysql', 'redhat-lsb', > 'MySQL-python','python-paramiko','git','net-snmp-utils','python-configobj','pciutils','sg3_utils

[Puppet Users] Re: troubleshoot classes to nodes assignments

2015-01-14 Thread jcbollinger
On Wednesday, January 14, 2015 at 7:10:01 AM UTC-6, puppetrier wrote: > > Some success: although I haven't solved the problem with site.pp (probably > due to hiera configuring environment folders - that I still can't > troubleshoot...) things start working with a custom ENC. > One of the reaso

[Puppet Users] Conditional Require For File Type

2015-01-14 Thread Jason Wever
Hi All, I having a problem in where I'm defining a File Type and setting the requires parameter to use a variable name (e.g. requires => $foo). However, when I do this, the Puppet run doesn't act like it's translating the variable into what it should be set to. $foo should resolve to either Class

Re: [Puppet Users] Re: Rootless Puppet

2015-01-14 Thread KEIGNAERT Mathieu
Dear all, I am very new to puppet, I have been playing with puppet a long time ago, I haven't done anything recently with puppet but I try to follow it. One of my main concern with puppet and what I try to achieve is to have puppet running as both root and non root in the same time. It won't be

[Puppet Users] Puppet runs the yum install command per each package

2015-01-14 Thread Royee Tager
How can I enforce Puppet to run only one yum install command if my manifest is: $install_packages_el6 = ['sshpass', 'mysql', 'redhat-lsb', 'MySQL-python','python-paramiko','git','net-snmp-utils','python-configobj','pciutils','sg3_utils','sg3_utils-libs','net-snmp','python', 'wget', 'python-dec

[Puppet Users] Re: troubleshoot classes to nodes assignments

2015-01-14 Thread puppetrier
Some success: although I haven't solved the problem with site.pp (probably due to hiera configuring environment folders - that I still can't troubleshoot...) things start working with a custom ENC. One of the reasons why ENC didn't work the first time was a class in default master modules that

Re: [Puppet Users] Forge module etiquette

2015-01-14 Thread Jonathan Gazeley
I suppose that's the least bad option. Ta-da! https://forge.puppetlabs.com/jgazeley/selinux Cheers, Jonathan On 13/01/15 16:53, Dan White wrote: How about this as an example ? : https://forge.puppetlabs.com/puppetlabs/nginx They set the version to 99.99.99 and made a notation that that the

[Puppet Users] lambda with Custom facter

2015-01-14 Thread Ashish Jaiswal
Hi, I have a custom facter which spits out like this # facter -p xfs_mounts => ["/docroot", "/ecr", "/intprd", "/mysql"] Now I want to iterate over this. so thought lambda is the one. $a=$xfs_mounts each($a) | $value | { device { $value : } } which is not working, giving error as follo

[Puppet Users] MCollective: Problem on CentOS6

2015-01-14 Thread Dirk Heinrichs
Hi, I've installed MCollective 2.7.0 incl. facter plugin from packages on two Ubuntu 14.04 and two Centos 6.6 machines. server.cfg is identical on all 4 machines. However, while initial "mco ping" commands receive replies from all 4 hosts, the Centos 6 hosts stop replying as soon as any other comm