Skip to content

Commit

Permalink
Merge pull request #8 from lGuillaume124/fix-exec
Browse files Browse the repository at this point in the history
Use absolute paths in exec resources statements
  • Loading branch information
johanfleury authored Oct 1, 2018
2 parents 42aa862 + 044f26a commit 6f2e422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/config/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@

if $root_hints and $::unbound::download_root_hints {
exec { 'update-root-hints':
command => "wget -q ${::unbound::root_hints_url} -O ${root_hints}",
command => "/usr/bin/wget -q ${::unbound::root_hints_url} -O ${root_hints}",
user => $::unbound::user,
creates => $root_hints,
before => File["${::unbound::config_sub_dir}/server.conf"],
Expand All @@ -158,7 +158,7 @@

if $auto_trust_anchor_file and $::unbound::download_trust_anchor {
exec { 'update-trust-anchors':
command => "unbound-anchor -a ${auto_trust_anchor_file}",
command => "/usr/sbin/unbound-anchor -a ${auto_trust_anchor_file}",
user => $::unbound::user,
creates => $auto_trust_anchor_file,
before => File["${::unbound::config_sub_dir}/server.conf"],
Expand Down

0 comments on commit 6f2e422

Please sign in to comment.