Puppet – Hiera Error

As mentioned here: https://ask.puppet.com/question/22498/error-400-on-server-could-not-find-data-item-nfsexports-in-any-hiera-data-file-and-no-default-supplied-at/ I was getting 400 error as puppet not able to find hiera value.. YAML files strictly follows indentation - I've copied and pasted values from different values which has placed 'TAB' instead of spaces. Find the tab and replace with spaces. #grep -P '/t' -r * <all hiera yaml files> On … Continue reading Puppet – Hiera Error

Puppet – Restore File

So I was updating configuration file on the server for one of the services without updating through puppet. Though I did take care of stopping the puppet before making any changes but did not disable the agent. After updating configuration file as a habit I ran puppet manually "puppet agent -t" erasing the changes and … Continue reading Puppet – Restore File