Project

General

Profile

Refactor #1195

Updated by Greg Sutcliffe about 9 years ago

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

Back