Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18623,18647#msg-18647
I actually recognize this problem. I use the regline function to check if a file /etc/cfclass.conf contains a line like for example "frontend-tomcat". This lets me give a role to a server without having to change the promises. I didn't find a way to localy define additional global classes. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine