Hi all
I have installed a foreman instance via git and am at 1.1-stable. I
have been looking at the behavior when using puppet-classes and want to
know if what I am seeing is to be expected. If I create a host-group that
describes the puppetmaster and domain and then create another host-group
based upon it, tha t describes a host type but does not provide values for
the puppetmater and domain, then do the empty values in the child class
override the valid values from the base class.
So does the child host-group ALWAYS override the parent host-group even
though it has empty values? This is what we are seeing but empty values
should not override provided values?!?!
> Hi all
> I have installed a foreman instance via git and am at 1.1-stable. I have
> been looking at the behavior when using puppet-classes and want to know if
> what I am seeing is to be expected. If I create a host-group that describes
> the puppetmaster and domain and then create another host-group based upon
> it, tha t describes a host type but does not provide values for the
> puppetmater and domain, then do the empty values in the child class override
> the valid values from the base class.
> So does the child host-group ALWAYS override the parent host-group even
> though it has empty values? This is what we are seeing but empty values
> should not override provided values?!?!
Can you please provide more info? empty values are not saved, so i
cant see a way for this to happen.
Ohad
···
On Wed, Apr 3, 2013 at 6:23 PM, paul kelly wrote: > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-dev+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > >If I create a brs host-group with the right puppetmaster and domain and
then create brs/host-rd-computer with empty domain and puppetmaster and
then create a new host I find the values for puppetmaster and domain are
empty. This looks like a bad installation to me. I believe that this should
not happen.
···
On Wednesday, 3 April 2013 17:51:36 UTC+1, ohadlevy wrote: > > On Wed, Apr 3, 2013 at 6:23 PM, paul kelly <paul.ia...@gmail.com> > wrote: > > Hi all > > I have installed a foreman instance via git and am at 1.1-stable. I > have > > been looking at the behavior when using puppet-classes and want to know > if > > what I am seeing is to be expected. If I create a host-group that > describes > > the puppetmaster and domain and then create another host-group based > upon > > it, tha t describes a host type but does not provide values for the > > puppetmater and domain, then do the empty values in the child class > override > > the valid values from the base class. > > So does the child host-group ALWAYS override the parent host-group > even > > though it has empty values? This is what we are seeing but empty values > > should not override provided values?!?! > > Can you please provide more info? empty values are not saved, so i > cant see a way for this to happen. > > Hi Ohad,>
>
>>
>> > Hi all
>> > I have installed a foreman instance via git and am at 1.1-stable. I
>> > have
>> > been looking at the behavior when using puppet-classes and want to know
>> > if
>> > what I am seeing is to be expected. If I create a host-group that
>> > describes
>> > the puppetmaster and domain and then create another host-group based
>> > upon
>> > it, tha t describes a host type but does not provide values for the
>> > puppetmater and domain, then do the empty values in the child class
>> > override
>> > the valid values from the base class.
>> > So does the child host-group ALWAYS override the parent host-group
>> > even
>> > though it has empty values? This is what we are seeing but empty values
>> > should not override provided values?!?!
>>
>> Can you please provide more info? empty values are not saved, so i
>> cant see a way for this to happen.
>>
> Hi Ohad,
> If I create a brs host-group with the right puppetmaster and domain and
> then create brs/host-rd-computer with empty domain and puppetmaster and then
> create a new host I find the values for puppetmaster and domain are empty.
> This looks like a bad installation to me. I believe that this should not
> happen.
>
I'm guessing you mean Bug #1908: Operating system attributes don't get passed on to child hostgroups - Foreman ?
feel free to add your opinon / vote up?
Ohad
···
On Thu, Apr 4, 2013 at 9:44 AM, paul kelly wrote: > On Wednesday, 3 April 2013 17:51:36 UTC+1, ohadlevy wrote: >> On Wed, Apr 3, 2013 at 6:23 PM, paul kelly wrote: > > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-dev+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > >inheritance to work. What I am talking about is the environment, domain and
puppetmaster in the brs hostgroup not being propagated into a host that is
in the brs/clearcase hostgroup