blob: 3dd67d73b503efba5c1e866675a6513286acfeaa (
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
|
################
#
######
include_recipe 'mso-config::createConfigDirectories'
################
#
######
['mso.appc-adapter.properties'].each do |file|
template "#{node['mso_config_path']}#{file}" do
source "mso-appc-adapter-config/#{file}"
owner "jboss"
group "jboss"
mode "0744"
variables(
:appc_vars => node["mso-appc-adapter-config"]
)
end
end
################
#
######
remote_directory "#{node['mso_config_path']}" do
source "mso-appc-adapter-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
|