move away from that webhook and use the one from voxpopuli - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -84,7 +84,6 @@
|
||||
# @param [String] pt_r10k_basedir the base directory for r10k.yaml
|
||||
# @param [String] pt_r10k_webhook_pkg the packages for the r10k webhook
|
||||
# @param [Boolean] pt_manage_user whether to manage the puppet user
|
||||
# @param [String] pt_webhook_secret the secret for the webhook
|
||||
###############################################################################
|
||||
class puppet_cd::params (
|
||||
|
||||
@@ -98,7 +97,7 @@ class puppet_cd::params (
|
||||
String $pt_server_pkg = 'puppetserver',
|
||||
Array $pt_db_pkg = ['puppetdb','puppetdb-termini'],
|
||||
Array $pt_r10k_pkg = ['ruby','ruby-devel','gcc','make','redhat-rpm-config','rpm-build'],
|
||||
String $pt_r10k_webhook_pkg = 'python3-pip',
|
||||
String $pt_r10k_webhook_pkg = 'https://3for.me/jp029', # points to rpm
|
||||
|
||||
# user settings
|
||||
## puppet user
|
||||
@@ -176,7 +175,6 @@ 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
|
||||
@@ -234,16 +232,12 @@ class puppet_cd::params (
|
||||
## r10k
|
||||
$pt_r10k_file = "${pt_r10k_dir}/r10k.yaml"
|
||||
$pt_r10k_erb = 'puppet_cd/r10k/r10k.yaml.erb'
|
||||
$pt_r10k_hook_file = '/usr/local/bin/webhook'
|
||||
$pt_r10k_hook_config_file = "${pt_r10k_webhook_dir}/hooks.json"
|
||||
$pt_r10k_hook_config_erb = 'puppet_cd/r10k/hook_config.erb'
|
||||
$pt_r10k_hook_service_file = '/etc/systemd/system/webhook.service'
|
||||
$pt_r10k_hook_service_erb = 'puppet_cd/r10k/r10k_webhook_service.erb'
|
||||
|
||||
# service
|
||||
$pt_server_service = 'puppetserver'
|
||||
$pt_agent_service = 'puppet'
|
||||
$pt_db_service = 'puppetdb'
|
||||
$pt_webhook_service = 'webhook-go.service'
|
||||
|
||||
#
|
||||
# includes must be last
|
||||
|
||||
Reference in New Issue
Block a user