0 votes
in DevOps by (30.8k points)
Explain Puppet Codedir.

1 Answer

0 votes
by (30.8k points)
Puppet Codedir is the main directory for Puppet code and data and is mostly used by Puppet master and Puppetapply. It consists of a global modules directory, Hiera data, and environments (which consists of your manifests and modules).

The Codedir will be located in one of the following locations:

Unix:

/etc/puppetlabs/code

Unix non-root users:

 ~/.puppetlabs/etc/code

Windows:

 %PROGRAMDATA%PuppetLabscode

Related questions

0 votes
asked Mar 9, 2020 in DevOps by Hodge (2.6k points)
+1 vote
0 votes
0 votes
asked Aug 28, 2021 in DevOps by sharadyadav1986 (30.6k points)
0 votes
asked Aug 28, 2021 in DevOps by sharadyadav1986 (30.6k points)
...