forge module metadata: dependencies

42 views
Skip to first unread message

Gabriel Filion

unread,
Mar 23, 2016, 1:55:44 AM3/23/16
to puppet...@googlegroups.com
Hello,

recently, a user of a module I wrote reported a bug with dependencies.
after some discussions on the IRC channel, it turned out that there was
a bug in the 3.x series which is not scheduled to be fixed:

https://tickets.puppetlabs.com/browse/PUP-3121

It seems as though using user-module and user/module both work, and the
latter works around the puppet 3.x issue.

Now I'm wondering if using slashes to split user name from module name
in dependency specifications in the metadata.json file is a thing that
will stick around. or is it planned to be deprecated somewhat soon?

documentation still mentions using slashes is OK

https://docs.puppetlabs.com/puppet/latest/reference/modules_metadata.html#specifying-dependencies

and puppetlabs' modules seem to be doing this too.

it's a bit counterintuitive to specify module name with user-module and
then dependencies with user/module though.

signature.asc

Anderson Mills

unread,
Mar 23, 2016, 3:56:18 PM3/23/16
to Puppet Users, gab...@lelutin.ca
Hello Gabriel,

The ticket that you reference has a link on it to a pull request which was merged into Puppet 4.x.

https://github.com/puppetlabs/puppet/pull/3310

It is not intended that this will be fixed in Puppet 3.x.

As for deprecation, though it is a thorn in our side, removing support for slashes is not on a roadmap. We do recommend always using dashes starting with Puppet 4.0, though.

Anderson
Reply all
Reply to author
Forward
0 new messages