Create directory for staging environment.

This commit is contained in:
Kazuhiro MUSASHI 2019-11-10 11:45:29 +08:00
parent 4b157c3f5d
commit d6d8b2a5d2
1 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,10 @@
# Create the nginx directory: # Create the nginx directory:
directory '/var/www/blog' do %w( blog test ).each do |d|
owner 'www-data' directory "/var/www/#{d}" do
group 'webadm' owner 'www-data'
mode '770' group 'webadm'
mode '770'
end
end end
# Add the fstab entry: # Add the fstab entry: