Project

General

Profile

Actions

Feature #113

closed

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

Added by Paul Kelly over 14 years ago. Updated over 13 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
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

Actions #1

Updated by Ohad Levy almost 14 years ago

  • Status changed from New to Feedback

is this still required?

Actions #2

Updated by Paul Kelly over 13 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

Actions

Also available in: Atom PDF