Module: R10K::CLI::Deploy::Module

Defined in:
lib/r10k/cli/deploy.rb

Class Method Summary collapse

Class Method Details

.commandObject



65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'lib/r10k/cli/deploy.rb', line 65

def self.command
  @cmd ||= Cri::Command.define do
    name  'module'
    usage 'module [module] <module ...>'
    summary 'Deploy modules in all environments'

    description <<-DESCRIPTION
`r10k deploy module` Deploys and updates modules inside of Puppet environments.
It will load the Puppetfile configurations out of all environments, and will
try to deploy the given module names in all environments.
    DESCRIPTION

    required :e, :environment, 'Update the modules in the given environment'

    runner R10K::Action::CriRunner.wrap(R10K::Action::Deploy::Module)
  end
end