Bug #337
closed
Import classes button not working
Added by SyRenity Now over 14 years ago.
Updated over 13 years ago.
Description
Hi.
If I create a new module and click the "Import classes" button, nothing is imported.
Only if I manually run the command "rake puppet:import:puppet_classes RAILS_ENV=production", then it's working.
Regards.
- Status changed from New to Need more information
- Assignee changed from Ohad Levy to SyRenity Now
- Priority changed from High to Normal
- Target version deleted (
0.1-5)
can you provide the log entries, and your setting file?
- Status changed from Need more information to Rejected
Seems like you need to set one of two things:
/etc/foreman/settings.yaml:
:modulepath: /etc/puppet/modules/
or
/etc/puppet/puppet.conf:
[main]
modulepath = /etc/puppet/modules
According to wiki:
modulepath
This it the modulepath that foreman uses when processing puppet modules. It is usually able to determine this itself at runtime but if it is not able to find a value then modulepath is used.
Default: /etc/puppet/modules
So, I wonder if there's something wonky about my environment which makes it not find this information out?
It should search the default: /etc/puppet/modules:/usr/share/puppet/modules ...
Also available in: Atom
PDF