7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'lib/r10k/cli/synchronize.rb', line 7
def self.command
@cmd ||= Cri::Command.define do
name 'synchronize'
usage 'synchronize <options>'
summary 'DEPRECATED: Fully synchronize all environments'
required :c, :config, 'Specify a configuration file'
be_hidden
run do |opts, args, cmd|
logger.warn "#{cmd.name} is deprecated; please use `r10k deploy environment --puppetfile`"
opts.merge!({:puppetfile => true})
R10K::CLI::Deploy::Environment.command.block.call(opts,args,cmd)
end
end
end
|