Project

General

Profile

Actions

Bug #337

closed

Import classes button not working

Added by SyRenity Now almost 14 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Ohad Levy almost 14 years ago

  • 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?

Actions #2

Updated by Ohad Levy over 13 years ago

  • Status changed from Need more information to Rejected
Actions #3

Updated by Mikael Fridh over 12 years ago

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 ...

Actions

Also available in: Atom PDF