Problem:
Hello,
I have a question about environmental management.
I am following the official puppet procedure to create an environment within :
/etc/puppetlabs/code/environments/
mkdir -p preproduction/{manifest,modules,data}
I create a preproduction directory. I import it from foreman.
When I install a module, for example apt, I specify :
/opt/puppetlabs/puppet/bin/puppet module install --environment preproduction puppetlabs-apt --version 7.7.1
The installation is OK but impossible to import the module into the puppet classes. I can see module directories in modules dir path but not in foreman…
What is the simple procedure for creating a new environment with the installation and import modules?
thank you
Regards
Expected outcome:
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data: