Mattflaschen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/273532

Change subject: Listen to environment variable PUPPET_EVAL_TRACE
......................................................................

Listen to environment variable PUPPET_EVAL_TRACE

Similar to PUPPET_DEBUG, but for --evaltrace, to see how long each
step takes.

We should do some real profiling, but this is a start.

Change-Id: Id98a1fd1063c7d53808f919692c913d66e00ec51
---
M Vagrantfile
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/32/273532/1

diff --git a/Vagrantfile b/Vagrantfile
index 4765fcc..d838ef0 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -218,7 +218,8 @@
       '--detailed-exitcodes',
     ]
 
-    # For more output, uncomment the following line:
+    puppet.options << '--evaltrace' if ENV.include?('PUPPET_EVAL_TRACE')
+
     puppet.options << '--debug' if ENV.include?('PUPPET_DEBUG')
 
     # Windows's Command Prompt has poor support for ANSI escape sequences.

-- 
To view, visit https://gerrit.wikimedia.org/r/273532
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id98a1fd1063c7d53808f919692c913d66e00ec51
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <mflasc...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to