Project

General

Profile

Actions

Refactor #1195

closed

let the user specify the dirs to scan for import

Added by Gustavo Soares over 12 years ago. Updated about 8 years ago.

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

Description

Let the user specify the import dirs to scan from the task to import classes through the settings.yaml file.

When using roles to assign hosts instead of directories using classes it is common to declare roles (classes) in /etc/puppet/manifests dir and then include the needed modules classes.

Example

class role_abc {

$role = role_abc
include http
include database

}

then one could assign role role_abc to a host named test.example.com. (roles is mentioned in puppetlabs best practices guide)

Patch:

https://github.com/gustavosoares/foreman/commit/e40249ad0180d6817226e2112af30888d45953b1

Actions

Also available in: Atom PDF