Issue #21576 has been updated by Charlie Sharpsteen. Category set to module tool Status changed from Unreviewed to Rejected Assignee set to Charlie Sharpsteen
> It seems that when putting the modulepath directive in the [master] part its > not read by ‘puppet module list’ but it is processed when its in the [main] > part. Not sure if this is expected / desired behaviour. This is indeed the expected behavior. The help for `puppet module list` states: > By default, this action scans the modulepath from puppet.conf's `[main]` > block; use the --modulepath option to change which directories are scanned. In general, Puppet [faces, such as `module`, have a "run mode" of `user`][run-modes] --- this means these programs are exposed to configuration from the `[user]` and `[main]` blocks. For Puppet 2.7.x, the run mode of a face can be altered by specifying the `--mode` flag. Under 3.x, the flag was changed to `--run_mode`, but is currently broken (ref: #21239). [run-modes]: http://docs.puppetlabs.com/guides/configuring.html#config-blocks ---------------------------------------- Bug #21576: puppet module list doesn't walk all of the modulepath directories https://projects.puppetlabs.com/issues/21576#change-94176 * Author: Richard Pijnenburg * Status: Rejected * Priority: Normal * Assignee: Charlie Sharpsteen * Category: module tool * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- When having multiple directories in the modulepath it doesn't process all of them. in puppet.conf i have: modulepath = $confdir/modules/library:$confdir/modules/shared:$confdir/modules/common:$confdir/modules/platforms/isp/modules:$confdir/modules/platforms/isp When running 'puppet module list' i get: <pre> [root@puppetmaster001 puppet]# puppet module list /etc/puppet/modules ├── common (???) ├── library (???) ├── platforms (???) └── shared (???) </pre> Only when specifying one of the dirs i see all the modules. ( although still with the ??? behind them ) Will take a stab at this and see if i can solve it. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
