Project

General

Custom queries

Profile

Actions

Feature #1616

closed

Ability to add default class(es) to all systems

Added by Jacob McCann almost 13 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
External Nodes
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

It seems to me that most people have a class or a set of classes that they like to have applied to all of their systems. I think it would be great if foreman could provide a way to have this.

For me personally I just need to have the ability to apply 1 class to all systems, but I could see having additional functionality being advantageous. What I mean is maybe adding a default class based on:

1) OS
2) Some fact value

Adding logic could make it more difficult to implement, so I would say for now just a way to assign a collection of classes to all systems would be great.

Previously to support this functionality I was defining those classes in my site.pp, but it would be better to have the ability for the ENC to be a single source if used. Currently I'm 'hacking' this functionality with the attached patch (based on 0.4).


Files

default_class.patch default_class.patch 485 Bytes Jacob McCann, 05/11/2012 02:01 PM
#4

Updated by Ohad Levy over 10 years ago

  • Description updated (diff)
  • Status changed from New to Feedback
  • Assignee deleted (Ohad Levy)
#5

Updated by Anonymous almost 8 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF