diff options
author | mh <mh@immerda.ch> | 2017-04-07 17:34:55 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2017-04-07 17:34:55 +0200 |
commit | 4a29f5e293b36e11d870061d4d93d7af306dcbd6 (patch) | |
tree | 1bb673615d65def2fea42d1a58c1a1300a87bd32 | |
parent | cac17b52dd7a52e73c8cb0f6578ad710ce8531fb (diff) |
make dependencies a bit more clear
-rw-r--r-- | manifests/base.pp | 6 |
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'], } } |