Lookup function

It's worth mentioning the fact that we should now be using the new lookup() function in our Puppet DSL to retrieve Hiera values. The lookup() function replaces the now deprecated set of Hiera functions:

  • hiera( )
  • hiera_hash( )
  • hiera_array( )
  • hiera_include( )

These each have an equivalent way of achieving the same result, so some fairly simple find-and-replace work on your Puppet DSL code base will soon have you moving away from the deprecated roadmap.

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

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