blob: 620fa2ec4d88e05165eab66adbcfe39524731265 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
unless Dir.exist? "#{ENV['JETTY_BASE']}/temp"
directory "BE_tempdir_creation" do
path "#{ENV['JETTY_BASE']}/temp"
owner "#{ENV['JETTY_USER']}"
owner "#{ENV['JETTY_GROUP']}"
mode '0755'
action :create
end
end
unless Dir.exist? "#{ENV['JETTY_BASE']}/config"
directory "BE_create_config_dir" do
path "#{ENV['JETTY_BASE']}/config"
owner "#{ENV['JETTY_USER']}"
owner "#{ENV['JETTY_GROUP']}"
mode '0755'
action :create
end
end
unless Dir.exist? "#{ENV['JETTY_BASE']}/config/catalog-be"
directory "BE_create_catalog-be" do
path "#{ENV['JETTY_BASE']}/config/catalog-be"
owner "#{ENV['JETTY_USER']}"
owner "#{ENV['JETTY_GROUP']}"
mode '0755'
action :create
end
end
|