diff options
Diffstat (limited to 'recipes/mso-appc-adapter-config.rb')
-rw-r--r-- | recipes/mso-appc-adapter-config.rb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes/mso-appc-adapter-config.rb b/recipes/mso-appc-adapter-config.rb new file mode 100644 index 0000000..3dd67d7 --- /dev/null +++ b/recipes/mso-appc-adapter-config.rb @@ -0,0 +1,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 + |