aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/loadbalancer.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/loadbalancer.pp')
-rw-r--r--puppet/loadbalancer.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/loadbalancer.pp b/puppet/loadbalancer.pp
index 84598da6..88e6bdd4 100644
--- a/puppet/loadbalancer.pp
+++ b/puppet/loadbalancer.pp
@@ -13,6 +13,17 @@
# License for the specific language governing permissions and limitations
# under the License.
+if !str2bool(hiera('enable_package_install', 'false')) {
+ case $::osfamily {
+ 'RedHat': {
+ Package { provider => 'norpm' } # provided by tripleo-puppet
+ }
+ default: {
+ warning('enable_package_install option not supported.')
+ }
+ }
+}
+
class tripleo::loadbalancer (
$keystone_admin = false,
$keystone_public = false,