Remove jboss-rmi
[sdc.git] / catalog-be / src / main / docker / backend / chef-repo / cookbooks / sdc-catalog-be / recipes / BE_1_cleanup_jettydir.rb
1 unless Dir.exist? "#{ENV['JETTY_BASE']}/temp"
2   directory "BE_tempdir_creation" do
3     path "#{ENV['JETTY_BASE']}/temp"
4     owner 'jetty'
5     group 'jetty'
6     mode '0755'
7     action :create
8   end
9 end
10
11 unless Dir.exist? "#{ENV['JETTY_BASE']}/config"
12   directory "BE_create_config_dir" do
13     path "#{ENV['JETTY_BASE']}/config"
14     owner 'jetty'
15     group 'jetty'
16     mode '0755'
17     action :create
18   end
19 end
20
21 unless Dir.exist? "#{ENV['JETTY_BASE']}/config/catalog-be"
22   directory "BE_create_catalog-be" do
23     path "#{ENV['JETTY_BASE']}/config/catalog-be"
24     owner 'jetty'
25     group 'jetty'
26     mode '0755'
27     action :create
28   end
29 end