Forum: Cfengine Help
Subject: Re: Question about a goup of host
Author: max_fr
Link to topic: https://cfengine.com/forum/read.php?3,20898,20911#msg-20911

Hi Dave,

Thanks a lot for you help!

Ok i understand how to implement this. But, where must i define this classes, 
promises.cf file or other else? I would like the classes to be visible to all 
other bundle agent.  In other word, a bundle agent can inherit from another 
bundle agent that contains the classes defining all servers?

My following code in promises.cf


body common control {

        bundlesequence => { "update" };

        inputs => { "hosts.cf", "update.cf", "cf.linux", "cf.hpux", 
"cfstdlib.cf"  };

        linux::
                bundlesequence  => { "hardening_linux", "manage_user_linux", 
"common_linux" };
        hpux::
                bundlesequence  => { "manage_user_hpux" };
}




Regards,
Max

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

Reply via email to