Commit Graph

75168 Commits

Author SHA1 Message Date
Erik Johnson
3032a542d9 Use NotifyAccess=all in all unit files
When systemd-python is not installed, systemd notification falls back to
using the systemd-notify for service notification. This cannot be used
however unless the unit has NotifyAccess=all set.

The particular use case for this is when Salt is installed using pip. We
don't put systemd-python into the requirements.txt because we can't be
sure that the minion supports systemd, so pip installs won't necessarily
have systemd-python available.
2016-10-21 15:56:47 -06:00
Erik Johnson
4826995973 Remove EnvironmentFile and Restart lines from unit files
These shouldn't be there, because the variables sourced by the
EnvironmentFile are only made available to the Exec commands in the unit
file.
2016-10-21 15:56:47 -06:00
Erik Johnson
3be15694d2 Use Type=notify for debian systemd units 2016-10-21 15:56:47 -06:00
Robert James Hernandez
d58fda6f67 Use control-group default for killmode 2016-10-21 15:56:47 -06:00
Mike Adams
36bc2a1ded Add run_on_start to SCHEDULE_CONF
This is a fix for 37037.
2016-10-21 15:55:10 -06:00
do3meli
c63126a2f0 removed trailing whitespaces in apache_module.py 2016-10-21 15:53:24 -06:00
do3meli
a812cbfea7 use versionadded and deprecated warnings in apache_module 2016-10-21 15:53:24 -06:00
Justin Findlay
094eac06eb modules.status.uptime unit test: mock on linux 2016-10-21 15:50:42 -06:00
rallytime
caa8fc9169 Merge branch '2016.3' into 'carbon'
Conflicts:
  - pkg/deb/salt-api.service
  - pkg/deb/salt-master.service
  - salt/client/__init__.py
  - salt/fileclient.py
  - salt/modules/cp.py
  - salt/modules/status.py
  - tests/integration/__init__.py
  - tests/integration/modules/cp.py
2016-10-21 15:50:03 -06:00
David Boucha
305b402778 change links to develop 2016-10-21 15:38:15 -06:00
David Boucha
faa54843f7 add link to pull request doc 2016-10-21 15:34:18 -06:00
rallytime
db3150b3f1 Merge branch 'carbon' into 'develop'
Conflicts:
  - doc/topics/installation/windows.rst
2016-10-21 15:19:16 -06:00
David Boucha
f5c97de6c9 add link to pull requests doc 2016-10-21 15:14:19 -06:00
Nicole Thomas
2bc5dedd06 Allow the minion test daemons a couple of tries to connect to the master (#37150)
When running the tests with the tcp transport, we are not as forgiving
with the minion connection process as we are in ZMQ. In ZMQ, we attempt
to connect to the master. If it isn't up yet, we wait and try again. In
TCP, we try to connect to the master once, realize it's not up (because
the master process takes longer to spin up than the minions) and crash
and bail out.

This just gives the master a little more time to come up by having the
minions try to connect a couple more times.
2016-10-21 14:50:39 -06:00
Nicole Thomas
ec7ad9eebe Add note about salt-bootstrap known issue for 2016.3.4 (#37152)
* Add note about salt-bootstrap known issue for 2016.3.4

Refs https://github.com/saltstack/salt-bootstrap/issues/973

* Add bootstrap release known issue to 2016.3.3 release notes, too.
2016-10-21 14:46:35 -06:00
David Boucha
b67dd076dc add pull requests doc 2016-10-21 13:26:18 -06:00
Benedikt Werner
09de18a48b Fixed defaults for sensehat.show_letter() 2016-10-21 21:05:24 +02:00
Brian Glogower
d39605701a Create pass renderer
More information on pass can be found [here](https://www.passwordstore.org/).
I used the gpg renderer as inspiration.
2016-10-21 11:43:01 -07:00
Super-User
052f069cab enable doc generation for pdbedit 2016-10-21 18:27:36 +00:00
Super-User
ef713a435b pdbedit.modify should handle reset of login-hours and bad-password-count 2016-10-21 18:18:32 +00:00
Super-User
7b20f17276 pdbedit.modify supports setting account control properties 2016-10-21 18:10:40 +00:00
Super-User
cdb41b3fae pdbedit.modify supports chaging user and machine SID 2016-10-21 17:52:11 +00:00
Super-User
49aaecc73a pdbedit.modify
- expose generate_nt_hash
- convert nthash to upper case (to match pdbedit's output)
- quote args
- introduce pdbedit.modify
2016-10-21 17:32:46 +00:00
Super-User
ae6d3e026b pdbedit.create - support machine accounts, change password_type to bool password_hashed 2016-10-21 15:54:15 +00:00
Super-User
fc8703c5e9 pdbedit.create and pdbedit.delete
- toggle inclusion of hashes for list
- toggle inclusion of hashes for get
- delete account
- create account (updates password if different)
2016-10-21 15:39:20 +00:00
Super-User
35a60c0264 pdbedit.get 2016-10-21 14:38:25 +00:00
Mihai Dinca
4fd129df92 Fix pkg.latest_version when latest already installed 2016-10-21 16:37:46 +02:00
Mike Place
7908819b70 Merge pull request #37145 from cachedout/gate_github_test
Don't run ssh tests if we can't reach external server
2016-10-21 23:16:57 +09:00
carpenti
847b9a73e4 add explicit reference to grains['id'] as a 'safe' grain for pillars
The documentation is a bit vague concerning the safe way to target
a specific minion inside pillars.

This commit explicitly mention grains['id'] as safe (according to PR
https://github.com/saltstack/salt/pull/12128)
2016-10-21 15:51:19 +02:00
Mike Place
8de7b39b5e Merge pull request #37135 from Cloudtek/x509-docs-fix
Fix example signing policy in salt.states.x509 docs
2016-10-21 20:45:22 +09:00
Mike Place
f4ce268d51
Don't run ssh tests if we can't reach external server 2016-10-21 19:47:05 +09:00
Mike Place
a5335a2f15 Merge pull request #37137 from awerner/fix-spm-msgpack
SPM-METADATA are now loaded as yaml from remote URLs
2016-10-21 18:52:40 +09:00
Mike Place
a606a42575 Minor style change
Double-quotes to single-quotes, per SaltStack style guide.
2016-10-21 18:39:40 +09:00
Mike Place
41ae90d3c3 Merge pull request #37140 from vutny/pkgbuild-repo-sign-with-no-passphrase
pkgbuild.repo: fix GPG signing with `use_passphrase=False`
2016-10-21 18:37:54 +09:00
Dmitry Kuzmenko
87c2e93e40 Don't fail if host_to_ips returns None. 2016-10-21 12:29:03 +03:00
Dmitry Kuzmenko
f625e6d3a9 Updated host_to_ip to return all the IPs instead of the first one.
This fixes the bug #36866 where minion gets __master_disconnected right
after connect because '::1' isn't in the list of connected masters that
is ['127.0.0.1'].
2016-10-21 12:28:32 +03:00
Dmitry Kuzmenko
f07d5f602c Don't fail if host_to_ips returns None. 2016-10-21 12:06:42 +03:00
Denys Havrysh
409a3100a7 pkgbuild.repo: fix GPG signing with use_passphrase=False 2016-10-21 11:16:19 +03:00
Mike Place
e728c20aa7 Merge pull request #37112 from cachedout/cleanup_bot_exc_handling
Clean up boto exception handling
2016-10-21 16:37:19 +09:00
Alexander Werner
e3916813bb Download spm package from remote repository and save it to cache directory
fixes #37138
2016-10-21 09:28:50 +02:00
Alexander Werner
52d47cece9 SPM-METADATA are now loaded as yaml from remote URLs
fixes #37095
2016-10-21 09:07:11 +02:00
Mike Place
96a1292a7e Merge pull request #37071 from vutny/pkgbuild-repo-gpg-sign-timeout
pkgbuild.repo: add `timeout` parameter for waiting passphrase prompt
2016-10-21 14:20:26 +09:00
Mike Place
77ead7ddb0 Merge pull request #37094 from basic-system/develop
add size converter and start convert active size
2016-10-21 14:19:10 +09:00
Mike Place
9df172e828 Merge pull request #37097 from haeac/Add_feature_#37092
Allow emtpy content for delete mode in file.line as per feature request #37092.
2016-10-21 14:18:44 +09:00
Mike Place
274120300d Merge pull request #37115 from DSRCorporation/backport/36720_fix_race_condition
Backport/36720 fix race condition
2016-10-21 14:16:15 +09:00
Mike Place
8b4b6e2616 Merge pull request #37117 from DSRCorporation/bugs/36866_salt-minion_communication_broken
Updated host_to_ip to return all the IPs instead of the first one.
2016-10-21 14:15:35 +09:00
Mike Place
169a82e62b Merge pull request #37119 from jfindlay/log_proc_user
log.setup: only assign user if defined
2016-10-21 14:14:55 +09:00
Mike Place
51f20a8623 Merge pull request #37129 from vodik/sangoma
Add support for the new Sangoma/FreePBX disto
2016-10-21 14:09:14 +09:00
Mike Place
c9c4da0931 Merge pull request #37130 from jsargiot/patch-1
Fix versionadded for base64_decodefile
2016-10-21 14:08:33 +09:00
Mike Place
40adddba06 Merge pull request #37131 from jacobhammons/win-install
Remove master installation instructions on Windows
2016-10-21 14:08:00 +09:00