Closed scornelissen85 closed 4 years ago
@scornelissen85 I've tried this PR and for hash access there should be no ::
in "::gluster_volume_${title}_bricks"
, currently if with $already_exists
is not executed because of undef
value.
You're right, I will change that.
Looks good, but needs a rebase to fix the merge conflict. Mind also squashing the commits while you're at it?
Well, I just merged #219 and of course that also introduced merge conflicts. Sorry.
Hi everyone...
the tests seem to be all green, can we hope to have a merge in the next time then? ;-) Waiting for this change :-)
Greetings, Robert
Pull Request (PR) description
It will use the Puppet variable
$fact
to retrieve a fact name. Before this change, it usedgetvar()
and in Puppet 6 the build-ingetvar()
is used which don't support a dash-
in it's variable name. We had the challenge with migration to Puppet 6 this code failed because we have a volume with the nametest-vol1
(with a dash). With this change the Puppet code will build a catalog on Puppet 6. A fact may actually contain a dash andgetvar()
shouldn't be used for getting a fact variable.This Pull Request (PR) fixes the following issues
Fixes #214