Jira (PUP-11510) "puppet module list" does not list module in path

2 views
Skip to first unread message

Matthew P Zagrabelny (Jira)

unread,
Apr 15, 2022, 3:56:02 PM4/15/22
to puppe...@googlegroups.com
Matthew P Zagrabelny created an issue
 
Puppet / Bug PUP-11510
"puppet module list" does not list module in path
Issue Type: Bug Bug
Affects Versions: PUP 5.5.10
Assignee: Unassigned
Created: 2022/04/15 12:55 PM
Priority: Normal Normal
Reporter: Matthew P Zagrabelny

Puppet Version: 5.5.10
Puppet Server Version: 5.5.10
OS Name/Version: Debian 10

I have copied files to /usr/share/puppet/modules/hiera-mysql2

however "puppet module list"

does not show the new module. I have tried restarting the puppet master too, for good measure.

 

Desired Behavior:

 

puppet module list

 

would list the hiera-mysql2 module, "nvitaterna-hiera_mysql2"

 

Actual Behavior:

    1. ls -1 /usr/share/puppet/modules*
      apt
      concat
      hiera_mysql
      hiera-mysql2
      mysql
      postgresql
      staging
      stdlib
      translate
      vcsrepo
    2. puppet module list | tail*
      /usr/share/puppet/modules
      ├── crayfishx-hiera_mysql (v3.0.1)
      ├── nanliu-staging (v1.0.4)
      ├── puppetlabs-apt (v6.1.1)  invalid
      ├── puppetlabs-concat (v5.1.0)  invalid
      ├── puppetlabs-mysql (v5.3.0)
      ├── puppetlabs-postgresql (v5.4.0)
      ├── puppetlabs-stdlib (v5.0.0)  invalid
      ├── puppetlabs-translate (v1.1.0)
      └── puppetlabs-vcsrepo (v3.0.0)

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Josh Cooper (Jira)

unread,
Apr 18, 2022, 8:48:02 PM4/18/22
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11510
 
Re: "puppet module list" does not list module in path

There are a few possibilities:

1. Module names cannot contain dashes, so hiera-mysql2 is not valid and will be ignored, see https://puppet.com/docs/puppet/7/modules_fundamentals.html#module-names
2. The module name is contained in "metadata.json" so if you're copying the module from an existing module, you'll need to update metadata.json

Reply all
Reply to author
Forward
0 new messages