About forge modules installation

I have a question concerning the installation of the modules of the forge and their importation.

1 - The installation must be done with sudo or root so that the module is installed in the right path ? /etc/puppetlabs/code/environments/production/modules

2 - When will Foreman detect his new module? I have to wait several minutes to see my module in my list. The import is not direct. I Installed ufw module like ntp with the same user/way. I don’t see it in my Import Puppet Class list

thank you for help

You need to import classes explicitly, either via the UI or via the API.

Usually i just run a puppet module install in sudo, then Import it in UI with Configure > Classes > Import environments from.

It is not the right way ?

That should work. If it doesn’t, I’m not sure why.

1 Like

Thank you for your confirmation

It’s strange, in installed firewalld and ufw modules from the forge. After a reboot server i can import firewalld but i don"t see ufw module

Maybe i have a problem with my server

I think my server is overloaded, in background is to difficult to him to respond quickly

After rebooting , i can see my installed modules