Bug 1104883 - "backend" option should be "backends" in /etc/hiera.yaml
Summary: "backend" option should be "backends" in /etc/hiera.yaml
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: hiera
Version: el6
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Steve Traylen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-04 21:40 UTC by Matyas Selmeci
Modified: 2014-07-03 17:57 UTC (History)
3 users (show)

Fixed In Version: hiera-1.0.0-4.el6
Clone Of:
Environment:
Last Closed: 2014-07-03 17:57:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to fix typo (194 bytes, patch)
2014-06-04 21:40 UTC, Matyas Selmeci
no flags Details | Diff

Description Matyas Selmeci 2014-06-04 21:40:57 UTC
Created attachment 902353 [details]
Patch to fix typo

Description of problem:
/etc/hiera.yaml shipped with hiera-1.0.0-3.el6 contains a typo: the ":backend:" option should be ":backends:". As is, hiera is (silently) ignoring the value of that option and always using the yaml backend.

Version-Release number of selected component (if applicable):
1.0.0-3


Steps to Reproduce:
1. Install hiera, edit /etc/hiera.yaml and change "yaml" under ":backend:" to "foo"
2. Run "hiera bar"

Actual results:
No warnings.


Expected results:
A warning saying "Cannot load backend foo"


Additional info:
Right now EPEL doesn't have any packages for backends other than YAML, so this is not a big deal if not using third-party packages / gems.

Comment 1 Fedora Update System 2014-06-11 13:52:56 UTC
hiera-1.0.0-4.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/hiera-1.0.0-4.el6

Comment 2 Fedora Update System 2014-06-11 23:36:26 UTC
Package hiera-1.0.0-4.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing hiera-1.0.0-4.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1628/hiera-1.0.0-4.el6
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-07-03 17:57:59 UTC
hiera-1.0.0-4.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.