Project

General

Profile

Actions

Bug #26898

closed

Inheritance don't work for smart class parameters matcher on nested location

Added by Baptiste Agasse over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

We use matchers on location for some puppet smart class paremeters. We use nested location like:
France/Toulouse/Site1/Zone1
France/Toulouse/Site1/Zone2
...

If we set a matcher on a sub level of the location, it is not inherited in nested locations. Eg:

Location = France/Toulouse/Site1 => monitoring_server = monitoring.foo.example.com. The value will not inherited on hosts in France/Toulouse/Site1/zone1.

This behaviour is inconsistent with nested hostgroups where inheritance is respected.

Actions

Also available in: Atom PDF