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,23060#msg-23060

Define a cfengine_server (or whatever makes sense) class somehow (either with 
something early in the bundle sequence, or with a -D command line option), and 
then do something like this:


body server control {
  cfengine_server::
  # stuff for
  # the servers

  !cfengine_server::
  # stuff for
  # the clients
}


You could just as easily use hostname classes or some other hard class as well.

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to