diff options
author | 2016-07-06 08:45:35 +0000 | |
---|---|---|
committer | 2016-07-06 08:45:35 +0000 | |
commit | d871899c6b7c6b9714b3772a492bf94140e7348e (patch) | |
tree | 5c35811992d869592eb8d41ed69da541532eb4aa /manifests/profile/pacemaker/nova/scheduler.pp | |
parent | ece3dde074142fd501ec5494b26b0b82f1a3947a (diff) | |
parent | 31c00a9f3d3c1eff899cfa00a9cad1e9c07f3e47 (diff) |
Merge "nova: do not manage nova-compute with pacemaker"
Diffstat (limited to 'manifests/profile/pacemaker/nova/scheduler.pp')
-rw-r--r-- | manifests/profile/pacemaker/nova/scheduler.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/profile/pacemaker/nova/scheduler.pp b/manifests/profile/pacemaker/nova/scheduler.pp index 6516394..9e78c30 100644 --- a/manifests/profile/pacemaker/nova/scheduler.pp +++ b/manifests/profile/pacemaker/nova/scheduler.pp @@ -36,6 +36,13 @@ class tripleo::profile::pacemaker::nova::scheduler ( include ::tripleo::profile::pacemaker::nova include ::tripleo::profile::base::nova::scheduler + Service<| title == 'nova-scheduler' |> { + hasrestart => true, + restart => '/bin/true', + start => '/bin/true', + stop => '/bin/true', + } + if $step >= 5 and downcase($::hostname) == $pacemaker_master { pacemaker::resource::service { $::nova::params::scheduler_service_name: clone_params => 'interleave=true', |