We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 018c7d7 commit f82d532Copy full SHA for f82d532
lib/octocatalog-diff/catalog-util/builddir.rb
@@ -284,7 +284,7 @@ def install_ssl(logger, options)
284
# @param obj [Hash] Parsed hiera.yaml file
285
def update_hiera_config_v3(logger, options, obj)
286
([obj[:backends]].flatten || %w(yaml json)).each do |key|
287
- next unless obj.key?(key.to_sym)
+ next unless obj.key?(key.to_sym) && !obj[key.to_sym][:datadir].nil?
288
obj[key.to_sym][:datadir] = hiera_munge(options, obj[key.to_sym][:datadir])
289
290
# Make sure the directory exists. If not, log a warning. This is *probably* a setup error, but we don't
0 commit comments