Project

General

Profile

Actions

Bug #7595

closed

Only looking in one environment for class import

Added by Julien Abbé over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Because import all classes in each environment is really long, we should be able to select one environment to parse and import. No just looking in all env and select one to update classes


Files

Actions #1

Updated by Dominic Cleal over 9 years ago

#4423 in Foreman 1.5.0 allows this, see the attached screenshot.

Does that solve the problem?

Actions #2

Updated by Julien Abbé over 9 years ago

If it can be called throught API or rake task, yes
Is It ?

Actions #3

Updated by Dominic Cleal over 9 years ago

  • Status changed from Feedback to Resolved

For the API, you have something like https://foreman.example.com/api/v2/smart_proxies/1/environments/1/import_puppetclasses (http://theforeman.org/api/apidoc/v2/environments/import_puppetclasses.html), though #6856 means it doesn't have the speed advantage yet.

For the rake task, use foreman-rake puppet:import:puppet_classes[batch,production]

Actions

Also available in: Atom PDF