Add profile::base to all roles

This commit is contained in:
Gabriel M Schuyler 2015-12-10 13:50:22 -08:00
parent a9d3be58aa
commit 10c81e2b7b
5 changed files with 16 additions and 4 deletions

View File

@ -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,

View File

@ -1,6 +1,8 @@
# 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

View File

@ -1,3 +1,6 @@
class role::example { class role::example {
# All roles should include the base profile
include profile::base
} }

View File

@ -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
} }

View File

@ -1,6 +1,8 @@
# 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