aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker/nova/api.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/profile/pacemaker/nova/api.pp')
-rw-r--r--manifests/profile/pacemaker/nova/api.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/profile/pacemaker/nova/api.pp b/manifests/profile/pacemaker/nova/api.pp
index 5d8e11f..30ab733 100644
--- a/manifests/profile/pacemaker/nova/api.pp
+++ b/manifests/profile/pacemaker/nova/api.pp
@@ -35,6 +35,13 @@ class tripleo::profile::pacemaker::nova::api (
include ::nova::params
include ::tripleo::profile::pacemaker::nova
+ Service<| title == 'nova-api' |> {
+ hasrestart => true,
+ restart => '/bin/true',
+ start => '/bin/true',
+ stop => '/bin/true',
+ }
+
class { '::tripleo::profile::base::nova::api':
sync_db => (downcase($::hostname) == $pacemaker_master),
}