diff options
author | 2017-05-19 12:29:43 -0400 | |
---|---|---|
committer | 2017-05-19 12:40:51 -0400 | |
commit | 0cd55fc1d50f066720bbe0ce591d9cbc59ecddf4 (patch) | |
tree | c01e51a84caa6baac7511352451281c3759097e0 /cookbooks/aai-resources/aai-resources-config/recipes/titan-realtime.rb | |
parent | b160c3cc1e58e85502ccaa7358cd38ff210ed34a (diff) |
Add the chef config changes for the new repos
Change-Id: If1fc90402ca70449cd181fab9f469eded4831638
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'cookbooks/aai-resources/aai-resources-config/recipes/titan-realtime.rb')
-rw-r--r-- | cookbooks/aai-resources/aai-resources-config/recipes/titan-realtime.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cookbooks/aai-resources/aai-resources-config/recipes/titan-realtime.rb b/cookbooks/aai-resources/aai-resources-config/recipes/titan-realtime.rb new file mode 100644 index 0000000..c456eb3 --- /dev/null +++ b/cookbooks/aai-resources/aai-resources-config/recipes/titan-realtime.rb @@ -0,0 +1,14 @@ +['titan-realtime.properties'].each do |file| + template "#{node['aai-resources-config']['PROJECT_HOME']}/bundleconfig/etc/appprops/#{file}" do + source "aai-resources-config/titan-realtime.properties" + owner "aaiadmin" + group "aaiadmin" + mode "0644" + variables( +:STORAGE_HOSTNAME => node["aai-resources-config"]["STORAGE_HOSTNAME"], +:STORAGE_HBASE_TABLE => node["aai-resources-config"]["STORAGE_HBASE_TABLE"], +:STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT => node["aai-resources-config"]["STORAGE_HBASE_ZOOKEEPER_ZNODE_PARENT"] + ) + end +end + |