Eric Doutreleau wrote:
> Hi
>
> i m using cobbler 1.6.4 and i m trying to use the management data with 
> cfengine.
> But i have a problem i don't succeed in seeing the management classes 
> from the web interface
>
> here is an example
>
> i have put the management class sallestp on the system B008-04
>
> cobbler system  find --mgmt-classes=sallestp
> B008-04
>
> cobbler system  find --hostname=b008-04.int-evry.fr
> B008-04
>
> then my profile B008-04 has the management classe sallestp and hostname 
> b008-04.
> int-evry.fr
>
> but http://cobbler/cblr/svc/op/puppet/hostname/b008-04.int-evry.fr
> got me
> classes: []
> parameters: {}
>
> then i don't find my management classes :(
>   

First off, do you mean you are trying to /add/ cfengine support? If so, 
that's great, though you want to be working off of the devel branch, not 
the old 1.6.4 release if you're going to be sharing patches.

In order to see management classes you must first set them:

cobbler profile edit --name=foo --mgmt-classes="dog cat webserver"

It also makes much more sense to assign classes on a profile than a 
system since that's the point of profiles -- to think in terms of roles 
the boxes perform and to make things repeatable.

If you search for something on a system it won't show you what you have 
set on a profile.

Do you mean you can't see the management classes field in the Web User 
Interface? This has been present at least since 1.4.


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to