Re: [Puppet Users] permission denied on files

2015-06-19 Thread Tim Dunphy
I got a little closer to the answer on this. The error seems to be SELinux related. If I disable SELinux on the puppet master, the error goes away on the client. I found this in my audit log on the puppet server: type=AVC msg=audit(1434769414.956:562): avc: denied { open } for pid=3558 comm=

[Puppet Users] Re: No certificates in /var/lib/puppet/ssl/ca/signed

2015-06-19 Thread Brian Morris
My signed certs are at /etc/puppet/ssl/ca/signed. Have you checked there? Brian On Tuesday, June 9, 2015 at 2:17:41 PM UTC-7, Alastair wrote: > > Hi everyone, > > I have noticed an unexpected change in the behaviour of my puppet > infrastructure that I can't explain. > > I am using puppet 3.8.1

Re: [Puppet Users] passing custom fact into a variable

2015-06-19 Thread Toky
I just noticed... was trying to delete this message before it got an answer... I guess it will live on now :) Thanks for the reply. -Cheers, On Friday, June 19, 2015 at 3:22:22 PM UTC-4, Peter Huene wrote: > > Hi Toky, > > On Fri, Jun 19, 2015 at 12:16 PM, Toky > > wrote: > >> I have a custom

Re: [Puppet Users] passing custom fact into a variable

2015-06-19 Thread Peter Huene
Hi Toky, On Fri, Jun 19, 2015 at 12:16 PM, Toky wrote: > I have a custom fact (creationkey) which gives me the AWS Creation key > name (this is also a local linux user account). I'm trying to use that fact > with the rvm module. > > https://forge.puppetlabs.com/maestrodev/rvm/readme > > rvm::sys

[Puppet Users] passing custom fact into a variable

2015-06-19 Thread Toky
I have a custom fact (creationkey) which gives me the AWS Creation key name (this is also a local linux user account). I'm trying to use that fact with the rvm module. https://forge.puppetlabs.com/maestrodev/rvm/readme rvm::system_user { bturner: ; jdoe: ; jsmith: ; } I've tried the following:

[Puppet Users] Re: How to have puppet install package only if one file doesn't exist?

2015-06-19 Thread Toky
I think the cleanest way would be to check on the package resource like so: package { "flex-devel": ensure => 'present', unless => '/usr/bin/test -f /usr/lib/libl.a', } Docs => https://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html#unless-statements Cheers, On Wednesday

Re: [Puppet Users] A few getting started questions

2015-06-19 Thread Adaryl Wakefield
My name node has 1TB of HD space and 30 gig of ram. Puppet isn't something that's constantly running is it? Like it's not constantly pinging the agent nodes? B. On Friday, June 19, 2015 at 11:38:59 AM UTC-5, LinuxDan wrote: > > Inline responses > > > On Jun 19, 2015, at 12:27 PM, Adaryl Wakefie

Re: [Puppet Users] A few getting started questions

2015-06-19 Thread Dan White
Inline responses > On Jun 19, 2015, at 12:27 PM, Adaryl Wakefield > wrote: > > I'm trying to get started with Puppet and have a few questions: > 1. Is this the right place to ask questions or should I use the message > boards instead? This is one of many places to ask. There is the Ask Puppet

[Puppet Users] A few getting started questions

2015-06-19 Thread Adaryl Wakefield
I'm trying to get started with Puppet and have a few questions: 1. Is this the right place to ask questions or should I use the message boards instead? 2. Is there a well organized "learn puppet" book? The one I have is kind of a mess. I tried the docs on the Puppet website and I get lost jumping

[Puppet Users] SSL Cert errors when puppet agent is also the master

2015-06-19 Thread Jeff Johnson
I have just stood up a new open source puppet master (in this case master is ep1p-apux06, aka puppet.domain.com). I have added an external test agent and everything appears to be running correctly. As a test, I have added a single module and if I make changes to the module, I can see it propagat

[Puppet Users] Re: Open Source 4.0 version identifier vs. very different rpm and dpkg package versions

2015-06-19 Thread priyajit nayak
how to run puppet agent using non sudo command On Tuesday, April 21, 2015 at 1:04:47 AM UTC+5:30, Vince Skahan wrote: > > I just set up a couple 4.0.0 virtual machines, trying to follow the > installation instructions as-written on the website, and found some > confusing things. > > First - can

[Puppet Users] Puppet Master as agent to itself continues to generate SSL errors

2015-06-19 Thread Jeff Johnson
I've been battling this issue all week with a new puppet (open source) build out. I stood up the puppet master and configured it. I have a test agent that works correctly (external to the master). However, the master is also an agent pointing to itself. In this instance, ep1p-apux06 is the pupp

[Puppet Users] Make Puppet 3.8.1 Use Ruby Version 2.1

2015-06-19 Thread Dan Gibbons
Hi, I'm running a Centos 7 server, puppet 3.8.1 and Ruby 2.1.0 but I'm having problems trying to get puppet to parse my ruby template which uses open3.capture3 (only available in ruby versions greater than). It looks like when i call me template like: template("windows/get_ssl_thumbprint_by_fri

Re: [Puppet Users] Re: Concat params along a node.

2015-06-19 Thread jcbollinger
On Thursday, June 18, 2015 at 9:17:10 AM UTC-5, Albert Shih wrote: > > Le 12/06/2015 à 07:06:49-0700, jcbollinger a écrit > > > > You don't. If you were willing to write a custom function or possibly > to > > That' sucks ... > > > engage in some ruby-fu inan inline template then you could e

Re: [Puppet Users] Puppet 4 on Debian

2015-06-19 Thread Louis Coilliot
Hello, the repo is : # Puppetlabs PC1 Repository deb http://apt.puppetlabs.com wheezy PC1 deb-src http://apt.puppetlabs.com wheezy PC1 The puppet 'master' package name is puppetserver The puppet agent package name is puppet-agent root@bunsen:~# LANG=c dpkg -l puppetserver Desired=Unknown/Inst

[Puppet Users] Puppet 4 on Debian

2015-06-19 Thread Rainer Sokoll
Hi, sorry if my question is totally silly - I am a newbie in Puppet. I want to install latest puppet on Debian. So I followed the instructions given in http://docs.puppetlabs.com/puppet/4.1/reference/install_linux.html. http://apt.puppetlabs.com/puppetlabs-release-pc1-wheezy.deb adds apt.puppetl

[Puppet Users] hiera and puppet environments ( directory)

2015-06-19 Thread Helen Paterson
Hi, I'm trying to set-up puppet environment so that our ymal files can usernames and passwords for Production and test ( dq), modules will be the same. I have run through the documentation but am getting the following error: client error Error: Could not retrieve catalog from remote server: E