David Gillet
2013-Jul-31 09:16 UTC
[Puppet Users] Version number and full name of the installed modules on a node
Hi @all, as the name of the topic describes already i am looking for a way to get some more information about the installed modules on a node. I know i can get the installed classes/modules on a node via mcollective inventory HOSTNAME. But actually the version of the module is not included neither the author like puppetlabs-mysql. Is there any way to get these information? Thanks in advance Dave -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Ryan Coleman
2013-Jul-31 23:33 UTC
Re: [Puppet Users] Version number and full name of the installed modules on a node
Hi Dave, You may try `puppet module list` which provides information like this: [root@dhcp100 ~]# puppet module list /etc/puppetlabs/puppet/modules ├── adrien-filemapper (v1.1.2) ├── garethr-cube (v0.1.0) ├── nanliu-staging (v0.3.1) ├── puppetlabs-mongodb (v0.1.0) ├── puppetlabs-nodejs (v0.2.1) ├── puppetlabs-pe_upgrade (v1.0.0) ├── razorsedge-vmwaretools (v4.5.0) └── reidmv-yamlfile (v0.0.2) You can pass `--render-as json` to get json back though unfortunately, this does not include version information. Regards, --Ryan On Wed, Jul 31, 2013 at 2:16 AM, David Gillet <gillet.david.ger@gmail.com>wrote:> Hi @all, > > as the name of the topic describes already i am looking for a way to get > some more information about the installed modules on a node. > I know i can get the installed classes/modules on a node via mcollective > inventory HOSTNAME. > But actually the version of the module is not included neither the author > like puppetlabs-mysql. Is there any way to get these information? > > Thanks in advance > > Dave > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- Ryan Coleman | Modules & Forge | ryanycoleman on twitter & #puppet IRC -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.