Forum: Cfengine Help
Subject: Re: edit_line on a symlink
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,20423,20430#msg-20430
There must be a way to know the file location based on the OS type, version or
flavour. For instance I have to account for the various locations of crontab
entries. I put this is a common bundle.
# Crontable locations.
redhat::
"crontabs" string => "/var/spool/cron",
comment => "Define location of cron tables";
debian|sunos_5_10|aix::
"crontabs" string => "/var/spool/cron/crontabs",
comment => "Define location of cron tables";
SuSE::
"crontabs" string => "/var/spool/cron/tabs",
comment => "Define location of cron tables";
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine