Mike Place
64ed9fcd01
Merge pull request #31418 from terminalmage/fix-debian-grains
...
Fix core grains when Debian OS detected as 'Debian GNU/Linux'
2016-02-23 08:49:49 -07:00
Erik Johnson
0e0cd17160
Rename core.py to core_test.py
2016-02-22 21:54:49 -06:00
Erik Johnson
d3cd1b596d
Add unit test for core grains
2016-02-22 16:37:03 -06:00
Erik Johnson
c7bd13c9c9
Merge pull request #31376 from cro/suse_service2
...
Some distros don't have a /lib/systemd
2016-02-22 12:11:39 -06:00
Mike Place
105821efc7
Merge pull request #31352 from ticosax/pull-image-on-running
...
[dockerng] Pull missing images when calling dockerng.running
2016-02-22 09:54:10 -07:00
C. R. Oldham
f3fec5562e
We need one more mocked return from listdir.
2016-02-21 21:55:08 -07:00
Nicolas Delaby
8c86eeb4dc
Pull missing images when calling dockerng.running
...
fixes #29727
2016-02-19 15:43:52 +01:00
Nicolas Delaby
a8dc33a5e3
Saltnado provide also get parameters to the context
2016-02-19 09:11:15 +01:00
Mike Place
f0ba9c1eca
Merge pull request #31326 from ticosax/2015.8-dockerng-detect-settings-removal
...
[dockerng ] Detect settings removal
2016-02-18 15:02:50 -07:00
Nicolas Delaby
7bedd86ebe
Add detection of removed settings.
...
When removing settings from dockerng.running state definition,
changes where ignored as `_compare()` was iterating only over user defined
parameters.
By looping over all available options we are now sure to not miss
removed entries.
Extend definition of expected default values:
- Some default values are predictable and hardcoded in the VALID_CREATE_OPTS dict.
- Some default needs to be read from images (`image_path`)
- Some defaults values are unpredictable (hostname, mac_address)
we are comparing desired value against value reported by the container
(`get_default_from_container`).
2016-02-18 20:23:31 +01:00
Joe Julian
783e9b2e13
Rework tests and fix reverse peering with gluster 3.7
...
Reworked the test structure design for the gluster module and state so I
could create a test that mimiced the behavior difference between 3.7 and
prior versions when reverse probing by ip a server that already exists.
Added the additional data given by gluster 3.7 to the output of
glusterfs.list_peers to allow us to compare a requested peering against
a host's aliases.
Fixes #30932
2016-02-17 13:10:07 -08:00
rallytime
023ad4635c
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- salt/modules/win_update.py
- salt/states/win_update.py
2016-02-17 09:33:08 -07:00
Tarjei Husøy
ceae2a16f8
Support match-sets in iptables module
...
Based on work by @l13t in https://github.com/saltstack/salt/pull/29426 .
Added tests and fixed incorrect appending of the built rule.
Closes #29423 .
2016-02-12 10:24:50 -07:00
Mike Place
a4040da46d
Fix bad unit test
2016-02-11 10:31:40 -07:00
Mike Place
5bf5848e04
Fixup unit test
2016-02-10 14:36:21 -07:00
Mike Place
de1abae9d1
Merge pull request #31105 from cachedout/lint_30975
...
Lint 30975
2016-02-10 14:11:21 -07:00
Mike Place
446b4c2aff
Lint #30975
2016-02-10 14:04:59 -07:00
Mike Place
c73b5a4a66
Fix boto_secgroup
2016-02-09 11:52:15 -07:00
Mike Place
25bcc68357
Fix boto test failures
2016-02-09 11:50:26 -07:00
Mike Place
c3f115724a
Merge pull request #30987 from youngnick/add-back-localhost-peer-handling
...
Changed glusterfs.peer() module so state can handle localhost peering attempts.
2016-02-09 10:51:58 -07:00
Mike Place
1950359580
Merge pull request #31012 from terminalmage/fix-gitfs-provider-lc
...
Fix gitfs/git_pillar/winrepo provider to allow lowercase values
2016-02-09 10:24:25 -07:00
Nick Young
730b5ef3e2
Update tests to cover new peering return val.
2016-02-09 10:58:44 +11:00
Erik Johnson
763581798b
Add unit tests to ensure a valid provider
2016-02-08 15:18:11 -06:00
Mike Place
3b7b6f2398
Merge pull request #31002 from rmtmckenzie/cloud-lxc-provide-fix
...
Fix lxc cloud provided minion reporting present
2016-02-08 11:14:50 -07:00
justinta89
962e0deda5
Fixed rabbitmq_vhost test failure.
2016-02-08 10:02:43 -07:00
Morgan McKenzie
9b17fdce5e
Fix lxc cloud provided minion reporting present
...
LXC minion is reporting as present when configured
with cloud state, even though it is not.
Fixes issue #31000
2016-02-08 15:06:56 +00: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
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
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
Erik Johnson
ea0ca70187
Add git.list_worktrees unit test
2016-01-21 15:42:30 -06:00