[Puppet Users] Re: Recommendation for general practice for application deployment?

2012-02-07 Thread
Hi, Alessandro Francesch: I am just use Puppi, it's dont work! my configuration: server /etc/puppet/modules/puppi/manifests/init.pp add puppi::project::builder { "tengine": source => "svn://tvmining:tvmin...@svn.test.local/product/ tengine", source_type => "dir",

[Puppet Users] Re: set password of root

2009-05-06 Thread
assuming you have installed ruby-shadow package, > you just need to specify the crypted string. > > On 5/6/09, 骡骡 wrote: > > > > > > > in 1st day of each month , change passwd of root. > > > # vi /etc/puppet/modules/user/manifests/init.pp > > > clas

[Puppet Users] Re: set password of root

2009-05-06 Thread
On May 6, 3:51 pm, 骡骡 wrote: > in 1st day of each month , change passwd of root. > > # vi /etc/puppet/modules/user/manifests/init.pp > > class user { > exec { "rootpw": > command => "/usr/sbin/usermod -p $rootpw root", >

[Puppet Users] set password of root

2009-05-06 Thread
in 1st day of each month , change passwd of root. # vi /etc/puppet/modules/user/manifests/init.pp class user { exec { "rootpw": command => "/usr/sbin/usermod -p $rootpw root", onlyif => "/usr/bin/test `/bin/date -d now +%d` = '01'", } } # vi /etc