Skip to content

Commit

Permalink
Merge pull request #2 from ronocg/reload-apparmor-onlyif-apparmor-par…
Browse files Browse the repository at this point in the history
…ser-exists

adding an onlyif to the apparmor exec
  • Loading branch information
tohuwabohu committed Jan 11, 2016
2 parents 9bf1333 + bf1b65d commit 6db6855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
command => 'service apparmor reload',
path => ['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'],
refreshonly => true,
onlyif => '/usr/bin/test -d /sbin/apparmor_parser',
onlyif => '/usr/bin/test -x /sbin/apparmor_parser',
subscribe => Package['ntp'],
before => Package[$openntp::package_name],
}
Expand Down

0 comments on commit 6db6855

Please sign in to comment.