aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mso-topology-config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mso-topology-config.rb')
-rw-r--r--recipes/mso-topology-config.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/mso-topology-config.rb b/recipes/mso-topology-config.rb
new file mode 100644
index 0000000..214c985
--- /dev/null
+++ b/recipes/mso-topology-config.rb
@@ -0,0 +1,14 @@
+######################
+# Topology template file
+##########
+['topology.properties'].each do |file|
+ template "#{node['mso_config_path']}#{file}" do
+ source "mso-topology-config/#{file}"
+ owner "jboss"
+ group "jboss"
+ mode "0744"
+ variables(
+ :var => node["mso-config"]["topology"]
+ )
+ end
+end