Issue #5109 has been reported by Christopher Lee.

----------------------------------------
Bug #5109: puppet-module-tool failes with .json file in directory
https://projects.puppetlabs.com/issues/5109

Author: Christopher Lee
Status: Unreviewed
Priority: Normal
Assignee: 
Category: modules
Target version: 2.6.x
Affected Puppet version: 2.6.2
Keywords: 
Branch: 


When creating a new module with puppet-module-tool I get an error unless I 
remove the metadata.json file.  Here are the steps I use:

> puppet-module generate cml-blank

Run a test:

[r...@xxxx puppet]# puppet agent --test --verbose --noop
err: Could not retrieve catalog from remote server: Error 400 on SERVER: No 
source module metadata provided for blank at /opt/puppet/LAB/site.pp:7 on node 
myservername.com
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

I then remove the metadata.json file and run again:

[r...@xxxxxx puppet]# puppet agent --test --verbose --noop
info: Caching catalog for myservername.com
info: Applying configuration version '1288139357'
notice: Finished catalog run in 0.02 seconds




-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to