Mark Burgess wrote:

Hello

Thank you for the very prompt response, would I reference them as

"${xyz.ClassName}"::
                                do something


Regards

Mark.
Put the classes in

bundle common xyz
{
}

Mark Nelson wrote:
Hello

I'm not sure how to do this.  I want to define a series of classes at a
single point within the CF-engine configuration and then reference the
classes in various bundles within the CF-Engine configuration system.


e.g

classes.cf

       classes:
                     "MailServers"    or => {"server1", "server2",
"server3"};


mail.cf
....

    files:
       MailServers::
                  "/etc/mail/sendmail.cf"

                        Comment => "External facing mail server".

                         copy_from =>
remote("policy-server",/config/mail-external.cf");




I'm using cf-engine version 3.

Regards


Mark.

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


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

Reply via email to