Create directory for staging environment.
This commit is contained in:
parent
4b157c3f5d
commit
d6d8b2a5d2
|
@ -1,9 +1,11 @@
|
|||
# Create the nginx directory:
|
||||
directory '/var/www/blog' do
|
||||
%w( blog test ).each do |d|
|
||||
directory "/var/www/#{d}" do
|
||||
owner 'www-data'
|
||||
group 'webadm'
|
||||
mode '770'
|
||||
end
|
||||
end
|
||||
|
||||
# Add the fstab entry:
|
||||
file '/etc/fstab' do
|
||||
|
|
Loading…
Reference in New Issue