Issue #14872 has been updated by Nigel Kersten.
We also have problems listing from an environment. Do you want that as a separate bug? <pre> root@pedeb6:~# puppet module list --environment 'localdev' Error: undefined method `empty?' for nil:NilClass Error: Try 'puppet help module list' for usage root@pedeb6:~# puppet module list --modulepath /etc/puppetlabs/puppet/environments/localdev/modules/ /etc/puppetlabs/puppet/environments/localdev/modules/ ├── mysqlstuff (???) [/etc/puppetlabs/puppet/environments/localdev/modules] └── puppetlabs-mysql (v0.4.0) [/etc/puppetlabs/puppet/environments/localdev/modules] </pre> ---------------------------------------- Bug #14872: puppet module install does not respect environments https://projects.puppetlabs.com/issues/14872#change-69134 Author: Garrett Honeycutt Status: Accepted Priority: Normal Assignee: Ken Barber Category: module tool Target version: 2.7.x Affected Puppet version: 2.7.16 Keywords: Branch: https://github.com/kbarber/puppet/tree/ticket/master/14872-pmt_ignores_environments puppet module install appears to read the modulepath from the [main] section and does not respect `--environment=whatever` when it installs a given module, resulting in the downloaded module being in the wrong path. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
