From 25f4d8b2f46618c522c6c90ac5ecd2b1afbfbae2 Mon Sep 17 00:00:00 2001 From: Tomasz Nowak Date: Wed, 14 Dec 2016 12:34:32 +0100 Subject: [PATCH] Fix hosts lists in example.pp Using strings results in following errors: Change-Id: I74e200a4c375830c18448bd60ccdd156d7b1c4d2 Error: join(): Requires array to work with at /etc/puppet/modules/trove/manifests/api.pp:352 on node XXX Error: join(): Requires array to work with at /etc/puppet/modules/trove/manifests/api.pp:352 on node XXX --- examples/site.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/site.pp b/examples/site.pp index b24e4cab..08cc2638 100644 --- a/examples/site.pp +++ b/examples/site.pp @@ -13,12 +13,12 @@ class { '::trove::keystone::auth': class { '::trove::db::mysql': password => 'dbpass', host => '10.0.0.1', - allowed_hosts => '10.0.0.1' + allowed_hosts => ['10.0.0.1'] } class { '::trove': database_connection => 'mysql://trove:secrete@10.0.0.1/trove?charset=utf8', - rabbit_hosts => '10.0.0.1', + rabbit_hosts => ['10.0.0.1'], rabbit_password => 'secrete', nova_proxy_admin_pass => 'novapass', }