Issue #22727 has been reported by Ryan Skoblenick.

----------------------------------------
Feature #22727: CLI options for module install
https://projects.puppetlabs.com/issues/22727

* Author: Ryan Skoblenick
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: cli puppet module install options
* Branch: 
----------------------------------------
I have a shell script to install the Puppet modules I desire installed on a 
system. However I am finding myself in the need for an option for:

sudo puppet module install <username>/<module_name> ensure=installed

Or:

sudo puppet module install <username>/<module_name> ensure=latest

If I attempt to install an existing module again without --force I get error 
output to the console. It doesn't make sense to force a module to download 
every time in a provisioning script when unnecessary. This also causes a 
problem cause if I wanted to validate the module was installed (without 
grepping the module list) the exist code is 1.




-- 
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.

Reply via email to