Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23442,23455#msg-23455

davidlee Wrote:
-------------------------------------------------------
> Technically: while that handles adding the lines
> in the first place, it doesn't address maintaining
> those same lines into the future (changing
> details, deleting old entries) unless one writes
> even more cfengine scripting.  (Or have I missed
> something?)

You can have the promise empty the file before adding the new lines. Thus only
the lines in the list will exist in the cron table.  To add new entries add a
new list item.

As to why the Cfengine stuff, I refer you to these:

http://watson-wilson.ca/2011/03/enterprise-system-administration-using-configuration-management.html
http://watson-wilson.ca/2011/01/victory-over-security-audits.html

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to