Project

General

Profile

Actions

Bug #1159

closed

Class import behaviour not consistent "rake puppet:import:puppet_classes" x "UI"

Added by Marcello de Sousa over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Importers
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I was assuming and hoping "rake puppet:import:puppet_classes" and "Import new puppet classes and environments" (button in the UI) would share the same code and behaviour but this doesn's seem to be the case.

When I run the rake task I get:

No changes detected

When I clink on the Import button via the UI I get:

Unable to find directory /etc/puppet/modules in environment production

I've tried to set an empty string in Foreman's "modulepath" setting and then by clicking in the import via UI it wants to delete all classes from all environments (Weird!).


Related issues 4 (0 open4 closed)

Related to Foreman - Bug #562: rake task of import of classes and environments in batch mode does not work reliablyClosedOhad Levy01/03/2011Actions
Related to Foreman - Refactor #100: Store Foreman Settings in the database and allow configure it using the WebUI/APIClosedOhad Levy11/30/2009Actions
Related to Foreman - Bug #1068: Module path not guessed correctly with puppet 2.7Closed07/26/2011Actions
Related to Foreman - Bug #1255: Error: "Unable to find directory /etc/puppet/modules in environment production"Closed10/24/2011Actions
Actions

Also available in: Atom PDF