0
votes

According to the Puppet documentation the modules in the active environment is supposed to be on the module path. However when I run the following command:

puppet agent --configprint modulepath

I only see "/etc/puppet/modules:/usr/share/puppet/modules" and not the modules in the environment as well.

Is there some configuration option that needs to be set to have the active environment's modules in the module path?

1
I fixed the problem by setting 'environmentpath' in the [main] section of the puppet.conf file. I had the setting under the [master] section previously. - user229487
you should create an answer to reflect your solution and accept it as the answer to your own question. - ptierno

1 Answers

1
votes

I fixed the problem by setting 'environmentpath' in the [main] section of the puppet.conf file. I had the setting under the [master] section previously.