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

2009-01-30 Thread Peter Meier
Hi > 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.error] (//Node[default]/sudoers/File > [/u

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

2009-01-30 Thread Bruno B
Group root (gid=0) exists. My puppet config works fine, but some times I have those messages and from this point I have the login problem. Regards, Bruno On 30 jan, 09:52, Peter Meier wrote: > Hi > > > In /var/adm/messages I have those messages : > > puppetd[28857]: [ID 702911 daemon.error] (

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

2009-01-30 Thread udo waechter
Hello, On 29.01.2009, at 22:55, James Turnbull wrote: > > 1. Namespaces - add a namespace or tiered namespace to Facter, i.e. > network -> interface -> ipaddress. This would be a great thing to have. Additionally it would be cool to have automatic true/false values for such namespaces, so: ne

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

2009-01-30 Thread Julian Simpson
Hi, > 1. Namespaces - add a namespace or tiered namespace to Facter, i.e. > network -> interface -> ipaddress. Sounds interesting. > 2. Additional output formats - JSON, XML? (winces) - Facter already > outputs in YAML. YAML support is growing. .NET developers are starting to use YAML. I'd

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

2009-01-30 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julian Simpson wrote: >> 2. Additional output formats - JSON, XML? (winces) - Facter already >> outputs in YAML. > > YAML support is growing. .NET developers are starting to use YAML. > I'd never choose XML output over other features. Maybe if an

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

2009-01-30 Thread Scott
Ok, so to make things simpler, how do I change owner and mode of nagios_host, etc. files when they're created? Thanks, Scott On Jan 29, 2:01 pm, Scott wrote: > The situation is a little more complicated than just trying to do a > "recurse" on the directory to set the permissions.  In my config,

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

2009-01-30 Thread Mike Pountney
On 30 Jan 2009, at 10:24, James Turnbull wrote: > 1. Namespaces - add a namespace or tiered namespace to Facter, i.e. > network -> interface -> ipaddress. I like this idea, but how would it work in both facter output (would it force us to use a rich output format for instance?) and puppet i

[Puppet Users] pushing puppet.conf files and other questions

2009-01-30 Thread Dan Bode
Hi all, Is there a way to push out the puppet.conf file from puppet? If I change report = true in a manifest, then will the current run be reported? Also, I saw something interesting when I ran puppetd --genmanifest It has a class called class reporting { file { '/var/lib/puppet/reports':

[Puppet Users] Re: Automating removal of an application

2009-01-30 Thread nicolas
Ok, I think I understand better how we should do now. However, the use of version in class name is still mandatory for us because we may have two versions of an application in production at same time (on different nodes) and need to have very strict control on installed versions. Also, we generat

[Puppet Users] Re: pushing puppet.conf files and other questions

2009-01-30 Thread Larry Ludwig
On Jan 30, 8:04 am, Dan Bode wrote: > Hi all, > > Is there a way to push out the puppet.conf file from puppet? Puppet CAN update itself. It will restart when a new puppet.conf is found. Use the File type. > > If I change report = true in a manifest, then will the current run be > reported? I

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

2009-01-30 Thread Mike Renfro
Bruno B wrote: > My puppet config works fine, but some times I have those messages and > from this point I have the login problem. Might be an nscd problem? http://groups.google.com/group/puppet-users/browse_thread/thread/6d69b56b94738517/ec4bace7a64d5eb6?lnk=gst&q=solaris+login# -- Mike Renf

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

2009-01-30 Thread Ross McKerchar
> -Original Message- > From: puppet-users@googlegroups.com [mailto:puppet- > us...@googlegroups.com] On Behalf Of James Turnbull > Sent: 29 January 2009 21:55 > To: puppet-users@googlegroups.com; puppet-...@googlegroups.com > Subject: [Puppet Users] Facter - the future - your input neede

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

2009-01-30 Thread Bruno B
Thank you for your sugestion. I try this. Regards, Bruno On 30 jan, 15:25, Mike Renfro wrote: > Bruno B wrote: > > My puppet config works fine, but some times I have those messages and > > from this point I have the login problem. > > Might be an nscd > problem?http://groups.google.com/group/

[Puppet Users] Can't connect to LDAP server

2009-01-30 Thread s...@imperial.ac.uk
Hi appreciate your help. I am new to puppet. I have taken over a system. Running Debian v4.0 Puppetmaster & puppet v0.20.1-1 I keep getting the following error from puppetmaster Could not connect to LDAP: Can't contact LDAP server. Please advise me how to analyse and work through this proble

[Puppet Users] Re: File 'replace => false' doesn't match my expectations...

2009-01-30 Thread Jeff
On Jan 28, 7:18 pm, Andrew Shafer wrote: > Jeff, > > What version of Puppet are you using? Andrew, Each time I used a template, it overwrote a changed file. Each time I used a source, it did not. Version: 0.24.4 I just tested one more time to make sure. The results were the same. If I used a

[Puppet Users] Re: Automating removal of an application

2009-01-30 Thread Eric Gerlach
On Fri, Jan 30, 2009 at 02:12:03PM +1100, Daniel Pittman wrote: > > 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 abl

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

2009-01-30 Thread Nigel Kersten
On Fri, Jan 30, 2009 at 6:58 AM, Ross McKerchar wrote: > > > >> -Original Message- >> From: puppet-users@googlegroups.com [mailto:puppet- >> us...@googlegroups.com] On Behalf Of James Turnbull >> Sent: 29 January 2009 21:55 >> To: puppet-users@googlegroups.com; puppet-...@googlegroups.com

[Puppet Users] puppetrun help

2009-01-30 Thread rjustinwilliams
Hi folks I'm trying to have the puppetmaster send a puppetrun command out, and not getting very far with it. I have in the manifests, a sshd defined, and my box testbox is supposed to be running sshd. If it ever isn't, I'm trying to have my puppetmaster machine kick off a puppetrun to rest

[Puppet Users] How to add users in Solaris via puppet

2009-01-30 Thread josh
So I'm trying to add two users to ~700 machines running puppet-0.24.4 (Puppetmaster server is also running 0.24.4) I can get puppet to add the user, or make the home directory, but I can't get it to set the password (I Don't want to push out an /etc/ shadow file as not every location is 100% the

[Puppet Users] Re: puppetrun help

2009-01-30 Thread zoniguana
Found the answer I needed - looks like other folks have run into this too, and I just didn't see it. On Jan 30, 12:04 pm, rjustinwilli...@gmail.com wrote: > Hi folks > > I'm trying to have the puppetmaster send a puppetrun command out, and not   > getting very far with it. > > I have in the man

[Puppet Users] Re: How to add users in Solaris via puppet

2009-01-30 Thread Mike Renfro
On 1/30/2009 11:11 AM, josh wrote: > Am I missing something obvious here? useradd in solaris doesn't have > an option to set the password via the useradd command? Do you need a literal password for 'su' or direct login purposes? Can you get around it with either sudo or with authorized ssh ide

[Puppet Users] Re: How to add users in Solaris via puppet

2009-01-30 Thread Andrew Shafer
Josh, The useradd provider doesn't support setting passwords without ruby libshadow on any platform. In 0.24.7, there is a user_role_add provider for Solaris that can set hashed passwords and also manage Solaris RBAC. You could upgrade, or you could try just patching it in. (I think you need th

[Puppet Users] Re: Can't connect to LDAP server

2009-01-30 Thread Larry Ludwig
On Jan 30, 10:33 am, "s...@imperial.ac.uk" wrote: > Hi appreciate your help. > I am new to puppet. I have taken over a system. > > Running Debian v4.0 > Puppetmaster & puppet v0.20.1-1 > > I keep getting the following error from puppetmaster > > Could not connect to LDAP: Can't contact LDAP serve

[Puppet Users] Re: Can't connect to LDAP server

2009-01-30 Thread Larry Ludwig
> > Running Debian v4.0 > Puppetmaster & puppet v0.20.1-1 Also seeing how old of puppetmaster you are using, I would suggest upgrading to the latest version of Puppet and facter. There have been a few bug and improvements in LDAP code since then. --~--~-~--~~~---~--~

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

2009-01-30 Thread Jos Houtman
Hi, I have only developed an ip/interface fact that uses ip2 instead of ifconfig. In order to detect multiple ip's per interface. And my conclusion was that I really wanted some complexer data structures and an easier integration with puppet. jos On 1/29/09 10:55 PM, "James Turnbull" wrote:

[Puppet Users] Re: puppetrun help

2009-01-30 Thread Andrew Shafer
Glad you solved the issue. If there is something you think would improve the documentation and make it more clear for the next person, please add your notes. On Fri, Jan 30, 2009 at 12:33 PM, zoniguana wrote: > > Found the answer I needed - looks like other folks have run into this > too, and

[Puppet Users] Re: shorewall module for puppet

2009-01-30 Thread sc0ttbeardsley
Did this ever get resolved? I'm having the same problem on Ubuntu (Hardy). I wonder if it is because Ubuntu puts modules in /etc/puppet/ modules instead of /var/lib/puppet/modules? Or perhaps the find in concatenated_file.pp isn't finding what is expected: # use >| to force clobbering the

[Puppet Users] Re: pushing puppet.conf files and other questions

2009-01-30 Thread Jason Rojas
The one issue I have seen with puppet managing itself is if someone adds something stupid like: "--splay=300" To /etc/sysconfig/puppet "EXTRA_OPTS" (yes I am speaking from experience) Puppet will restart and die instead of ignoring and warning about the bad configuration option. This could b

[Puppet Users] Setting ownership or mode of files created by nagios types

2009-01-30 Thread Scott
So I don't know what happened to the other thread, but all I want to do is be able to set the owner or the mode of the files written by all the nagios types, the default is root ownership with a mode of 600 which, for ubuntu, completely breaks nagios. There has to be a way to do this when the fil

[Puppet Users] Re: pushing puppet.conf files and other questions

2009-01-30 Thread Andrew Shafer
Jason, I agree, open an issue that explains the failure and what you consider the desired behavior. I'm not sure Puppet should just ignore and keep running, but it should at least do something informative. Andrew On Fri, Jan 30, 2009 at 9:43 PM, Jason Rojas wrote: > > The one issue I have seen