Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rspec failing with Hiera 3 error #43

Closed
silug opened this issue Oct 24, 2023 · 1 comment
Closed

rspec failing with Hiera 3 error #43

silug opened this issue Oct 24, 2023 · 1 comment

Comments

@silug
Copy link
Contributor

silug commented Oct 24, 2023

Trying to run bundle exec rake spec, I get the following failure:

     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Function Call, Lookup of key 'lookup_options' failed: Hiera 3 is not installed (line: 4, column: 1)

This appears to be coming from this block in spec/spec_helper.rb:

default_hiera_config =<<-EOM
---
:backends:
  - "rspec"
  - "yaml"
:yaml:
  :datadir: "stub"
:hierarchy:
  - "%{custom_hiera}"
  - "%{module_name}"
  - "default"
EOM
@op-ct op-ct added this to Org Triage Oct 24, 2023
@silug silug moved this from New to Todo in Org Triage Jan 11, 2024
@silug
Copy link
Contributor Author

silug commented Jul 15, 2024

Fixed with #46.

@silug silug closed this as completed Jul 15, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Org Triage Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant