Project

General

Profile

Actions

Feature #11628

open

Check templates when associating with hostgroup

Added by Lukas Zapletal over 8 years ago. Updated over 8 years ago.

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

Description

We see people struggling with HG provisioning using templates which cannot be used. I think we could prevent from this if we try to render the template the moment it is being associated with a hostgroup. And the same when template is saved, but associated as well.

This way we can error out early not allowing users to add new items to the default pxe menu.


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #6363: Kickstart template doesn't work for host group provisioning: undefined method 'info' for Hostgroup::JailNew06/24/2014Actions
Actions #1

Updated by Lukas Zapletal over 8 years ago

Or maybe when we build the PXE menu?

Actions #2

Updated by Lukas Zapletal over 8 years ago

No we want to check:

- association
- template change
- hostgroup change

Actions #3

Updated by Dominic Cleal over 8 years ago

Association of a template to a host group doesn't imply that host group-based provisioning is being used, it may just be association to use it for regular provisioning over the OS default.

Actions #4

Updated by Lukas Zapletal over 8 years ago

  • Related to Bug #6363: Kickstart template doesn't work for host group provisioning: undefined method 'info' for Hostgroup::Jail added
Actions #5

Updated by Lukas Zapletal over 8 years ago

Association of a template to a host group doesn't imply that host group-based provisioning is being used, it may just be association to use it for regular provisioning over the OS default.

What do you mean by "regular provisioning over the OS default"?

Actions #6

Updated by Dominic Cleal over 8 years ago

Regular provisioning, preferring the associated template instead of the OS default.

Actions

Also available in: Atom PDF