Add profile::base to all roles
This commit is contained in:
parent
a9d3be58aa
commit
10c81e2b7b
@ -3,6 +3,8 @@ class role::all_in_one_pe {
|
|||||||
$webhook_username = hiera('webhook_username', fqdn_rand_string(10, '', 'username'))
|
$webhook_username = hiera('webhook_username', fqdn_rand_string(10, '', 'username'))
|
||||||
$webhook_password = hiera('webhook_password', fqdn_rand_string(20, '', 'password'))
|
$webhook_password = hiera('webhook_password', fqdn_rand_string(20, '', 'password'))
|
||||||
|
|
||||||
|
include profile::base
|
||||||
|
|
||||||
class { 'profile::puppetmaster' :
|
class { 'profile::puppetmaster' :
|
||||||
webhook_username => $webhook_username,
|
webhook_username => $webhook_username,
|
||||||
webhook_password => $webhook_password,
|
webhook_password => $webhook_password,
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
|
# This role would be made of all the profiles that need to be included to make
|
||||||
|
# a database server work.
|
||||||
|
|
||||||
class role::database_server {
|
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
|
||||||
#All roles should include the base profile
|
|
||||||
include profile::base
|
include profile::base
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
class role::example {
|
class role::example {
|
||||||
|
|
||||||
|
# All roles should include the base profile
|
||||||
|
include profile::base
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
class role::gitlab {
|
class role::gitlab {
|
||||||
|
|
||||||
|
# All roles should include the base profile
|
||||||
|
include profile::base
|
||||||
|
|
||||||
include profile::gitlab
|
include profile::gitlab
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
|
# This role would be made of all the profiles that need to be included to make
|
||||||
|
# a webserver work
|
||||||
|
|
||||||
class role::webserver {
|
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
|
||||||
#All roles should include the base profile
|
|
||||||
include profile::base
|
include profile::base
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user