From d3ca95375be784077cc3af69e9bf31447dce0973 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Fri, 21 Apr 2017 15:36:55 +0800 Subject: [PATCH] Switch to update-rc.d for ubuntu-trusty We want to stop puppet service from being enabled on boot, so use the update-rc.d command. Otherwise we get the following errors: `service puppet disable` runs failed. Usage: /etc/init.d/puppet {start|stop|status|restart|force-reload|reload} Change-Id: Ie0c6366284de156151e6831de16579321e5d7bef Signed-off-by: dongwenjuan Signed-off-by: Paul Belanger --- install_puppet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_puppet.sh b/install_puppet.sh index 27d3af9a57..7358fb27ef 100755 --- a/install_puppet.sh +++ b/install_puppet.sh @@ -229,7 +229,7 @@ EOF if [ -f /bin/systemctl ]; then systemctl disable puppet else - service puppet disable + update-rc.d -f puppet disable fi }