Commit Graph

95901 Commits

Author SHA1 Message Date
Brett Benassi
48fc01fb13
Adding git 'v' to the bootstrap options 2018-12-11 10:24:44 -07:00
Gareth J. Greenaway
32dfabab50
Merge pull request #50816 from dubb-b/2017.7
Pinning bootstrap to the tagged version of salt.
2018-12-11 09:20:01 -08:00
Brett Benassi
dc7ff48822
Pinning bootstrap to the tagged version of salt. 2018-12-11 10:09:35 -07:00
Daniel Wozniak
9b6b39ce49
Merge pull request #50780 from twangboy/lgpo_netsh
Add netsh mechanism in the LGPO module
2018-12-10 15:09:19 -07:00
twangboy
5eea728879
Fix some lint 2018-12-10 14:05:48 -07:00
Jenkins
f077783cbd
Add some tests 2018-12-10 13:43:54 -07:00
twangboy
2dde12add3
Fix one more lint item 2018-12-10 13:43:53 -07:00
twangboy
c55b7b4343
Fix some lint 2018-12-10 13:43:53 -07:00
twangboy
1247598f28
Add more policies
Adds more policies
Fixes bug in netsh salt util
Uses __context__ to speed things up
Fixes bug in the state where it was reporting changes when no changes
occurred
2018-12-10 13:43:53 -07:00
twangboy
b2b97959d0
Fix overly long lines 2018-12-10 13:43:53 -07:00
twangboy
f18d1aa890
Add additional policies that use netsh 2018-12-10 13:43:52 -07:00
twangboy
cb50648715
Add versionadded tags 2018-12-10 13:43:52 -07:00
twangboy
00cbf26d5e
Add the netsh mechanism to the lgpo module
Creates a new salt util for netsh and lgpo
Adds the netsh mechanism to the lgpo module
Adds additional functions to the firewall module
2018-12-10 13:43:39 -07:00
Mike Place
035129646e
Merge pull request #50783 from sathieu/gitfs_stalerefs_unicode
gitfs/git_pillar: Fix UnicodeDecodeError while cleaning stale refs
2018-12-10 13:34:52 -07:00
Mike Place
b1e5f3f887
Merge pull request #50709 from mattLLVW/service_unmask
service.running unmask option
2018-12-10 12:13:31 -07:00
Mike Place
e4e9563be1
Merge pull request #50633 from astronouth7303/loader-docs
Loader docs
2018-12-10 11:14:46 -07:00
Mike Place
deadf9c2d0
Merge pull request #50765 from ClaudiuPID/fix-icinga2-cert-path
Fix icinga2 cert path
2018-12-10 11:10:23 -07:00
Mike Place
9f8289be9c
Merge pull request #50692 from terminalmage/update-tests
Update a couple test modules to use with_tempdir/with_tempfile decorators
2018-12-10 10:24:02 -07:00
Mike Place
3a71567f43
Merge pull request #50768 from sathieu/git_pillar_all_saltenvs
git_pillar: Add support for all_saltenvs parameter
2018-12-10 09:39:36 -07:00
Mike Place
ce1842e6b1
Merge branch '2018.3' into fix-icinga2-cert-path 2018-12-10 09:39:15 -07:00
Mike Place
12a8447741
Merge pull request #50796 from dwoz/issue48801
Fix #48801 min, max, inact, and warn changes
2018-12-10 09:30:13 -07:00
Mike Place
b266e8b622
Merge pull request #50804 from Ch3LL/bp-49355
Back-port #49355 to 2018.3
2018-12-10 09:21:29 -07:00
Michael Lustfield
d34eadec0c
Use a temp file instead of /etc/network/interfaces for unit tests. 2018-12-10 10:45:42 -05:00
Michael Lustfield
622c354683
Support reading multiple addresses from interface files. 2018-12-10 10:45:34 -05:00
Michael Lustfield
15c34fe7a2
Support unicode in space-delimited list; fixes unit tests in py2. 2018-12-10 10:45:26 -05:00
Michael Lustfield
0b5956115b
Added documentation about debian interfaces.d/*. (Fixes: #40262) 2018-12-10 10:45:10 -05:00
Michael Lustfield
1b096fbee6
Removed python lint. 2018-12-10 10:45:01 -05:00
Michael Lustfield
6e4122592a
Finished adding support for multiple IP addresses. 2018-12-10 10:44:44 -05:00
Michael Lustfield
4c7df5fd3c
Cleaned up documentation/examples in states.network:
- Updated debian-based distro comment
- Fixed example of configuring a loopback device
- Cleaned up copy/paste mistakes
- Added more examples
- Verified examples work on Debian 9
2018-12-10 10:44:37 -05:00
Michael Lustfield
601f434b06
Added support for -ipaddrs and -ipv6ipaddrs to modules.debian_ip(). 2018-12-10 10:44:26 -05:00
Michael Lustfield
638f899e6d
Added support for loopback devices to modules.debian_ip(). (Fixes: #38672) 2018-12-10 10:44:15 -05:00
Michael Lustfield
cf61c8d9cf
Added a bunch of unit tests for modules.debian_ip.build_interface(). 2018-12-10 10:44:06 -05:00
Michael Lustfield
b905cf6c12
Added support for dns_{nameservers,search} being a list or string.
Conflicts:
  - salt/templates/debian_ip/debian_eth.jinja
2018-12-10 10:42:34 -05:00
Erik Johnson
dcdb9b23b1
Merge pull request #50750 from bewing/pepa12
Fix last key detection in pillar.pepa`key_value_to_tree`
2018-12-10 08:45:34 -06:00
Daniel A. Wozniak
6b9522343e
fix linter errors 2018-12-07 18:41:42 -07:00
Daniel A. Wozniak
87a04df512
Fix #48801 min, max, inact, and warn changes
The _changes method was not properlt reporting mindays, maxdays,
inactdays and warndays values
2018-12-07 17:22:11 -07:00
Mathieu Parent
ef160a67d6
gitfs/git_pillar: Fix UnicodeDecodeError while cleaning stale refs
2018-12-06 11:57:11,495 [salt.utils.gitfs :2341][ERROR   ][866] Exception caught while fetching gitfs remote '__env__ https://git.example.org/somerepo.git': 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 2329, in fetch_remotes
    if repo.fetch():
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 757, in fetch
    return self._fetch()
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1271, in _fetch
    cleaned = self.clean_stale_refs()
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 605, in clean_stale_refs
    if line.startswith(marker):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

The environement variables are not sanitized, and as we use LANG=fr_FR.utf8. Calling the same command prints non-ascii:

root@salt-master:/var/cache/salt/master/git_pillar/51958f355141ebce331e186a5230c20f2d0264025054eeb2fc2c5b3b81ab53a0# git remote prune origin
Élimination de origin
URL : https://git.example.org/somerepo.git
* [éliminé] origin/toto

Inspired by a8591a094a/git/cmd.py (L694)
2018-12-07 06:49:50 +01:00
Mike Place
b19925553d
Merge branch '2017.7' into service_unmask 2018-12-06 11:24:34 -07:00
Mike Place
cb85d5d31f
Merge pull request #50733 from marmarek/patch-3
Report salt-call exit code from ssh_py_shim.py
2018-12-06 11:05:30 -07:00
Mike Place
b086ff362c
Merge pull request #50756 from GwiYeong/local-client-fix
missing minion result data bug.
2018-12-06 10:43:23 -07:00
Mike Place
dc9414cd0e
Merge pull request #50767 from dwoz/ldap_no_pass
Make sure ldap passwords are honored
2018-12-05 15:59:16 -07:00
Daniel A. Wozniak
67aa591d1e
Fix linter errors 2018-12-05 13:12:34 -07:00
Mathieu Parent
e9714126ac
git_pillar: Add support for all_saltenvs parameter
On the road to #32245.
2018-12-05 20:56:29 +01:00
Daniel A. Wozniak
be3945afeb
Remove crufty import 2018-12-05 12:56:16 -07:00
Daniel A. Wozniak
91f50a4ce7
Add more ldap auth tests for ZD-2993 2018-12-05 12:55:26 -07:00
Daniel A. Wozniak
055a8d5d74
Make sure ldap passwords are honored 2018-12-05 12:46:10 -07:00
Erik Johnson
60aa0d5672
Merge pull request #50626 from sathieu/git_pillar_mountpoint_and_root
git_pillar: Allow root and mountpoint parameters together
2018-12-05 11:46:58 -06:00
GwiYeong
c4880929ce
fix local client missing minion return 2018-12-05 19:34:25 +09:00
kstreee
98cc63a7f0
Fixes a memory leak un-cleared stream connections. 2018-12-05 17:24:21 +09:00
Mathieu Parent
5423c27f84
git_pillar: Allow root and mountpoint parameters together
Fixes: #50364
2018-12-05 05:20:04 +01:00