[Puppet Users] Re: How does puppet copy files?

2011-11-13 Thread Dmitry
On Nov 11, 9:46 pm, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > When agent notices that master.passwd should be refreshed, how > > exactly does copy process happen? Is it atomic (e.g. fetch to some > > temp filename on local filesystem and then rename)? > > it does

[Puppet Users] Dashboard not working (406 Not Acceptable)

2011-11-13 Thread Galed Friedmann
Hi all, I've created a replication of my puppet environment in order to set it up in a new location. I've created an exact replication of my master server which is running the puppet master, dashboard server, and mysql. Everything is working fine except for the dashboard. The master is configur

Re: [Puppet Users] Incorrect "architecture" fact value during catalog run

2011-11-13 Thread Alexander Azarov
On Sunday, November 13, 2011 4:08:37 AM UTC+4, Adrien Thebo wrote: > > Could you get the versions of facter in > /usr/lib/ruby/vendor_ruby/facter.rb and > 1.6.2 > /usr/lib/vservers/*/usr/lib/ruby/1.8/facter.rb and see if they differ? Old (1.5.x), but these are old vservers, not in use. I ca

Re: [Puppet Users] Incorrect "architecture" fact value during catalog run

2011-11-13 Thread Alexander Azarov
On Sunday, November 13, 2011 4:12:51 AM UTC+4, R.I. Pienaar wrote: > > - Original Message - > > Could you get the versions of facter in > > /usr/lib/ruby/vendor_ruby/facter.rb and > > /usr/lib/vservers/*/usr/lib/ruby/1.8/facter.rb and see if they > > differ? > > > Not been following this th

Re: [Puppet Users] Re: How does puppet copy files?

2011-11-13 Thread Christopher Wood
On Sun, Nov 13, 2011 at 02:59:45AM -0800, Dmitry wrote: > > > On Nov 11, 9:46 pm, Peter Meier wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > > When agent notices that master.passwd should be refreshed, how > > > exactly does copy process happen? Is it atomic (e.g. fetch to

Re: [Puppet Users] Need a second set of eyes... cannot find a class..

2011-11-13 Thread Aaron Grewell
Try removing the hyphen from the class name. If that fixes it then you've hit this: http://projects.puppetlabs.com/issues/5268 On Nov 12, 2011 3:14 PM, "Peter Berghold" wrote: > > In one of my modules I have the following : > > postfix/ >manifests/ > conf.pp

[Puppet Users] Puppet in a bash script

2011-11-13 Thread Harish Agarwal
Hello, I'm using puppet via a bash script when I spin up a machine to configure it. I'd like to restart the instance after puppet's run is complete. In my bash script I have: puppet agent --test shutdown -r now Puppet runs to completion, but "shutdown -r now" never executes. I'm not sure

[Puppet Users] can I use puppet for security configuration check in centos

2011-11-13 Thread modversion
hi all,can I use puppet for security configuration check in centos ? 1.check the kernel version whether great than 2.8.18.237-1 or not. 2.check the glibc,systemtap and udev version whether great than secure version or not. 3.check the php.ini whether set safe_mode to on or not. 4.check the sshd_con

[Puppet Users] How to use built-in resource in custom provider?

2011-11-13 Thread tmpup
I'm trying to use the existing type: file in a custom provider. I've tried about every single thing I can find, and each way presents a different problem. Here's how it looks now: --- require 'puppet/file_serving/configuration' require 'puppet/file_serving/fileset' require 'puppet/type' require

Re: [Puppet Users] can I use puppet for security configuration check in centos

2011-11-13 Thread Ohad Levy
On Sun, Nov 13, 2011 at 4:00 AM, modversion wrote: > hi all,can I use puppet for security configuration check in centos ? > 1.check the kernel version whether great than 2.8.18.237-1 or not. > 2.check the glibc,systemtap and udev version whether great than secure > version or not. > 3.check the ph