Project

General

Profile

Bug #2246

deleting an environment also deletes the provisioning templates

Added by Mark Heily over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I can reproduce the problem that was reported here:

https://groups.google.com/forum/?fromgroups=#!topic/foreman-users/BG-_tAeWQVA

When you delete a Puppet environment, any provisioning templates associated with the environment are automatically deleted.

Steps to reproduce:

1. Create a new provisioning template
2. Associate the template with a Puppet environment
3. Delete the puppet environment

After this is completed, the provisioning template is also deleted. This creates an entry in the audit log similar to:

John Smith (192.168.1.1) destroyed Config Template: test-delete-me

Associated revisions

Revision af925318 (diff)
Added by Tomáš Strachota over 6 years ago

fixes #2246 deleting an environment also deletes associated templates

Revision 070927e9 (diff)
Added by Tomáš Strachota over 6 years ago

fixes #2246 deleting an environment also deletes associated templates
(cherry picked from commit af92531881ea038d792e48d6883082c66a51660a)

History

#1 Updated by Tomáš Strachota over 6 years ago

  • Assignee set to Tomáš Strachota

#2 Updated by Dominic Cleal over 6 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.2.0

#3 Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF