Fixes unnecessary cwd requirement in git exec module and exposes config management in git state module.
Fixes an exception that occurs when the config setting does not already exist.
Improve the salt-ssh error handling to try and stop JSON rendering errors from halting the salt-ssh run entirely.
Close VT PTY's. Fixes #10404.
Only close FD's if open. Only wait if alive.
Test if we're closing open PTY's
fixing an issue in the debian networking template related to DNS servers.  Since Ubuntu has moved away from /etc/default/networking since the 12.04 release, the build_network_settings doesn't create this file on Ubuntu systems higher than 12.04, the get_network_settings shouldn't return anything including defaults.
Fixed two straggling occurances of APIClient -> NetapiClient
Disable the 'routing table' index from the httpdomain

While very cool and quite handy, it doesn't make sense for how we use
netapi modules in Salt.
Improve the 'running' state's handling of param 0 as well as 'name' kwarg. Enable logging for state.
Renamed old autodoc-generated salt-api netapi module filenames
Add log message to masterapi minion runner
Added link to legacy salt-api release notes
Added link to the writing netapi modules doc
Added encoding to netapi modules
Switched to raw string for docstring to avoid pylint backslash complaints
pylint fixes for the rest_cherrypy module
pylint fixes for the rest_wsgi netapi module
SmartOS: run salt minion in an audit context

This fixes an issue @njones11 was having with
multiple cron.present states.

"crontab -l <username>" would fail, so the temp file
would be empty, a given cronjob would go in
and then the "su - <username> crontab <temp file>" would
succeed.

This evaded debugging attempts because if you invoked the salt
minion manually from a login shell, an audit context would
already exist and the "crontab -l <username>" would succeed.

The hint was a message in the debug log of:
[ERROR   ] Command 'crontab -l legion' failed with return code: 1
[ERROR   ] stderr: crontab: The audit context for your shell has not
been set.

We explicitly set up an audit context when launching the salt minion
which allows "crontab -l <username>" to succeed.

This may fix other issues and something similar
should perhaps be applied to pkg/smartos/salt-minion.xml

"5417" was chosen arbitrarily
Merge pull request #13383 from s0undt3ch/issues/10404-vt-ptys-not-released

[DO NOT MERGE] Fix #10404 vt ptys not released