Actions
Bug #3877
closedhammer puppet_class does not expose CRUD methods
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
According to the rest api, I should be able to create, edit, delete puppet classes but hammer does not expose these options:
# hammer puppet_class --help Usage: hammer puppet_class [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: info Show a puppetclass list List all puppetclasses. sc_params List all smart class parameters Options: -h, --help print help
Could these be added to hammer cli?
Packages:- rubygem-hammer_cli_foreman-0.0.12-1.el6.noarch
- rubygem-hammer_cli-0.0.12-1.el6.noarch
Updated by Ohad Levy over 11 years ago
- Status changed from New to Feedback
Normally, both classes and class parameters should be imported from an existing puppet manifests, and should not be added via CRUD.
Updated by Og Maciel over 11 years ago
The API indicated I should be able to create them though...
Updated by Tomáš Strachota over 11 years ago
- Status changed from Feedback to Closed
This API interface is not meant to be used by users directly. Closing.
Updated by Og Maciel over 11 years ago
Tomáš , so we will not test this via CLI or API????
Updated by Dominic Cleal over 11 years ago
It's the wrong way to use Puppet integration in Foreman, the UI and APIs should be removed IMHO.
Actions