Re: [Puppet Users] puppet not working after switch to passenger - permissions issue?

2011-05-05 Thread Andreas Kuntzagk
Hi, Nan Liu wrote: On Wed, May 4, 2011 at 8:26 AM, Andreas Kuntzagk wrote: Hi, as suggested on the list I switched from the standalone puppetmaster to Passenger. I have passenger installed now and edited the apache config as far as I understood. I restarted apache. Now when I run an agent I g

[Puppet Users] Re: How to setup database for Inventory Service

2011-05-05 Thread Alessandro Franceschi
Actually I ended up creating manually the missing tables, but thanks for the info. On May 5, 1:31 am, James Turnbull wrote: > Alessandro Franceschi wrote: > > Thank you for the feedback. > > I've momentarily postponed theinventorysetupbut, for the chronicle, > > just inserting the query you poste

Re: [Puppet Users] puppet not working after switch to passenger - permissions issue?

2011-05-05 Thread Andreas Kuntzagk
Ok, seems that I have an authentication issue here. when I set (for all paths) "auth no" in auth.conf, it's working again. Maybe I set these options wrong in the apache.conf: SSLCertificateFile /etc/puppet/ssl/certs/node002.pem SSLCertificateKeyFile /etc/puppet/ssl/private_keys/node002.pem

[Puppet Users] Re: Disable class by exception (not disable service in a class)

2011-05-05 Thread jcbollinger
On May 3, 3:56 pm, Chris Phillips wrote: > Hi, > > I don't know if I'm just not getting it, but I'm struggling to find > "the" way to elegantly disable a class in its entirety. I am aware of > the foo::disabled conventions, but these are about the disabling of > the end service defined by the cl

Re: [Puppet Users] Re: Disable class by exception (not disable service in a class)

2011-05-05 Thread Chris Phillips
On 5 May 2011 14:04, jcbollinger wrote: > > > On May 3, 3:56 pm, Chris Phillips wrote: > > Hi, > > > > I don't know if I'm just not getting it, but I'm struggling to find > > "the" way to elegantly disable a class in its entirety. I am aware of > > the foo::disabled conventions, but these are ab

RE: [Puppet Users] augeas slooow

2011-05-05 Thread Jennings, Jared L CTR USAF AFMC 46 SK/CCI
Hi, Aaron. Aaron (quoting letter@): > To avoid that, I added 'lens' and 'incl' parameters to the puppet type > a while ago. If you set these, Augeas will only read a specific file, > avoiding most of the unnecessary overhead. > ... everything will be lightning fast, even without > connection cachi

Re: [Puppet Users] Re: Disable class by exception (not disable service in a class)

2011-05-05 Thread Felix Frank
> class baseclass { > > $classes = ["aaa", "access", "banner", "func", "hosts", "munin", > "ntp", "resolv", "rhn", "rsyslog", "ssh", "sudo"] > > define include_class() { > > if ($exclude_classes == undef) or ! ($name in $exclude_classes) { > include $name > }

Re: [Puppet Users] augeas slooow

2011-05-05 Thread Patrick
On May 5, 2011, at 6:28 AM, Jennings, Jared L CTR USAF AFMC 46 SK/CCI wrote: > Hi, Aaron. > > Aaron (quoting letter@): >> To avoid that, I added 'lens' and 'incl' parameters to the puppet type >> a while ago. If you set these, Augeas will only read a specific file, >> avoiding most of the unnece

[Puppet Users] array of groups to definition?

2011-05-05 Thread Alexander Swen
hi, I have: define users::account($realname='', $pwd='', $uid='', $othergroups, $gid, $key, $keytype, $name='', $ensure=present, shell='/bin/ bash') { 19 # have to find a way to get rid of group if last member is being removed 20 # have to find out how to get an array in here. 21 if ! ($

[Puppet Users] issue with exported resources and subscribe

2011-05-05 Thread Nathan
Hello list, I have a situation where if I have a hosts file generated by exported resources it does not trigger a service restart unlike if it was subscribing on a file that gets copied over via puppet. An example would explain it better. it should be noted that exported resources work fine. cla

Re: [Puppet Users] Re: Disable class by exception (not disable service in a class)

2011-05-05 Thread Nan Liu
On Thu, May 5, 2011 at 9:14 AM, Chris Phillips wrote: > > > On 5 May 2011 14:04, jcbollinger wrote: >> >> >> On May 3, 3:56 pm, Chris Phillips wrote: >> > Hi, >> > >> > I don't know if I'm just not getting it, but I'm struggling to find >> > "the" way to elegantly disable a class in its entirety

Re: [Puppet Users] Re: Disable class by exception (not disable service in a class)

2011-05-05 Thread Chris Phillips
On 5 May 2011 14:52, Felix Frank wrote: > > > Sort of funky, I like it! First and last time for everything! It may work, but $exclude_classes should not be a vairable, but a > parameter to your define instead. > > This way, you can override the include_class in a subclass of baseclass > to set

Re: [Puppet Users] Re: Disable class by exception (not disable service in a class)

2011-05-05 Thread Chris Phillips
On 5 May 2011 17:22, Nan Liu wrote: > On Thu, May 5, 2011 at 9:14 AM, Chris Phillips wrote: > > > > > > On 5 May 2011 14:04, jcbollinger wrote: > >> > >> > >> On May 3, 3:56 pm, Chris Phillips wrote: > >> > Hi, > >> > > >> > I don't know if I'm just not getting it, but I'm struggling to find >

[Puppet Users] ANNOUNCE: The Marionette Collective Release 1.2.0

2011-05-05 Thread R.I.Pienaar
hello, We are pleased to announce the release of a new Production release of The Marionette Collective. This release brings to general availability all the features added in the 1.1.x development series. A summary of changes since 1.0.0 can be seen below: Enhancements: * The concept of sub-c

Re: [Puppet Users] Re: Can puppet client make immediate pull after a file's content change by user?

2011-05-05 Thread Daniel Pittman
On Thu, Apr 7, 2011 at 23:52, John Chris Richards wrote: > I totally agree with you. Hence with the above solution we can have a > little bit more control over our systems. Hey. Sorry for getting into this discussion late: if you really wanted to trigger a puppet run after a file was modified,

Re: [Puppet Users] variables inside a template for my hp ilo device

2011-05-05 Thread Daniel Pittman
On Wed, May 4, 2011 at 17:40, Corey Osman wrote: > I am writing a hp ilo module to automatically assign a static ip that is > derived from the IP of the system which is fed in via facter.  I basically > just need to change the network the ilo is connected to. > > The ruby code works great insid

[Puppet Users] Disabling optional services

2011-05-05 Thread Chris Phillips
Howdy, Can someone enlighten me as to how I can disable a service *IF* it is installed? I want to ensure rsyslog is installed and running, which requires syslogd to not be running, but the only way I can see to enforce this in Puppet is to remove the sysklogd package, which I'd rather not do, I'd

Re: [Puppet Users] Disabling optional services

2011-05-05 Thread Ohad Levy
On Thu, May 5, 2011 at 10:18 PM, Chris Phillips wrote: > Howdy, > > Can someone enlighten me as to how I can disable a service *IF* it is > installed? I want to ensure rsyslog is installed and running, which requires > syslogd to not be running, but the only way I can see to enforce this in > Pup

[Puppet Users] Re: Disabling optional services

2011-05-05 Thread treydock
I ran into this same challenge just a few days ago. I run mostly CentOS and syslogd is installed by default, but I prefer to run rsyslog. Here's a post, http://itscblog.tamu.edu/managing-syslog-and-log-forwarding-with-puppet/ ,I just did on my blog that has the recipes I used for syslog manageme

[Puppet Users] Re: virtualized resource collections

2011-05-05 Thread denmat
Anyone? Stupid question? On May 5, 3:34 pm, tu2bg...@gmail.com wrote: > Hi all, > > I'm trying to figure out how to automatically configure my nodes with   > amanda backup client. > > What I want to achieve is that the server have an entry created in the   > /etc/amanda/(Daily|Weekly|Monthly)/dis

Re: [Puppet Users] scheduling package installs - ignore schedule if not installed

2011-05-05 Thread Steven Acres
On Thu, Apr 28, 2011 at 3:36 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 04/23/2011 04:01 AM, Steven Acres wrote: > > On Fri, Apr 22, 2011 at 2:34 PM, trey85stang > > wrote: > > > > Is there a way to override a schedule for a package if the pac