The codedir in Puppet is the main directory ideal for puppet data and code. The codedir contains environments that hold manifests and modules. Also, you can find Hiera data and a global modules directory.