* properly set cron entries on Solarish systems
* also fix write_cron_file(_verbose_
* minor tweak to make merging into 2016.3 and develop easier
* per @damon-atkins, be more restrictive with fpopen for the user crontab
* fix another small security hole by swapping fopen to fpopen + mode. fixed previous commit by switching back to 0600
* Reset signal handling when restarting the minion.
This will avoid a hang on multiple failover masters on the 2nd restart.
This fix was hacked at +30000 feet. Kids, don't try this at home ;)
* Fix logging argument index. Switch to substitution.
* Add script to configure salt
* Add salt-config.sh to installer scripts
* Add additional information to welcome/conclusion
* Fix text in conclusion
* Make salt-config.sh executable
* Create symlink to salt-config.sh
* Create minion.d directory
* Fix changed comparison to determine restart
* Add -f option to symlink creation
* modules.virtualenv_mod: use correct pip bootstrap url
* modules.pip: raise error on mirrors arg
* states.pip: run mirrors test on < 7.0.0
* update pip integration test states to not use mirrors
* modules.pip: run mirrors tests on pip < 7.0.0
* salt.log.setup: process user args before format
Before:
[DEBUG ] too many %s
After:
[DEBUG ] too many secrets
* salt.log.setup: allow SaltLogRecord attrs on console
* Remove FileClient class references from docs - it doesn't exist.
Replace FileClient class references with mentions of the fileclient.py
module and replace code examples with salt.fileclient.get_file_client
examples.
Fixes#32646
* Don't reference minion import when not used
Because of the way the renderers are lazy loaded when using ext_pillar_first
and gitfs external pillar, the renderers for the local pillar object were
being set to the last loaded gitfs pillar.
This was causing the local pillar to fail to render. This small fix
forces a reload of the renderers after all the external pillars are done
loading.
* Clarify service state opening docs - uses 'service' virtualname
Fixes#30855
* Add a few more clarifications to service state docs
And link to service execution modules list.
* Revert "Archive extracted perms update. (#32765)"
This reverts commit 66ba35261c.
* archive.extracted: only manage user/group ownership when if_missing is a directory
There might be a better way to properly enforce this this (such as using
os.chmod on each individual file), but the trouble with doing this right
now is that the archive functions for unzip and unrar do not return neat
lists of files, they just return the CLI output from the unzip/unrar
commands as a list of lines.
Fixes#32801.
* Evaluate %h and %u before deciding if the ssh config path is absolute
Since %h is the user's home directory, it's not very useful unless it
appears at the beginning of the path. However, putting it at the
beginning of the path does not have the expected effect: %h/.ssh
will become /home/someuser/home/someuser/.ssh, since "%h/.ssh" is
identified by Python as a non-absolute path, causing the user's
home directory to be tacked on the front.
* Improved ssh_auth path expansion test