3149d9707f
Previously there was a mcollective and no_mcollective version of the webhook profile. They were almost identical so I merged them and manage the difference with a "use_mcollective" parameter. I renamed the webhook profile to zack_r10k_webhook.
17 lines
447 B
Puppet
17 lines
447 B
Puppet
class role::all_in_one_pe {
|
|
|
|
$webhook_username = hiera('webhook_username', fqdn_rand_string(10, '', 'username'))
|
|
$webhook_password = hiera('webhook_password', fqdn_rand_string(20, '', 'password'))
|
|
|
|
class { 'profile::puppetmaster' :
|
|
webhook_username => $webhook_username,
|
|
webhook_password => $webhook_password,
|
|
}
|
|
|
|
class { 'profile::zack_r10k_webhook' :
|
|
username => $webhook_username,
|
|
password => $webhook_password,
|
|
}
|
|
|
|
}
|