diff options
-rw-r--r-- | install-itzks-workstation | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation index b5f407d..9e46c11 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -189,7 +189,11 @@ export HOSTNAME="$myhost" # To be sure restart the following services invoke-rc.d rsyslog restart invoke-rc.d cron restart -invoke-rc.d puppet restart + +# puppet may already be installed from a previous run... +if type -p puppet 1>/dev/null; then + invoke-rc.d puppet restart +fi # Install and enable puppet-agent on client echo '! Puppet-Agent wird installiert... ' |