Create directory for staging environment.
This commit is contained in:
parent
4b157c3f5d
commit
d6d8b2a5d2
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue