Project

General

Profile

Actions

Bug #18211

open

Automaticaly associate OS with provisioning templates on OS created from facts

Added by Mathieu Parent over 7 years ago. Updated about 7 years ago.

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

Description

Every so often, Debian push a point-release (last one was 8.7, 2017-01-14).

Then, I need to re-do this:
  • Associate all preseed templates to this new OS (Preseed default, Preseed default finish, Preseed default iPXE, Preseed default PXEGrub2, Preseed default PXELinux, Preseed default user data; and their Community counterpart)
  • Associate this OS to the same provisioning templates as the previous version
  • Associate this OS to the same media as the previous version
  • Associate the host group that we use for provisioning with this new OS
  • Walk thru all hosts using this host group and updating the OS tab.
I propose the following:
  • When an OS is created automaticaly from a fact :
    • Find the previous version (with same name, last <= major.minor
    • Do the association above (except maybe the host group which is a bit specific)
Actions

Also available in: Atom PDF