diff options
Diffstat (limited to 'cookbooks/aai-traversal/aai-traversal-config/recipes/titan-realtime.rb')
-rw-r--r-- | cookbooks/aai-traversal/aai-traversal-config/recipes/titan-realtime.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cookbooks/aai-traversal/aai-traversal-config/recipes/titan-realtime.rb b/cookbooks/aai-traversal/aai-traversal-config/recipes/titan-realtime.rb new file mode 100644 index 0000000..cd6686a --- /dev/null +++ b/cookbooks/aai-traversal/aai-traversal-config/recipes/titan-realtime.rb @@ -0,0 +1,14 @@ +['titan-realtime.properties'].each do |file| + template "#{node['aai-traversal-config']['PROJECT_HOME']}/bundleconfig/etc/appprops/#{file}" do + source "aai-traversal-app-config/titan-realtime.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"] + ) + end +end + |