Issue #14426 has been reported by Anand Kumria. ---------------------------------------- Bug #14426: upgrading a module is not possible https://projects.puppetlabs.com/issues/14426
Author: Anand Kumria Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.7.14 Keywords: Branch: I use vagrant to test my manifests before publishing, so I specify the location where modules should be installed. When attempting to upgrade a module, already installed. % puppet module install -i modules akumria-nullmailer Preparing to install into modules ... Error: Could not install module 'akumria-nullmailer' (latest) Module 'akumria-nullmailer' (v1.0.0) is already installed Use `puppet module upgrade` to install a different version Use `puppet module install --force` to re-install only this module Installation itself fails (see #14424), but I used the puppet-module gem to install this module. So, let's try an upgrade: % puppet module upgrade -i modules akumria-nullmailer Could not parse options: ambiguous option: -i Hmm, what about the longform version of this option? % puppet module upgrade --target-dir modules akumria-nullmailer Could not parse options: invalid option: --target-dir OK - perhaps it'll just figure things out magically: % puppet module upgrade akumria-nullmailer Preparing to upgrade 'akumria-nullmailer' ... Error: Could not upgrade module 'akumria-nullmailer' Module 'akumria-nullmailer' is not installed Use `puppet module install` to install this module -- 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 puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.