Equivalent debugging technique

The hiera command has now been completely replaced with the puppet lookup command, so we can run the following and use the --node argument to provide the node to which the lookup pertains:

$ puppet lookup --node mynode.example.local --debug mysetting

The key difference here is that the puppet lookup function will now query puppetdb to gather all the appropriate facts for the given node argument.

We can also now use the --explain argument to give a complete description of how Hiera fetches the data in its hierarchy.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.34.226