diff options
author | Steve Smokowski <ss835w@att.com> | 2017-02-09 15:38:13 -0500 |
---|---|---|
committer | Steve Smokowski <ss835w@att.com> | 2017-02-09 15:39:00 -0500 |
commit | b160c3cc1e58e85502ccaa7358cd38ff210ed34a (patch) | |
tree | 210cc985eff4dc146e3ea431cdc7d1e792594314 /cookbooks/ajsc-aai-config/recipes/aai-logback.rb | |
parent | 7a3f850cf5c4aad118edaaf0b6981352daecb2a8 (diff) |
Initial OpenECOMP A&AI commitrelease-1.0.0
Change-Id: Ic953856ef5e44eebf05bd00fe26cb5901fb49289
Signed-off-by: Steve Smokowski <ss835w@att.com>
Diffstat (limited to 'cookbooks/ajsc-aai-config/recipes/aai-logback.rb')
-rw-r--r-- | cookbooks/ajsc-aai-config/recipes/aai-logback.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cookbooks/ajsc-aai-config/recipes/aai-logback.rb b/cookbooks/ajsc-aai-config/recipes/aai-logback.rb new file mode 100644 index 0000000..505c44a --- /dev/null +++ b/cookbooks/ajsc-aai-config/recipes/aai-logback.rb @@ -0,0 +1,15 @@ +################ +# Update logback.xml +###### + +['logback.xml'].each do |file| + template "#{node['aai-app-config']['PROJECT_HOME']}/bundleconfig/etc/#{file}" do + source "aai-app-config/logback.erb" + owner "aaiadmin" + group "aaiadmin" + mode "0777" + variables( +:ORG_OPENECOMP_AAI_LEVEL => node["aai-app-config"]["ORG_OPENECOMP_AAI_LEVEL"] + ) + end +end |