On Wed, 1 Jun 2011 11:01:20 +0100, "Briggs, Lee" lee.briggs@jpmchase.com wrote:
Hi,
We've been using cobbler here for a while, but in the web UI there's a button that's been bugging me. That little "Add Child" button in the profiles section.
Now I've been doing some reading about what this does and haven't got a satisfactory answer. What I'm hoping it does it this:
I create a profile, let's called it Master. Now this master profile contains the main configs for our cluster. However, we also have site specific profiles, such as location A and location B. Previously, this would be 3 separate profiles, but, can we create a master profile and then make location A and location B child profiles of Master, where location A will get all of Master's snippets, kickstarts, configs etc?
If that's not how it works, can someone provide me a use case of these child profiles!?
We have multiple groups use the same profile. For instance, we have a base RHEL-6-U0-Server-x86_64 profile. Then we have multiple child profiles inherit from it with meta profiles. SO we have CIS-EL-x86_64 profile. This profile is the default profile that is used for server hosts if a specific version isn't used. It used to point at RHEL-5-U6-Server-x86_64 before the RHEL6 release. But there is also a DEVLAB-EL-6-x86_64 profile, which is the default profile used by another group that has a few differences with the CIS profile. Technically could be done via snippets and intelligent templating, but these are different groups, so we provide access controls to allow certain people to edit only a subset of the profiles.
I know some others use child profiles in different ways, but that is our method.