[Puppet Users] Re: Unable to get initial example

2009-01-07 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rinaldo wrote: > I am on Solaris(x86) and using an older version from Blastwave. I am > considering doing a package for Sun's new IPS packaging system. I need > to understand how it all works before I package it up. I have two > nodes and I get the fo

[Puppet Users] Unable to get initial example

2009-01-07 Thread Rinaldo
Hello, My first post, just joined the group. Thanks for the well thought out approach in puppet. I am trying to get the simple example from the getting started guide to work. I am on Solaris(x86) and using an older version from Blastwave. I am considering doing a package for Sun's new IPS packa

[Puppet Users] Re: puppetshow with puppetmaster 0.24.6

2009-01-07 Thread Luke Kanies
On Jan 7, 2009, at 9:16 PM, Rodney Quillo wrote: > > Hi, > > I'm using Puppetmaster version 0.24.6 with rails v2.0.2 > Followed the wiki instruction for puppetshow and storedconfiguration > enabled. > clone the repo for puppetshow to a directory. > > When I execute on the puppet server: > $ rake

[Puppet Users] Re: problem with tag()?

2009-01-07 Thread Luke Kanies
On Jan 6, 2009, at 5:49 AM, Grzegorz Marszałek wrote: > > Hello > > When I run this with puppet 0.24.7 (puppet --debug test2.pp): > > File { backup => false } > > define cfile { > tag("$name") > file { "/tmp/cfile_$name": content => "test" } > file { "/tmp/dfile_$name": content => "test" }

[Puppet Users] Re: Facter and loops.

2009-01-07 Thread Luke Kanies
On Jan 3, 2009, at 6:55 PM, Robin Lee Powell wrote: > > > I'm trying to create a bunch of Facter facts in a loop. The code > inside is evaluated at some weird time, *out of order*, and I don't > know enough Ruby to fix it. The goal is to get access to user > homedirs, because I can't figure out

[Puppet Users] Re: Testing puppet manifests

2009-01-07 Thread Ohad Levy
Using Modules, environments and version control you can really scale up. We currently manage a lot of environments with puppet, with a lot of different sys-admins, each group responsible to a different set of modules. since many times, a given node has uses many different modules (which are manag

[Puppet Users] puppetshow with puppetmaster 0.24.6

2009-01-07 Thread Rodney Quillo
Hi, I'm using Puppetmaster version 0.24.6 with rails v2.0.2 Followed the wiki instruction for puppetshow and storedconfiguration enabled. clone the repo for puppetshow to a directory. When I execute on the puppet server: $ rake production db:migrate I got the following errors: rake aborted! u

[Puppet Users] Re: puppetd --noop not "nooping" at all

2009-01-07 Thread Andrew Shafer
Anthony, That certainly doesn't follow the principle of least surprise... Can you open an issue with the description of the problem and attach any logs and config files to help reproduce the behavior. Thanks, Andrew On Wed, Jan 7, 2009 at 4:04 AM, ant wrote: > > Goodday > > I have a small pup

[Puppet Users] OS X updates

2009-01-07 Thread Daniel Shown
I'm wondering if any progress has been made since the late June/early July discussion about using puppet to run OS X updates, especially those requiring restart? I'm a relative noob to puppet, and I'm still trying to grok it all. Having this functionality would really be useful. I'm willing to

[Puppet Users] nagios checking puppetlast

2009-01-07 Thread The Anarcat
I have done this: class nrpe inherits puppet::master { include nagios2::nrpe user { "nagios": groups => 'puppet', } file { "/usr/lib/nagios/plugins/check_puppet": ensure => "present",

[Puppet Users] Re: some ideas for facts

2009-01-07 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 windowsrefund wrote: > James, > > Thanks for pointing it out. I'm really not sure what to do with it > though. Would you mind shedding some light? Well it already does what you've done with the Nagios check. I was suggesting you could expand it to

[Puppet Users] Re: some ideas for facts

2009-01-07 Thread windowsrefund
James, Thanks for pointing it out. I'm really not sure what to do with it though. Would you mind shedding some light? Best, Adam On Jan 7, 4:03 pm, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > windowsrefund wrote: > > Hello group, > > > I've got a check defin

[Puppet Users] Re: some ideas for facts

2009-01-07 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 windowsrefund wrote: > Hello group, > > I've got a check defined in nagios that allows me to determine if a > puppet client has not updated itself in awhile > > /usr/lib/nagios/plugins/check_file_age -f /var/lib/puppet/state/ > state.yaml -w 3600 -c

[Puppet Users] Re: Redundant Puppet Master Servers

2009-01-07 Thread Adam Jacob
On Jan 7, 2009, at 11:10 AM, Jeffrey Hulten wrote: > > I would agree. With DRBD and uCARP almost any service can be made to > work as a active-passive cluster. It is not for the faint of heart > tho... Of course if you are managing systems with Puppet you probably > aren't faint of heart. ;) > >

[Puppet Users] Re: Redundant Puppet Master Servers

2009-01-07 Thread Jeffrey Hulten
I would agree. With DRBD and uCARP almost any service can be made to work as a active-passive cluster. It is not for the faint of heart tho... Of course if you are managing systems with Puppet you probably aren't faint of heart. ;) Please note... This is not a solution for load balancing. Only

[Puppet Users] Re: solution: excluding packages via yum

2009-01-07 Thread Jeffrey Hulten
For my money the best solution is to use Puppet to manage the yum.conf files and put your excludes there... But that is me. On Wed, Jan 7, 2009 at 8:06 AM, Arnau Bria wrote: > > Hi all, > > sorry for breaking the threat, I don't know where the OP is. > > anyway, Tim Harper provided yum_plus in

[Puppet Users] Re: Testing puppet manifests

2009-01-07 Thread Nigel Kersten
We use environments for a release process, so we can test releases before pushing them to our stable environments. You can also get puppet to check manifests for syntax validity with --parseonly, which we and a lot of other people use as commit hooks in version control so that at least the syntax i

[Puppet Users] Re: libselinux ruby bindings

2009-01-07 Thread Todd Zullinger
Marc Fournier wrote: > I've been this way. It appears this ruby binding is part of > libselinux. It is generated with swig. {Centos,Redhat} 5.x ship with > libselinux 1.33.4. Fedora 10 comes with 2.0.73. > > The API has changed between both versions. So a regular repackaging > would be difficult (

[Puppet Users] some ideas for facts

2009-01-07 Thread windowsrefund
Hello group, I've got a check defined in nagios that allows me to determine if a puppet client has not updated itself in awhile /usr/lib/nagios/plugins/check_file_age -f /var/lib/puppet/state/ state.yaml -w 3600 -c 4000 Now I'd like to start thinking about adding some facts and thought I'd ping

[Puppet Users] solution: excluding packages via yum

2009-01-07 Thread Arnau Bria
Hi all, sorry for breaking the threat, I don't know where the OP is. anyway, Tim Harper provided yum_plus in order to be able to pass args to yum, in his example, -x option. http://groups.google.com/group/puppet-users/browse_thread/thread/234e84e569a40f61?hl=en# I was looking for something sim

[Puppet Users] Re: libselinux ruby bindings

2009-01-07 Thread Marc Fournier
> > Any idea how to get these ruby bindings installed on machines other > > than fedora >= 10 ? It seems to be required for using selinux with > > puppet 0.24.7. > > repackage it from the srpm? didn't do that yet, however i'll have to > do it for centos some time. so would be nice if you can in

[Puppet Users] Re: Script Contribution?

2009-01-07 Thread Zach Buckholz
I put them at the following url http://code.google.com/p/soxlinux/source/browse/ On 1/6/09 9:29 PM, "Jason Rojas" wrote: > > Put them somewhere that we can download them from. > I am already interested in converting some of these to facts.. > > On Jan 6, 2009, at 8:10 AM, Zach wrote: > >

[Puppet Users] Re: Script Contribution?

2009-01-07 Thread Jeff Leggett
If you could make them available for download that'd be great. I'd like to check them out myself. On Jan 6, 11:10 am, Zach wrote: > I have the following ruby scripts I would like to see implemented into > puppet, I believe they could compliment puppet and with input from the > puppet community

[Puppet Users] Modules / inheritance / best practices

2009-01-07 Thread Calimero
Hi, As you'll guess I'm new to puppet. I've been playing aroung with puppet for the last few days and have stumbled accross the usual noob's questions and misconceptions. I've spent some time on the Wiki and in the ML archives but so far I have not been able to figure out how to organize my stuf

[Puppet Users] Re: libselinux ruby bindings

2009-01-07 Thread Peter Meier
Hi > Any idea how to get these ruby bindings installed on machines other than > fedora >= 10 ? It seems to be required for using selinux with puppet 0.24.7. repackage it from the srpm? didn't do that yet, however i'll have to do it for centos some time. so would be nice if you can inform about

[Puppet Users] puppetd --noop not "nooping" at all

2009-01-07 Thread ant
Goodday I have a small puppet install with 3 servers currently, two Centos 5.2, one RedHat 5.0... I recently added the RedHat 5.0 to puppet management, and did the run with a --noop to verify what would happen without touching the box. The box was (violently ;-) updated anyway. That is to say t

[Puppet Users] libselinux ruby bindings

2009-01-07 Thread Marc Fournier
Hello, Any idea how to get these ruby bindings installed on machines other than fedora >= 10 ? It seems to be required for using selinux with puppet 0.24.7. Thanks ! Marc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[Puppet Users] Testing puppet manifests

2009-01-07 Thread Matt
HI all, First thing - I've been keeping the puppet manifest, configs, functions etc. in svn, but due to a few dodgy checkouts to the puppetmaster (non production) i'd like to get a better process in place. Are people using anything to test the puppet deployments? preferably in a continuous envir