Jira (PUP-5626) Missing the dependencies key in metadata.json breaks puppet module tool

2 views
Skip to first unread message

Nick Walker (JIRA)

unread,
Feb 22, 2017, 1:41:03 PM2/22/17
to puppe...@googlegroups.com
Nick Walker updated an issue
 
Puppet / Bug PUP-5626
Missing the dependencies key in metadata.json breaks puppet module tool
Change By: Nick Walker
Summary: missing Missing  the dependencies key in metadata.json breaks puppet module  tool
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Ben Ford (JIRA)

unread,
Feb 22, 2017, 1:42:04 PM2/22/17
to puppe...@googlegroups.com
Ben Ford updated an issue
Change By: Ben Ford
h1.  The Problem 

If the {{metadata.json}} file is missing a {{dependencies}} key it renders the puppet module tool inoperable. By extension any spec tests that use forge modules also break.

{code}
root@master:~ # puppet module list
Error: No dependencies module metadata provided for pe_inifile
Error: No dependencies module metadata provided for pe_inifile
Error: Try 'puppet help module list' for usage
{code}

h1.  The workaround

Adding {{"dependencies": []}} to {
{ metadata.json}} will make it work.

h1.  The Suggested Solution

PMT should handle the case where the dependencies key is missing better.  

Nick Walker (JIRA)

unread,
Feb 22, 2017, 1:45:03 PM2/22/17
to puppe...@googlegroups.com
Nick Walker updated an issue
Change By: Nick Walker
Team: Workflow Connections Puppet Developer Experience

Nick Walker (JIRA)

unread,
Feb 22, 2017, 1:45:03 PM2/22/17
to puppe...@googlegroups.com
Nick Walker updated an issue
Change By: Nick Walker
Team: Puppet Developer Experience Workflow Connections

Henrik Lindberg (JIRA)

unread,
May 16, 2017, 3:18:03 PM5/16/17
to puppe...@googlegroups.com

Lindsey Smith (JIRA)

unread,
Nov 27, 2017, 3:02:04 PM11/27/17
to puppe...@googlegroups.com
Lindsey Smith updated an issue
Change By: Lindsey Smith
Priority: Minor Major
This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Atlassian logo

Josh Cooper (Jira)

unread,
Mar 5, 2020, 1:35:03 AM3/5/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-5626
 
Re: Missing the dependencies key in metadata.json breaks puppet module tool

This is still an issue, but is unlikely to be fixed anytime soon. Please reopen if this is still a concern.

This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages