r10k deploy subcommands

You can use the following subcommand and subcommand options with the r10k deploy command.

Subcommand Description Subcommand options
display Returns information about environments and their modules.

Refer to: Get environment details with r10k

  • -m: Return module information
  • --detail: Return detailed information
  • --fetch: Query environment sources so you can check for missing environments
  • Append one or more environment names to get information about specific environments.
environment Deploys environment content and modules.

Refer to: Updating environments

  • Append an environment name to deploy a specific environment.
  • -m: Install or update modules declared in the Puppetfile
  • -m --incremental: Install or update only modules set to a "floating" version and any modules whose definitions are new or changed since the last deployment.
module Deploys modules only.

Refer to: Installing and updating modules

  • -e: Deploy modules for a specific environment.
  • Append one or more module names to deploy only specific modules.
  • no-force: Prevents overwriting local changes to Git-based modules.
The -p subcommand option is deprecated. Use -m instead.