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

Ryan's approach can become extremely difficult to do.  You can end up having to 
craft wild regular expressions to account for what should not be there.  In my 
experience it does not scale well.

David, you can have Cfengine read a text file, like a real cron file into a 
slist (readstringlist).  This separates cron data from Cfegnine logic.

I would not describe Cfengine policy as the murky depths.  My impression from 
your last message was that your team hoped to use Cfengine but were not keen on 
learning much about it. To use Cfengine to its potential you have to know how 
to create your own policy with confidence.  Mistakes can be amplified across 
many hosts so be very thorough with testing.  Do not be daunted.  Learning just 
the staple promises of Cfengine, vars, classes, files, methods, commands and 
processes, can allow you to accomplish wondrous things even with very simple 
promises.

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

Reply via email to