Forum: Cfengine Help
Subject: Re: Cfengine Help: Hard classes vs defined classes ?
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,21346,21350#msg-21350

Well,

You can use hostname or IP based guessing like:


bundle common g
{
 classes:
     "central_system" or => {  "ipv4_1_1_1_1", "foo" };

...
}


Here "foo" is short form of hostname for foo.example.com (you might use 
"foo_example_com", too).

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

Reply via email to