summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb b/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb
index 0d4a388cd5..d3913ebb11 100644
--- a/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb
+++ b/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb
@@ -25,7 +25,7 @@ module KitchenAcceptance
property :artifactory_username, String, default: lazy { ENV["ARTIFACTORY_USERNAME"] }
property :artifactory_password, String, default: lazy { ENV["ARTIFACTORY_PASSWORD"] }
property :env, Hash, default: {}
- property :kitchen_options, String, default: "-l debug"
+ property :kitchen_options, String, default: lazy { ENV["PROJECT_NAME"] ? "-c -l debug" : "-c" }
action :run do
execute "bundle exec kitchen #{command}#{instances ? " #{instances}" : ""}#{kitchen_options ? " #{kitchen_options}" : ""}" do