Project

General

Profile

Actions

Feature #1717

open

Improve smart-variable unassignment during a puppetclass removal

Added by Olivier Favre almost 12 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Parameters
Target version:
-
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

Smart-variables contain a lot of configuration we do not want to loose.
When a puppet class is deleted, the associated smart-variable are indeed not suppressed.
But the old puppetclass' id is still stored in the database.

NULL should be stored instead inside puppetclass_id.
Additionally, we should keep track of the last assigned puppetclass' name (when unassigning), as this would help identifying them.

Actions

Also available in: Atom PDF