itamae/cookbooks/base/mc.rb

13 lines
230 B
Ruby
Raw Permalink Normal View History

2019-03-03 08:50:49 +00:00
MC = 'https://dl.minio.io/client/mc/release/linux-amd64/mc'
LOCATION = '/usr/local/bin/mc'
execute "wget #{MC} -O #{LOCATION}" do
not_if "test -e #{LOCATION}"
end
file LOCATION do
mode '755'
user 'root'
group 'root'
end