git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/site/profile/manifests/zack_r10k_webhook.pp
diff options
context:
space:
mode:
Diffstat (limited to 'site/profile/manifests/zack_r10k_webhook.pp')
-rw-r--r--site/profile/manifests/zack_r10k_webhook.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/site/profile/manifests/zack_r10k_webhook.pp b/site/profile/manifests/zack_r10k_webhook.pp
index 3dae9d7..f35f856 100644
--- a/site/profile/manifests/zack_r10k_webhook.pp
+++ b/site/profile/manifests/zack_r10k_webhook.pp
@@ -1,9 +1,13 @@
class profile::zack_r10k_webhook (
- $username,
- $password,
$use_mcollective = false,
) {
+ $username = hiera('webhook_username', fqdn_rand_string(10, '', 'username'))
+ $password = hiera('webhook_password', fqdn_rand_string(20, '', 'password'))
+
+ $gms_api_token = hiera('gms_api_token', undef)
+ $git_management_system = hiera('git_management_system', undef)
+
if $use_mcollective {
class { 'r10k::mcollective':