Puppet Loaction of Hiera yaml file in puppet

0 votes
I wish to include a few configurations to be defined in a hiera.yaml file rather than the usual puppet manifests, but i have no clue where this hiera.yaml is to be based. Where exactly should i place this config file?
Aug 28, 2019 in Puppet by anonymous
770 views

1 answer to this question.

0 votes

The Hiera configuration file is called hiera.yaml. It configures the hierarchy for a given layer of data.

Location of hiera.yaml files:

There are several hiera.yaml files in a typical deployment. 

Hiera uses three layers of configuration, and the module and environment layers typically have multiple instances.

The configuration file locations for each layer:

Layer                                     Location

Global                                   $confdir/hiera.yaml

Environment                        <ENVIRONMENT>/hiera.yaml

Module                                <MODULE>/hiera.yaml

answered Aug 28, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

Purpose of node block in Puppet

A node block allows you to specify ...READ MORE

answered Mar 11, 2019 in Puppet by Shalaka
669 views
0 votes
1 answer

What is Hiera in puppet and what does it do?

Hiera is probably a built-in key-value configuration data ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
4,869 views
0 votes
1 answer

what are the different plugins in modules of puppet?

Puppet supports several kinds of plug-ins: Custom facts ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
809 views
0 votes
1 answer

what is the role of Facter in puppet?

Facter is a library that reports and ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
1,269 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,053 views
+2 votes
1 answer
0 votes
1 answer

Puppet: Config file synatx (Hiera.yaml)

Config file syntax: The hiera.yaml file is a YAML file, ...READ MORE

answered Aug 28, 2019 in Puppet by Sirajul
• 59,230 points
1,745 views
0 votes
1 answer

Can somebody explain the process of installing modules from the command line in puppet?

Puppet module install command installs a module ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
625 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP