I have installed Puppet Agent 3.7 on an AWS Ubuntu machine.
After receiving a 'could not find class' error, I added a modulepath entry to the /etc/puppetlabs/puppet/puppet.conf file.
modulepath=/home/ubuntu/repos/puppet-tests/modules
However, if I run the following command, I am told that the module path(s) haven't changed.
puppet apply --configprint modulepath
i.e.
/home/ubuntu/.puppet/modules:/usr/share/puppet/modules
I have tried placing the modulepath setting in both the [main] and [agent] sections.
Does anyone know what I am doing wrong?
Many thanks.