Module: R10K::CLI::Puppetfile::Install

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

Class Method Summary collapse

Class Method Details

.commandObject



28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/r10k/cli/puppetfile.rb', line 28

def self.command
  @cmd ||= Cri::Command.define do
    name    'install'
    usage   'install'
    summary 'Install all modules from a Puppetfile'

    # @todo add --moduledir option
    # @todo add --puppetfile option
    # @todo add --no-purge option
    runner R10K::Action::Puppetfile::CriRunner.wrap(R10K::Action::Puppetfile::Install)
  end
end