finish add proper deps - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -25,6 +25,15 @@ class puppet_cd::r10k::webhook (
|
|||||||
seluser => system_u,
|
seluser => system_u,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# create the log file
|
||||||
|
file { '/var/log/r10k-webhook.log':
|
||||||
|
ensure => file,
|
||||||
|
owner => 'puppet',
|
||||||
|
group => 'puppet',
|
||||||
|
mode => '0644',
|
||||||
|
require => File['/opt/r10k-webhook'],
|
||||||
|
}
|
||||||
|
|
||||||
# create the requirements file
|
# create the requirements file
|
||||||
file { $pt_r10k_req_file:
|
file { $pt_r10k_req_file:
|
||||||
ensure => file,
|
ensure => file,
|
||||||
@@ -36,7 +45,7 @@ class puppet_cd::r10k::webhook (
|
|||||||
seltype => puppet_etc_t,
|
seltype => puppet_etc_t,
|
||||||
seluser => system_u,
|
seluser => system_u,
|
||||||
content => template($pt_r10k_req_erb),
|
content => template($pt_r10k_req_erb),
|
||||||
require => File['/opt/r10k-webhook'],
|
require => File['/var/log/r10k-webhook.log'],
|
||||||
}
|
}
|
||||||
|
|
||||||
# create the binary file
|
# create the binary file
|
||||||
|
|||||||
Reference in New Issue
Block a user