Actions
Bug #20145
closedUpdating a snippet requires template kind
Status:
Closed
Priority:
Normal
Assignee:
Category:
Provisioning templates
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Description
When updating a snippet and --type parameter is missing the command returns error message saying "Template kind can't be blank".
--type shouldn't be required for updates.
> hammer template create --name tst --type snippet --file /root/hammer/hammer-cli-foreman/tst.erb Provisioning template created > hammer template update --name tst --locked true Could not update the provisioning template: This template is locked. Please clone it to a new template to customize. Template kind can't be blank
Actions