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",
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
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",
>
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