27
28
29
30
31
32
33
34
35
36
37
|
# File 'lib/r10k/cli/puppetfile.rb', line 27
def self.command
@cmd ||= Cri::Command.define do
name 'install'
usage 'install'
summary 'Install all modules from a Puppetfile'
option nil, :moduledir, 'Path to install modules to', argument: :required
option nil, :puppetfile, 'Path to puppetfile', argument: :required
flag nil, :force, 'Force locally changed files to be overwritten'
runner R10K::Action::Puppetfile::CriRunner.wrap(R10K::Action::Puppetfile::Install)
end
end
|