aboutsummaryrefslogtreecommitdiffstats
path: root/utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2017-08-17 12:11:12 +0300
committerTal Gitelman <tg851x@intl.att.com>2017-08-17 12:11:12 +0300
commite8dc876ea02cd9fcaaea028aaa56ea27ea0d8f13 (patch)
treedd721efca9c7ee7fd00006f0d85d65f0ffa0df1c /utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks
parentba9ef462ad61930afee6123c17427942e8b5d28f (diff)
[SDC-154] - sdc-simulator docker task
Change-Id: I2bce75940f27e0b1c31886cb78a44644df45745c Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks')
-rw-r--r--utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_2_setup_configuration.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_2_setup_configuration.rb b/utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_2_setup_configuration.rb
index 9a284deb8a..05c787fa0f 100644
--- a/utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_2_setup_configuration.rb
+++ b/utils/webseal-simulator/sdc-simulator/chef-repo/cookbooks/sdc-simulator/recipes/SDC_Simulator_2_setup_configuration.rb
@@ -1,5 +1,7 @@
+jetty_base="/var/lib/jetty"
+
cookbook_file "webseal.conf" do
- path "/#{jetty_base}/config/sdc-simulator/"
+ path "#{jetty_base}/config/sdc-simulator/webseal.conf"
source "webseal.conf"
owner "jetty"
group "jetty"
@@ -8,7 +10,7 @@ end
cookbook_file "logback.xml" do
- path "/#{jetty_base}/config/sdc-simulator/"
+ path "#{jetty_base}/config/sdc-simulator/logback.xml"
source "logback.xml"
owner "jetty"
group "jetty"