Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

hiera not looking up all files

$
0
0
so my hiera.yaml file looks like this --- :backends: - yaml :hierarchy: - "%{::osfamily}/%{::operatingsystemrelease}" - common - defaults :yaml: :datadir: "/etc/puppetlabs/puppet/hieradata" and i have a file in the hieradata directory /Suse/12.0.yaml when i run hiera is doesnt look at that file hiera --debug ospackages osfamily=Suse operatingsystemrelease=12.0 DEBUG: 2015-11-11 17:21:20 +1100: Hiera YAML backend starting DEBUG: 2015-11-11 17:21:20 +1100: Looking up ospackages in YAML backend DEBUG: 2015-11-11 17:21:20 +1100: Looking for data source 12.0 DEBUG: 2015-11-11 17:21:20 +1100: Found ospackages in 12.0 ["DirectFB"] but i run on client that has those facts i get Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Could not find data item ospackages in any Hiera data file

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>