starting over with hook - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -228,7 +228,7 @@ class puppet_cd::params (
|
|||||||
$pt_puppetdb_repl_erb = 'puppet_cd/puppetdb/repl.ini.erb'
|
$pt_puppetdb_repl_erb = 'puppet_cd/puppetdb/repl.ini.erb'
|
||||||
## r10k
|
## r10k
|
||||||
$pt_r10k_hook_file = '/usr/local/bin/webhook'
|
$pt_r10k_hook_file = '/usr/local/bin/webhook'
|
||||||
|
|
||||||
# service
|
# service
|
||||||
$pt_server_service = 'puppetserver'
|
$pt_server_service = 'puppetserver'
|
||||||
$pt_agent_service = 'puppet'
|
$pt_agent_service = 'puppet'
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ class puppet_cd::r10k::webhook (
|
|||||||
) inherits puppet_cd::params {
|
) inherits puppet_cd::params {
|
||||||
if ($pt_pm_fqdn == $fqdn) and ($pt_use_r10k_webhook == true) {
|
if ($pt_pm_fqdn == $fqdn) and ($pt_use_r10k_webhook == true) {
|
||||||
# create the webhook binary
|
# create the webhook binary
|
||||||
file { $pt_r10k_hook_file,
|
file { $pt_r10k_hook_file:
|
||||||
ensure => file,
|
ensure => file,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
group => 'root',
|
group => 'root',
|
||||||
|
|||||||
Reference in New Issue
Block a user