Commit Graph

95827 Commits

Author SHA1 Message Date
Daniel A. Wozniak
b69c002e68
Fix saltmod roster test 2019-01-16 11:20:05 -07:00
Daniel A. Wozniak
2594f246e5
Roster defines the roster system not a file 2019-01-16 11:18:41 -07:00
Shane Lee
05836b3948
Merge branch '2018.3' into issue51158 2019-01-14 20:06:02 -07:00
Daniel Wozniak
06854cf541
Merge pull request #51147 from Ch3LL/merge-2018.3
[2018.3] Merge forward from 2017.7 to 2018.3
2019-01-14 19:05:50 -07:00
Daniel A. Wozniak
bf47f6f806
Fix linter 2019-01-14 16:02:03 -07:00
Gareth J. Greenaway
d39d8b720d
Merge branch '2018.3' into merge-2018.3 2019-01-14 14:48:44 -08:00
Gareth J. Greenaway
b79c09e5a3
Merge pull request #51161 from amendlik/long-hostname
Ignore exceptions when generating the minion ID
2019-01-14 14:47:54 -08:00
Gareth J. Greenaway
6fcc4ad4d5
Merge branch '2018.3' into long-hostname 2019-01-14 13:36:25 -08:00
Daniel A. Wozniak
6223596073
Honor roster file for ssh orchestrations 2019-01-14 14:21:03 -07:00
Ch3LL
74edfd97f3
Fix pylint 2019-01-14 15:09:27 -05:00
Gareth J. Greenaway
14247345a6
Merge pull request #51159 from rkrieger/fix-issue-51067
Prevent crash by testing for 'manufacturer' in osdata on OpenBSD
2019-01-14 10:08:21 -08:00
Adam Mendlik
1a4e307c0d
Ignore exceptions when generating the minion ID
Fixes #51160
2019-01-13 20:44:11 -07:00
Rogier Krieger
1440ccfd96 Prevent crash by testing for 'manufacturer' in osdata on OpenBSD
Fixes issue #51067.
2019-01-13 17:19:23 +01:00
Daniel Wozniak
5e3732669b
Merge pull request #51146 from terminalmage/fix-vsphere-tuple-issue
Fix invalid assignment in vsphere module
2019-01-12 14:44:32 -07:00
Daniel Wozniak
fad8621ecb
Merge pull request #51154 from twangboy/auditpol
Add support for Advanced Audit policies
2019-01-12 14:43:26 -07:00
Daniel Wozniak
f7a100c6e3
Merge pull request #51151 from Ch3LL/bp_51061
Backport #51061 to 2018.3
2019-01-11 20:18:44 -07:00
Daniel Wozniak
3a50a5763f
Merge pull request #51150 from Ch3LL/bp-49508
Back-port #49508 to 2018.3
2019-01-11 20:18:19 -07:00
Daniel Wozniak
8bb589dbc1
Merge pull request #51152 from garethgreenaway/50433_handle_grants_better
[2018.3] Fixes to mysql module to handle ALL PRIVILEGES grant
2019-01-11 20:17:14 -07:00
Gareth J. Greenaway
f7caa4df51
Fixing lint 2019-01-11 17:01:33 -08:00
Gareth J. Greenaway
e8c8c0f451
Adding some tests to ensure "ALL PRIVILEGES" is handled correctly in 8.0 and 5.6 2019-01-11 16:48:58 -08:00
twangboy
906437647f
Add support for Advanced Audit policies 2019-01-11 17:47:52 -07:00
Gareth J. Greenaway
b4bfd9f9e9
Add additional grants. Adding logic to handle when ALL or ALL PRIVILEGES is passed for the grant, including some logic to handle the fact that the grants are split when show grants is run for a particular user. 2019-01-11 16:02:35 -08:00
Gareth J. Greenaway
ffdae27877
When writing output to stdout we want to ensure that the data is a string not bytes. Under py2 the salt.utils.data.encode function results in a string but under py3 the result is a bytestring. Swapping out salt.utils.data.encode for salt.utils.stringutils.to_str. 2019-01-11 17:04:54 -05:00
Florian Bergmann
7ae53addc7
Do not silently ignore errors.
At least log the occurring errors to debug and trace.
2019-01-11 16:54:22 -05:00
Florian Bergmann
deb013433d
Convert to string before sending via 'publish'.
Otherwise the publish call with receive a "b''" string, which can not be used
in the functions.
2019-01-11 16:54:21 -05:00
Florian Bergmann
651c5512d9
Use to_str salt.utils when writing to a file. 2019-01-11 16:54:17 -05:00
Ch3LL
81a3d4724a
Merge branch '2017.7' into '2018.3'
Conflicts:
  - tests/unit/modules/test_debian_ip.py
2019-01-11 16:38:51 -05:00
Erik Johnson
5d60022594
Fix invalid assignment in vsphere module
Tuples are immutable, so if we reach this code it will raise a
TypeError.
2019-01-11 15:02:05 -06:00
Gareth J. Greenaway
dda1ebbabc
Merge pull request #51133 from 5uper5hoot/issue-#50849
Fixes mysql server version comparison.
2019-01-10 08:45:37 -08:00
Peter Schutt
ec14e13b47 Fixes mysql server version comparison.
Issue #50849.
2019-01-10 20:22:01 +10:00
Daniel Wozniak
9d4321ddac
Merge pull request #50878 from max-arnold/output-docs
Fix profile outputter docs
2019-01-08 11:32:39 -07:00
Daniel Wozniak
ce87504426
Merge pull request #51076 from OrangeDog/patch-1
Typos in index_template_present documentation
2019-01-08 11:25:19 -07:00
Gareth J. Greenaway
8a76a19c17
Merge pull request #50858 from jasonarewhy/bugfix-2017.7/ubuntu-networking-searchdomain
get searchdomain in Ubuntu 12+ (2017.7)
2019-01-07 16:22:48 -08:00
Gareth J. Greenaway
d08abf402f
Merge pull request #51081 from garethgreenaway/merge-2018.3
[2018.3] Merge forward from 2017.7 to 2018.3
2019-01-07 12:34:15 -08:00
Gareth J. Greenaway
3395a3d185
Merge branch '2017.7' into bugfix-2017.7/ubuntu-networking-searchdomain 2019-01-07 11:52:27 -08:00
Gareth J. Greenaway
027804a55b
Merge branch '2018.3' into merge-2018.3 2019-01-07 10:53:53 -08:00
Gareth J. Greenaway
335088b96f
Merge pull request #51080 from garethgreenaway/50966_nxos_ensure_kwargs_list
[2018.3] Fix to nxos module
2019-01-07 10:07:24 -08:00
Gareth J. Greenaway
a20791b7c0
Merge branch '2018.3' into merge-2018.3 2019-01-07 09:46:43 -08:00
Gareth J. Greenaway
9386aab9da
Merge branch '2017.7' into merge-2018.3 2019-01-07 09:42:55 -08:00
Gareth J. Greenaway
230a66b901
Merge branch '2018.3' into 50966_nxos_ensure_kwargs_list 2019-01-07 08:46:34 -08:00
Gareth J. Greenaway
c47b6462c2
Merge pull request #51079 from terminalmage/salt-jenkins-1238
Fix shadow.set_date/shadow.set_expire on F28
2019-01-07 08:28:35 -08:00
Gareth J. Greenaway
629dc252c2
Ensure kwargs is a list before we attempt to loop through. Similar fix to 430c462f34 in the proxy module. 2019-01-07 08:23:14 -08:00
Erik Johnson
ccd5c151dc
Fix shadow.set_date/shadow.set_expire on F28
When there are problems with SSSD, warnings are written to stderr but
as long as chage succeeds, the command will exit with a zero exit code.

These two functions were returning True only when there is no CLI
output, instead of checking the retcode as it should have.

This commit fixes this, allowing F28 (and any other distros which use
SSSD) to properly report success/failure when there are SSSD warnings in
the output from chage.
2019-01-07 09:59:41 -06:00
James Howe
568e4fba0c
Revert add -> check 2019-01-07 14:37:12 +00:00
James Howe
4d7ebe7949
Typos in index_template_present documentation 2019-01-07 13:31:30 +00:00
Gareth J. Greenaway
aeeb047f18
Merge pull request #51044 from terminalmage/issue47043
archive.extracted: Don't run lsattr when enforcing user/group ownership
2019-01-03 11:26:02 -08:00
Erik Johnson
787b79a1b2
archive.extracted: Don't run lsattr when enforcing user/group ownership
This changes file.check_perms such that it doesn't run lsattr if no
attrs are passed in.
2019-01-03 10:19:56 -06:00
Erik Johnson
04fdae5bbd
Merge pull request #51034 from garethgreenaway/bp-51031
Back-port PR #51031 to 2018.3
2019-01-03 09:42:21 -06:00
Wayne Werner
cd310c2501
Set long_description
It's good to have information on PyPI if people are looking there.

---

Closes saltstack/salt#50964

Signed-off-by: Wayne Werner <wwerner@saltstack.com>
2019-01-02 18:40:59 -08:00
Gareth J. Greenaway
4685e0ef5f
Merge pull request #50972 from pirogoeth/sjohn/2018.3-apt-key-batch
Use gpg's --batch in apt-key adv during repo key add
2019-01-02 18:34:12 -08:00