Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <0>root@blade214(24)~$ cat /etc/hiera.yaml
- ---
- :backends:
- - yaml
- :logger: console
- :hierarchy:
- - "D:h=(%{hostname}),cm=(%{calling_module}),mn=(%{module_name}),cmn=(%{caller_module_name})"
- :yaml:
- :datadir: /home/gitsync/puppet/%{environment}/hiera
- <0>root@blade214(25)~$ puppet apply /tmp/t.pp --debug
- Debug: hiera(): Hiera YAML backend starting
- Debug: hiera(): Looking up foo in YAML backend
- Debug: hiera(): Looking for data source D:h=(blade214),cm=(),mn=(),cmn=()
- Debug: hiera(): Cannot find datafile /home/gitsync/puppet/production/hiera/D:h=(blade214),cm=(),mn=(),cmn=().yaml, skipping
- Error: Could not find data item foo in any Hiera data file and no default supplied at /tmp/t.pp:2 on node blade214.non.3dart.com
- Error: Could not find data item foo in any Hiera data file and no default supplied at /tmp/t.pp:2 on node blade214.non.3dart.com
Advertisement
Add Comment
Please, Sign In to add comment