diff options
author | Rob Daugherty <rd472p@att.com> | 2018-04-13 15:16:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-13 15:16:32 +0000 |
commit | 1f4200f4b993e68f8ef4eb07c98a78366cc43a84 (patch) | |
tree | a8998e8f51d0e75e46772e0fb6ad66cbecc278d5 | |
parent | f1b13ca84ba4377749e5740c563e000d995db8a6 (diff) | |
parent | 837c58abaa9b7a91fe7385285ffc10c6aaafbd26 (diff) |
Merge "Adding new ASDC client property file"
-rw-r--r-- | recipes/mso-asdc-controller-config.rb | 11 | ||||
-rw-r--r-- | templates/default/mso-asdc-controller-config/mso.asdc.clients.properties | 1 |
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"] %> |