[Puppet Users] Re: Puppet on RedHat - Manage Kernel Modules ?

2012-02-24 Thread Jared Curtis
Sorry about the format, try this https://gist.github.com/1904714 On Feb 24, 3:54 pm, Jared Curtis wrote: > I haven't tested this but it should work. > > class kernel(version='latest') > { >   package { 'rhel- > kernel': >     ensure => > $version, >     alias  => > kernel, >     notify => Exec['r

[Puppet Users] Re: Puppet on RedHat - Manage Kernel Modules ?

2012-02-24 Thread Jared Curtis
I haven't tested this but it should work. class kernel(version='latest') { package { 'rhel- kernel': ensure => $version, alias => kernel, notify => Exec['rebuild gahrbaj'], } exec { 'rebuild gahrbaj': cwd => '/foo/bar/ gahrbaj', command => '/usr/bin/make; /u

[Puppet Users] Announce: Puppet 2.7.12rc1 Available

2012-02-24 Thread Matthaus Litteken
Puppet 2.7.12rc1 is a maintenance release candidate for Puppet in the 2.7.x series. This release is on the heels of Puppet 2.7.11 because we our monthly release for February got delayed by our security release. Downloads are available: * Source http://downloads.puppetlabs.com/puppet/puppet-2.7.1

[Puppet Users] Re: Connections from any host to puppetmaster server times out

2012-02-24 Thread weloki
Thanks for the response John. I was able to ping the master from the hosts and port 8140 was open/ listening. The only firewall on the master was UFW, but I hadn't modified it. The master was actually a VM and the hosts were a mix of VMs and physical boxes. I decided to backup all my Puppet stuff,

Re: [Puppet Users] puppet kick failing

2012-02-24 Thread Dan Urist
Never mind-- the issue was that my client is a virtual server (linux vserver) and the host's puppet agent had the default bind address of 0.0.0.0, so it was grabbing all the addresses and the agent couldn't start on the vserver. I changed the bind address for the host, started the agent on the clie

[Puppet Users] Re: Deploying puppet via NFS

2012-02-24 Thread Forrie
Also, the puppet I'm using (on all systems) is installed from the gem. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-user

[Puppet Users] Re: Deploying puppet via NFS

2012-02-24 Thread Forrie
I built Ruby with: ./configure --prefix=/local I see that you can specify a number of options with ./configure, including: --with-sitedir=DIR site libraries in DIR [LIBDIR/ruby/site_ruby] but the defaults for this should just work with that switch. I see these options, too: --exec-pre

Re: [Puppet Users] Announce: Puppet 2.7.11 Available [security/maintenance update]

2012-02-24 Thread Matthaus Litteken
You're totally right. It looks like the rpms for puppet-2.7.11-1 were built from a stale tag on our end. I've built a new rpm for 2.7.11 called puppet-2.7.11-2. It includes the fixes for #12572. The debs, gems, dmg and tarball were all fine, only the rpms were affected. Thanks for letting us know

Re: [Puppet Users] puppet kick failing

2012-02-24 Thread Dan Urist
On Fri, 24 Feb 2012 12:39:20 -0500 Adam Heinz wrote: > I upgraded from puppet 0.25.5 to 2.6.12 recently and ended up doing > puppetca --clean then --sign again for each of my hosts. Seemed a bit > brute force, but it got me out of the bind. I tried cleaning out and regenerating the cert for my

Re: [Puppet Users] puppet kick failing

2012-02-24 Thread Adam Heinz
I upgraded from puppet 0.25.5 to 2.6.12 recently and ended up doing puppetca --clean then --sign again for each of my hosts. Seemed a bit brute force, but it got me out of the bind. On Fri, Feb 24, 2012 at 12:30 PM, Dan Urist wrote: > puppet kick ceased working for me when I upgraded to 2.6.3; I

[Puppet Users] puppet kick failing

2012-02-24 Thread Dan Urist
puppet kick ceased working for me when I upgraded to 2.6.3; I've also tried it with 2.7.10 and get the same result: > r...@npuppet.ucar.edu $ puppet kick vanilla.cms.ucar.edu > Triggering vanilla.cms.ucar.edu > Host vanilla.cms.ucar.edu failed: Server hostname 'vanilla.cms.ucar.edu' did > not mat

Re: [Puppet Users] Announce: Puppet 2.7.11 Available [security/maintenance update]

2012-02-24 Thread Stefan Heijmans
same is for RHEL5 (binary rpm), I see that the rpm on yum.puppetlabs.com is from 22-Feb-2012 and the http://projects.puppetlabs.com/issues/12572 is closed 17hours ago, thats later then the released rpm. # rpm -q puppet puppet-server puppet-2.7.11-1.el5 puppet-server-2.7.11-1.el5 # #vim /usr/lib

[Puppet Users] Puppet on RedHat - Manage Kernel Modules ?

2012-02-24 Thread Dan White
Can puppet manage kernel customization on RedHat ? I have some third-party gahrbaj that needs its own kernel level driver to work. And, or course, every time the kerner version bumps up, it breaks until you rebuild the custom stuff into the new kernel. “Sometimes I think the surest sign that int

[Puppet Users] Re: RHEL4 + 2.6.11 and Puppet CA/Master at 2.7.9

2012-02-24 Thread ollies...@googlemail.com
This actually comes back with:- info: Creating a new SSL key for warning: peer certificate won't be verified in this SSL session. info: Caching certificate for ca warning: peer certificate won't be verified in this SSL session. warning: peer certificate won't be verified in this SSL session. info

[Puppet Users] Looping through all registered client nodes?

2012-02-24 Thread H. Wade Minter
I'm looking to see if there's a way that I can set up a class on my puppetmaster node to loop through all of the defined nodes and add a hosts entry for the internal IP. I think I'm good with the actual adding of the entry, but I'm curious as to how to get access to all defined hosts and loop throu

Re: [Puppet Users] Re: Mounts occasionally not applied on first run

2012-02-24 Thread Gonzalo Servat
On Sat, Feb 25, 2012 at 2:06 AM, jcbollinger wrote: > > I have not noticed this behavior, but you're a little vague. Yes, I guess I wasn't sure what I could provide in terms of detail so your questions help! When you say that the Mount resources are not applied, what exactly does > that > mean?

[Puppet Users] Re: Best way to test changes?

2012-02-24 Thread Jos Houtman
We have a stable environment and an evironment for every developer. Upon changes we manually test the change using the different environments. We also have alerting on the /var/lib/puppet/state/ last_run_summary.yaml file, which tells us if a manifest did not apply properly. Cheers, Jos On Feb

[Puppet Users] Re: Mounts occasionally not applied on first run

2012-02-24 Thread jcbollinger
On Feb 23, 6:18 pm, Gonzalo Servat wrote: > Hi All, > > Strange problem specifically to do with mounts. When I run Puppet for the > first time on a server, occasionally everything will get applied except for > mounts, and other times mounts are applied as part of the first run. No > errors in /v

[Puppet Users] Re: Cache for the local system while offline

2012-02-24 Thread mukulm
Hi, Please assist on the below request as I am not able to receive the updates offline. Thanks mukulm On Feb 20, 7:59 pm, mukulm wrote: > I am not able tocachethe updates from the server as I had updated > the nodes puppet.conf with usecacheonfailure=true or any other info > need to be update

[Puppet Users] Re: Deploying puppet via NFS

2012-02-24 Thread jcbollinger
On Feb 23, 2:10 pm, Forrie wrote: > I just did a basic find statement and found: > > # pwd > /local/lib/ruby/gems/1.8/gems/puppet-2.7.11 > > # find . -exec grep -i site_ruby {} \; > > SITELIBDIR="/usr/lib/ruby/site_ruby/1.8" >       sitelibdir = $LOAD_PATH.find { |x| x =~ /site_ruby/ } >        

[Puppet Users] Re: Deploying puppet via NFS

2012-02-24 Thread jcbollinger
On Feb 23, 1:53 pm, Forrie wrote: > This is what I did, I did a make/make install into the shared > location.  But I wonder if there is some hard-coded PATH in there > somewhere.  I'll have to poke around.   I don't see where I can do a > trace on executing this to see what it's calling. Did y

[Puppet Users] Re: Error 400 on SERVER: Cannot append, variable node_data is defined in this scope at

2012-02-24 Thread jcbollinger
On Feb 23, 2:44 pm, "M. Piscaer" wrote: > Thanks for the response, I see that I made an typo.. > > The parameter nodes_data needs to be node_data as I have corrected > below. But the error stands. > > -- testnode.pp -- > > node testnode { >     class { 'testclass': >    

[Puppet Users] Re: Connections from any host to puppetmaster server times out

2012-02-24 Thread jcbollinger
On Feb 23, 4:02 pm, weloki wrote: > Every time I try to do puppetd --test on a host to get configs from > the puppetmaster server it fails with this error: > >      Could not retrieve catalog from remote server: Connection timed > out - connect(2) > > Of course running it on the puppetmaster ser

[Puppet Users] Re: 32bit and 64bit version of a package

2012-02-24 Thread jcbollinger
On Feb 23, 4:57 pm, Alan Laird wrote: > Hi, > > I'm trying to write a recipe to install the latest libstdc++ in both > 32bit and 64bit flavors and running into issues.  Yum only wants to > install the 64bit version if I do: > > yum install libstdc++ > > If I do something like: > > package { "lib

[Puppet Users] Specify values for variables? Puppet dashboard

2012-02-24 Thread Luke
Hello, I am new to using the puppet dashboard. Some of my mondules require variables to be passed to them from the node. So for example. I have a networking module that needs the following passed to it: $ipaddress = '192.168.0.2' $gateway = '192.168.0.1' $hostname = 'testbox' $nenviron = 'mgmt'

[Puppet Users] RHEL4 + 2.6.11 and Puppet CA/Master at 2.7.9

2012-02-24 Thread ollies...@googlemail.com
Hello, As the 2.7 branch doesn't seem to be available for RHEL4 (yes I know EOS next week) am trying to use a 2.6.11 client for our new Puppet infrastructure to replace the creaking one we have now. The POC setup is all running behind an F5 with a pair of CA's and seperate pool of Puppet Masters.

Re: [Puppet Users] hiera for defines?

2012-02-24 Thread Markus Falb
On 23.2.2012 15:52, Nigel Kersten wrote: > > > On Thu, Feb 23, 2012 at 5:21 AM, Markus Falb > wrote: > > > And Question 3, finally: Does it make sense to you what I am trying to > do, actually? > > > It feels significantly simpler for you to use hiera to