Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mod:hpclib: add ::cluster_name fact in hiera scope
Browse files Browse the repository at this point in the history
This is a temporary workaround for #108 in order to get the
::cluster_name fact available for interpolation in hiera. Otherwise, the
fact is not resolved and interpolation results in empty string.
rezib committed Feb 14, 2017
1 parent a0d53da commit 12e4270
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions puppet-config/modules/hpclib/lib/hpc/dns.rb
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@
:scope => {
'environment' => Puppet[:environment],
'cluster_name' => Facter.value(:cluster_name),
'::cluster_name' => Facter.value(:cluster_name),
},
:key => nil,
:verbose => false,

0 comments on commit 12e4270

Please sign in to comment.