After upgrade from 1.3.2 nested host groups not inherating smart variables anymore

OK Kinda confused.

I have a hand full of environments (25 or so) and the get assigned to
various host groups based on platform etc. bla bla further not interesting.
I have 3 "core" host groups , one that sets base tools and configs like for
postfix etc., then one that sets security related items , and then one that
adds default users snmp etc. all these work int he environment master. so
far so good , all these work over that I have platform groups like our DNS
platform (env. dnsplatform), it has 3 sub groups dns dev (env. dnsdev) ,
DNS Caching (env. dnscaching) etc. you get the idea.

No all the way to the DNS platform host group inheritance works fine , but
all above that …not so much. The puppet run does see the inherited
classes but not their smart variable which consequently aren't transferred.
the odd thing is the failed puppet runs also never make it to foreman so
all is green in foreman …

A bit abotu my Puppet to add , as stated I have about 25 environments ,
most dont have any classes / modules associated with them but a couple like
the DNS Platform do.

The issue I see is that pupept does see the parametered classes but foreman
not , how do I fix this

thanks,

J.

Minor addition to show the difference per host the yaml file same parent
host group mind you. You will see it dropped the parameters :S

puppet run errors out with, which is logic as the parameter doesn't get
passed :

dnscaching [root@cache11.fra ~]# puppet agent -tv
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Must pass location to Class[Default-security] on node cache11.fra.ns
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
dnscaching [root@cache11.fra ~]#

··· --- classes: default-all-hosts: dellcommunity: value default-security: community: somevalue contact: some email dellcommunity: value location: Germany git: git-user: hosts: win-admin-users: parameters: puppetmaster: hostgroup: SysEng-Defaults/Security/Core/DNS Platform root_pw: puppet_ca: 172.16.1.53 foreman_env: dnscachingint owner_name: Admin User owner_email: dellcommunity: domainname: ns enable-puppetlabs-repo: 'true' locationdc: fra environment: dnscachingint dnsserver: '1' location: Germany community: dns4allmon environment: dnscachingint

classes:
default-all-hosts:
default-security:
git:
git-user:
hosts:
quagga-cache:
sudoers-cache:
unbound-cache:
win-admin-users:
parameters:
puppetmaster:
hostgroup: SysEng-Defaults/Security/Core/DNS Platform/DNS Caching
root_pw:
puppet_ca:
foreman_env: dnscaching
owner_name: Admin User
owner_email: email
dellcommunity: value
domainname: ns
enable-puppetlabs-repo: 'true’
locationdc: fra
environment: dnscaching
dnsserver: '1’
location: DE, Frankfurt, FRA0, Room 2.02, Cabinet 2
anycast_ipaddress: ipv4
anycast_ipaddress6: ipv6
anycast_ipaddress_2: ipv4
extern: '1’
quagga_bgp_neighbor: ipv4
quagga_bgp_neighbor6: ipv6
environment: dnscaching

On Sunday, April 13, 2014 12:27:43 PM UTC+2, Jelle B. wrote:

OK Kinda confused.

I have a hand full of environments (25 or so) and the get assigned to
various host groups based on platform etc. bla bla further not interesting.
I have 3 “core” host groups , one that sets base tools and configs like
for postfix etc., then one that sets security related items , and then one
that adds default users snmp etc. all these work int he environment master.
so far so good , all these work over that I have platform groups like our
DNS platform (env. dnsplatform), it has 3 sub groups dns dev (env. dnsdev)
, DNS Caching (env. dnscaching) etc. you get the idea.

No all the way to the DNS platform host group inheritance works fine , but
all above that …not so much. The puppet run does see the inherited
classes but not their smart variable which consequently aren’t transferred.
the odd thing is the failed puppet runs also never make it to foreman so
all is green in foreman …

A bit abotu my Puppet to add , as stated I have about 25 environments ,
most dont have any classes / modules associated with them but a couple like
the DNS Platform do.

The issue I see is that pupept does see the parametered classes but
foreman not , how do I fix this

thanks,

J.