| I have upgraded puppet master from 3 to 5. All the modules are working fine when run puppet agent -tv from the client (puppet agent 3 . But the hiera lookup values are not being taken properly I have updated the hiera version from 3 to version 5 even that doesn't help, I am enclosing my hiera 3 file and hiera 5 file. hiera 3 was working fine with puppet master 5 ###hiera version 3 file ####### — :backends: - yaml - json :yaml: :datadir: /etc/puppet/hieradata :json: :datadir: /etc/puppet/hieradata :hierarchy: - "node/%{::hostname}" - "tspnode/%{::hostname}" - "tmpnode/%{::hostname}" - "%{::clientcert}" - "%{::custom_location}" - limits_rules - sudo_rules - virt_who - common ############################################# #######hiera version 5 ################## — version: 5 defaults: datadir: /etc/puppet/hieradata data_hash: yaml_data hierarchy: - name: "Per-node data" paths: - "node/%{facts.hostname}.yaml" - "tspnode/%{facts.hostname}.yaml" - "tmpnode/%{::hostname}.yaml" - "%{::clientcert}.yaml" - name: "Other YAML hierarchy levels" paths: - "%{::custom_location}.yaml" - "limits_rules.yaml" - "sudo_rules.yaml" - "virt_who.yaml" - "common.yaml" ################## hiera -V 3.4.2 |