The 'Comparing Cfengine' doc talks about abstracting services.  I like
this idea and have used it in the lab.  One thing this example doesn't
mention is how to handle services with multiple configuration files.
Suppose the service has recursive copy or a list of files?

bundle common res # abstraction layer
{
     vars:

       solaris::

        "cfg_file[ssh]" string => "/etc/sshd_config";
        "daemon[ssh] "  string => "sshd";
        "start[ssh] "   string => "/etc/init.d/sshd restart";

-- 
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to