Forum: Cfengine Help
Subject: Re: How to modify a global list
Author: jonb1987
Link to topic: https://cfengine.com/forum/read.php?3,21589,21591#msg-21591

Thanks for your prompt response Neil!

I understand your point (I think), but beg to differ slightly on the 
conclusion, particularly for cron.
Taking the cfengine documentation examples, there is a specific bundle for 
cfengine.
Part of that is to modify the crontab file.

Now cron is widely used, and other tasks may be handled by cron, and require a 
different update to a file in /etc/cron,d/ for example.

I think I'd prefer to partition my promises by these tasks, rather than by the 
underlying service used by them (cron in this case).
In which case it seems optimal to maintain a list of services to be restarted 
at the end in one go. Otherwise, I'm highly likely to be restating/reloading 
something like cron several times.

Another example would be xinetd which is widely used, and again has several 
different config files.

What do you think?

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

Reply via email to