Mike Place
446b4c2aff
Lint #30975
2016-02-10 14:04:59 -07:00
Tim Harper
b4fe9aaa11
fixes issue in which s3.role_arn was defaulting to ''
...
fixes #30899
2016-02-06 14:10:20 -07:00
Mike Place
d9785451c0
Merge pull request #30941 from rallytime/bp-30879
...
Back-port #30879 to 2015.8
2016-02-05 14:15:20 -07:00
Richard Hansen
eb6f289fc1
change default for volume_present()'s force parameter to False
...
This is safer, as it avoids surprising the user with permanent data
loss.
2016-02-05 09:41:19 -07:00
Richard Hansen
34f3057e04
add 'force' to replace (or not) volumes with driver mismatch
...
Add a new 'force' option that will cause volume_present() to delete
and re-create a volume if the existing volume's driver doesn't match
the specified driver. Set the default to True to preserve existing
behavior.
2016-02-05 09:41:18 -07:00
Joe Julian
f96650f3c3
Add realpath to lvm.pvdisplay and use it in vg_present
...
Any sort of symlink could be used for inclusion into an lvm vg but lvm's
pvdisplay may show a real device name, or a mapper device name which is
a symlink.
Since we're interested in finding out if the actual device is part of
our volgroup, we test the realpath of both the device requested and the
device returned by pvdisplay to ensure they're the same device.
Fixes #26867 and #30882
2016-02-04 17:21:38 -08:00
Mike Place
4ae2d829f0
Merge pull request #30888 from ticosax/backport-30797
...
Backport #30797 to 2015.8
2016-02-04 14:02:25 -07:00
Mike Place
4372851ad9
Merge pull request #30895 from bdrung/2015.8
...
Fix various typos
2016-02-04 13:55:10 -07:00
Colton Myers
89bac9076a
Merge pull request #30867 from rallytime/boto-utils-fix
...
Pass in 'pack' variable to utils.boto.assign_funcs function from ALL boto modules
2016-02-04 11:37:05 -07:00
rallytime
6ad7642f6d
Lint
2016-02-04 11:00:02 -07:00
rallytime
58778dfc88
Fix failing boto_vpc module unit tests
2016-02-04 10:33:41 -07:00
Benjamin Drung
56ce7479b1
Fix typo catched -> caught
2016-02-04 12:57:20 +01:00
Richard Hansen
68b51be869
add additional states.dockerng.volume_present() unit tests
...
The unit tests now test for the bug fixed in the previous commit
(among other things).
2016-02-04 10:07:51 +01:00
rallytime
adb85892de
Fix failing state module tests
2016-02-04 00:01:11 +00:00
rallytime
b5ec0991b0
Pylint fix
2016-02-03 15:00:44 -07:00
Erik Johnson
58c4c01743
Add __role to master opts for gitfs integration tests
2016-02-02 21:58:50 -06:00
Erik Johnson
ef14956db0
Integration test for #30820
2016-02-02 15:34:19 -06:00
Mike Place
ec4e2bb9bb
Merge pull request #30823 from yannis666/fix-for-mine-update-merge2
...
Fix for mine to merge configuration on update.
2016-02-02 13:21:24 -07:00
Mike Place
a3feba4a26
Merge pull request #30826 from cachedout/fix_30682
...
Fix 30682
2016-02-02 12:40:05 -07:00
Mike Place
3b246db0b0
Fix stupid test
2016-02-02 12:39:24 -07:00
yannis
99c7c12aba
Fix for mine to merge configuration on update.
...
This fix was previously applied to 2015.5.
It fixes #30722
2016-02-02 10:43:00 -08:00
Erik Johnson
8a836c88f4
Update systemd tests
2016-02-01 10:18:08 -06:00
Colton Myers
84eeab7720
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
salt/returners/local_cache.py
2016-01-29 14:57:31 -07:00
Steve Hajducko
3544dd995e
Fix lsscsi issues for certain platforms
...
The lsscsi command doesn't support the '-s' flag on any RHEL/CentOs system
until RHEL7.
The command now have an option to specify 'get_size' to enable
compatibility with the older platforms.
Also fixes some issues with lsscsi not being installed and exceptions
getting thrown because of that.
2016-01-27 21:15:26 -08:00
Colton Myers
5bc11d7539
Merge pull request #30631 from rallytime/fix-7811
...
Refactor rabbitmq_cluster states to use test=true functionality correctly
2016-01-26 09:23:49 -07:00
rallytime
bf9ffded6d
Refactor rabbitmq_cluster states to use test=true functionality correctly
...
Fixes #7811
2016-01-25 16:47:54 -07:00
rallytime
1e8e86007c
Refactor rabbitmq_policy states to use test=true functionality correctly
...
Fixes #25658
2016-01-25 15:21:19 -07:00
Mike Place
cdc731b8c5
Merge pull request #30521 from basepi/merge-forward-2015.8
...
[2015.8] Merge forward from 2015.5 to 2015.8
2016-01-21 16:05:03 -07:00
Colton Myers
f22f5ff851
Fix lint
2016-01-21 15:33:15 -07:00
Erik Johnson
ea0ca70187
Add git.list_worktrees unit test
2016-01-21 15:42:30 -06:00
Colton Myers
117fb205de
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
tests/unit/modules/boto_vpc_test.py
2016-01-21 14:37:32 -07:00
Erik Johnson
393015edbb
Remove git.list_worktrees tests
...
These are being added back as unit tests.
2016-01-21 15:13:02 -06:00
Justin Findlay
66f06f2bd3
disable pkgrepo test for ubuntu 15.10+
2016-01-21 10:55:37 -07:00
Evan Borgstrom
e148ea2d52
Allow recursive salt:// imports
...
Fixes #30465
2016-01-20 11:29:00 -08:00
Evan Borgstrom
6bbac64d3a
Add test to prove that recursive imports are currently broken
...
Refs #30465
This also exposes some other issues with the Registry being in an
inconsistent state when an exception occurs when we are rendering.
2016-01-20 11:22:51 -08:00
Evan Borgstrom
b46df0e4b5
Allow recursive salt:// imports
...
Fixes #30465
2016-01-20 11:20:50 -08:00
Evan Borgstrom
51bfa16173
Add test to prove that recursive imports are currently broken
...
Refs #30465
This also exposes some other issues with the Registry being in an
inconsistent state when an exception occurs when we are rendering.
2016-01-20 09:57:16 -08:00
Justin Findlay
fb9972f590
modules.pkg: disable repo int test for ubuntu 15.10
2016-01-19 15:27:12 -07:00
Sean Jenkins
e44a30620b
Remove recurse_list from pillar_source_merging_strategy and add pillar_merge_list (bool) instead
2016-01-19 15:06:30 -07:00
justinta89
00943ff1e6
Boto uses False for is_default instead of None
2016-01-19 10:15:35 -07:00
justinta89
2f77152479
Boto uses False for is_default instead of None
2016-01-19 10:12:11 -07:00
Mike Place
d5b8776355
Merge pull request #30340 from jtand/seed_test_fix
...
Updated seed_test.py for changes made to seed module
2016-01-13 15:50:34 -07:00
Mike Place
10b5728f84
Merge pull request #30308 from rallytime/bp-30257
...
Back-port #30257 to 2015.8
2016-01-13 12:20:13 -07:00
justinta89
ee764ee952
Updated seed_test.py for changes made to seed module
2016-01-13 11:58:05 -07:00
Mike Place
dcfba51556
Lint
2016-01-13 10:42:03 -07:00
Mike Place
b9921128af
Kill pointless tests
2016-01-13 10:15:26 -07:00
Mike Place
63c157d0a3
Fix test_managed
2016-01-13 09:54:33 -07:00
abednarik
deeeb71dda
Add test in npm state.
...
Updated nmp module to append --dry-run when executing nmp state in test mode.
Fixes #30250 .
2016-01-12 14:30:32 -07:00
Jacob Hammons
53d17f1f85
Changed examples to use the "example.com" domain instead of "mycompany.com" or "company.com"
2016-01-12 13:37:09 -07:00
Mike Place
2c62b464b1
Accept whatever comes into hightstate mock for state tests
2016-01-12 11:30:25 -07:00