Alexandru Bleotu
afa4921d37
Fixed vsphere tests to support the esxcluster proxy
2017-09-12 18:43:05 -04:00
Alexandru Bleotu
26710fa8fc
Added tests for esxcluster execution module
2017-09-12 18:42:58 -04:00
Alexandru Bleotu
4113aa3ca7
Added tests for esxcluster proxy
2017-09-12 18:42:53 -04:00
Nicole Thomas
1016f585f5
Merge pull request #43378 from terminalmage/git-configparser
...
Add a GitConfigParser class for manipulating git config files
2017-09-12 17:10:43 -04:00
Mike Place
68d2558988
Merge pull request #43096 from lyft/add-util-func-for-state-return-merging
...
Add utils function to merge state returns
2017-09-12 11:02:14 -06:00
Mike Place
87ffd3f105
Merge pull request #42103 from davidjoliver86/ssh-config-roster
...
ssh config roster for salt-ssh
2017-09-12 10:38:49 -06:00
Erik Johnson
626129f5a3
Import all of configparser into module for easier access to error classes
2017-09-12 11:37:13 -05:00
Erik Johnson
507c1b871e
Add a GitConfigParser class for manipulating git config files
...
This class is designed to be used for (among other things) gitfs and git_pillar, to enforce config settings which reside in a git config file without resorting to using the git CLI.
2017-09-12 11:37:13 -05:00
Mike Place
1a81663e46
Merge pull request #43302 from lyft/upstream-boto_cloudfront
...
Upstream boto_cloudfront execution and state modules
2017-09-12 10:10:20 -06:00
Aneesh Agrawal
2e9f1999f6
Upstream boto_cloudfront execution and state modules
...
AWS recently added support for tagging CloudFront distributions,
which allows us to start managing them via Salt
as we can insert a Salt-controlled identifier as a `Name` tag.
(CloudFront distributions get unique IDs generated by AWS,
which we can't predict and thus use to manage them idempotently.)
2017-09-11 23:36:31 +00:00
Mike Place
2ac185b055
Merge pull request #43439 from rallytime/merge-develop
...
[develop] Merge forward from 2017.7 to develop
2017-09-11 15:18:40 -06:00
Mike Place
2c28156b89
Merge pull request #41619 from skizunov/develop2
...
Add ability to set minion ID by module
2017-09-11 15:16:50 -06:00
Mike Place
bb8bffde1a
Merge pull request #42915 from garethgreenaway/missing_minions_branch
...
Show missing minions in lists & nodegroups
2017-09-11 13:38:55 -06:00
Mike Place
da16b6670a
Merge pull request #42752 from skizunov/develop4
...
Add config option to ensure jid is unique
2017-09-11 13:38:30 -06:00
Mike Place
9b60cc0d1f
Merge pull request #43137 from aogier/x-no-grains-on-jenkins
...
system group creation integration test
2017-09-11 13:09:36 -06:00
Mike Place
0e42e8f9cc
Merge pull request #43188 from alexbleotu/ext_pillar_config_param-gh
...
Ext pillar config param gh
2017-09-11 12:58:01 -06:00
Mike Place
e7a411c7f4
Merge pull request #43252 from rallytime/utils-files-moves
...
Move salt.utils.istextfile to salt.utils.files.is_text_file
2017-09-11 12:42:40 -06:00
rallytime
5413a5337e
Lint: remove unused import
2017-09-11 14:34:20 -04:00
rallytime
984fa35062
Merge branch '2017.7' into 'develop'
...
Conflicts:
- salt/key.py
- salt/modules/mount.py
- salt/modules/system.py
- tests/unit/modules/test_mount.py
- tests/unit/modules/test_pam.py
- tests/unit/modules/test_parted.py
2017-09-11 12:55:39 -04:00
Mike Place
2964707e5d
Merge pull request #43341 from ixs/fedora-rh_ip
...
Fix rh_ip template use for Fedora
2017-09-11 10:30:53 -06:00
Mike Place
9f421dde89
Merge pull request #43370 from rallytime/merge-develop
...
[develop] Merge forward from 2017.7 to develop
2017-09-11 09:38:20 -06:00
Mike Place
e89e23a32e
Merge pull request #43422 from twangboy/win_unit_cloud_ec2
...
Fix `unit.cloud.clouds.test_ec2` for Windows
2017-09-11 09:17:19 -06:00
rallytime
e11aa7e5ef
Adjust test mocking to handle __utils__['files.is_text_file']
2017-09-11 10:25:00 -04:00
rallytime
1279556873
Move salt.utils.istextfile to salt.utils.files.is_text_file
...
Moves the original function to `salt.utils.files.py`, adds a deprecation
warning to the original function, and updates all of the istextfile
references in salt code.
2017-09-11 10:21:43 -04:00
Alexandru Bleotu
0882fed61a
Merge branch 'develop' into ext_pillar_config_param-gh
2017-09-10 18:46:57 +01:00
twangboy
b2cea18d13
Fix unit.modules.test_gem
for Windows
...
Mock `salt.utils.is_windows` to return False so the test will run on
Windows
2017-09-08 15:53:07 -06:00
twangboy
1379627334
Fix unit.cloud.clouds.test_ec2
for Windows
...
Mock instead of create tempfile
2017-09-08 15:36:52 -06:00
Nicole Thomas
97f05ff603
Merge pull request #43398 from twangboy/win_fix_test_mount
...
Fix `unit.modules.test_mount` for Windows
2017-09-08 09:39:28 -04:00
Nicole Thomas
6a4cc5c1b0
Merge pull request #43399 from twangboy/win_fix_test_pam
...
Fix `unit.modules.test_pam` for Windows
2017-09-08 09:37:49 -04:00
Nicole Thomas
2b5cfae3f8
Merge pull request #43400 from twangboy/win_unit_test_parted
...
Fix `unit.modules.test_parted` for Windows
2017-09-08 09:36:59 -04:00
Nicole Thomas
332deeb013
Merge pull request #43401 from twangboy/win_unit_test_pw_group
...
Fix `unit.modules.test_pw_group` for Windows
2017-09-08 09:35:44 -04:00
Nicole Thomas
c0f54bfef1
Merge pull request #43402 from twangboy/win_unit_test_qemu_nbd
...
Fix `unit.modules.test_qemu_nbd` for Windows
2017-09-08 09:34:57 -04:00
Alessandro -oggei- Ogier
8d79ee2d49
test system group creation
2017-09-08 10:34:14 +02:00
twangboy
6ceb895a84
Use os.path.join for paths
2017-09-07 16:51:10 -06:00
twangboy
531ce8022b
Fix unit.modules.test_qemu_nbd
for Windows
...
Use os.sep
2017-09-07 15:44:35 -06:00
twangboy
78e39a1b9d
Fix unit.modules.test_pw_group
for Windows
...
Skip `test_info` and `test_getent` because they require grp which is not
available on Windows
2017-09-07 15:34:57 -06:00
twangboy
8e3e897ee2
Fix unit.modules.test_parted
for Windows
...
Mock salt.utils.is_windows to be False so that the __virtual__ tests
will run
2017-09-07 15:27:11 -06:00
twangboy
6257aa964a
Fix unit.modules.test_pam
for Windows
...
Mocks os.path.exists
2017-09-07 15:18:14 -06:00
twangboy
4a8d7e522c
Fix tests, Use full path to salt.utils.which
2017-09-07 14:41:56 -06:00
Sergey Kizunov
88ee8ad566
Add config option id_function
...
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2017-09-07 13:41:10 -05:00
Sergey Kizunov
3c58717c58
Add config option to ensure jid is unique
...
Having a jid that is occasionally not unique (eg two processes creating
jobs at about the same time) causes problems in my usage due to
job tracking assuming unique jids. Add a config option called `unique_jid`
that will enforce unique jids, but will change the jid format by
appending an underscore and the process id.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2017-09-07 13:25:35 -05:00
Aneesh Agrawal
60d80e7cda
Add utils function to merge state returns
...
This makes it possible to merge the state return
for a subresource into a main state return.
This is useful for configuring e.g. alarms to go along with a resource.
2017-09-06 18:14:04 +00:00
Alexandru Bleotu
103ef69016
Merge branch 'develop' into ext_pillar_config_param-gh
2017-09-06 18:49:37 +01:00
Alexandru Bleotu
33feda7a5b
Mocked salt.utils.args.get_function_argspec instead of inspect.getargspec in all external pillar data tests
2017-09-06 12:26:40 -04:00
Nicole Thomas
7d462d29c2
Merge branch 'develop' into expand-list_pkg-attr-parameter
2017-09-06 12:15:01 -04:00
rallytime
5701d54516
Merge branch '2017.7' into 'develop'
...
Conflicts:
- salt/state.py
- salt/utils/gitfs.py
2017-09-06 09:39:27 -04:00
Andreas Thienemann
6aefa5c3f8
Update unit test to provide osmajorrelease grain.
2017-09-06 03:46:00 +02:00
Nicole Thomas
f19274e1b4
Merge pull request #43222 from rallytime/oxygen-warnings-env
...
Remove deprecation warnings for "env"
2017-09-05 18:24:54 -04:00
Mike Place
a414325a82
Merge pull request #43070 from lyft/support-states-returning-a-list-of-comments
...
Support states returning a list for ret['comment']
2017-09-05 16:19:26 -06:00
Mike Place
f902bd8bc9
Merge pull request #43152 from garethgreenaway/adding_custom_beacons
...
Adding custom beacons with beacon module
2017-09-05 15:37:39 -06:00