On Wed, 30 Mar 2011 00:44:35 -0700, Walker Traylor <walker(a)mog.com> wrote:
Hi,
I absolutely love cobbler and puppet, but I have a last mile issue - one thing I
"should" be able to do in cobbler to give full integration with puppet but
support isn't quite there.
I'm trying to use the environments support.
This is the last thing missing from cobbler for fully supporting the puppet variables
passed into external node classifier.
Who do I have to buy a beer to get this option added into cobbler?
I looked at the code and it seemed it should be simple to implement so I gave it a whirl
by basically copying the mgmt_classes code chunks, but with my limited experience with
python and cobbler codebase I gave up after a couple of hours of errors I couldn't
figure out.
For reference: puppet's field expected format:
http://docs.puppetlabs.com/guides/external_nodes.html
About environments:
http://projects.puppetlabs.com/projects/1/wiki/Using_Multiple_Environments
It should be basically just like mgmt_classes, but a string rather than list.
What would this string contain? I'm not seeing how you would like this
to be implemented from an interaction perspective. What information are
you trying to get cobbler to give to puppet and how would this be used?
--
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME