From f405b0b92fa582da7138b66c38c0b8f6c9862eb0 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Thu, 23 Oct 2025 20:20:53 +0200 Subject: [PATCH] starting over with hook - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284 --- manifests/params.pp | 2 +- manifests/r10k/webhook.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index 9ba3749..eca724d 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -228,7 +228,7 @@ class puppet_cd::params ( $pt_puppetdb_repl_erb = 'puppet_cd/puppetdb/repl.ini.erb' ## r10k $pt_r10k_hook_file = '/usr/local/bin/webhook' - + # service $pt_server_service = 'puppetserver' $pt_agent_service = 'puppet' diff --git a/manifests/r10k/webhook.pp b/manifests/r10k/webhook.pp index bd7eb6e..41af8df 100644 --- a/manifests/r10k/webhook.pp +++ b/manifests/r10k/webhook.pp @@ -8,7 +8,7 @@ class puppet_cd::r10k::webhook ( ) inherits puppet_cd::params { if ($pt_pm_fqdn == $fqdn) and ($pt_use_r10k_webhook == true) { # create the webhook binary - file { $pt_r10k_hook_file, + file { $pt_r10k_hook_file: ensure => file, owner => 'root', group => 'root',