Forum: Cfengine Help
Subject: Re: Hostname based classes and virtual machines in Cfengine 3
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,22131,22137#msg-22137

Lets take a FreeBSD system that has two jails

   JID  IP Address      Hostname                      Path
     1  192.168.2.89    wiki.local.net                /jails/wiki
     2  192.168.2.100   www.local.net                 /jails/www

and IP address 192.168.2.10 (host.local.net).

Thus on 'host.local.net' cfengine defines three ipv4 classes 
'ipv4_192_168_2_10', 'ipv4_192_168_2_89' and 'ipv4_192_168_2_100' and three 
hostname classes 'host_local_net', 'wiki_local_net', 'www_local_net'. Now all 
the promises that are meant for jails are also executed on host system. (I'm 
basically explaining same thing as in the original post.)

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

Reply via email to