[Puppet Users] Re: mailalias ... not doing anything???

2009-02-03 Thread Robin Lee Powell
On Tue, Feb 03, 2009 at 08:14:57PM -0800, chakkerz wrote: > > G'day > > my module's init.pp: > > class mailaliases > { > if ($skip_mailaliases != "true") > { > mailalias > { "root": > #ensure => absent, >

[Puppet Users] Re: Puppet Proposal (what problems will puppet solve)

2009-02-03 Thread Andrew Shafer
Everything on here is good and like Paul said it is probably just as important to figure out what pains you are trying to solve, but I'd like to add a point. Once you have Puppetized the infrastructure, you can reliably rebuild it. This has a huge impact on scenarios where you want/need to move d

[Puppet Users] ANNOUNCE: Facter 1.5.4RC1

2009-02-03 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new Facter release candidate is available - 1.5.4RC1. This is a maintenance release combining a number of fixes including: * Fixed #1927 - Failing facts don't kill Facter * Fixed #1850 - Facter updates for Ruby 1.9 * Fixed #1926 - IPAddr to_s iss

[Puppet Users] Re: Excluding .svn directories with recursive file management

2009-02-03 Thread chakkerz
My file section that does this looks like: file { "/var/bb/$bbVersion": path => "/var/bb/$bbVersion", owner => bb, group => bb, mode => 775,

[Puppet Users] mailalias ... not doing anything???

2009-02-03 Thread chakkerz
G'day my module's init.pp: class mailaliases { if ($skip_mailaliases != "true") { mailalias { "root": #ensure => absent, ensure => present, target => "/etc/aliases",

[Puppet Users] Re: Puppet can't find LDAP group when configuring LDAP client.

2009-02-03 Thread Gary
Hello, I've also had the same issues. One possible way is changing nsswitch to lookup group info from LDAP. I've tried that but haven't gotten it working quite right. The other way I'm using for now is to specify groups by number. Gary On Feb 4, 1:50 am, Brian wrote: > I'm having a problem th

[Puppet Users] Re: Log rotation and puppet clients dying

2009-02-03 Thread Andrew Shafer
Ian, When you say they die, do they hang somewhere or the process exits? What is in the logs on the dead reloaded puppets? (also what log level are they running at) Andrew On Tue, Feb 3, 2009 at 12:01 PM, Ian Burrell wrote: > > We are having a problem with some of the puppet clients dying du

[Puppet Users] Re: Defining more than one solaris zone in nodes.pp

2009-02-03 Thread Matt McLeod
paul matthews wrote: > but bringing it all together is causing some brain problems. If anyone has > done something similar already I'd be pleased to hear from them The approach I've taken is to have a wrapper around the zone type that looks like this: define myzone($zoneif, $zoneip, $znetmask =

[Puppet Users] Re: Excluding .svn directories with recursive file management

2009-02-03 Thread Peter Meier
Hi >> The problem is that puppet copies all of the .svn subdirectories >> too. Does anyone know of a way to exclude these from the copy? > > I was curious about this too. I was just doing an "svn export" but I'd > love to see a real fix. you can do a general exclude on top of your manifests.

[Puppet Users] Re: Excluding .svn directories with recursive file management

2009-02-03 Thread Scott Beardsley
> The problem is that puppet copies all of the .svn subdirectories > too. Does anyone know of a way to exclude these from the copy? I was curious about this too. I was just doing an "svn export" but I'd love to see a real fix. Scott --~--~-~--~~~---~--~~ You re

[Puppet Users] Re: Puppet Proposal (what problems will puppet solve)

2009-02-03 Thread Ryan Duff
Zach, (Sorry in advance if this is a re-post and for not replying to the original message. I replied, deleted and it never went through. On top of that, the link to this message on Google Groups goes to another!) Anyway... my original reply: Chris Moates did an interesting presentation on Pupp

[Puppet Users] Excluding .svn directories with recursive file management

2009-02-03 Thread nothings_absolute
Hello, I have a directory with subdirectories and files managed by puppet and keep all contents in subversion. I use a subversion tag to check these files out as my source on the puppet master. I then have a class set up to manage the base directory using the recusive option. The problem i

[Puppet Users] Puppet can't find LDAP group when configuring LDAP client.

2009-02-03 Thread Brian
I'm having a problem that's very similar to http://projects.reductivelabs.com/issues/791 I'm setting up a node as a ldap client, and creating a couple of files with group owners that are groups that exist in LDAP. Puppet can't find the group on the first run (when it also configures /etc/ ldap.

[Puppet Users] Re: Puppet Proposal (what problems will puppet solve)

2009-02-03 Thread Ryan Duff
Zach, Chris Moates did an interesting presentation on Puppet during CPOSC a few months back. I was actually looking at his slides for a refresher the other day. You might find something useful in there as far as reasons to use Puppet. He lists quite a few and why its beneficial. You can grab a P

[Puppet Users] Re: Puppet Proposal (what problems will puppet solve)

2009-02-03 Thread Paul Lathrop
Zach, Some thoughts inline: On Mon, Feb 2, 2009 at 12:53 PM, Zach Buckholz wrote: > > This may sound like a confusing / trick question, so please bare with me. > > What problem(s) will puppet solve? Why would I use it? What problems do you want to solve? Seriously, if you don't have a solid a

[Puppet Users] Re: Question about Recipe LDAPClientNSSwitch ?

2009-02-03 Thread Paul Lathrop
Xavier, It *is* a wiki. That means you should feel free to make these kind of changes: "A wiki is a page or collection of Web pages designed to enable anyone who accesses it to contribute or modify content" (http://en.wikipedia.org/wiki/Wiki). The more community members who choose to do this, the

[Puppet Users] Re: Puppet can't find Augeas (now with RPMs)

2009-02-03 Thread Larry Ludwig
David Lutterkort wrote: > On Tue, 2009-02-03 at 08:05 -0500, Larry Ludwig wrote: > >> Then I'm not sure what's the issue. >> > > What happens if you run this through plain ruby: > > require 'augeas' > > aug = Augeas::open(nil, nil, 0) > > puts aug.

[Puppet Users] Re: managing snmp with puppet

2009-02-03 Thread Frank Sweetser
Arnau Bria wrote: > On Tue, 03 Feb 2009 09:22:20 -0500 > Frank Sweetser wrote: > >>> So the file changes after first start. >>> If I keep the first line (createUser one), everytime puppet runs >>> will notice that file has changed and will redo this step. >>> If I keep the end-state file, snmp

[Puppet Users] Gepetto

2009-02-03 Thread Alban Peignier
Hi all, This "Gepetto" is the irc bot of #puppet. This Gepetto is a tool to make easier puppet development ;) In fact, nothing very special. I'm a rails developper and a puppet user. I created several pieces of code to puppet development easier or "rails-like". I'm trying to extract and regroup

[Puppet Users] Log rotation and puppet clients dying

2009-02-03 Thread Ian Burrell
We are having a problem with some of the puppet clients dying during the weekly log rotation reload. We are using Centos 4 with puppet 0.24.6. It seems to be a race condition with clients that reload when the puppetmaster is restarting exit. The redhat logrotate script does "/etc/init.d/puppetm

[Puppet Users] Re: Puppet can't find Augeas (now with RPMs)

2009-02-03 Thread David Lutterkort
On Tue, 2009-02-03 at 08:05 -0500, Larry Ludwig wrote: > Then I'm not sure what's the issue. What happens if you run this through plain ruby: require 'augeas' aug = Augeas::open(nil, nil, 0) puts aug.match("/files/etc/hosts/*").join("\n") If tha

[Puppet Users] Defining more than one solaris zone in nodes.pp

2009-02-03 Thread paul matthews
Hi, I'm struggling to know the best method of definining multiple solaris zones in nodes.pp. I can get it working with one zone but scaling is a problem. Below is a summary of my problem if you don't mind reading on but in short it's a request to see how anyone else has defined zones (or virtualis

[Puppet Users] Re: managing snmp with puppet

2009-02-03 Thread Arnau Bria
On Tue, 03 Feb 2009 09:22:20 -0500 Frank Sweetser wrote: > > So the file changes after first start. > > If I keep the first line (createUser one), everytime puppet runs > > will notice that file has changed and will redo this step. > > If I keep the end-state file, snmp does not work... I'm not

[Puppet Users] Re: managing snmp with puppet

2009-02-03 Thread Frank Sweetser
Arnau Bria wrote: > On Tue, 03 Feb 2009 07:25:38 -0500 > Frank Sweetser wrote: > > >> It's hard to say for certain, since you didn't actually post what the >> errors are, but I see a couple issues here. > > Ups, sorry, the error is that the file sometimes is created sometimes > not. > >> Firs

[Puppet Users] Re: managing snmp with puppet

2009-02-03 Thread Arnau Bria
On Tue, 03 Feb 2009 07:25:38 -0500 Frank Sweetser wrote: > It's hard to say for certain, since you didn't actually post what the > errors are, but I see a couple issues here. Ups, sorry, the error is that the file sometimes is created sometimes not. > First, based on the command line you're u

[Puppet Users] Re: recent yum causes probems

2009-02-03 Thread Jeff
On Feb 2, 9:06 pm, David Lutterkort wrote: > On Mon, 2009-02-02 at 13:08 -0800, Jeff wrote: > > Hello puppeteers. I discovered a problem with newer versions of yum. > > When puppet checks the repository for later versions it uses the > > following command: > > > /usr/bin/yum -d 0 -e 0 list availa

[Puppet Users] Re: puppetshow with puppetmaster 0.24.6

2009-02-03 Thread Larry Ludwig
That did the trick. I thought you can have multiple versions of the same gem installed and if it's locked in the RoR app it shouldn't matter. -L On Feb 3, 5:56 am, Rodney Quillo wrote: > Hi Larry, > > Install the older gems I've listed above using the command: > > $ sudo gem install rails --ve

[Puppet Users] Re: Puppet can't find Augeas (now with RPMs)

2009-02-03 Thread Larry Ludwig
David Lutterkort wrote: > On Mon, 2009-02-02 at 12:51 -0800, Larry Ludwig wrote: > >> Hi all I'm getting this same error with the Puppet RPMs from EPEL. >> >> I have installed: >> puppet-0.24.7-4.el4 >> ruby-augeas-0.2.0-3.el4 >> augeas-0.3.5-2.el4 >> augeas-libs-0.3.5-2.el4 >> facter-1.5.2-1.e

[Puppet Users] Re: managing snmp with puppet

2009-02-03 Thread Frank Sweetser
Arnau Bria wrote: > Hi all, > > I have a little problem when configuring snmp. > I have to create the user, and for so I must add a line in : > /var/net-snmp/snmpd.conf > like: > createUser nagios MD5 DES XXXx > > and tehn restart snmp. > > I'm doing it like: > > class

[Puppet Users] managing snmp with puppet

2009-02-03 Thread Arnau Bria
Hi all, I have a little problem when configuring snmp. I have to create the user, and for so I must add a line in : /var/net-snmp/snmpd.conf like: createUser nagios MD5 DES XXXx and tehn restart snmp. I'm doing it like: class snmp { package { "net-snmp": }

[Puppet Users] Re: public facts repository

2009-02-03 Thread Udo Waechter
Hi, sorry, you can not browse the repository. you need to check it out (or export) it directly like so: svn co https://svn.ikw.uni-osnabrueck.de/dav/ikwadmin/public/puppet/facts/ or svn export https://svn.ikw.uni-osnabrueck.de/dav/ikwadmin/public/puppet/facts/ if you do not want to have the me

[Puppet Users] Re: Puppet Proposal (what problems will puppet solve)

2009-02-03 Thread Julian Simpson
Steve Traugott (http://www.infrastructures.org/) compares the problem to building cars by hand, vs the production line. It's a nice metaphor to use when you're trying to demonstrate what a significant change it can be. We still do stuff by hand in IT even though you can demonstrate that the erro

[Puppet Users] Re: public facts repository

2009-02-03 Thread Sven Mueller
udo waechter schrieb: > I have set up a public svn repository with some facts that we have > written over time: > > https://svn.ikw.uni-osnabrueck.de/dav/ikwadmin/public/puppet/facts/ > > (yes, it is svn). I only get this as a result: (Firefox) Fehler beim Laden des Stylesheets: Beim Laden e

[Puppet Users] Re: puppetshow with puppetmaster 0.24.6

2009-02-03 Thread Rodney Quillo
Hi Larry, Install the older gems I've listed above using the command: $ sudo gem install rails --version='2.0.2' $ sudo gem install hobofields --version='0.7.5' $ sudo gem install hobosupport etc Also remove the newer version of rails 2.2.x and other dependency. See man page for gems. Let u

[Puppet Users] Re: Puppet Proposal (what problems will puppet solve)

2009-02-03 Thread Bjørn Dyre Dyresen
2009/2/2 Zach Buckholz > > This may sound like a confusing / trick question, so please bare with me. > > What problem(s) will puppet solve? Why would I use it? > > I am trying to pitch the use of puppet in our environment and need to > follow a formal proposal model. Which means I need to start w

[Puppet Users] problem with exported resources (and sqlite as well as mysql)

2009-02-03 Thread Sven Mueller
Hi. I'm using sqlite to store configs. Now I have 5 identical nodes (the node stanzas only differ in the content of some fqdn-dependent variables), named db-ecl[1-5].our.local.domain The odd thing is: db-ecl[2-4] successfully store their (exported) resources in the sqlite DB, but db-ecl1 and db-e

[Puppet Users] Re: managing agents

2009-02-03 Thread Dan Bode
1. I will have a look at having puppet manage version. It just seems strange to write a program that says "while I am running, remove all of the script files that were interpreted and replace them with other ones." (yum upgrade) I need to do some reading on ruby to understand what is happening w

[Puppet Users] Re: recent yum causes probems

2009-02-03 Thread Peter Meier
Hi > Which version of puppet are you using ? We switched the yum provider > quite some time ago to using a separate 'yumhelper' script for listing > available packages. hmm yeah forgot that. :-/ cheers pete --~--~-~--~~~---~--~~ You received this message because