itamae/cookbooks/digdag/mc.rb

15 lines
276 B
Ruby
Raw Normal View History

2021-06-19 11:25:51 +00:00
directory '/root/.mc' do
owner 'root'
group 'root'
mode '700'
end
# Deploy the configuration file:
encrypted_remote_file '/root/.mc/config.json' do
owner 'root'
group 'root'
mode '600'
source 'files/root/.mc/config.json'
password ENV['ITAMAE_PASSWORD']
end