Add a site directory with example role and profile module
This commit is contained in:
parent
944a0300cf
commit
24aa475d20
5
site/profile/manifests/base.pp
Normal file
5
site/profile/manifests/base.pp
Normal file
@ -0,0 +1,5 @@
|
||||
class profile::base {
|
||||
|
||||
#the base profile should include component modules that will be on all nodes
|
||||
|
||||
}
|
7
site/role/manifests/database_server.pp
Normal file
7
site/role/manifests/database_server.pp
Normal file
@ -0,0 +1,7 @@
|
||||
class role::database_server {
|
||||
|
||||
#This role would be made of all the profiles that need to be included to make a database server work
|
||||
#All roles should include the base profile
|
||||
include profile::base
|
||||
|
||||
}
|
7
site/role/manifests/webserver.pp
Normal file
7
site/role/manifests/webserver.pp
Normal file
@ -0,0 +1,7 @@
|
||||
class role::webserver {
|
||||
|
||||
#This role would be made of all the profiles that need to be included to make a webserver work
|
||||
#All roles should include the base profile
|
||||
include profile::base
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user