From 545b480924d8d3ef8ea757025c767cb57b869af9 Mon Sep 17 00:00:00 2001 From: "Jesse Pretorius (odyssey4me)" Date: Mon, 13 Jan 2020 17:20:09 +0000 Subject: [PATCH] Remove unused manila_share_nodes_count variable The manila_share_nodes_count variable is defined, but not used anywhere. In some services this is used for the replica count, but manila (similar to cinder) has a hard-coded replica count of 1 and therefore this variable is not needed. Change-Id: I6398871a0a8c235e626748206dda617dadb06895 (cherry picked from commit 9ca6d5a1943e6be6f81b1a1dda94fdc071f043b6) --- manifests/profile/pacemaker/manila/share_bundle.pp | 2 -- 1 file changed, 2 deletions(-) diff --git a/manifests/profile/pacemaker/manila/share_bundle.pp b/manifests/profile/pacemaker/manila/share_bundle.pp index 1295ecbef..3ca16cd75 100644 --- a/manifests/profile/pacemaker/manila/share_bundle.pp +++ b/manifests/profile/pacemaker/manila/share_bundle.pp @@ -104,8 +104,6 @@ class tripleo::profile::pacemaker::manila::share_bundle ( if $step >= 5 { if $pacemaker_master { - $manila_share_nodes_count = count(hiera('manila_share_short_node_names', [])) - $manila_cephfs_protocol_helper_type = hiera('manila::backend::cephfs::cephfs_protocol_helper_type', '') $docker_vol_arr = delete(any2array($docker_volumes), '').flatten()