Created
July 30, 2013 15:18
-
-
Save walterheck/6113909 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@yomamma puppet]# hiera -d foreman::foreman_url -c hiera.yaml fqdn=yomamma.dedi.example.com | |
DEBUG: Tue Jul 30 16:15:39 +0100 2013: Hiera YAML backend starting | |
DEBUG: Tue Jul 30 16:15:39 +0100 2013: Looking up foreman::foreman_url in YAML backend | |
DEBUG: Tue Jul 30 16:15:39 +0100 2013: Looking for data source common | |
nil | |
[root@yomamma puppet]# cat hiera.yaml | |
--- | |
:backends: | |
- yaml | |
:yaml: | |
:datadir: /etc/puppet/hieradata | |
:hierarchy: | |
- "fqdn/%{::fqdn}" | |
- "common" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment