summaryrefslogtreecommitdiffstats
path: root/cookbooks/aai-resources/aai-resources-config/recipes/titan-cached.rb
blob: 9394c1473fee831b46b1edd5130c6cfe77e6c42c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
['titan-cached.properties'].each do |file|
  template "#{node['aai-resources-config']['PROJECT_HOME']}/bundleconfig/etc/appprops/#{file}" do
    source "aai-resources-config/titan-cached.properties"
    owner "aaiadmin"
    group "aaiadmin"
    mode "0644"
    variables(
:STORAGE_HOSTNAME => node["aai-resources-config"]["STORAGE_HOSTNAME"],
:STORAGE_BACKEND => node["aai-resources-config"]["STORAGE_BACKEND"],
:STORAGE_HBASE_TABLE => node["aai-resources-config"]["STORAGE_HBASE_TABLE"],
:STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT => node["aai-resources-config"]["STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT"],
:DB_CACHE_CLEAN_WAIT => node["aai-resources-config"]["DB_CACHE_CLEAN_WAIT"],
:DB_CACHE_TIME => node["aai-resources-config"]["DB_CACHE_TIME"],
:DB_CACHE_SIZE => node["aai-resources-config"]["DB_CACHE_SIZE"]
      )
  end
end