[root@puppet-master-201813 ~]# puppet lookup --explain --node puppet-compile-201813.puppetdebug.vlan env |
Searching for "lookup_options" |
Global Data Provider (hiera configuration version 3) |
Using configuration "/etc/puppetlabs/puppet/hiera.yaml" |
Hierarchy entry "yaml" |
Merge strategy hash |
Path "/etc/puppetlabs/code/environments/production/hieradata/virtual/virtualbox.yaml" |
Original path: "virtual/%{::virtual}" |
No such key: "lookup_options" |
Path "/etc/puppetlabs/code/environments/production/hieradata/nodes/puppet-compile-201813.puppetdebug.vlan.yaml" |
Original path: "nodes/%{::trusted.certname}" |
Path not found |
Path "/etc/puppetlabs/code/environments/production/hieradata/common.yaml" |
Original path: "common" |
No such key: "lookup_options" |
Searching for "env" |
Global Data Provider (hiera configuration version 3) |
Using configuration "/etc/puppetlabs/puppet/hiera.yaml" |
Hierarchy entry "yaml" |
Path "/etc/puppetlabs/code/environments/production/hieradata/virtual/virtualbox.yaml" |
Original path: "virtual/%{::virtual}" |
No such key: "env" |
Path "/etc/puppetlabs/code/environments/production/hieradata/nodes/puppet-compile-201813.puppetdebug.vlan.yaml" |
Original path: "nodes/%{::trusted.certname}" |
Path not found |
Path "/etc/puppetlabs/code/environments/production/hieradata/common.yaml" |
Original path: "common" |
Found key: "env" value: "production" |
|
[root@puppet-master-201813 ~]# puppet lookup --explain --node puppet-compile-201813.puppetdebug.vlan env --compile |
Searching for "env" |
Global Data Provider (hiera configuration version 3) |
Using configuration "/etc/puppetlabs/puppet/hiera.yaml" |
Hierarchy entry "yaml" |
Path "/etc/puppetlabs/code/environments/development/hieradata/virtual/virtualbox.yaml" |
Original path: "virtual/%{::virtual}" |
No such key: "env" |
Path "/etc/puppetlabs/code/environments/development/hieradata/nodes/puppet-compile-201813.puppetdebug.vlan.yaml" |
Original path: "nodes/%{::trusted.certname}" |
Path not found |
Path "/etc/puppetlabs/code/environments/development/hieradata/common.yaml" |
Original path: "common" |
Found key: "env" value: "development"
|