Bug 1015002

Summary: syntax error in hiera conf
Product: [Fedora] Fedora Reporter: Dietmar Kling <baldur>
Component: hieraAssignee: Steve Traylen <steve.traylen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: mastahnke, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hiera-1.3.1-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-22 18:10:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix syntax error in hiera none

Description Dietmar Kling 2013-10-03 09:43:31 UTC
Created attachment 806994 [details]
Fix syntax error in hiera

Description of problem:

The hiera parse cannot parse the file /etc/hiera.yaml 

Failed to start Hiera: Psych::SyntaxError: (/etc/hiera.yaml): found character that cannot start any token while scanning for the next token at line 6 column 5


Version-Release number of selected component (if applicable):
hiera-1.2.1-1.fc20.noarch

How reproducible:
hiera dataitem environment=tst


Steps to Reproduce:
1. Install hiera
2. Run "hiera dataitem environment=tst"
3.

Actual results:
Failed to start Hiera: Psych::SyntaxError: (/etc/hiera.yaml): found character that cannot start any token while scanning for the next token at line 6 column 5


Expected results:
No Syntax error in /etc/hiera.yaml:

bash# hiera dataitem environment=tst
nil



Additional info:
FIX ATTACHED

Comment 1 Fedora Update System 2014-02-13 16:46:30 UTC
hiera-1.3.1-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/hiera-1.3.1-2.fc20

Comment 2 Fedora Update System 2014-02-14 07:52:47 UTC
Package hiera-1.3.1-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hiera-1.3.1-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2440/hiera-1.3.1-2.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-02-22 18:10:58 UTC
hiera-1.3.1-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.