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 in Puppet by anonymous
26 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 by Sirajul
• 37,930 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 in Puppet by Shalaka
21 views
0 votes
1 answer

What is Hiera in puppet and what does it do?

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

answered Jul 25 in Puppet by Sirajul
• 37,930 points
125 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 in Puppet by Sirajul
• 37,930 points
29 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 in Puppet by Sirajul
• 37,930 points
41 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
215 views
0 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 in Puppet by Sirajul
• 37,930 points
140 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 in Puppet by Sirajul
• 37,930 points
33 views