The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:
metadata.json without source throws unclear errors
|Assignee:||Charlie Sharpsteen||% Done:|
|Affected Puppet version:||3.1.1||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
Using a Geppetto version that contained a bug (https://github.com/cloudsmith/geppetto/issues/536), the generated metadata.json didn’t contain a “source” entry. Apparantly this field is a require field in metadata.json. Puppet (3.1) will throw weird errors (Class not found / Could not find template) when source field is not present in metadata.json. If puppet always loads the metadata.json when present it might be handier to throw an error that makes more sense when a metadata.json is not in the expected format.
We test our modules on a local Vagrant/Virtualbox setup so the metadata.json is always picked up.