Make sure root owns sunet-cdnp binary

This commit is contained in:
Patrik Lundin 2024-10-31 15:38:17 +01:00
parent 740c5d29c1
commit ca94d62c62
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -150,6 +150,13 @@ class cdn::cache(
refreshonly => true,
}
file { "${sunet_cdnp_dir}/sunet-cdnp":
command => "tar -xzf ${sunet_cdnp_file} sunet-cdnp",
owner => 'root',
group => 'root',
mode => '0755',
}
file { '/usr/local/bin/sunet-cdnp':
ensure => link,
target => "${sunet_cdnp_dir}/sunet-cdnp",