Closed slaws closed 10 years ago
Hello,
As of puppet 3.6, the Modulefile file has been deprecated by puppetlabs (according to the doc here : http://docs.puppetlabs.com/puppet/latest/reference/modules_publishing.html). When a module is created using 'puppet module generate' it doesn't create a Modulefile anymore.
Would it be possible to use metadata.json if present ?
I'm not a developer but I tried to make this change there : https://github.com/slaws/puppet-library/commit/f76c1b1ede492be56043dbcee2e524081c262aab
I can make a pull request if it's ok.
Thanks for the report. That sounds like a good idea. There are a few other places to change too, so I'll try to get a patch submitted soon.
Reopening to fix broken tests
Implemented in v0.15.0. Specifically, source and Git repo forges use metadata.json if it exists and Modulefile doesn't exist. If both exist, Modulefile is used.
metadata.json
Modulefile
Hello,
As of puppet 3.6, the Modulefile file has been deprecated by puppetlabs (according to the doc here : http://docs.puppetlabs.com/puppet/latest/reference/modules_publishing.html). When a module is created using 'puppet module generate' it doesn't create a Modulefile anymore.
Would it be possible to use metadata.json if present ?
I'm not a developer but I tried to make this change there : https://github.com/slaws/puppet-library/commit/f76c1b1ede492be56043dbcee2e524081c262aab
I can make a pull request if it's ok.