Forum: CFEngine Help
Subject: Re: Should Clients & Servers share a promises.cf file?
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,23025,23087#msg-23087

ryanwilliams Wrote:
-------------------------------------------------------
> Of course i can just use the hostname itself. Such
> a simple solution, thank you very much.
> 
> Note: When a class is created matching the
> hostname all of the full stops are replaced with
> underscores.

In case you're not aware, those are replaced because the period / fullstop is a 
synonym for the ampersand (ie, the "and" operator) in a class expression.  And 
because classes can only contain letters, numbers, and underscores.

On a related note, you can most easily see all the classes which were defined 
during your last cf-agent run by reading /var/cfengine/state/allclasses.txt.

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

Reply via email to