Created
January 29, 2020 19:13
-
-
Save ody/d300c27fb26d1104c7153da322974e84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@pe-compiler-0bdfdb-0 production]# FACTER_fqdn=testnode1.example.com puppet apply -e 'class test($value3, $value2) { notice($value3, $value2) }; include test; notice(lookup(test::value1))' --debug --trace | |
--- | |
Debug: Automatic Parameter Lookup of 'test::value3' | |
Searching for "lookup_options" | |
Global Data Provider (hiera configuration version 5) | |
Using configuration "/etc/puppetlabs/puppet/hiera.yaml" | |
Hierarchy entry "Classifier Configuration Data" | |
No such key: "lookup_options" | |
Environment Data Provider (hiera configuration version 5) | |
Using configuration "/etc/puppetlabs/code/environments/production/hiera.yaml" | |
Merge strategy hash | |
Hierarchy entry "Nodes" | |
URI "nodes/testnode1.example.com" | |
Original uri: "nodes/%{facts.fqdn}" | |
No such key: "lookup_options" | |
[puppet_metadata_service::data_hash] Creating connection to pe-compiler-0bdfdb-0 | |
[puppet_metadata_service::data_hash] Loading hierarchy: nodes/testnode1.example.com from pe-compiler-0bdfdb-0 | |
Hierarchy entry "Environment" | |
URI "environments/production" | |
Original uri: "environments/%{environment}" | |
No such key: "lookup_options" | |
[puppet_metadata_service::data_hash] Creating connection to pe-compiler-0bdfdb-0 | |
[puppet_metadata_service::data_hash] Loading hierarchy: environments/production from pe-compiler-0bdfdb-0 | |
Module "test" not found | |
Searching for "test::value3" | |
Global Data Provider (hiera configuration version 5) | |
Using configuration "/etc/puppetlabs/puppet/hiera.yaml" | |
Hierarchy entry "Classifier Configuration Data" | |
No such key: "test::value3" | |
Environment Data Provider (hiera configuration version 5) | |
Using configuration "/etc/puppetlabs/code/environments/production/hiera.yaml" | |
Hierarchy entry "Nodes" | |
URI "nodes/testnode1.example.com" | |
Original uri: "nodes/%{facts.fqdn}" | |
No such key: "test::value3" | |
Hierarchy entry "Environment" | |
URI "environments/production" | |
Original uri: "environments/%{environment}" | |
Found key: "test::value3" value: "environments-prod" | |
Debug: Automatic Parameter Lookup of 'test::value2' | |
Searching for "test::value2" | |
Global Data Provider (hiera configuration version 5) | |
Using configuration "/etc/puppetlabs/puppet/hiera.yaml" | |
Hierarchy entry "Classifier Configuration Data" | |
No such key: "test::value2" | |
Environment Data Provider (hiera configuration version 5) | |
Using configuration "/etc/puppetlabs/code/environments/production/hiera.yaml" | |
Hierarchy entry "Nodes" | |
URI "nodes/testnode1.example.com" | |
Original uri: "nodes/%{facts.fqdn}" | |
No such key: "test::value2" | |
Hierarchy entry "Environment" | |
URI "environments/production" | |
Original uri: "environments/%{environment}" | |
Found key: "test::value2" value: "environments-prod" | |
Notice: Scope(Class[Test]): environments-prod environments-prod | |
Debug: Lookup of 'test::value1' | |
Searching for "test::value1" | |
Global Data Provider (hiera configuration version 5) | |
Using configuration "/etc/puppetlabs/puppet/hiera.yaml" | |
Hierarchy entry "Classifier Configuration Data" | |
No such key: "test::value1" | |
Environment Data Provider (hiera configuration version 5) | |
Using configuration "/etc/puppetlabs/code/environments/production/hiera.yaml" | |
Hierarchy entry "Nodes" | |
URI "nodes/testnode1.example.com" | |
Original uri: "nodes/%{facts.fqdn}" | |
Found key: "test::value1" value: "nodes" | |
Notice: Scope(Class[main]): nodes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment