Re: [Puppet Users] Puppet under HA Environment

2013-08-29 Thread Peter Bukowinski
There *is* a (semi-)randomizer. Look at the splay option in the puppet.conf http://docs.puppetlabs.com/references/latest/configuration.html#splay -- Peter (from phone) On Aug 29, 2013, at 10:21 PM, Stuart Cracraft wrote: > I think there should be a randomizer built-in to prevent this without t

Re: [Puppet Users] puppet client

2013-08-29 Thread Stuart Cracraft
I'm just placing all the rpm's at the el5 and el6 directories at puppetlabs locally, doing a createrepo for each and then using those as the local yum sources. For one-offs that require twiddling/tweaking, I'll deal with them as they come up post-deployment or in-production already. Can't save

Re: [Puppet Users] Puppet under HA Environment

2013-08-29 Thread Stuart Cracraft
I think there should be a randomizer built-in to prevent this without these kinds of manual requirements. On Aug 29, 2013, at 5:16 PM, Matt Shields wrote: > How about turning off the puppet agent on all the machines, make the change, > then turning them back on a few at a time. > > Matt > >

Re: [Puppet Users] Puppet under HA Environment

2013-08-29 Thread Matt Shields
How about turning off the puppet agent on all the machines, make the change, then turning them back on a few at a time. Matt On Thu, Aug 29, 2013 at 4:50 PM, wrote: > How do I avoid a situation where all of my Linux servers execute a service > restart at the same time upon receiving a new conf

Re: [Puppet Users] Re: Problem of ordering with exported files

2013-08-29 Thread François Lafont
Le 28/08/2013 16:53, jcbollinger wrote : >> As a result, I have deduced that this code below was correct *and* not >> redundant: >> >> >> # 1. One declaration. >> file { '/usr/local/puppet_host/list': >> mode=> 440, >> content => "List.\n"

Re: [Puppet Users] Re: Bay Area training in September

2013-08-29 Thread Dawn Foster
On Thu, Aug 29, 2013 at 11:44 AM, chittaranjan reddy wrote: > Hi James, > > Pleae let me know where do I book slot for training? > > I need training info.. We have online training available: http://puppetlabs.com/services/training/online-learning Or you can look for a training session in your ar

[Puppet Users] Puppet under HA Environment

2013-08-29 Thread rjbutler3
How do I avoid a situation where all of my Linux servers execute a service restart at the same time upon receiving a new configuration change via Puppet? I am trying to avoid any possibility that the service would be unavailable for any length of time. The servers are behind a load balancer

[Puppet Users] Hiera and hiera-gpg

2013-08-29 Thread Worker Bee
I am having a bit of difficulty implementing hiera-gpg; particularly with accomplishing the deencryption in my manifests. Can anyone either provide a simple example or point me to a good resource? I have searched alot and am still struggling. Any help would be very appreciated! Thanks! Bee --

[Puppet Users] Re: Any interest in an Austin puppet users group?

2013-08-29 Thread Byron Miller
I've got a few people interested. Looking to possibly start a group page somewhere or a meetup group. -byron On Tuesday, August 27, 2013 4:01:33 PM UTC-5, Byron Miller wrote: > > We have some great groups here in Austin with regular meetups but nothing > really focused on Puppet and the typic

[Puppet Users] Re: Bay Area training in September

2013-08-29 Thread chittaranjan reddy
Hi James, Pleae let me know where do I book slot for training? I need training info.. Regards, Chittu On Thursday, August 26, 2010 2:41:17 PM UTC-7, James Turnbull wrote: > > Hi all > > We're running a three-day training session on the Bay Area: > > http://www.puppetlabs.com/events/bay-area-tra

RE: [Puppet Users] puppet client

2013-08-29 Thread Steven Nemetz
Follow the instructions for RedHat. It is the same. Just match el5 or el6 If you do it via yum, I think it will auto install all the dependencies. puppet, facter, augeas, hiera, ruby-shadow Been using enterprise so not sure if there is anything else for community version or 3.x. Still on 2.7 As

Re: [Puppet Users] puppet client

2013-08-29 Thread Stuart Cracraft
I assume it is just the version of puppet client which matches the master's own client and server which is 3.2.1. I.e. puppet-3.2.1-1.el5.noarch.rpm facter as well Any others for an Oracle UEK client? --Stuart RHCE/RHCSA/Oracle DBA/Sun/Mensa On Aug 29, 2013, at 9:17 AM, Stuart Cracr

Re: [Puppet Users] puppet client

2013-08-29 Thread Stuart Cracraft
Good morning! What are the relevant client rpms and URL for puppet client install to Oracle UEK Linux? I'm sitting at, in a browser: http://yum.puppetlabs.com/el/5Client/products/x86_64 Also, can you speak more to: > Some modules need to get slightly modified to recognize Oracle EL Thanky

[Puppet Users] Puppet for Managing Windows Nodes??

2013-08-29 Thread Jason Mathew
Hello All, I am new to the Puppet world. What I"m trying to do is do a Proof of Concept for puppet to see if we can use it to manage our windows nodes. I have a Dev environment setup with a SLES 11 Puppet master and some windows nodes (Win7,Win2k8). What i'm trying to do is create a "m

[Puppet Users] Yaml reports not uploading to puppet dashboard

2013-08-29 Thread Natraj L
Hi, Iam a newbie to puppet, iam trying to set my local puppet master and dashboard running on same server. Iam also using https to connect to dashboard. I can launch the dashboard on https://IP fine but i see only one report on the webpage, When i tried to import all the previous reports iam g

Re: [Puppet Users] Seeing an error that is totally confusing the heck out of me

2013-08-29 Thread Jay Kumbhani
Thanks Brother!!! This helps a lot to me. On Tuesday, October 9, 2012 9:26:42 PM UTC+5:30, Salty Old Cowdawg wrote: > > > On Tue, Oct 9, 2012 at 11:52 AM, Michael Stahnke > > > wrote: > >> >> The contents of that php/manifests/init.pp file might be helpful here. >> >> It actually turned out to

Re: [Puppet Users] What is the alternative to Ruby DSL as use of the Ruby DSL is deprecated ?

2013-08-29 Thread Erik Dalén
In puppet 3.2+ you can enable the future parser (--parser=future) which allows iteration like that directly in the puppet language. On 26 August 2013 03:58, Stefan Schmid wrote: > > Hi Mike > > Yes, create_resources seems to be just right. > Thanks for the hint. > > - Stefan > > Am Sonntag, 25

Re: [Puppet Users] CREATE command denied to user 'dashboard'@'localhost' for table 'schema_migrations'

2013-08-29 Thread Chris McDermott
It looks like the mysql user 'dashboard'@'localhost' doesn't have the right set of privilege grants. Chris On Wed, Aug 28, 2013 at 10:15 PM, karl hui wrote: > Hi Puppet Users group, > > I have followed the guide to the puppet-dashboard DB "Preparing Schema" > part, once I run " rake RAILS_ENV=

[Puppet Users] Re: Run a script if port is not running

2013-08-29 Thread phundisk
You can most likely use an exec with an 'onlyif' parameter with netstat or lsof. But like other people are posting, probably better off as a service. Let me know if you figure out the exact exec onlyif command you used, would be good to know. exec { "run_account_purger": command => "/usr/

[Puppet Users] Re: "puppet module generate" using wrong name for directory?

2013-08-29 Thread jcbollinger
On Wednesday, August 28, 2013 7:39:00 PM UTC-5, Dennis Jacobfeuerborn wrote: > > Hi, > I'm looking into writing proper modules and starting off with "puppet > module generate" but it seems the tool uses an invalid name for the > directory. > When i specify "mymodule" as a name it tells me I nee

Re: [Puppet Users] Best practices for infrastructure

2013-08-29 Thread jcbollinger
On Wednesday, August 28, 2013 12:00:21 PM UTC-5, Martin Langhoff wrote: > > On Wed, Aug 28, 2013 at 9:31 AM, jcbollinger > > > wrote: > > If the objective is to render it into a small number of words, > > Just to double-check my understanding is right. If the client-reported > $::hostname do

Re: [Puppet Users] pupplet-labs/firewall module errors

2013-08-29 Thread Ashley Penney
On Thu, Aug 29, 2013 at 12:57 AM, Amol Kedar wrote: > i see this error on the daemon.log of the agent machine > > Aug 28 17:11:07 dev2-db puppet-agent[5154]: > (/Stage[main]//Node[dev2-db]/Resources[firewall]) Failed to generate > additional resources using 'generate': Invalid address from IPAd

[Puppet Users] puppetlabs/openstack

2013-08-29 Thread Thomas Bendler
Hi @all, I'm trying to setup an openstack test cluster with one controller node and three compute nodes. Therefor I've used the puppetlabs openstack modules. On the controller node I've used: - openstack::auth_file - openstack::controller - openstack::repo - openstack::repo::yum_refr