Commit Graph

87363 Commits

Author SHA1 Message Date
skjaro
21eef64116 Fix lint violation 2017-10-31 20:07:16 +01:00
skjaro
811dc55de4 Fix check multiple entries with subtypes separated with comma 2017-10-30 17:06:48 +01:00
Nicole Thomas
7728045649
Merge pull request #44300 from jf/add-prepend_path-to-cmd.run
Add `prepend_path` option to `cmd.run`
2017-10-30 10:48:26 -04:00
Nicole Thomas
470678d881
Merge pull request #44308 from rallytime/stale-config-update
Reduce the number of days an issue is stale by 15
2017-10-30 10:26:26 -04:00
Nicole Thomas
7d1111660d
Merge pull request #44318 from zhihan/patch-1
Typo, close the parenthesis.
2017-10-30 10:12:29 -04:00
Zhi Han
b92d303756
Typo, close the parenthesis. 2017-10-27 15:39:28 -04:00
Nicole Thomas
9fc7fde8d2
Merge pull request #43885 from garethgreenaway/43825_swap_total_grain
[develop] Adding swap_total to core grains
2017-10-27 13:01:11 -04:00
Jeffrey 'jf' Lim
f59271f172
tweak prepend_path join code 2017-10-28 00:18:29 +08:00
Jeffrey 'jf' Lim
6bd8aea8cf
cmdmod: shift new prepend_path argument to the end to avoid breaking any positional argument calls 2017-10-28 00:02:17 +08:00
Jeffrey 'jf' Lim
bbdcaee250
tag prepend_path option with '.. versionadded:: Oxygen' 2017-10-27 23:37:06 +08:00
Erik Johnson
340a07b62f Merge pull request #44262 from oarmstrong/develop
docker_container.running sort list of links
2017-10-27 10:20:23 -05:00
Erik Johnson
50dfc74ea2 Merge pull request #44287 from jf/fix_tbz.ext_archive_type_recognition
Fix utils.files.guess_archive_type to recognize the "tbz" extension as well
2017-10-27 10:17:52 -05:00
Erik Johnson
17d8e46abf Merge pull request #44277 from rallytime/merge-develop
[develop] Merge forward from 2017.7 to develop
2017-10-27 10:16:00 -05:00
Nicole Thomas
cf77a6bf0f Merge pull request #43754 from spenceation/panos-2017-9-26
Update to PANOS modules.
2017-10-27 10:36:02 -04:00
Nicole Thomas
bb65040bf1 Merge pull request #44234 from xavierog/fix-grafana4-dashboard-2017.7
grafana4: dashboard: do not override the title.
2017-10-27 10:32:16 -04:00
rallytime
09d0a347c5
Reduce the number of days an issue is stale by 15 2017-10-27 09:48:08 -04:00
Xavier G
e1853e5b5b Merge branch 'develop' into fix-grafana4-dashboard-2017.7 2017-10-27 09:43:16 +02:00
Jeffrey 'jf' Lim
b3b6c6fc3a
Fix pydoc indentation for cmdmod.run_chroot, clean_env option 2017-10-26 23:23:09 +08:00
Jeffrey 'jf' Lim
412506e626
Add prepend_path option to cmd.run (meant as a response to #21840) 2017-10-26 23:22:05 +08:00
Nicole Thomas
bf54e49202 Merge pull request #43861 from eyj/sentry_mod
Use dsn if specified as all recent raven libraries can init via dsn
2017-10-26 09:03:17 -04:00
Nasenbaer
35c6a02689 Add sentry config deprecation to release notes 2017-10-26 10:29:43 +02:00
nasenbaer13
aae09b1875 Merge branch 'develop' into sentry_mod 2017-10-25 21:47:04 +02:00
Mike Place
19e27436f2 Merge pull request #44278 from fedepires/softlayer-dedicated-host
Support softlayer dedicated host in salt-cloud.
2017-10-25 21:42:01 +02:00
Jeffrey 'jf' Lim
5e2cab0d5e
Fix utils.files.guess_archive_type to recognize the "tbz" extension as well
(also tidy up list of extensions)
2017-10-26 02:08:16 +08:00
rallytime
8a1c575ae5
Update salt.utils.fopen calls to new salt.utils.files.fopen path 2017-10-25 09:59:04 -04:00
Federico Pires
e7aebf46ce Support softlayer dedicated host in salt-cloud.
Update docs as well.
2017-10-25 10:58:12 -03:00
rallytime
28343f0120
Merge branch '2017.7' into 'develop'
Conflicts:
  - salt/modules/git.py
2017-10-25 09:54:37 -04:00
Mike Place
bd75be24ca Merge pull request #44253 from Ch3LL/spm_install
Add multiple spm integration tests
2017-10-25 15:36:02 +02:00
Mike Place
75ee1ebc50 Merge pull request #44254 from twangboy/win_fix_test_win_groupadd
Fix `unit.modules.test_win_groupadd` for Windows
2017-10-25 15:33:39 +02:00
Mike Place
4c23fa63bb Merge pull request #44266 from Ch3LL/proxy_tests
Add state, grains and service proxy tests
2017-10-25 15:08:49 +02:00
Ch3LL
e5701b472d
Add state, grains and service proxy tests 2017-10-24 16:59:56 -04:00
Ollie Armstrong
2ffcc44721
docker_container.running sort list of links
When the docker_container.running module is comparing the defined state
and the current state of a container, the list of linked containers in
the current state is is a non-deterministic order. This results in a
container recreation even though the links are the same (just in a
different order).

This patches the comparison function to lexically sort both the existing
and desired list of links, making the comparison deterministic and not
recreating a container when the links have not changed.

Fixes #44258.
2017-10-24 17:37:47 +01:00
twangboy
609361bf48
Fix some lint errors 2017-10-24 09:27:39 -06:00
twangboy
1f44d8d5e6
Document helper functions 2017-10-24 09:27:38 -06:00
twangboy
b0caec320e
Move _get_all_groups up to the top 2017-10-24 09:27:38 -06:00
twangboy
7a3ff9387d
Mock the rest of the tests 2017-10-24 09:27:38 -06:00
Erik Johnson
5ce14df82c
Change how members are retrieved in win_groupadd
This is a solution that works for the other functions that interact with
group objects, making it a better overall solution to be used widely
in win_groupadd.

This also updates the mocking in the tests such that we use a more
comprehensive fake class, and more intelligent mocking of get_sam_name
using a lambda.
2017-10-24 09:27:38 -06:00
twangboy
6ab82394be
Set up mocking
Move the code that sets up the group object, computer object and gets
existing members out of the individual functions so they can be mocked

Mock the GroupObj
Mock the ComputerObj
Mock existing members
Still need to fix info, getent, and members
2017-10-24 09:27:37 -06:00
Ch3LL
9e2e785034
add spm tests to test runner 2017-10-24 10:33:53 -04:00
Mike Place
405b882438 Merge pull request #44185 from sakateka/fix_requests_ssl_verify_error
Add requests verify option in vault section
2017-10-24 04:23:53 -06:00
Mike Place
de83ed914b Merge pull request #44207 from rallytime/followup-43821
Add some space in new opsgenie docs for rst formmating
2017-10-24 04:02:42 -06:00
Mike Place
a97f1c87e0 Merge pull request #44235 from xavierog/fix-grafana4-datasource-2017.7
grafana4: datasource: handle missing keys in datasource description.
2017-10-24 03:51:09 -06:00
Mike Place
39d60f86e8 Merge pull request #44238 from bodhi-space/infra5825
INFRA-5825 - add delete_{ingress,egress}_rules params to boto_secgroup
2017-10-24 03:31:16 -06:00
Mike Place
c849f350ba Merge pull request #44244 from cloudflare/add-retcode
Add explicit non-zero retcode to napalm config functions
2017-10-24 03:23:40 -06:00
Ch3LL
4729ccd32b
Add multiple spm integration tests 2017-10-23 17:13:32 -04:00
Nicole Thomas
320e7b3209 Merge pull request #44250 from netzmacher/develop
small docs fix in system.py
2017-10-23 17:01:17 -04:00
Bike Dude
9eacaeb6af
small docs fix in system.py 2017-10-23 21:35:32 +02:00
Nicole Thomas
195b225540 Merge pull request #44228 from rklaren/fix-salt-cloud-libvirt-cleanup-after-errors
Fixes #44227, make salt-cloud/libvirt cleanup after errors more robust
2017-10-23 13:09:34 -04:00
Nicole Thomas
e015ee7655 Merge pull request #44214 from almoore/develop
Fix networking issue on vm creation with vmware
2017-10-23 10:48:50 -04:00
Nicole Thomas
4278a08e40 Merge pull request #44194 from vernondcole/saltify-create-with-wake-on-lan
add wake-on-LAN feature to saltify create
2017-10-23 10:46:21 -04:00