summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-04-30 10:58:30 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-04-30 10:58:39 +0200
commit9b72dda04583acd73ae6ccf9d8f70bac3a24a45e (patch)
treeda6fb2e3f9e7f2b5256e5e2c0fa1833681c2067e
parent7d58f7f238fd07918dbe64f1d38ec886fa903d6d (diff)
downloaditzks-install-script-9b72dda04583acd73ae6ccf9d8f70bac3a24a45e.tar.gz
itzks-install-script-9b72dda04583acd73ae6ccf9d8f70bac3a24a45e.tar.bz2
itzks-install-script-9b72dda04583acd73ae6ccf9d8f70bac3a24a45e.zip
systemd+puppet integration: The puppet client service is disabled after installation. Enable it.
-rwxr-xr-xinstall-itzks-workstation5
1 files changed, 5 insertions, 0 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index 093fd33..f9c9fb6 100755
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -278,6 +278,11 @@ echo
puppet agent --test --waitforcert 120
puppet agent --enable
+# enable puppet client if machine is running on systemd
+pidof systemd && systemctl enable puppet || :
+# and start the client service...
+invoke-rc.d puppet start
+
echo
echo '! FERTIG
Die Installation