class DockerRailsProxy::DataBags::Pull
Public Instance Methods
process()
click to toggle source
# File lib/docker_rails_proxy/commands/data_bags/pull.rb, line 4 def process if system <<-EOS.strip aws s3 sync '#{options[:bucket_path]}' '#{options[:folder]}' \ --delete \ --exact-timestamps \ #{exclude_args} \ --profile '#{options[:profile]}' EOS logger.info "Data bags pulled from #{options[:bucket_path]} to #{options[:folder]}" end end