summaryrefslogtreecommitdiffstats
path: root/cookbooks/aai-traversal/aai-traversal-config/recipes/aai-preferredRoute.rb
blob: 2672e9bdb5b2456ba8074d46dcadc22adc86c152 (plain)
1
2
3
4
5
6
7
8
9
10
11
['preferredRoute.txt'].each do |file|
  template "#{node['aai-traversal-config']['PROJECT_HOME']}/bundleconfig/etc/appprops/#{file}" do
    source "aai-traversal-app-config/preferredRoute.txt"
    owner "aaiadmin"
    group "aaiadmin"
    mode "0644"
    variables(
:AAI_WORKLOAD_PREFERRED_ROUTE_KEY => node["aai-traversal-config"]["AAI_WORKLOAD_PREFERRED_ROUTE_KEY"]
      )
  end
end