Hello,
How do I deploy a file, but then stop deploying it when it has been
changed in a certain way?
Something like:
file { "/etc/ldap.conf":
owner => root,
group => nscd,
mode => 640,
content => template("gu_auth/ldap.conf.rb"),
onlyifnot => "grep -E '^PUPPET ME NOT' '/etc/ldap.conf'",
}
Thanks a lot.
Mohamed.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
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.