[Puppet Users] Failed to retrieve current state of resource: Could not find group root

2009-01-29 Thread Bruno B
Hello, I found this glitch on many different servers. In /var/adm/messages I have those messages : puppetd[28857]: [ID 702911 daemon.error] (//Node[default]/puppet/File[/ etc/init.d/puppet]) Failed to retrieve current state of resource: Could not find group sys puppetd[28857]: [ID 702911 daemon.

[Puppet Users] Re: Merging Directories

2009-01-29 Thread chakkerz
Ok, i've got a working workaround, but is there a neater way: class blah {         if (skip_blah != "true")         {                 ## deploy generic                 # transfer generic data                 file                 { "/var/blah/blah_v2":                         path    => "/

[Puppet Users] Re: Merging Directories

2009-01-29 Thread chakkerz
I think i'm deluding myself more than usually that above example should not work, because it matches my code, but the error message: err: //Node[puppetslave.example.org]/defaultnode/shared-default/ bigbrother/File[/var/bb/bbc1.9e-btf_linux/etc]/ensure: change from absent to file failed: Could

[Puppet Users] Re: modules not processing in order

2009-01-29 Thread chakkerz
Hello there Andrew I have a feeling i had a spurious control character, because i did a test module: class test { if (skip_test != "true") { file { "/var/baz/": ensure => directory, } file

[Puppet Users] Re: Automating removal of an application

2009-01-29 Thread Daniel Pittman
nicolas writes: > For these applications, we need to have a very good control. So we'll > never update them via local update utility nor use an ensure => latest > We always use ensure => x.y.z > We also need to be able to do rollback, so it's simpler to remove > everything from say, version 1-3-

[Puppet Users] Re: modules not processing in order

2009-01-29 Thread Andrew Shafer
What does your code look like and what is the behavior? On 1/29/09, chakkerz wrote: > > That said, it does not appear to honour the require's i'm using > consistently... > > chakkerz > > > --~--~-~--~~~---~--~~ You received this message because you are subscribe

[Puppet Users] Re: modules not processing in order

2009-01-29 Thread chakkerz
That said, it does not appear to honour the require's i'm using consistently... chakkerz --~--~-~--~~~---~--~~ 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@googleg

[Puppet Users] Re: modules not processing in order

2009-01-29 Thread chakkerz
nevermind i found http://reductivelabs.com/trac/puppet/wiki/TypeReference#available-metaparameters from another post. before and require ... duh sorry to waste people's time :) chakkerz --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[Puppet Users] modules not processing in order

2009-01-29 Thread chakkerz
Hello there I'm just testing a module (see merging directories) and it is quite involved, in that it: __generic__ 1) creates a user 2) creates a base directory 3) copies generic files (directory with recursion) 4) generate a configuration file from a template 5) creates a symlink __os specific__

[Puppet Users] Merging Directories

2009-01-29 Thread chakkerz
Hello there I'm deploying a program which has generic and OS specific (as well as architecture, but that's a minor issue). So in essence i'm deploying from blah_generic/etc recursive and then blah_linux/etc . I need the files from both operations, but was hitting some snags (I've found a work aro

[Puppet Users] Facter - the future - your input needed

2009-01-29 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all We're currently looking at the next release of Facter and the future direction of the tool. I'd like to try and prompt some discussions on facter and what people want from it. As a starter here's some (although not all) of the ideas we'll be

[Puppet Users] Modules Site?

2009-01-29 Thread dgj
Hi, I am a new user, still poking around, lurking... Can anyone update me on what is happening with http://modules.reductivelabs.com/? The index page loads, but I receive a 404 when I try to access the modules list. Thanks, dgj --~--~-~--~~~---~--~~ You recei

[Puppet Users] Re: Mounts: virtual ressources or multiple classes ?

2009-01-29 Thread Luke Kanies
On Jan 27, 2009, at 4:58 AM, Calimero wrote: > > Hi, > > We're trying to implement the following structure: > > class my_pool { > include linux, httpd... base modules > > include project_A > include project_B > } > > One pool can have many projects. One projects can be on many pools. > > A pro

[Puppet Users] Re: Automating removal of applications

2009-01-29 Thread Luke Kanies
On Jan 27, 2009, at 5:45 AM, nicolas wrote: > > Hello, > > I'm currently prototyping the use of Puppet to manage a bunch of > home-made applications on a lot of servers. > As our applications evolves frequently and multiples versions can > be used at the same time, we use classes that include v

[Puppet Users] Modules Site?

2009-01-29 Thread Dayglo Jesus
Hi, I am a new user, still poking around, lurking... Can anyone update me on what is happening with http://modules.reductivelabs.com/? The index page loads, but I receive a 404 when I try to access the modules list. Thanks, dgj --~--~-~--~~~---~--~~ You received

[Puppet Users] Re: autorequire question

2009-01-29 Thread Luke Kanies
On Jan 29, 2009, at 3:55 AM, Dan Bode wrote: > (I posted this yesterday and never saw it appear in the group) > dependency question: > > I want to require that Package{ruby-shadow} is installed if its not > there on Redhat. This package is in Yum-repo which has some > dependency requires for

[Puppet Users] Re: suitability for puppet with read-only file system

2009-01-29 Thread Larry Ludwig
> Thanks for the info on memory requirements.  I shouldn't run into > problems as they have 512MB (less 64MB for the video card). > If using 32 bit (I assume based upon memory usage) you may be able to even have puppet as a daemon. -L --~--~-~--~~~---~--~~ You

[Puppet Users] Re: Puppet playing badly with Debian etch rubygems

2009-01-29 Thread Marcin Owsiany
On Tue, Jan 20, 2009 at 02:05:37AM -0800, gary wrote: > > I mean that some debgems and deb packages have the same name. If you > tried to install them both (like puppet), it could be difficult. Maybe > apt has some way to include certain packages from a particular repo man 5 apt_preferences --

[Puppet Users] Re: suitability for puppet with read-only file system

2009-01-29 Thread Alex Kavanagh
Hi Ohad On Jan 29, 11:22 am, Ohad Levy wrote: > I would run puppet from a script (or cron) and just do something like: > > mount -o remount,rw / > puppetd -o /etc/puppet/puppet.conf -o . > mount -o remount,ro / I could do that, but that would mean constantly remounting the filesystem. If p

[Puppet Users] Re: Nagios_host files are mode 600, need 644

2009-01-29 Thread Scott
The situation is a little more complicated than just trying to do a "recurse" on the directory to set the permissions. In my config, I create the directory where all the nagios_hosts are collected and I then make that resource a requirement for all the exported nagios_hosts. So obviously I can't

[Puppet Users] Re: suitability for puppet with read-only file system

2009-01-29 Thread Ohad Levy
I would run puppet from a script (or cron) and just do something like: mount -o remount,rw / puppetd -o /etc/puppet/puppet.conf -o . mount -o remount,ro / another small point, in my embedded playground, ruby/puppet needs at least 32mb system to run, if you want to run it as a daemon you need

[Puppet Users] Re: code contribution?

2009-01-29 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Bode wrote: > Hi, > > I wanted to offer some scripts that I wrote to the community. > > The do something really simple, but necessary for my client. > > It requires that report=true, that buckets are enabled, and that the > buckets and reports

[Puppet Users] suitability for puppet with read-only file system

2009-01-29 Thread Alex Kavanagh
Hi I'm evaluating puppet to manage 77 embedded computers around the UK. They will be installed in various electronic poster displays and kiosks. In order to make the system more robust I intend to have the root file system mounted read-only. I'm assuming that puppet needs to have write access t

[Puppet Users] autorequire question

2009-01-29 Thread Dan Bode
(I posted this yesterday and never saw it appear in the group) dependency question: I want to require that Package{ruby-shadow} is installed if its not there on Redhat. This package is in Yum-repo which has some dependency requires for files owned by root, so I have created the circular reference

[Puppet Users] code contribution?

2009-01-29 Thread Dan Bode
Hi, I wanted to offer some scripts that I wrote to the community. The do something really simple, but necessary for my client. It requires that report=true, that buckets are enabled, and that the buckets and reports are on the same server. # == Usage # # reverter [-h|--help] [-v|--version] [-V|