diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-27 00:25:39 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-27 00:25:39 -0500 |
commit | f40484ddab4afa0843a20dca288d2035a616976a (patch) | |
tree | a8e96c63c4361272e3fbc1a0d12b7bcd7474d042 | |
parent | 2bfd666ed73cea75e74265745888e6a3ddacf310 (diff) | |
download | puppet-tozt-f40484ddab4afa0843a20dca288d2035a616976a.tar.gz puppet-tozt-f40484ddab4afa0843a20dca288d2035a616976a.zip |
daemon-reload only matters if we are trying to start services
-rw-r--r-- | modules/systemd/manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/systemd/manifests/init.pp b/modules/systemd/manifests/init.pp index be7d6a7..713ab08 100644 --- a/modules/systemd/manifests/init.pp +++ b/modules/systemd/manifests/init.pp @@ -3,5 +3,5 @@ class systemd { refreshonly => true; } - Exec["/usr/bin/systemctl daemon-reload"] -> Service<| |> + Exec["/usr/bin/systemctl daemon-reload"] -> Service<| ensure == running |> } |