>>> Does cfengine have a similar concept for mapping systems locally to the >>> configuration rules they should access? >>> >> Indirectly. I have not played with this feature yet, but I believe that >> cfengine "methods" would do the trick. This could call a python script >> that queries cobbler and translates "management-classes" into cfengine >> classes. > > If you can supply what cobbler what the data that cobbler would need to > return to such a script, I'll gladly add it. > > Generic-config-management-system support would be very nice.
Whoops...got this mixed up. Modules (not methods) allow one to call out any arbitrary program. The docs are a bit sketchy and I have never tried this, but I believe that all that is necessary is for cobbler to print to stdout the list of classes prefixed with the plus sign (e.g. "+specialclass"). It is not clear whether this is one per line or all on a single line or a combination of both. Some work is required in order to use these classes in cfengine. The "Cfengine Concepts" manual describes this in some detail under "Writing plugin modules" (section 3.4.5 in my version). Methods would be useful in this context as well since it would allow one to run the module on the cobbler server instead of locally on the system being configured. Chris _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
