Repository navigation
Closed
Labels
Corerelates to code central or existential to SaltOutputtersP3Priority 3bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixhelp-wantedCommunity help is needed to resolve thisseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
Hello,
I've configured the "changes" state output mode in master's config:
# The state_output setting changes if the output is the full multi line
# output for each changed state if set to 'full', but if set to 'terse'
# the output will be shortened to a single line. If set to 'mixed', the output
# will be terse unless a state failed, in which case that output will be full.
# If set to 'changes', the output will be full unless the state didn't change.
state_output: changes
That works like a charm. But I would like to get back to full output mode temporarily with command line parameter:
[root@salt salt]# salt --state-output=full salt state.sls salt
salt:
Name: salt-minion - Function: pkg.installed - Result: Clean
----------
ID: salt-load-dynamic-modules
Function: module.run
Name: saltutil.sync_all
Result: True
Comment: Module function saltutil.sync_all executed
Started: 15:21:19.705402
Duration: 121.905 ms
Changes:
----------
ret:
----------
beacons:
grains:
log_handlers:
modules:
output:
renderers:
returners:
states:
utils:
Name: /etc/salt/minion - Function: file.managed - Result: Clean
Name: /etc/salt/minion.d - Function: file.recurse - Result: Clean
Name: salt-minion - Function: service.running - Result: Clean
Summary for salt
------------
Succeeded: 5 (changed=1)
Failed: 0
------------
Total states run: 5
Total run time: 437.626 ms
Unfortunately, it has no effect.
Salt versions report:
[root@salt salt]# salt --versions-report
Salt Version:
Salt: 2015.8.1
Dependency Versions:
Jinja2: 2.7.2
M2Crypto: 0.21.1
Mako: Not Installed
PyYAML: 3.11
PyZMQ: 14.7.0
Python: 2.7.5 (default, Jun 24 2015, 00:41:19)
RAET: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.5
cffi: 0.8.6
cherrypy: Not Installed
dateutil: 2.4.2
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
libnacl: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: Not Installed
pycparser: 2.10
pycrypto: 2.6.1
pygit2: 0.21.4
python-gnupg: Not Installed
smmap: Not Installed
timelib: Not Installed
System Versions:
dist: centos 7.1.1503 Core
machine: x86_64
release: 3.10.0-229.7.2.el7.x86_64
system: CentOS Linux 7.1.1503 Core
Metadata
Metadata
Assignees
Labels
Corerelates to code central or existential to SaltOutputtersP3Priority 3bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixhelp-wantedCommunity help is needed to resolve thisseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Activity
jfindlay commentedon Dec 17, 2015
@vutny, thanks for the report.
vutny commentedon Dec 18, 2015
The same behavior observed in 2015.8.3 version from https://repo.saltstack.com/yum/rhel7/.
Allow state-output and state-verbose default settings to be set from CLI
rallytime commentedon Feb 18, 2016
@vutny I was able to reproduce this behavior and I have fixed this bug in #31299. Feel free to give that a try!
vutny commentedon Feb 22, 2016
@rallytime Thank you very much! It works for me.
rallytime commentedon Feb 22, 2016
@vutny Awesome! Glad to hear it!