Skip to content

Invalid Kafo-generated hiera.conf #87

Description

@mattock

Recently the installer has started failing with these errors:

[ERROR 2019-03-20T05:45:35 main] Errors encountered during run:
[ERROR 2019-03-20T05:45:35 main]  Evaluation Error: Error while evaluating a Function Call, Lookup of key 'lookup_options' failed:  The Lookup Configuration a
t '/tmp/kafo_hiera20190320-5670-iw2i8y/hiera.conf' has wrong type, unrecognized key 'backends'

The offending hiera.conf looks like this:

---
:backends:
- yaml
:hierarchy:
- "%{::osfamily}"
- common
:yaml:
  :datadir: "/usr/share/puppetmaster-installer/config/data"
version: 5
defaults:
  datadir: "/tmp/kafo_hiera20190320-6062-di2vrb/data"
  data_hash: yaml_data
hierarchy:
- name: Kafo Answers
  path: kafo_answers.yaml
  datadir: "/tmp/kafo_hiera20190320-6062-di2vrb/data"
  data_hash: yaml_data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions