Client was only setting success to false if the function called raised
an exception. This commit changes it to verify the content of return
value with check_state_result
The "ww" isn't only needed in Debian, but likely all linux distros
Accorging to "ps" docs, there are several invocation cases where the
output width is undefined, unless env COLUMNS or 'ww' is specified
The merge_all strategy uses all configured SLS files, so there is no
danger from "merging" like there is in the default strategy. Therefore,
this log entry is spurious when multiple top files exist and the merging
strategy is set to "merge_all".
KDE Neon just released LTS version based on LTS Ubuntu 16.04, unfortunately it's release as "neon" dist.
I get error while installing packages.
Salt state:
```
lame:
pkg.latest
```
```
ID: lame
Function: pkg.latest
Result: False
Comment: State 'pkg.latest' was not found in SLS 'lame'
Reason: 'pkg' __virtual__ returned False
Changes:
```
```
$ salt-call --versions-report
Salt Version:
Salt: 2016.11.0
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.4.2
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.8
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: 1.0.3
msgpack-pure: Not Installed
msgpack-python: 0.4.6
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pygit2: Not Installed
Python: 2.7.12 (default, Nov 19 2016, 06:48:10)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.2.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: neon 16.04 xenial
machine: x86_64
release: 4.4.0-53-generic
system: Linux
version: neon 16.04 xenial
```
So far, salt-api handles connection creating child processes, but this new
processes are not handling the SIGTERM signal, so when `systemctl stop salt-api`
is called the salt-api service is going to be KILLED by `TimeoutStopSec=3`
option of salt-api service. This causes that salt-api looks as FAILED for systemd
even if we perform a manually stop.
FAILED systemd services has different behavior when `systemd try-restart` is called
so we may have troubles i.e. when updating salt-api package.
This commit enables SIGTERM handling for salt-api child processes to perform a
successfully exit after SIGTERM.
Without the `=`, SELINUXTYPE is also being matched in the
/etc/sysconfig/selinux file is being removed.
Also add `changes` to the result in the selinux state