On Wed, 06 May 2009, 骡骡 wrote:
> in 1st day of each month , change passwd of root.

>         exec { "rootpw":
>                 command => "/usr/sbin/usermod -p $rootpw root",
>                 onlyif => "/usr/bin/test `/bin/date -d now +%d` = '01'",

Assuming you run puppet every 30 minutes, won't that happen ~48 times on the 
first of the month? Perhaps not too bad, but not too nice either.

-- 
Robin <[email protected]> JabberID: <[email protected]>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to