update config file - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -42,6 +42,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
|
||||
@@ -54,15 +55,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],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user