Skip to content

Commit

Permalink
Merge pull request #519 from phaedriel/dropin_swap_entry_message
Browse files Browse the repository at this point in the history
Correction fail message "... swap_entry is only valid for swap units"
  • Loading branch information
tuxmea authored Mar 2, 2025
2 parents d41bde7 + effc879 commit 2755713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/manage_dropin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
}

if $swap_entry and $unit !~ Pattern['^[^/]+\.swap'] {
fail("Systemd::Manage_dropin[${name}]: for unit ${unit} mount_entry is only valid for swap units")
fail("Systemd::Manage_dropin[${name}]: for unit ${unit} swap_entry is only valid for swap units")
}

systemd::dropin_file { $name:
Expand Down

0 comments on commit 2755713

Please sign in to comment.