sate_output_profile default to True

This commit is contained in:
Z. Liu 2015-01-03 01:26:24 +08:00 committed by rallytime
parent 991922703b
commit 55db1bf8b5
2 changed files with 2 additions and 2 deletions

View file

@ -463,7 +463,7 @@
# The state_output_profile setting changes whether profile information
# will be shown for each state run.
#state_output_profile: False
#state_output_profile: True
# Fingerprint of the master public key to double verify the master is valid,
# the master fingerprint can be found by running "salt-key -F master" on the

View file

@ -211,7 +211,7 @@ def _format_host(host, data):
u' {tcolor} Result: {ret[result]!s}{colors[ENDC]}',
u' {tcolor} Comment: {comment}{colors[ENDC]}',
]
if __opts__.get('state_output_profile', False):
if __opts__.get('state_output_profile', True):
state_lines.extend([
u' {tcolor} Started: {ret[start_time]!s}{colors[ENDC]}',
u' {tcolor}Duration: {ret[duration]!s}{colors[ENDC]}',