0 votes
in DevOps by
Explain Puppet Codedir.

1 Answer

0 votes
by
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
...