Commit Graph

91673 Commits

Author SHA1 Message Date
Nicole Thomas
6c67741544
Merge pull request #45855 from sjorge/zfsutils
zfs/zpool refactor
2018-02-26 11:50:33 -05:00
Nicole Thomas
89cf2e5061
Merge pull request #46139 from bdrung/os-grains
Add os grains test cases for Debian/Ubuntu and fix oscodename on Ubuntu
2018-02-26 11:44:04 -05:00
Megan Wilhite
a4c5417d23
Merge pull request #46132 from rallytime/2016.11_update_version_doc
Update release versions for the 2016.11 branch
2018-02-26 11:43:32 -05:00
Megan Wilhite
c8c71e75ca
Merge pull request #46133 from rallytime/2017.7_update_version_doc
Update release versions for the 2017.7 branch
2018-02-26 11:42:42 -05:00
Megan Wilhite
78671738ff
Merge pull request #46134 from rallytime/develop_update_version_doc
Update release versions for the develop branch
2018-02-26 11:42:32 -05:00
Nicole Thomas
b5315e817b
Merge branch '2018.3' into fix_cmd_run_all_bg_oxygen 2018-02-26 11:38:25 -05:00
Nicole Thomas
06d2dff3ac
Merge pull request #46168 from gtmanfred/2018.3
driver and provider should be specified
2018-02-26 11:17:12 -05:00
rallytime
776f2ea5d7
Merge branch '2018.3.0rc1' into '2018.3'
Conflicts:
  - salt/pillar/file_tree.py
  - tests/unit/modules/test_yumpkg.py
2018-02-26 11:01:42 -05:00
nicholasmhughes
b523f82b30
missing import 2018-02-26 10:58:50 -05:00
Maarten Thibaut
f130e923c9
Merge branch 'develop' into issue_46189 2018-02-26 16:30:01 +01:00
Nicole Thomas
605e5eff73
Merge pull request #46161 from rallytime/merge-2018.3
[2018.3] Merge forward from 2017.7 to 2018.3
2018-02-26 10:29:38 -05:00
Nicole Thomas
f9408cec52
Merge pull request #46102 from mephi42/develop
Allow configuring HTTP connect timeout
2018-02-26 10:15:06 -05:00
Nicole Thomas
87ba05c6a2
Merge pull request #45993 from sdodsley/purefb_module
Add module for Pure Storage FlashBlade array
2018-02-26 10:13:57 -05:00
Maarten Thibaut
cde51c4a12 Fix for issue #46189. 2018-02-26 15:03:31 +00:00
Nicole Thomas
390d592aa6
Merge pull request #46185 from terminalmage/issue46124
gitfs: Fix detection of base env when its ref is also mapped to a different env
2018-02-26 09:52:15 -05:00
Dmitry Kuzmenko
b15ad95681
Fixed bad clustershell merge. 2018-02-26 17:05:44 +03:00
Dmitry Kuzmenko
0fa4faafef
Format string before passing to log_callback. 2018-02-26 16:10:39 +03:00
Benjamin Drung
0b445f2a37 tests: Add unit tests for _parse_os_release()
Add tests cases to fully cover _parse_os_release().

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-02-26 13:38:23 +01:00
Benjamin Drung
f6069b77ed Fix osfinger grain on Debian
Rework _run_os_grains_tests() to check all os grains including osfinger.
Fix osfinger on Debian (e.g. use "Debian-9" instead of
"Debian GNU/Linux-9").

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-02-26 13:36:33 +01:00
Benjamin Drung
8dde55a761 tests: Add os_grains test cases for Debian
Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-02-26 13:36:33 +01:00
Benjamin Drung
ff02ab9937 tests: Add Ubuntu 17.10 (artful) os_grains test case
Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-02-26 13:36:33 +01:00
Benjamin Drung
77d5356aba Fix incorrect oscodename grain on Ubuntu
Use the full content of /etc/os-release for the Ubuntu 16.04 (artful)
os_grains test case. This reveals a bug that 'oscodename' is not
correctly calculated if /etc/os-release provides PRETTY_NAME:

FAIL: test_ubuntu_os_grains (tests.unit.grains.test_core.CoreGrainsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/unit/grains/test_core.py", line 439, in test_ubuntu_os_grains
    self._run_ubuntu_os_grains_tests(_os_release_map)
  File "tests/unit/grains/test_core.py", line 446, in _run_ubuntu_os_grains_tests
    self._run_os_grains_tests(os_release_map)
  File "tests/unit/grains/test_core.py", line 262, in _run_os_grains_tests
    self.assertEqual(os_grains.get('oscodename'), os_release_map['oscodename'])
AssertionError: 'Ubuntu 16.04.3 LTS' != 'xenial'
- Ubuntu 16.04.3 LTS
+ xenial

fixes #34423 for Ubuntu
Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-02-26 13:36:33 +01:00
Benjamin Drung
7e62dc9fd2 tests: Support reading os-release files from disk
Instead of storing pre-parsed os-release files, add support for reading
os-release files from disk.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-02-26 13:36:33 +01:00
Benjamin Drung
a92ec0db1b Make _parse_os_release() always callable
To simplify running unit tests against os_data(), make the
_parse_os_release() function always callable to avoid needing to mock
os.path.isfile().

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-02-26 13:36:33 +01:00
Benjamin Drung
eee1fe5b38 tests: Dissolve _run_ubuntu_os_grains_tests
_run_ubuntu_os_grains_tests is only used once and does not provide any
useful abstraction since the introduction of _run_os_grains_tests.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-02-26 13:36:33 +01:00
Benjamin Drung
1d6ef731fe tests: Deduplicate _run_os_grains_tests()
_run_suse_os_grains_tests() and _run_ubuntu_os_grains_tests() share most
of their logic. Combine the common part in _run_os_grains_tests() and
let the remaining small parts live in their origin functions.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-02-26 13:36:33 +01:00
nicholasmhughes
c50c44cec4
pylint fixes and changes to utils usage following direction from cloud module 2018-02-25 19:32:11 -05:00
Vasiu Alexandru
89d4915d8d
Merge branch 'develop' into develop 2018-02-26 00:14:45 +02:00
Erik Johnson
3b58dd0da0
gitfs: Fix detection of base env when its ref is also mapped to a different env 2018-02-25 11:58:11 -06:00
nicholasmhughes
2f984d7260
updated required azure module versions 2018-02-25 12:42:40 -05:00
nicholasmhughes
f772cf00f7
accomodate availability sets and load balancers, and also fix OS disk sizing for managed disks 2018-02-25 12:18:32 -05:00
nicholasmhughes
986f670615
additions to support azure resource manager execution and state modules 2018-02-25 12:17:05 -05:00
nicholasmhughes
9da27feae1
initial commit of azure resource manager execution and state modules 2018-02-25 12:15:37 -05:00
Jorge Schrauwen
8c7b3e530c Phase 3 - Minor cleanup based on feedback 2018-02-25 11:41:04 +01:00
Simon Dodsley
b0403be0fa Add module for Pure Storage FlashBlade array 2018-02-24 09:03:38 -05:00
Jorge Schrauwen
dd29778ed5 Phase 3 - Cleanup tests 2018-02-24 13:37:43 +01:00
Jorge Schrauwen
01da93ec1f Phase 3 - Minor cleanups 2018-02-24 13:37:43 +01:00
Jorge Schrauwen
ba45fcca31 Phase 2 - salt.states.zfs 2018-02-24 13:37:43 +01:00
Jorge Schrauwen
8517e876e4 Phase 2 - salt.states.zfs tests 2018-02-24 13:37:43 +01:00
sjorge@acheron.be
ce5c9792ea Phase 2 - salt.states.zpool
They old way of passing the zpool layout was a pain to work with.
A new layout has been introduce and the documentation updated accordingly.

The legacy format is still supported.
2018-02-24 13:37:43 +01:00
sjorge@acheron.be
f4bcf5fa71 Phase 2 - salt.states.zpool tests 2018-02-24 13:37:43 +01:00
Super-User
9d18da9e2e Phase 1 - salt.modules.zpool 2018-02-24 13:37:42 +01:00
Super-User
fce3920b07 Phase 1 - salt.modules.zpool tests 2018-02-24 13:37:42 +01:00
Super-User
5ca342494f Phase 1 - salt.modules.zfs 2018-02-24 13:37:42 +01:00
Super-User
e7e902662b Phase 1 - salt.modules.zfs tests 2018-02-24 13:37:42 +01:00
Super-User
a64d81d2cd Phase 1 - salt.grains.zfs 2018-02-24 13:37:42 +01:00
Super-User
505b816914 Phase 0 - salt.utils.zfs 2018-02-24 13:37:42 +01:00
Super-User
7b32faa0ce Phase 0 - salt.utils.zfs tests 2018-02-24 13:37:42 +01:00
mephi42
46996178e2
Allow configuring HTTP connect timeout 2018-02-24 13:21:26 +01:00
Nicole Thomas
b527a6cec7
Merge pull request #46165 from rallytime/man-pages-rc1
Add man pages for oxygen release
2018-02-24 06:56:06 -05:00