aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Martella <amartell@research.att.com>2018-04-12 15:43:30 -0400
committerArthur Martella <amartell@research.att.com>2018-04-12 15:43:30 -0400
commit837c58abaa9b7a91fe7385285ffc10c6aaafbd26 (patch)
tree4ec59a72e24498af2bbf29863de8a04a0b921022
parent0b3deea8c5c10dce260c25908e9b2d89638df148 (diff)
Adding new ASDC client property file
And associated runbook changes. Change-Id: Ie1b0fcf94aeb0e44028ec10c0e36f0ad8c18f58e Issue-ID: SO-563 Signed-off-by: Arthur Martella <amartell@research.att.com>
-rw-r--r--recipes/mso-asdc-controller-config.rb11
-rw-r--r--templates/default/mso-asdc-controller-config/mso.asdc.clients.properties1
2 files changed, 12 insertions, 0 deletions
diff --git a/recipes/mso-asdc-controller-config.rb b/recipes/mso-asdc-controller-config.rb
index 0d84dec..d83a19a 100644
--- a/recipes/mso-asdc-controller-config.rb
+++ b/recipes/mso-asdc-controller-config.rb
@@ -48,6 +48,17 @@ template "mso_asdc_json" do
action :nothing
end
+template "mso_asdc_clients_properties" do
+ path "#{ node['mso_config_path'] }/mso.asdc.clients.properties"
+ source "mso-asdc-controller-config/mso.asdc.clients.properties"
+ owner "jboss"
+ group "jboss"
+ mode "0744"
+ variables(
+ :var => node["mso-asdc-controller-config"]
+ )
+end
+
remote_directory "#{node['mso_config_path']}" do
source "mso-asdc-controller-config"
#cookbook "default is current"
diff --git a/templates/default/mso-asdc-controller-config/mso.asdc.clients.properties b/templates/default/mso-asdc-controller-config/mso.asdc.clients.properties
new file mode 100644
index 0000000..04dc23c
--- /dev/null
+++ b/templates/default/mso-asdc-controller-config/mso.asdc.clients.properties
@@ -0,0 +1 @@
+aai.endpoint=<%= @var["aaiEndpoint"] %>