Re: [Puppet Users] jenkins workflow

2014-08-06 Thread John Warburton
On 7 August 2014 02:17, Bernard Clark wrote: > I'm setting up a jenkins server to perform continuous integration on my > puppet codebase, and I'm interested in running at least the following tests: > >- puppet parser validate >- puppet lint > > These are cheap to do. Give yourself immedia

[Puppet Users] Puppet's yumhelper.py vs. other pythons on the system

2014-08-06 Thread johnjmedway
When trying to add packages to a CentOS 6 system I am getting chronic errors of the form: Error: Could not get latest version: Execution of '/usr/local/bin/python /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yumhelper.py' returned 1: Error: /Stage[main]/Jenkins_packages::Centos/Package

Re: [Puppet Users] scripts

2014-08-06 Thread Xav Paice
On 07/08/14 09:07, Dan White wrote: > And this is the second time you have asked almost the same question in > rapid succession. > > You might want to read some of the Puppet documentation. > > On Aug 6, 2014, at 3:21 PM, Cathal O Mul > wrote: > >> I have a file

Re: [Puppet Users] scripts

2014-08-06 Thread Dan White
And this is the second time you have asked almost the same question in rapid succession. You might want to read some of the Puppet documentation. "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Bill Waterso

Re: [Puppet Users] Where can I download Puppet Dashboard 2.0?

2014-08-06 Thread Stella
Thanks a lot, Martin! I have downloaded and will give it a try. On Wednesday, August 6, 2014 4:16:03 AM UTC-4, Martin Alfke wrote: > > Hi Stella, > > you can find the Puppet open source dashboard on github: > https://github.com/sodabrew/puppet-dashboard/tree/master > > Version 2.0 is available

Re: [Puppet Users] Change Hostname on Puppet Master

2014-08-06 Thread Nan Liu
On Wed, Aug 6, 2014 at 12:28 AM, Juan Sierra Pons wrote: > 2014-08-05 23:23 GMT+02:00 Gabriel Filion : > > On 05/08/14 01:28 PM, Nan Liu wrote: > >> Please don't resign all client certificates. All you need to do is > >> recreate a puppet master certificate with dns alt name accepting both > >> t

[Puppet Users] scripts

2014-08-06 Thread Steven VanDevender
Cathal O Mul writes: > I have a file call pr.sh it is a scrip I would like puppet to run it > how would I go about doing this This is what Puppet "exec" resources are for, although one should use those sparingly and only if what you want to accomplish can't be done using some other resource type

[Puppet Users] run bash script from puppet

2014-08-06 Thread Steven VanDevender
Cathal O Mul writes: > i am new to puppet > I want to run a file called remove > This file removes a file > File remove > rm test101 > How do i get puppet to run this file ? In this specific case it would probably be better to use a Puppet "file" resource to perform the removal of the file:

[Puppet Users] scripts

2014-08-06 Thread Cathal O Mul
I have a file call pr.sh it is a scrip I would like puppet to run it how would I go about doing this -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-use

Re: [Puppet Users] run bash script from puppet

2014-08-06 Thread Dan White
file { 'test101': ensure => absent, } The proper way is to tell Puppet that this file should not exist. Then Puppet runs the appropriate command to comply. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”

[Puppet Users] run bash script from puppet

2014-08-06 Thread Cathal O Mul
i am new to puppet I want to run a file called remove This file removes a file File remove rm test101 How do i get puppet to run this file ? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop r

Re: [Puppet Users] jenkins workflow

2014-08-06 Thread Atom Powers
I've started to use beaker instead of test-kitchen, especially with docker instances. This should let me test specific roles/profiles for functionality rather than just syntax correctness. On Wed, Aug 6, 2014 at 10:00 AM, Christopher Wood < christopher_w...@pobox.com> wrote: > Also check to see

[Puppet Users] CF3 to PE 3.3 - Hiera Question

2014-08-06 Thread Tom Tucker
I’m in the process of migrating from CFEngine 3 to PE 3.3 so please pardon me if my terminology is off. With CFEngine I could build arrays, define a hostname regex or define network segment variables to gain further control. How do you do this with Hiera? CFEngine Examples #

Re: [Puppet Users] Hiera backend and web interface for multiple users

2014-08-06 Thread José Luis Ledesma
Hi, Couchdb has a native web interface( futon) and allows permissions at db level. You can have different DBs in your hierarchy to allow different groups to add their data. Regards, El 05/08/2014 16:52, "Andy Taylor" escribió: > Hi, > > What do you all use as your Hiera backend? We've been usi

Re: [Puppet Users] jenkins workflow

2014-08-06 Thread Christopher Wood
Also check to see that your templates compile and that ruby can read all your yaml files without erroring? We just have the checks which we run intermittently, currently there's no snazzy integration beyond jenkins failing a run and us getting a sad email, and I have other priorities right now.

[Puppet Users] jenkins workflow

2014-08-06 Thread Bernard Clark
I'm setting up a jenkins server to perform continuous integration on my puppet codebase, and I'm interested in running at least the following tests: - puppet parser validate - puppet lint - rspec-puppet - test-kitchen Have I overlooked any other worthwhile tests, and has the communit

Re: [Puppet Users] Change Hostname on Puppet Master

2014-08-06 Thread Jake Lundberg
Actually, disregard, I'm thinking of the client side. -- Jake Lundberg Senior Systems Engineer jlundb...@adconion.com +1.310.382.5581 On Wed, Aug 6, 2014 at 11:12 PM, Jake Lundberg wrote: > Do you even need to do this? Can't you just use the certname > configuration variable on the puppetmast

Re: [Puppet Users] Change Hostname on Puppet Master

2014-08-06 Thread Jake Lundberg
Do you even need to do this? Can't you just use the certname configuration variable on the puppetmaster and just set it to the old name? On Wednesday, August 6, 2014 3:40:38 AM UTC+7, Jose Luis Ledesma wrote: > > +1 > You don't need to re-register all clients. Just generate a new cert for >

[Puppet Users] File Server through Passenger

2014-08-06 Thread Ed
Hi, I've setup the apache VHOST to serve the puppet master process through Passenger, however I only want this to act as a file server to the main puppet master. I have also set my /etc/puppet/fileserver.conf to allow access, however, when starting, the Passenger process is complaining that th

[Puppet Users] Autoami module configuration error

2014-08-06 Thread viks
Hi, Have installed autoami module but it gives error as below: root@ip-10-0-0-152:/etc/puppet/modules/autoami/lib/puppet# puppet help *Error: Could not autoload puppet/face/autoami/autoami: "--server=": already defined in puppet* Usage: puppet [options] [options] Available subcommands:

[Puppet Users] Access to apt.puppetlabs.com slow for some IP addresses

2014-08-06 Thread Johannes Grassler
Hello, we are currently creating and tearing down lots of VMs in our lab environment. This includes retrieving and installing Puppet from the Puppetlabs repository at apt.puppetlabs.com. Recently we found that from some addresses in our lab's /24 access to http://apt.puppetlabs.com is painfull

Re: [Puppet Users] Where can I download Puppet Dashboard 2.0?

2014-08-06 Thread Martin Alfke
Hi Stella, you can find the Puppet open source dashboard on github: https://github.com/sodabrew/puppet-dashboard/tree/master Version 2.0 is available as tag (2.0 beta2). hth, Martin On 05 Aug 2014, at 14:53, Stella wrote: > I am now using Puppet Dashboard 1.2.23. Where can I download Puppet

Re: [Puppet Users] Change Hostname on Puppet Master

2014-08-06 Thread Juan Sierra Pons
2014-08-05 23:23 GMT+02:00 Gabriel Filion : > On 05/08/14 01:28 PM, Nan Liu wrote: >> Please don't resign all client certificates. All you need to do is >> recreate a puppet master certificate with dns alt name accepting both >> the old and new puppet master hostname. Because passenger and other >>