Commit Graph

83779 Commits

Author SHA1 Message Date
Mircea Ulinic
4bf4b14161 New option for napalm proxy/minion: provider
This option will turn very handy for environemnts when the user
requires a library with a different name than napalm-base (eventually
on top of the public lib). The sole requirement right now is to
preserve the get_network_driver function. However, this can be enhnaced
even from this perspective later, if really needed.
2017-07-10 20:29:35 +00:00
garethgreenaway
81695a9f3c Merge pull request #42234 from Ch3LL/fix_cloud_rc
[2017.7] parse libcloud rc version correctly
2017-07-10 11:58:55 -07:00
Nicole Thomas
a94b7ce72c Merge branch 'develop' into patch-6 2017-07-10 11:56:29 -06:00
Nicole Thomas
c554ab2a5b Merge pull request #42224 from tdutrion/develop
Remove duplicate instruction in Openstack Rackspace config example
2017-07-10 11:02:31 -06:00
Ch3LL
5aedac46b7 [2017.7] parse libcloud rc version correctly 2017-07-10 12:37:22 -04:00
Aurélien FUSIL-DELAHAYE
e37097b802 spaces removed for lint 2017-07-10 16:08:19 +02:00
Aurélien FUSIL-DELAHAYE
340368fdac add custom dns support for azurearm provider
- added option in documentation : dns_servers
2017-07-10 13:35:08 +02:00
Thomas Dutrion
6144af034a
Remove duplicate instruction in Openstack Rackspace config example 2017-07-09 11:34:14 +02:00
Nicole Thomas
3451da9437 Merge pull request #42201 from shengis/add_cloud_event_for_azurearm
add destroying and destroy cloud events to azurearm provider
2017-07-07 15:34:44 -06:00
Nicole Thomas
5337581328 Lint: Remove extra spaces between name and } 2017-07-07 14:23:14 -06:00
Daniel Wallace
ce6b05d237 add release note 2017-07-07 13:15:30 -06:00
Daniel Wallace
2dac634dd2 add document for winrm_verify_ssl 2017-07-07 13:15:30 -06:00
Daniel Wallace
2ae6fed88a allow not verifying ssl winrm saltcloud
Required for Self Signed Certs on pywinrm>=0.2.1
2017-07-07 13:15:28 -06:00
Mike Place
e0c4a4bb1b Merge pull request #42192 from rallytime/merge-develop
[develop] Merge forward from 2017.7 to develop
2017-07-07 13:59:30 -05:00
Jay
f0cd6be122 Update service.py
Fixed errors from salt-pr-lint-n test.
2017-07-07 14:24:45 -04:00
garethgreenaway
0580f2e2b2 Merge pull request #42208 from terminalmage/ensure-json-string
Fix another instance where json.loads needs a string
2017-07-07 11:14:36 -07:00
Erik Johnson
771ade5d73 Only pass a saltenv in orchestration if one was explicitly passed (2017.7)
Also, only pass pillarenv if explicitly passed. _get_opts() in the state
module will apply the correct saltenv (if applicable) when no explicit
saltenv/pillarenv is passed.
2017-07-07 11:40:53 -05:00
Nicole Thomas
f87b7ced6f Merge pull request #42053 from jlayze/patch-4
Update win_service.py
2017-07-07 10:32:15 -06:00
rallytime
bf45c18f9d Convert remaining "assert_called_once" references to new syntax
These tests are new to develop and need to be converted to use the new
assert_called_once syntax introduced in #42084.
2017-07-07 10:28:19 -06:00
Jay
1d55e02405 Update service.py
Fixed no return if no delay. (Lines 125-126)
2017-07-07 12:18:02 -04:00
Erik Johnson
db9b51199a Fix another instance where json.loads needs a string 2017-07-07 11:04:16 -05:00
Jay
f1f729e7f3 Add delay option to beacons/service.py 2017-07-07 11:49:46 -04:00
rallytime
2be4865f48 [PY3] Fix test that is flaky in Python 3
We can't rely on lists having the same order in Python3 the same
way we rely on them in Python2. If we sort them first, and then
compare them, this test will be more reliable.
2017-07-07 09:43:52 -06:00
Andres Montalban
7e3164c050 Fix Augeas state documentation example 2017-07-07 12:04:24 -03:00
Aurélien FUSIL-DELAHAYE
1911fcda4b add destroying and destroy cloud events to azurearm provider 2017-07-07 16:52:43 +02:00
rallytime
8d960d463a Merge branch '2017.7' into 'develop'
Conflicts:
  - salt/grains/core.py
2017-07-06 17:42:30 -06:00
rallytime
b8bcc0d599 Add note to various network_hosts docs about long_run for IPv6 networks 2017-07-06 17:36:18 -06:00
garethgreenaway
41ef5225e9 Merge pull request #42184 from terminalmage/py3-tests
importlib: Use load_module() instead of exec_module() to initialize loaded mods
2017-07-06 16:04:01 -07:00
garethgreenaway
47ade9e91c Merge pull request #42088 from terminalmage/update-mocking
Update mocking in network tests
2017-07-06 15:03:42 -07:00
rallytime
11862743c2 Use long_range function for IPv6Network hosts() function
Previous implementation used xrange, which requires that the range
fit in a C long data type. Given that an IPv6 subnet is massive,
the ``salt.ext.ipadress.IPv6Network.hosts()`` function would stacktrace
with an OverflowError due to the use of xrange. However, ``/64`` is a
common netmask.

This PR uses the ``long_range`` function for the ``IPv6Network.hosts()``
function instead of ``xrange``.

While the funciton will no longer stacktrace on large IPv6 subnets, the user
should be aware that these large subnets will take a very long time to list.

Fixes #42166
2017-07-06 15:03:54 -06:00
Jay
623ca64121 Merge branch 'develop' into patch-4 2017-07-06 16:58:53 -04:00
Erik Johnson
e639be8b47 importlib: Use load_module() instead of exec_module() to initialize loaded mods
Using exec_module() results in some unexpected behavior in the LazyLoader,
so more investigation will need to be done before we can use it. In the
meantime, this commit uses load_module() instead. It also gets rid of
the now-unnecessary workarounds we had recently instituted in salt-ssh
to work around issues with the __opts__ dunder.
2017-07-06 15:02:44 -05:00
Nicole Thomas
2ae5517d36 Merge pull request #42022 from terminalmage/issue41996
salt.modules.dockermod: ensure that json.loads is fed a string
2017-07-06 12:27:16 -06:00
Nicole Thomas
b869ae5579 Merge pull request #42101 from rallytime/haproxyconn-tests
[PY3] Fix haproxyconn unit tests that are failing
2017-07-06 12:17:46 -06:00
Mike Place
8fdf7cfcef Merge pull request #42102 from rallytime/py3-kernelpkg-tests
[Py3] Use functools.cmp_to_key with sorted instead of cmp kwarg
2017-07-06 12:07:52 -05:00
Nicole Thomas
df1ed8929d Merge pull request #42109 from arthurlogilab/patch-20
[doc] Update aws.rst - add Debian default username
2017-07-06 10:58:25 -06:00
Mike Place
30f04a7224 Merge pull request #42138 from rallytime/py3-saltmod-tests
[PY3] Make test_saltmod unit tests less flaky for Python 3
2017-07-06 11:47:20 -05:00
Mike Place
5f1eca086b Merge pull request #42149 from rallytime/stale-config-update
Reduce the number of days an issue is stale by 25
2017-07-06 11:45:17 -05:00
Federico Pires
b93f8d19bc delete temp file 2017-07-06 13:25:57 -03:00
Nicole Thomas
c87d1edd0c Merge branch 'develop' into haproxyconn-tests 2017-07-06 10:22:33 -06:00
Mike Place
b093d6fba1 Merge pull request #42085 from rallytime/merge-develop
[develop] Merge forward from 2017.7 to develop
2017-07-06 11:21:49 -05:00
Federico Pires
5709dffe82 Issue 42162 - Route53 boto module should retry on PriorRequestNotComplete error 2017-07-06 13:10:41 -03:00
garethgreenaway
778ed74103 Merge pull request #42147 from dmurphy18/fix_gnupgv21_for_20177
Refine support for gnupg v2.1 for 2017. 7 branch
2017-07-06 08:41:17 -07:00
Alexandru Bleotu
4cec14c95b Fix to get_service_instance_via_proxy 2017-07-06 15:04:48 +01:00
Alexandru Bleotu
4f44eb1131 Added wraps decorated so sys.doc works on decorated functions 2017-07-06 14:37:57 +01:00
Berthet
cf4b0bf786 [Salt-cloud] Allow to ignore ssl with Xen provider
Allow to ignore ssl verification for xen providers

# /etc/salt/cloud.providers.d/xentest.conf
xentest:
  ignore_ssl: True
  driver: xen

Require a recent XenAPI.py which can be found here: https://github.com/xapi-project/xen-api/blob/master/scripts/examples/python/XenAPI.py
2017-07-06 12:41:00 +02:00
Nicole Thomas
bbbf05a16d Merge pull request #42133 from garethgreenaway/42127_schedule_always_trigger_change_fix
2017.7.0 modules/schedule.py fix
2017-07-05 16:01:44 -06:00
garethgreenaway
fc74332242 Merge pull request #42130 from terminalmage/issue42116-2017.7
Fix regression in CLI pillar override for salt-call (2017.7 branch)
2017-07-05 14:57:57 -07:00
garethgreenaway
2df5d3b6c2 Merge pull request #42134 from terminalmage/pr-42094-2017.7
Prevent command from showing in exception when output_loglevel=quiet (2017.7 branch)
2017-07-05 14:56:31 -07:00
rallytime
06a153368d Reduce the number of days an issue is stale by 25
This reduces the amount of time an issue is stale to approximately
a little less than 3 years and 2 months.
2017-07-05 15:55:00 -06:00