diff --git a/manifests/manage_dropin.pp b/manifests/manage_dropin.pp index c901047c..6e6a578b 100644 --- a/manifests/manage_dropin.pp +++ b/manifests/manage_dropin.pp @@ -59,7 +59,7 @@ Optional[Systemd::Unit::Path] $path_entry = undef, ) { if $timer_entry and $unit !~ Pattern['^[^/]+\.timer'] { - fail("Systemd::Manage_unit[${name}]: timer_entry is only valid for timer units") + fail("Systemd::Manage_dropin[${name}]: for unit ${unit} timer_entry is only valid for timer units") } if $path_entry and $unit !~ Pattern['^[^/]+\.path'] {