Issue #20179 has been reported by Alexander Swen. ---------------------------------------- Bug #20179: misleading errormessage in puppet module install https://projects.puppetlabs.com/issues/20179
* Author: Alexander Swen * Status: Unreviewed * Priority: Low * Assignee: * Category: module tool * Target version: * Affected Puppet version: 3.0.1 * Keywords: * Branch: ---------------------------------------- trying to install puppetdb on puppetmaster (with config in /etc/puppet) root@puppet:/etc# puppet module install puppetlabs/puppetdb Preparing to install into /etc/puppet/modules ... Downloading from https://forge.puppetlabs.com ... Error: Could not install module 'puppetlabs-puppetdb' (latest: v1.2.1) Dependency 'puppetlabs-apt' (v1.1.0) would overwrite /etc/puppet/modules/apt Use `puppet module install --dir <DIR>` to install modules elsewhere Use `puppet module install --ignore-dependencies` to install only this module ok, fair enough, i will use some other dir: root@puppet:/etc# mkdir puppetlabs root@puppet:/etc# puppet module install --dir /etc/puppetlabs puppetlabs/puppetdb Error: Could not parse application options: invalid option: --dir WTF? the message says "use --dir" and that doesn't work? got this suggestion from _rc (in chat #puppet): root@puppet:/etc# puppet module install --modulepath /etc/puppetlabs puppetlabs/puppetdb Preparing to install into /etc/puppetlabs ... Downloading from https://forge.puppetlabs.com ... Installing -- do not interrupt ... /etc/puppetlabs └─┬ puppetlabs-puppetdb (v1.2.1) ├── cprice404-inifile (v0.10.0) ├── puppetlabs-firewall (v0.2.1) └─┬ puppetlabs-postgresql (v2.1.1) ├── puppetlabs-apt (v1.1.0) ├── puppetlabs-stdlib (v3.2.0) └── ripienaar-concat (v0.2.0) puppet help module install suggests --target-dir I would encourage to use the same param everywhere -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
