Page MenuHomePhabricator

Labs puppet breaks for projects without a Hiera: page on wikitech
Closed, ResolvedPublic

Description

I get

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `empty?' for hiera(): Page Hiera:Shinken is non-existent, setting defaults {}:Puppet::Util::Log at /etc/puppet/manifests/realm.pp:55 on node i-0000071b.shinken.eqiad.wmflabs
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

On shinken-01.

Revisions and Commits

Event Timeline

yuvipanda raised the priority of this task from to Needs Triage.
yuvipanda updated the task description. (Show Details)
yuvipanda added subscribers: yuvipanda, Andrew, coren, Joe.
Andrew triaged this task as High priority.Jun 10 2015, 3:32 PM
Andrew set Security to None.

Change 217304 had a related patch set uploaded (by Yuvipanda):
hiera: Use '||' instead of 'or'

https://gerrit.wikimedia.org/r/217304

Change 217304 merged by Yuvipanda:
hiera: Use '||' instead of 'or'

https://gerrit.wikimedia.org/r/217304

Change 217313 had a related patch set uploaded (by Yuvipanda):
hiera: Return default if hiera page does not exist

https://gerrit.wikimedia.org/r/217313

Change 217313 merged by Yuvipanda:
hiera: Return default if hiera page does not exist

https://gerrit.wikimedia.org/r/217313

Hah, the last change fixed it! How did this actually work on precise?

yuvipanda claimed this task.