Skip to content

Commit

Permalink
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 authored and hmlth committed Jan 22, 2018
1 parent 7456bbf commit 0e8002a
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 0e8002a

Please sign in to comment.