summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2017-04-07 17:34:55 +0200
committermh <mh@immerda.ch>2017-04-07 17:34:55 +0200
commit4a29f5e293b36e11d870061d4d93d7af306dcbd6 (patch)
tree1bb673615d65def2fea42d1a58c1a1300a87bd32
parentcac17b52dd7a52e73c8cb0f6578ad710ce8531fb (diff)
make dependencies a bit more clear
-rw-r--r--manifests/base.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 4fc5178..7715baa 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -66,13 +66,14 @@ class shorewall::base {
command => 'shorewall check',
refreshonly => true,
notify => Service['shorewall'],
+ require => Package['shorewall'],
}
service{'shorewall':
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
- require => Package['shorewall'],
+ require => Exec['shorewall_check'],
}
if $shorewall::with_shorewall6 {
@@ -92,13 +93,14 @@ class shorewall::base {
command => 'shorewall6 check',
refreshonly => true,
notify => Service['shorewall6'],
+ require => Package['shorewall6'],
}
service{'shorewall6':
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
- require => Package['shorewall6'],
+ require => Exec['shorewall6_check'],
}
}