Project

General

Profile

Actions

Bug #2246

closed

deleting an environment also deletes the provisioning templates

Added by Mark Heily about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
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


Files

Actions

Also available in: Atom PDF