Issue #21969 has been reported by Hubert de Heer.

----------------------------------------
Bug #21969: metadata.json without source throws unclear errors
https://projects.puppetlabs.com/issues/21969

* Author: Hubert de Heer
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 3.1.1
* Keywords: metadata.json
* Branch: 
----------------------------------------
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.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to