My Puppet Server Environment setting is as follows
[master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /data/log/puppetlabs/puppetserver rundir = /var/run/puppetlabs/puppetserver pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid codedir = /data/puppetlabs/code # puppet master --configprint manifest /data/puppetlabs/code/environments/production/manifests
On Agents it is as follows
server = jw-host environment = production
But --configprint is showing a different location on agent nodes
# puppet master --configprint manifest /etc/puppetlabs/code/environments/production/manifests
It is not getting changed to /data because of which my manifests are not getting applied .
Versions are as follows
# puppetserver --version puppetserver version: 2.4.0 # puppet --version 4.5.2
What is the issue here ?