Update one or more modules in a single environment

To update specific modules in a specific environment, specify both the environment and the modules in your command.

Before updating modules, you must Update a single environment and its modules.

The command format is:

r10k deploy module -e <ENVIRONMENT_NAME> <MODULE_NAME>

The first argument supplied after -e is interpreted as an environment name. Anything after this is treated as a module name. You can append multiple module names, but only one environment name.

For example, this command updates the apache, jenkins, and java modules in the production environment:

r10k deploy module -e production apache jenkins java

If the specified module is not described in a given environment's Puppetfile, that module is skipped.