Displaying 1 result from an estimated 1 matches for "hiera_test".
2012 Jul 10
9
Hiera and environments
...└── modules
*Configuration file*
[root@puppet-dev puppet]# cat /etc/hiera.yaml
---
:hierarchy:
- %{environment}
- %{operatingsystem}
- common
:backends:
- yaml
:yaml:
:datadir: ''/etc/puppet/environments/%{environment}/hieradata/''
*Test manifest*
class hiera_test {
$packages = hiera(''sshpackages'')
notify { $packages: }
}
However, my test client errors out with the following message:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find data item sshpackages in any Hiera data file and no default...