Actions
Bug #7595
closedOnly looking in one environment for class import
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
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
Updated by Dominic Cleal about 10 years ago
- File Screenshot from 2014-09-23 14_44_27.png Screenshot from 2014-09-23 14_44_27.png added
- Status changed from New to Feedback
#4423 in Foreman 1.5.0 allows this, see the attached screenshot.
Does that solve the problem?
Updated by Julien Abbé about 10 years ago
If it can be called throught API or rake task, yes
Is It ?
Updated by Dominic Cleal almost 10 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