Page MenuHomePhabricator

empty hiera yaml file makes lookup fail
Closed, ResolvedPublic

Description

as discovered in https://gerrit.wikimedia.org/r/#/c/191512/ having an empty yaml file makes hiera lookup choke with this error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Error
from DataBinding 'hiera' while looking up 'restbase::logging_level': undefined
method `empty?' for nil:NilClass on node restbase1004.eqiad.wmnet

Event Timeline

fgiunchedi raised the priority of this task from to Medium.
fgiunchedi updated the task description. (Show Details)
fgiunchedi added projects: acl*sre-team, Puppet.
fgiunchedi subscribed.
yuvipanda lowered the priority of this task from Medium to Low.Mar 18 2015, 8:02 AM
yuvipanda subscribed.

Interim solution should be to not have empty yaml files :)

jbond claimed this task.
jbond subscribed.

closing this, im guessing this has been fixed upstream in the mean time as we currently have empty files