Make sure root owns sunet-cdnp binary
This commit is contained in:
parent
740c5d29c1
commit
ca94d62c62
1 changed files with 7 additions and 0 deletions
|
@ -150,6 +150,13 @@ class cdn::cache(
|
||||||
refreshonly => true,
|
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':
|
file { '/usr/local/bin/sunet-cdnp':
|
||||||
ensure => link,
|
ensure => link,
|
||||||
target => "${sunet_cdnp_dir}/sunet-cdnp",
|
target => "${sunet_cdnp_dir}/sunet-cdnp",
|
||||||
|
|
Loading…
Add table
Reference in a new issue