![]() We're going to modify the heirarchy a little - so let's back it up firstly:Ĭp /etc/puppetlabs/code/environments/production/hiera.yaml /etc/puppetlabs/code/environments/production/ # See for further details on environments. # When specifying a datadir, make sure the directory exists. ![]() # The default value for "datadir" is "data" under the same directory as the hiera.yaml These settings are defined within the hiera.yaml file:Ĭat /etc/puppetlabs/code/environments/production/hiera.yaml Hiera makes use of hierarchies - for example servers in a specific location might need a paticular DNS server, however all servers might require a specific SSH configuration. Hiera allows us to modify settings from modules within Puppet - for this example I will be tweaking some of the default settings from the saz/ssh module.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |