Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Overriding module parameter with hiera won't work on node level

$
0
0
I'm on Puppet 3.7.2 and Hiera 1.3.4 I'm using a basic ENC (hiera-enc) to create this hierarchy: :hierarchy: - "nodes/%{clientcert}" - "roles/%{role}" - "environments/%{environment}" - default I have no trouble passing classes and parameters on the role level. For example, one of my role looks like this: $ cat files/hiera/roles/agebdeb.yaml --- classes: - ssh ssh::ssh: false ... But when I try to override a parameter on the node level, puppet won't apply it even though it sees it: $ cat files/hiera/nodes/age1.bdeb.qc.ca.yaml --- classes: - ssh ssh::ssh: true ... Trying to compile to see if the nodes YAML files are read: $ puppet master --debug --compile age1.bdeb.qc.ca | grep hiera Debug: hiera(): Looking for data source nodes/age1.bdeb.qc.ca Debug: hiera(): Found classes in nodes/age1.bdeb.qc.ca Debug: hiera(): Looking for data source roles/agebdeb Debug: hiera(): Found classes in roles/agebdeb Debug: hiera(): Looking for data source environments/client Debug: hiera(): Looking for data source default Debug: hiera(): Looking up ssh::ssh in YAML backend Debug: hiera(): Looking for data source nodes/age1.bdeb.qc.ca Debug: hiera(): Found ssh::ssh in nodes/age1.bdeb.qc.ca What am I doing wrong?

Viewing all articles
Browse latest Browse all 6104

Trending Articles