blob: 3a79cfc8748302c8a4c98c2b54c6563054390ae5 (
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
30
31
32
33
34
35
36
37
|
jetty_base = "#{ENV['JETTY_BASE']}"
directory "Jetty_etc_dir_creation" do
path "#{jetty_base}/etc"
owner 'jetty'
group 'jetty'
mode '0755'
action :create
not_if { ::File.directory?("#{jetty_base}/etc") }
end
cookbook_file "#{jetty_base}/etc/keyfile" do
source "keyfile"
owner "jetty"
group "jetty"
mode 0755
end
cookbook_file "#{jetty_base}/etc/cadi_truststore.jks" do
source "cadi_truststore.jks"
owner "jetty"
group "jetty"
mode 0755
end
template "#{jetty_base}/etc/cadi.properties" do
path "#{jetty_base}/etc/cadi.properties"
source "cadi.properties.erb"
owner "jetty"
group "jetty"
mode "0755"
end
|