Best. Non-idempotent. Exec. Ever. unless => "/bin/grep 'my line' /etc/vfstab" in your exec{}.
Regards, AJ 2008/10/1 Andrew Shafer <[EMAIL PROTECTED]> > Exec is not going to be idempotent unless you add the logic. > > You told Puppet to run that script every time, which adds the line. > > > On Tue, Sep 30, 2008 at 3:46 PM, Peter Meier <[EMAIL PROTECTED]>wrote: > >> >> Hi >> >> > I dont understand if once it is already added line in /etc/fstab why >> > it is adding every time.... >> >> because you have never defined how it knows then it's added. >> this is the expected behaviour of puppet. >> >> greets pete >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---