Re: [Puppet Users] "Failed to retrieve current state of resource" messages

2010-03-23 Thread Thomas Mueller
Am Tue, 23 Mar 2010 22:42:57 -0400 schrieb Kent Rankin: > I've made no changes, so I'm assuming that it's webrick. Would this > impact that? had this error too. try to go on with mongrel or passenger. webrick's intended use is for development and is not optimized for real production. - Thomas

Re: [Puppet Users] "Failed to retrieve current state of resource" messages

2010-03-23 Thread Kent Rankin
I've made no changes, so I'm assuming that it's webrick. Would this impact that? On Tue, Mar 23, 2010 at 8:22 PM, Christopher Johnston wrote: > Are you using webrick, mongrel, or passenger? > > Sent from my iPhone > > On Mar 23, 2010, at 5:32 PM, Kent Rankin wrote: > >> I've sent one in for th

[Puppet Users] Ensure NFS mounts fails

2010-03-23 Thread eshamow
I've got an NFS mount with ensure => mounted set. Puppet properly adds the mount to fstab and it mounts on boot; however on every subsequent run I get the following error: err: //mod-ssf3/Mount[nfs_var_www]/ensure: change from present to mounted failed: Execution of '/bin/mount -o vers=3,rsize=32

Re: [Puppet Users] "Failed to retrieve current state of resource" messages

2010-03-23 Thread Christopher Johnston
Are you using webrick, mongrel, or passenger? Sent from my iPhone On Mar 23, 2010, at 5:32 PM, Kent Rankin wrote: I've sent one in for this... we're running the client every 30 minutes via cron, and we probably get ten reports a day (per node) just like this one. It started once we went from

Re: [Puppet Users] Quiesce Puppet?

2010-03-23 Thread John Warburton
The /.maint file is managed manually by the sys admin team - totally independent of puppet - that's the point John On 24 March 2010 07:14, Douglas Garstang wrote: > On Sun, Mar 21, 2010 at 10:03 PM, John Warburton > wrote: > > We run puppet from a wrapper via cron that (among other things) loo

[Puppet Users] "Failed to retrieve current state of resource" messages

2010-03-23 Thread Kent Rankin
I've sent one in for this... we're running the client every 30 minutes via cron, and we probably get ten reports a day (per node) just like this one. It started once we went from EPEL's v0.24 to v0.25. I've sent one message like this to the group, but didn't get a response. Tue Mar 23 12:06:43 -

[Puppet Users] Re: Changing multiple files

2010-03-23 Thread jsearles
Thanks for the suggestion Michael, but I am not able to control what yum repos are in the directory. This is more of a check to make sure if a repo is there and is enabled that the gpgcheck is also enabled. John On Mar 23, 4:08 pm, Michael DeHaan wrote: > On Tue, Mar 23, 2010 at 10:21 AM, jsear

[Puppet Users] Puppet is part of Google Summer of Code this year

2010-03-23 Thread Michael DeHaan
As posted previously to Twitter, though I don't think I emailed it out, Puppet is part of Google Summer of Code this year. We don't know yet how many student slots we're going to get, but we've asked for 2 right now. If you know of students who would like to work on Puppet (and get paid!) (not b

Re: [Puppet Users] Changing multiple files

2010-03-23 Thread Michael DeHaan
On Tue, Mar 23, 2010 at 10:21 AM, jsearles wrote: > Hello, > > I am trying to check for each enabled repo in /etc/yum.repos.d/ that > the gpgcheck is set to 1. I wanted to do this with Augeas, but I > cant seem to get it to work. I tried something like the following but > it does not work. > >

Re: [Puppet Users] Quiesce Puppet?

2010-03-23 Thread Douglas Garstang
On Sun, Mar 21, 2010 at 10:03 PM, John Warburton wrote: > We run puppet from a wrapper via cron that (among other things) looks to see > if the server is in maintenance mode ( test -f /.maint ) > > Puppet only runs if that file exists. The wrapper complains if the maint > file is > 24 hours old H

Re: [Puppet Users] templatedir for environment or for module?

2010-03-23 Thread Nigel Kersten
if a template exists in modules/foo/templates/bar.erb you refer to it as template("foo/bar.erb") in manifests. On Tue, Mar 23, 2010 at 10:12 AM, Allan Marcus wrote: > I am confused about the template dir in the module/{modulename}/ dir > > Does the autoloader look in /env1/modules/{modulena

[Puppet Users] templatedir for environment or for module?

2010-03-23 Thread Allan Marcus
I am confused about the template dir in the module/{modulename}/ dir Does the autoloader look in /env1/modules/{modulename}/templates/ automatically, or do I need to refer to the template by its full path? http://projects.reductivelabs.com/projects/puppet/wiki/Puppet_Templating states that a tem

Re: [Puppet Users] Quiesce Puppet?

2010-03-23 Thread Disconnect
ls -l /var/lib/puppet/state/puppetdlock (path may vary..) If its 0 bytes, either you ran out of disk space or its --disable'd. If its got a pid, that is the puppet daemon pid that is running an update. If it is missing, either puppet is not running at all or it is not running an update. On Fri, M

[Puppet Users] Changing multiple files

2010-03-23 Thread jsearles
Hello, I am trying to check for each enabled repo in /etc/yum.repos.d/ that the gpgcheck is set to 1. I wanted to do this with Augeas, but I cant seem to get it to work. I tried something like the following but it does not work. augeas{ "/etc/yum.repos.d-gpgcheck" : cont

Re: [Puppet Users] Package Providers for OD X Server

2010-03-23 Thread Allan Marcus
We are running puppetmasterd on a Mac OS X server (10.5) with passenger. We only manage clients, not servers. I'm actually working a paper I will deliver in May at the National Lab IT Summit on how we implemented puppet at Los Alamos. I'm working no on getting it all working with a 10.6 server.

Re: [Puppet Users] Will a 0.25 client work w/ 0.24 server?

2010-03-23 Thread LOhit
Simple answer, don't do it. :) Do yourself a favour and upgrade the server first. Older versioned clients can connect to a server running newer version. -LOhit On Tue, Mar 23, 2010 at 8:41 PM, sdotsen wrote: > I'm using the latest stable build of 0.24 on my servers. The > puppetmaster runs on

Re: [Puppet Users] Will a 0.25 client work w/ 0.24 server?

2010-03-23 Thread Nigel Kersten
No. On Tue, Mar 23, 2010 at 8:11 AM, sdotsen wrote: > I'm using the latest stable build of 0.24 on my servers. The > puppetmaster runs on 0.24 as well. > Prior to upgrading, I would like to test 0.25 to make sure all is > well. When trying to connect a 0.25 client to my puppetmaster, it > doesn'

[Puppet Users] Will a 0.25 client work w/ 0.24 server?

2010-03-23 Thread sdotsen
I'm using the latest stable build of 0.24 on my servers. The puppetmaster runs on 0.24 as well. Prior to upgrading, I would like to test 0.25 to make sure all is well. When trying to connect a 0.25 client to my puppetmaster, it doesn't do anything. No certs were handed. Command Line syntax: puppe

[Puppet Users] [Puppet-Users] Exported resources doesn't seem to work

2010-03-23 Thread christian
Hey, I'm trying to use the simple ssh known host example in the puppet wiki to get exported resources working...but somehow it fails. I'd say my problem is similar to this one: http://groups.google.com/group/puppet-users/browse_thread/thread/ec35aa873f81b759/0ac29daa7aacd86c?lnk=gst&q=exported+res

Re: [Puppet Users] Source and Template file defaults

2010-03-23 Thread Thomas Bellman
Douglas Garstang wrote: On Mon, Mar 22, 2010 at 7:15 PM, Ohad Levy wrote: Hmm.. Puppet does not support going over multiple templates like it does in plain files. maybe there is even a feature request for it ;) Aw crap. I've been told that twice in the last few days. Is there another way

Re: [Puppet Users] Templates : about puppet syntax

2010-03-23 Thread Dick Davies
On Mon, Mar 22, 2010 at 7:33 PM, Smain Kahlouch wrote: > I would like to give a parameter to my ldap module. > > In the node definition i would like to specify the domain. > Example : > ldapnode { > include ldap::master::domain("domain.tld") > } > > And in the manifest : > define ldap::master::do

[Puppet Users] Re: certificates

2010-03-23 Thread Arnauld
Thanks a lot, it's more clear now :) But I have another ssl question... When a client try to establish a connection with the master, is there a double check ? I mean, does the client verify the master authenticity and reciprocally ? --Arnauld -- You received this message because you are subscr

Re: [Puppet Users] Directory structure?

2010-03-23 Thread R.I.Pienaar
hello, - "Tony G." wrote: > I have same structure, but interested if there is any other out there. I do it like this: http://www.devco.net/archives/2009/10/10/puppet_environments.php Essentially I wanted to avoid duplicating all my modules into every environment, we dont have such stric

Re: [Puppet Users] large files hierarchy - per module or monolithic?

2010-03-23 Thread Ohad Levy
On Tue, Mar 23, 2010 at 2:40 PM, Nigel Kersten wrote: > > Do you use VCS $Id$ tags? I find those make it reasonably clear when a > file has been pushed centrally. > > I find the $id$ tags sometimes to be anonying, as if someone is checking out the files via https or ssh the file url changes and h