Project

General

Profile

Feature #113

Add backend support for relationships between host, hostgroup, puppetclass, architecture and OS

Added by Paul Kelly almost 11 years ago. Updated about 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

It may not be possible or desirable, in puppet, to implement a module that supports all combinations of architecture and operating system. For this reason it should be possible to define valid puppetclass/architecture/OS combinations.
These should be modeled in the database as a join between puppetclass/architecture/OS. This will also allow the dropdown selectors in a frontend GUI to prune invalid permutations and can also be used for validation

As part of this work we should include the logic that allows these queries to be made
host.puppetclasses => These would be the classes directly associated with the host and those that are indirectly associated via the host's hostgroup
architecture.operatingsystems => These refer to the operating systems that the installed hosts use
architecture.valid_operatingsystems => These refer to the operating systems that are valid for this architecture; there may be no hosts using this combination.
architecture.valid_puppetclasses
operatingsystem.architectures
operatingsystem.valid_architectures
operatingsystem.valid_puppetclasses
puppetclass.valid_operatingsystems
puppetclass.valid_architectures
puppetclass.hosts

History

#1 Updated by Ohad Levy over 10 years ago

  • Status changed from New to Feedback

is this still required?

#2 Updated by Paul Kelly about 10 years ago

  • Status changed from Feedback to Rejected

It is not a core feature, though it would be nice to only be presented with a selection containing valid combinations. However we could probably spend our time on more useful code

Also available in: Atom PDF