diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/jra.rb | 3 | ||||
-rw-r--r-- | recipes/mso-workflow-message-adapter-config.rb | 37 |
2 files changed, 39 insertions, 1 deletions
diff --git a/recipes/jra.rb b/recipes/jra.rb index da46ee2..2822542 100644 --- a/recipes/jra.rb +++ b/recipes/jra.rb @@ -1,9 +1,10 @@ ################ # Deploy jra config set -# +# ###### include_recipe "mso-config::mso-sdnc-adapter-config" include_recipe "mso-config::mso-po-adapter-config" include_recipe "mso-config::mso-topology-config" include_recipe "mso-config::mso-appc-adapter-config" +include_recipe "mso-config::mso-workflow-message-adapter-config" diff --git a/recipes/mso-workflow-message-adapter-config.rb b/recipes/mso-workflow-message-adapter-config.rb new file mode 100644 index 0000000..69732c8 --- /dev/null +++ b/recipes/mso-workflow-message-adapter-config.rb @@ -0,0 +1,37 @@ +################ +# +###### +include_recipe 'mso-config::createConfigDirectories' + +################ +# +###### +['mso.workflow-message-adapter.properties'].each do |file| + template "#{node['mso_config_path']}#{file}" do + source "mso-workflow-message-adapter-config/#{file}" + owner "jboss" + group "jboss" + mode "0744" + variables( + :var => node["mso-workflow-message-adapter-config"] + ) + end +end + +################ +# +###### +remote_directory "#{node['mso_config_path']}" do + source "mso-workflow-message-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 + |