Merge branch 'mount-necessary-directory'
This commit is contained in:
commit
9593b3c3c8
|
@ -1,10 +1,12 @@
|
||||||
# install `cifs-utils`
|
# install `cifs-utils`
|
||||||
package 'cifs-utils'
|
package 'cifs-utils'
|
||||||
|
|
||||||
directory '/mnt/backup/' do
|
%w( /mnt/backup /var/spool/apt-mirror ).each do |d|
|
||||||
|
directory d do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
group 'root'
|
group 'root'
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Add the fstab entry:
|
# Add the fstab entry:
|
||||||
file '/etc/fstab' do
|
file '/etc/fstab' do
|
||||||
|
|
Loading…
Reference in New Issue