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