fuel-library/deployment/puppet/tweaks/spec
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
..
classes Unit tests for the tweaks class 2015-11-16 08:33:08 -06:00
defines Rewrite service override to use policy-rc.d 2016-01-08 15:56:36 -07:00
shared_examples.rb Unit tests for the tweaks class 2015-11-16 08:33:08 -06:00
spec_helper.rb Unit tests for the tweaks class 2015-11-16 08:33:08 -06:00