Remove delete action under Config > Puppet Classes, Environments
|Target version:||Team Marek backlog|
|Found in release:||Pull request:|
|Velocity based estimate||-|
tPuppet classes and environments are created on import from Puppet server. When we delete them manually in Foreman,
they are recreated on the next import, effectively reverting the deletion. Because Puppet classes are meant
to be managed through import action anyway, we can remove the delete action.
#1 Updated by Ondřej Pražák 9 months ago
- Tracker changed from Feature to Bug
- Subject changed from Remove delete action under Config > Puppet Classes, Environments to Remove delete action under Config > Puppet Classes, Environments
- Category changed from Smart Variables to Puppet integration
- Target version set to Team Marek backlog
#2 Updated by Dominic Cleal 9 months ago
As Puppet environments can be created manually, it should be possible to delete them without relying on the import process. #2321 discussed removing manual environment creation and it was left in.
Deleting Puppet classes may still be a useful way to remove all custom settings and variables, then re-import it with defaults.
#6 Updated by Marek Hulán 9 months ago
I think bulk deletion would be nice, but probably for all Foreman objects, not just hosts and puppet classes. So +1 for rejecting this and we'll see if someone asks for general bulk actions, I didn't find redmine issue for that yet. Ondra, please also propagate this into linked BZ after closing this issue.