diff --git a/doc/puppet_classes/puppet_cd_3A_3Aparams.html b/doc/puppet_classes/puppet_cd_3A_3Aparams.html index 8d87298..51cc71c 100644 --- a/doc/puppet_classes/puppet_cd_3A_3Aparams.html +++ b/doc/puppet_classes/puppet_cd_3A_3Aparams.html @@ -1502,6 +1502,24 @@ —
whether to manage the puppet user
+the secret for the webhook
-88 89 90 91 @@ -1678,10 +1695,12 @@ 246 247 248 -249+249 +250 +251
# File 'manifests/params.pp', line 88
+ # File 'manifests/params.pp', line 89
class puppet_cd::params (
@@ -1773,6 +1792,7 @@ class puppet_cd::params (
String $pt_r10k_remote = 'git@gitlab.example.net/repo.git',
Boolean $pt_r10k_prefix = false,
String $pt_r10k_basedir = '/etc/puppetlabs/code/environments',
+ String $pt_webhook_secret = '',
) {
# facts
diff --git a/doc/puppet_classes/puppet_cd_3A_3Ar10k_3A_3Awebhook.html b/doc/puppet_classes/puppet_cd_3A_3Ar10k_3A_3Awebhook.html
index 193d574..eef1759 100644
--- a/doc/puppet_classes/puppet_cd_3A_3Ar10k_3A_3Awebhook.html
+++ b/doc/puppet_classes/puppet_cd_3A_3Ar10k_3A_3Awebhook.html
@@ -163,7 +163,8 @@
65
66
67
-68
+68
+69
# File 'manifests/r10k/webhook.pp', line 6
@@ -207,6 +208,7 @@ class puppet_cd::r10k::webhook (
seltype => etc_t,
seluser => system_u,
content => template($pt_r10k_hook_config_erb),
+ notify => Service['webhook'],
}
# create service config
@@ -219,15 +221,15 @@ class puppet_cd::r10k::webhook (
seltype => systemd_unit_file_t,
seluser => system_u,
content => template($pt_r10k_hook_service_erb),
+ notify => Service['webhook'],
}
# manage service
- service { 'r10k-webhook':
+ service { 'webhook':
ensure => 'running',
hasstatus => true,
hasrestart => true,
enable => true,
- subscribe => File[$pt_r10k_hook_service_file],
}
}
}