Puppet ENC newly created environment not getting refelcted in backend (Foreman-3.9 with katello-4.11))

Problem:
I have tried to create a new Puppet environment in Puppet ENC as suggested in below link in the section(4)
Link:-
https://docs.theforeman.org/3.9/Managing_Configurations_Puppet/index-katello.html#Creating_a_Custom_Puppet_Environment_managing-configurations-puppet

Expected outcome:
I have created “puppettest3” envrionment and expecting it to be refelcted in backend as suggested in the manual (path- /etc/puppetlabs/code/environments/example_environment)

Foreman and Proxy versions:
(Foreman-3.9 with katello-4.11)
Foreman and Proxy plugin versions:

puppet version:- 7.34.0

Distribution and version:

Other relevant data:

Please take a look at the very last sentence of the docs :slight_smile:

Note that before you run an import of Puppet modules into Foreman, the environment must already exist as the folder /etc/puppetlabs/code/environments/example_environment on the Puppet server and contain installed Puppet modules.

1 Like

Thanks for the help @nadjaheitmann. I was able to successfully get the environment, when puppet modules were installed from puppet forge to the following path- puppet module install puppetlabs-firewall --version 8.1.2 -i /etc/puppetlabs/code/environments/development/modules