diff --git a/manifests/varnish.pp b/manifests/varnish.pp index e6c9bb9..3d5d66f 100644 --- a/manifests/varnish.pp +++ b/manifests/varnish.pp @@ -19,7 +19,9 @@ # Restart varnish if the systemd unit has changed. # Note: system::dropin_file is available in systemd >= 1.0.0 if defined('::systemd') and defined(Class['::systemd']) and defined(Resource['::systemd::dropin_file']) { - Systemd::Dropin_file<| unit == 'varnish.service' |> ~> Class['::varnish::service'] + Class['::varnish::install'] + -> Systemd::Dropin_file<| unit == 'varnish.service' |> + ~> Class['::varnish::service'] } }