fuel-library/deployment/puppet/galera/spec/unit/classes
Alex Schultz 143d574edf Rewrite service override to use policy-rc.d
The override file in Debian based systems will only prevent the service
from being started if the service has a configuration file[0] in
/etc/init. Since not all services may have a config file, the better
way to prevent services from starting as part of the installation
process is to use a policy-rc.d file[1]. This change replaces the use
of /etc/init/<servicename>.override with the creation of a
/usr/sbin/policy-rc.d file durring the installation process.

This change also includes an update to the galera module where we were
previously utilizing the policy-rc.d method for mysql server.

[0] http://manpages.ubuntu.com/manpages/trusty/man5/init.5.html
[1] https://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt

Change-Id: I8e09e1403c554b2b8fae6fe915590d7235ce9b99
Closes-Bug: #1532331
Related-Blueprint: deploy-with-uca-packages
2016-01-08 15:56:36 -07:00
..
init_spec.rb Rewrite service override to use policy-rc.d 2016-01-08 15:56:36 -07:00