Merge pull request 'Install `mc` for `root` user.' (#84) from install-mc-for-root into master
Reviewed-on: #84
This commit is contained in:
commit
91a831f5f3
|
@ -3,6 +3,7 @@ include_recipe './attributes.rb'
|
|||
include_recipe './install.rb'
|
||||
|
||||
include_recipe './setup.rb'
|
||||
include_recipe './mc.rb'
|
||||
|
||||
include_recipe './rclone_install.rb'
|
||||
include_recipe './rclone_setup.rb'
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
md5:17a3f86858b25ec6fcd64b7f47f924ae:salt:190-136-109-24-26-133-85-248:aes-256-cfb:zWTyQvUX+eDR+m5h1Y3Hwk7/m6ESw4pMA+1bRrhyQ61SdsJj4SGTCP5i2nl9
|
||||
A91t/q0sQTlWxEgcGDHx40U7Qz55BEq4cAgA3DUSzQzqpNAsWqmH3XLc2dF8
|
||||
jF7V2PWtGpfdxTy8XW3GWiJE5fDB5CQDFRr3eFZmYOKLLN6ILUH9PsvfJRDL
|
||||
O3ihrtWz3Mg9Rv68N2AwO5uNV3Tb6ontTcu2AIrswP7ZLLbmM97xT7sGl4mb
|
||||
3n54yFU72NjTP5aOW0LcjSYdIcRDMR4TgxJk5NUb55rdfHbLP2SCbWKJxg==
|
|
@ -0,0 +1,14 @@
|
|||
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
|
Loading…
Reference in New Issue