The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #22777

YAML and JSON backends swallow errors

Added by Anonymous over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:1.3.0
Keywords: Affected Hiera Version:
Branch:https://github.com/puppetlabs/hiera/pull/154

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com


Description

Since the YAML and JSON backends were converted to using the filecache they swallow any errors that might be raised (except on ruby 1.9.3 because of how YAML errors are done there). This makes it very difficult for other systems that use hiera to provide information to users about problems that are occurring.


Related issues

Related to Puppet - Bug #19955: Misleading error when Hiera databindings fail Closed

History

#1 Updated by Henrik Lindberg over 2 years ago

  • Status changed from Accepted to Merged - Pending Release
  • Branch set to https://github.com/puppetlabs/hiera/pull/154

Merged to hiera master: https://github.com/puppetlabs/hiera/pull/154

#2 Updated by eric sorenson over 2 years ago

  • Target version changed from 1.2.x to 1.3.0

Actually released in 1.3.0.

#3 Updated by Melissa Stone over 2 years ago

  • Status changed from Merged - Pending Release to Closed

Released in Hiera 1.3.0-rc2

Also available in: Atom PDF