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.
2 parents 9d7d7ff + 29cc465 commit 28ae3d6Copy full SHA for 28ae3d6
spec/unit/hiera_class_inclusion_spec.rb
@@ -6,7 +6,7 @@
6
# extract public hiera hierachy
7
def non_role_layers
8
hc = YAML.load_file(control_hiera_config, aliases: true)
9
- hc['hierarchy'][1]['paths'].grep_v(%r{role})
+ hc['hierarchy'].first['paths'].grep_v(%r{role})
10
end
11
12
hieradata_pathname = Pathname.new(control_hieradata_path)
0 commit comments