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

-- 
Mark Burgess

-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway

Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to