diff options
Diffstat (limited to 'manifests/simple.pp')
-rw-r--r-- | manifests/simple.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/simple.pp b/manifests/simple.pp index 0fa75da..6bc6c11 100644 --- a/manifests/simple.pp +++ b/manifests/simple.pp @@ -176,7 +176,8 @@ class gluster::simple( if "${setgroup}" != '' { $setgroup_yaml = inline_template("<%= @valid_volumes.inject(Hash.new) { |h,i| {i+'#'+@setgroup => {}}.merge(h) }.to_yaml %>") $setgroup_hash = parseyaml($setgroup_yaml) - create_resources('gluster::volume::property::group', $setgroup_hash) + $setgroup_defaults = {'vip' => "${vip}"} + create_resources('gluster::volume::property::group', $setgroup_hash, $setgroup_defaults) } } |