blob: 3f660576ed3929a52c7adf6aa1aa71ed6c3b5907 (
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
38
39
40
41
42
43
44
45
46
47
48
49
|
################
#
######
include_recipe 'mso-config::createConfigDirectories'
################
#
######
['mso.bpmn.properties'].each do |file|
template "#{node['mso_config_path']}#{file}" do
source "mso-bpmn-config/#{file}"
owner "jboss"
group "jboss"
mode "0744"
variables(
:urnFileSystemLoadingEnabled => node["mso-bpmn-config"]["urnFileSystemLoadingEnabled"],
)
end
end
################
#
######
['mso.bpmn.urn.properties'].each do |file|
template "#{node['mso_config_path']}#{file}" do
source "mso-bpmn-config/#{file}"
owner "jboss"
group "jboss"
mode "0744"
variables(
:var => node["mso-bpmn-urn-config"],
:envname => node.chef_environment
)
end
end
remote_directory "#{node['mso_config_path']}" do
source "mso-bpmn-config"
#cookbook "default is current"
files_mode "0744"
files_owner "jboss"
files_group "jboss"
mode "0755"
owner "jboss"
group "jboss"
overwrite true
recursive true
action :create
end
|