Now if something goes wrong in _check_perms() the 'result' of
file.recurse will reflect that and also error messages will be
aggregated in the 'comment' of file.recurse as a dict of pathes
to lists of comments rather than as one big string.
When the argument passed is entirely numeric ast.literal_eval()
will evaluate the numeric string to a int, long or float. This
falls through the attempt to create a list of arguments and later
causes runner.run to fail when the argument is a string.
Corey Quinn reported a issue where __grains__['os_family'] returned a
KeyError. This commits adds a check to the grains module test to ensure
os_family is present.
* Based on the conversation on saltstack/salt#1818 there was a need to allow the parsers to specify their default logging level. Now Supported!
* When connecting to the master, the log message now tells us, which(hostname or ip) is the master that we're connecting to.
* upstream/develop: (133 commits)
Add a verify_env option to the master and minion configs
clean up some double quotes
Fix#1790 by moving generic sanitize_host function into shared lib
Single quotes
Add Hacking file to source tarball, fix#1767Fix#1753, really
Should fix#1813, please let me know
Fix `salt-call` bug with default outputter.
There's no logging NullHandler in `2.6`. Fix it.
Final fix for saltstack/salt#1756
Complete fixsaltstack/salt#1806
Some more fixes regarding saltstack/salt#1756
Fix `tests/unit/utils/verify_test.py` since verify_user no longer accepts the log argument.
Fixsaltstack/salt#1756Fixsaltstack/salt#1804Fixsalstack/salt#1789
added bash completion script
Make sure the configuration directory path is absolute.
Some more parsers cleanup and fixes.
Make sure the configuration directory path is absolute.
...
When using file.recurse, the ownerships and permissions of the files
newly created by file.recurse will not be set. However, if the
destination files are already there then the file meta information
will be updated.
Also fixed a bug in _check_perms that always sets the result: False
even when the correct permission mode has been set.
Minor refactorings.
* `salt-call` default outputter returned from `salt.output.get_printout()` was `None` and `None` isn't callable neither outputs anything useful. In this case, the fault Outputter should be used.
* `get_printout()` also tested for `txt_out` which now is, in the cleaned up parsers, `text_out`. Fixed.