diff options
author | 2016-07-01 21:10:22 -0400 | |
---|---|---|
committer | 2016-07-04 14:24:22 -0400 | |
commit | 31c00a9f3d3c1eff899cfa00a9cad1e9c07f3e47 (patch) | |
tree | d0fc6772a96be0ba56032bc6ce5dd5aaeb2b9e39 /manifests/profile/pacemaker/nova/vncproxy.pp | |
parent | 389e7b42c0c1d9e81de928c6cc6763c294a9db6b (diff) |
nova: do not manage nova-compute with pacemaker
In the case where all services are installed on the same node
(All-In-One), we don't want Pacemaker to manage nova-compute. This patch
makes the Nova service more specific for overriding start/stop/restart
actions, to be applied only for services that usually run on
controllers.
Change-Id: I81a86331cff4e7988e035ada82834a45a6bb99c1
Diffstat (limited to 'manifests/profile/pacemaker/nova/vncproxy.pp')
-rw-r--r-- | manifests/profile/pacemaker/nova/vncproxy.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/profile/pacemaker/nova/vncproxy.pp b/manifests/profile/pacemaker/nova/vncproxy.pp index 7f7d095..ec71ca7 100644 --- a/manifests/profile/pacemaker/nova/vncproxy.pp +++ b/manifests/profile/pacemaker/nova/vncproxy.pp @@ -36,6 +36,13 @@ class tripleo::profile::pacemaker::nova::vncproxy ( include ::tripleo::profile::pacemaker::nova include ::tripleo::profile::base::nova::vncproxy + Service<| title == 'nova-vncproxy' |> { + hasrestart => true, + restart => '/bin/true', + start => '/bin/true', + stop => '/bin/true', + } + if $step >= 5 and downcase($::hostname) == $pacemaker_master { pacemaker::resource::service { $::nova::params::vncproxy_service_name: clone_params => 'interleave=true', |