Default manifest searched at /home/user/.puppetlabs/ instead of /etc/puppetlabs/
Hi there, I've recently started to play with Puppet Open Source but I'm experiencing some unexpected behaviors. Following the documentation, when we want to open a manifest we have to place it inside /etc/puppetlabs/code/environments/production/manifests/ on the Server side. Anyway, if I do so, the manifest is not applied on the Agent. Instead, I've found that if I place it inside /home/user/.puppetlabs/etc/code/environments/production/manifests/ it is then applied.
Any idea about why it is so? I'm running Puppet 4.3.2 on both Server and Agent and I've not changed any default setting.