diff options
Diffstat (limited to 'cookbooks/aai-traversal/aai-traversal-config/recipes/titan-cached.rb')
-rw-r--r-- | cookbooks/aai-traversal/aai-traversal-config/recipes/titan-cached.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cookbooks/aai-traversal/aai-traversal-config/recipes/titan-cached.rb b/cookbooks/aai-traversal/aai-traversal-config/recipes/titan-cached.rb new file mode 100644 index 0000000..b00e6ba --- /dev/null +++ b/cookbooks/aai-traversal/aai-traversal-config/recipes/titan-cached.rb @@ -0,0 +1,17 @@ +['titan-cached.properties'].each do |file| + template "#{node['aai-traversal-config']['PROJECT_HOME']}/bundleconfig/etc/appprops/#{file}" do + source "aai-traversal-app-config/titan-cached.properties" + owner "aaiadmin" + group "aaiadmin" + mode "0644" + variables( +:STORAGE_HOSTNAME => node["aai-traversal-config"]["STORAGE_HOSTNAME"], +:STORAGE_HBASE_TABLE => node["aai-traversal-config"]["STORAGE_HBASE_TABLE"], +:STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT => node["aai-traversal-config"]["STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT"], +:DB_CACHE_CLEAN_WAIT => node["aai-traversal-config"]["DB_CACHE_CLEAN_WAIT"], +:DB_CACHE_TIME => node["aai-traversal-config"]["DB_CACHE_TIME"], +:DB_CACHE_SIZE => node["aai-traversal-config"]["DB_CACHE_SIZE"] + ) + end +end + |