Project

General

Profile

Actions

Bug #301

closed

Disallow deletion of Environment when hosts are using it

Added by Bash Shell almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The current Environment implementation in Foreman allows you to delete an Environment even if there are Hosts using it.

When you delete it, the Hosts are left with no puppet Environment.
There could be potential issues with this. (There could be different modules or templates in the default Environment)

It would be better if Foreman at least warned that some Hosts are using the Env.

Ideally, the Admin should reassign the Env to a different one before deleting it.
Foreman could also mention that.

Actions

Also available in: Atom PDF