Hello,
I have an existing puppet baseline using node classifiers but want to move this all into cobbler's ENC. Is there a good way to move all the puppet classes (/etc/puppet/modules) into cobbler management classes?
Also, can you do paramertized classes and overwrite the variable on a per server basis or do you need a separate management class for each value of the variable. For instance if there is a class named foo and a parameter of bar. bar can be set to true or false. Do I need a management class for bar set to true and bar set to false or can I set that variable somewhere besides the management class?
Thanks,
Right now, you have to do one mgmt-class per variable. Adding the ability to do variable substitution is on my to-do list.
Beyond that, there's no scripted or automated way to move that info into cobbler unfortunately. For the basic classes, you could always write a script that parses through your manifest for classes and defines and add them that way, but adding parameters would still be a manual process.
On Mon, Aug 5, 2013 at 7:53 AM, Bryan Hughes bhughes@gisfederal.com wrote:
Hello,
I have an existing puppet baseline using node classifiers but want to move this all into cobbler's ENC. Is there a good way to move all the puppet classes (/etc/puppet/modules) into cobbler management classes?
Also, can you do paramertized classes and overwrite the variable on a per server basis or do you need a separate management class for each value of the variable. For instance if there is a class named foo and a parameter of bar. bar can be set to true or false. Do I need a management class for bar set to true and bar set to false or can I set that variable somewhere besides the management class?
Thanks, _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler@lists.fedorahosted.org