diff options
Diffstat (limited to 'cookbooks/ajsc-aai-config/recipes/aai-preferredRoute.rb')
-rw-r--r-- | cookbooks/ajsc-aai-config/recipes/aai-preferredRoute.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cookbooks/ajsc-aai-config/recipes/aai-preferredRoute.rb b/cookbooks/ajsc-aai-config/recipes/aai-preferredRoute.rb new file mode 100644 index 0000000..c9f4887 --- /dev/null +++ b/cookbooks/ajsc-aai-config/recipes/aai-preferredRoute.rb @@ -0,0 +1,11 @@ +['preferredRoute.txt'].each do |file| + template "#{node['aai-app-config']['PROJECT_HOME']}/bundleconfig/etc/appprops/#{file}" do + source "aai-app-config/preferredRoute.txt" + owner "aaiadmin" + group "aaiadmin" + mode "0644" + variables( +:AAI_WORKLOAD_PREFERRED_ROUTE_KEY => node["aai-app-config"]["AAI_WORKLOAD_PREFERRED_ROUTE_KEY"] + ) + end +end
\ No newline at end of file |