diff --git a/manifests/init.pp b/manifests/init.pp index 46dfb2f..c697a62 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -20,15 +20,13 @@ include mdadm::params + anchor { 'mdadm::begin': } -> package { $mdadm::params::mdadm_package: ensure => present, - } - - Package[$mdadm::params::mdadm_package] -> - class { 'mdadm::mdmonitor': } - - Package[$mdadm::params::mdadm_package] -> + } -> + class { 'mdadm::mdmonitor': } -> class { 'mdadm::raid_check': options => $raid_check_options, - } + } -> + anchor { 'mdadm::end': } }