summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Bcfg2/Client/Tools/Systemd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/Systemd.py b/src/lib/Bcfg2/Client/Tools/Systemd.py
index d2439f64d..3b60c8285 100644
--- a/src/lib/Bcfg2/Client/Tools/Systemd.py
+++ b/src/lib/Bcfg2/Client/Tools/Systemd.py
@@ -16,8 +16,8 @@ class Systemd(Bcfg2.Client.Tools.SvcTool):
def get_svc_name(self, service):
"""Append .service to name if name doesn't specify a unit type."""
svc = service.get('name')
- if svc.endswith(('.service', '.socket', '.device', '.mount',
- '.automount', '.swap', '.target', '.path',
+ if svc.endswith(('.service', '.socket', '.device', '.mount',
+ '.automount', '.swap', '.target', '.path',
'.timer', '.snapshot', '.slice', '.scope')):
return svc
else: