[Puppet Users] Re: Exported Resources: noob help please!

2009-08-26 Thread David Schmitt
robbyt wrote: Hi All, I'm successfully using Exported Resources and StoreConfigs on my puppet system. I'm able to populate the hosts files on all of my nodes, and that's pretty cool. My problem is that i'm not quite clear how to query the information stored in the Exported Resources

[Puppet Users] Re: storeconfigs + environments issue

2009-08-26 Thread Ohad Levy
You dont need to run it as root, can you please paste your puppet.conf? cheers, Ohad On Thu, Aug 27, 2009 at 9:40 AM, josbal joshua.bald...@gmail.com wrote: Why would the permissions / running as root need to change for using storeconfigs? As mentioned before our testing puppet server is

[Puppet Users] Re: Exported Resources: noob help please!

2009-08-26 Thread Oded
David,how does the code you provided handle the removal of a source node ? as far as i can tell the directory that contains the concatenated_file_parts doesn't get purged on each puppet iteration.so even after the source node stops exporting its file_part the Concatenated_file will contain its

[Puppet Users] Could not call puppetmaster.getconfig: #RuntimeError: HTTP-Error: 500 Internal Server Error

2009-08-26 Thread !JEW
the server vm190.sina.com.cn: [r...@vm190 manifests]# /usr/sbin/puppetmasterd --debug --verbose --no-daemonize info: Starting server for Puppet version 0.24.8 debug: Creating interpreter debug: Creating default schedules debug: Failed to load library 'ldap' for feature 'ldap' debug:

[Puppet Users] Re: Bacula Puppet Type

2009-08-26 Thread Adrian Silva
Hello, On Tue, Aug 25, 2009 at 5:08 PM, S Hshdashb...@gmail.com wrote: I'm putting the finishing touches on a set of native Bacula types for Puppet and was wondering if anybody out there would be interested in giving it a test run. It seems to be running more or less correctly in my

[Puppet Users] Failed to retrieve file from the server

2009-08-26 Thread ice jew
debug: //Node[vm170.sina.com.cn]/user::filetest/File[/root/puppet/server_netstat.txt]: File does not exist debug: Calling fileserver.describe err: //Node[vm170.sina.com.cn]/user::filetest/File[/root/puppet/server_netstat.txt]: Failed to retrieve current state of resource:

[Puppet Users] Re: Notify someone on failure

2009-08-26 Thread Gerard Bernabeu
Hi, I'm using nagios to monitor puppet by runing the script below in each host. The script looks at the log file, it returns 0 if everything is OK or 1 if there's some error. Cheers, - Gerard Bernabeu Port d'Informació

[Puppet Users] Re: storeconfigs + environments issue

2009-08-26 Thread josbal
Surething... [main] # Where Puppet stores dynamic and growing data. # The default value is '/var/puppet'. vardir = /var/lib/puppet # The Puppet log directory. # The default value is '$vardir/log'. logdir = /var/log/puppet # Where Puppet PID files are kept. # The