Joe Julian
01a8e7ee10
Convert glusterfs module to use xml
...
The gluster cli has the option to produce xml output from most every
command, and to avoid pausing for questions when being run in script
mode. Make use of that capability and avoid scraping text output that is
often subject to change between versions.
This should help future-proof this module as any changes to the xml
output should be automatically integrated.
As part of this change, I added a glusterfs.info function and added the
force keywords to volume start and volume stop.
Fixes #30051
2016-01-04 09:47:59 -08:00
Andrew Colin Kissa
a8fe0df0ac
Add support for augeas loading of non stock lenses
...
Fixes #30131
Pylint cleanup
Updated tests
2016-01-04 14:48:44 +02:00
Andrew Colin Kissa
a3e786a03e
add check_password execution module function
...
fix rabbitmq_user.present is not idempotent
Fixes #30119
2016-01-01 22:49:13 +02:00
Kris Raney
86568c9e4f
Another pylint error
2015-12-31 14:30:01 -06:00
Kris Raney
08987a1698
Fix new lint warning
2015-12-30 22:43:38 -06:00
Kris Raney
26ded33d79
Reproduced the no-boto problem and fixed it.
2015-12-30 22:08:35 -06:00
Kris Raney
1fb44b0925
Try again to deal with missing boto
2015-12-30 20:46:01 -06:00
Kris Raney
ee052615d1
Fix case when boto is not present
2015-12-30 16:34:58 -06:00
Sean Jenkins
fb6e895bf0
Merge remote-tracking branch 'upstream/develop' into develop
2015-12-30 09:43:05 -07:00
Mike Place
d09e69f3fc
Merge pull request #30057 from abednarik/virtual_ret_parted_module
...
modules.parted: __virtual__ return err msg.
2015-12-30 08:57:55 -07:00
Sean Jenkins
1d7ee7bed2
Merge remote-tracking branch 'origin/develop' into sean
2015-12-30 08:44:30 -07:00
rallytime
c386d70742
Merge branch '2015.8' into 'develop'
...
Conflicts:
- salt/modules/alternatives.py
- salt/modules/boto_rds.py
- salt/modules/mount.py
- salt/states/boto_iam.py
2015-12-29 15:51:12 -07:00
rallytime
f7e58a241c
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- salt/modules/boto_vpc.py
- tests/unit/modules/boto_vpc_test.py
2015-12-29 15:27:03 -07:00
abednarik
c1be5a61fa
modules.parted: __virtual__ return err msg.
...
Updated message when module is not supported based on systems or available binaries.
2015-12-29 16:55:48 -03:00
Sean Jenkins
41353b7ab3
Remove recurse_list from pillar_source_merging_strategy and add pillar_merge_list (bool) instead
2015-12-29 10:22:54 -07:00
Mike Place
bad6daca93
Merge pull request #30049 from rallytime/esxi-unit-tests
...
Add some more unit tests for the vsphere execution module
2015-12-29 10:07:41 -07:00
Mike Place
e915f4b591
Merge pull request #30053 from akissa/add-postgres-privileges-support
...
Add postgres privileges support
2015-12-29 09:50:44 -07:00
Andrew Colin Kissa
7be5eebfc7
add postgres_privileges state module tests
2015-12-29 12:57:21 +02:00
Andrew Colin Kissa
efcfb611b2
added postgres execution privileges tests
2015-12-29 10:59:48 +02:00
rallytime
1a83147986
Remove unnecessary import block
2015-12-28 16:14:13 -07:00
rallytime
695107ae6e
Add some more unit tests for the vsphere execution module
...
And fix a coupl of small bugs found in the module through testing
2015-12-28 16:11:33 -07:00
Mike Place
5cfda08b39
Merge pull request #29970 from sjorge/module-zfs
...
salt.modules.zfs
2015-12-28 14:38:37 -07:00
Mike Place
28e01aa8ac
Merge pull request #30018 from gladiatr72/pip_state__handle_requirements_chaining
...
Pip module/state -- handle requirements chaining
2015-12-28 14:28:00 -07:00
Kris Raney
3dea1a3589
Sometimes 'no whitespace after comma' actually means 'no whitespace after _colon_'.
2015-12-28 15:14:27 -06:00
Kris Raney
2fe5d8fbb4
Fix pylint errors
2015-12-28 14:46:43 -06:00
Jorge Schrauwen
4bad71c60d
lint fixes
2015-12-28 19:48:51 +00:00
Kris Raney
85d59865a6
Merge branch 'develop' into boto_iot
2015-12-28 13:45:35 -06:00
Andreas Lutro
ca290ec3e1
change how alternatives states check for installed
2015-12-28 12:31:19 -07:00
Stephen D. Spencer
e0da7cddf6
modules.pip:
...
adjust (actual) current directory bits
tests.unit.modules.pip_test:
adjust mock's expectations of cwd=None always being passed (?)
2015-12-28 09:37:39 +00:00
justinta89
e706642152
Skipping some Boto tests until resolved moto issue
...
Similar to #29725 . Though, some of the tests are different, due to the older
branch. I'm not condisidering this a backport because of that.
2015-12-27 22:34:09 -07:00
Andrew Colin Kissa
2e836a3f75
postgres_privileges skeleton
2015-12-27 12:01:20 +02:00
Andreas Lutro
4c9d893f98
change how alternatives states check for installed
2015-12-26 22:48:29 +01:00
Jorge Schrauwen
e1445d42e9
update unit tests for new error messages
2015-12-26 10:28:25 +00:00
Jorge Schrauwen
bc15891944
added unit test for zfs.get
2015-12-24 00:07:36 +00:00
Jorge Schrauwen
59efba23aa
added test for zfs.set
2015-12-23 23:22:09 +00:00
Kris Raney
bd6cda504e
boto_iot state unit tests.
2015-12-23 16:54:29 -06:00
Jorge Schrauwen
87f27d206c
added unit tests for zfs.snapshot
2015-12-23 22:44:19 +00:00
Jorge Schrauwen
0a1dbeda53
added unit tests for zfs.release, fixed unit test for zfs.hold
2015-12-23 22:06:44 +00:00
Jorge Schrauwen
9db9843bae
added unit tests for zfs.hold
2015-12-23 21:50:01 +00:00
Jorge Schrauwen
596c991c0b
added unit tests for zfs.holds
2015-12-23 21:16:45 +00:00
Kris Raney
c516e65333
Implement boto_iot module
2015-12-23 14:13:48 -06:00
Jorge Schrauwen
26c00bf402
added unit test for zfs.bookmark, probably need to revisit this once the error messages are more useful. Now they all seem to return unknown error from the upstream command
2015-12-23 20:12:07 +00:00
Jorge Schrauwen
f2dccea3d1
add unit test for zfs.promote
2015-12-23 17:19:34 +00:00
Jorge Schrauwen
b7314cd186
add unit test for zfs.clone
2015-12-23 17:06:22 +00:00
Jorge Schrauwen
032f17cfd1
implement unit tests for zfs.rollback
2015-12-23 16:48:24 +00:00
Jorge Schrauwen
c15affe227
add unit test for zfs.diff
2015-12-23 16:20:32 +00:00
Jorge Schrauwen
0d8fd711b5
add unit tests for zfs.inherit
2015-12-23 15:59:50 +00:00
Jorge Schrauwen
959828a9dd
add unit tests for zfs.unmount
2015-12-23 15:36:33 +00:00
Jorge Schrauwen
11b986e715
unit test for zfs.list
2015-12-23 15:20:51 +00:00
Jorge Schrauwen
3cbc6befbe
update unit tests for zfs.mount
2015-12-23 15:14:45 +00:00
Jorge Schrauwen
388f928851
unit test for zfs module should accept new output
2015-12-23 12:47:41 +00:00
Jorge Schrauwen
95a1668bc1
fix type in test data
2015-12-22 21:21:07 +00:00
Mike Place
c19782a184
Merge pull request #29853 from basepi/merge-forward-develop
...
Merge forward from 2015.8 to develop
2015-12-22 08:05:49 -07:00
Mike Place
62c9514108
Merge pull request #29881 from sjorge/module_zpool
...
rework salt.module.zpool
2015-12-21 14:51:10 -07:00
Jorge Schrauwen
1ca3757782
tests now cover most commands that query data
2015-12-21 20:44:10 +00:00
Jorge Schrauwen
08b65e79ac
add a few more unit tests
2015-12-21 20:40:28 +00:00
Jorge Schrauwen
37ac0df4e3
also test zpool.status
2015-12-21 20:19:03 +00:00
Jorge Schrauwen
21ee4b71b6
also do negative test
2015-12-21 20:07:48 +00:00
Jorge Schrauwen
28c4d28446
attempt to fix unit test
2015-12-21 19:49:40 +00:00
Mike Place
fa7dead492
Merge pull request #29901 from cachedout/fixup_29863
...
Fixup 29863
2015-12-21 11:26:00 -07:00
Mike Place
0d7ef0e95c
Fix broken tests
2015-12-21 11:25:18 -07:00
Mike Place
23bffbb623
Merge pull request #29875 from akissa/add-postgres_language-state
...
Add PostgreSQL Language management functionality
2015-12-21 10:39:46 -07:00
Mike Place
207bb5af0c
Merge pull request #29830 from terminalmage/issue29064
...
Optimizations/bugfixes/feature adds for systemd execution module
2015-12-21 10:37:36 -07:00
Mike Place
4f46255044
Merge pull request #29856 from rallytime/esxi-unit-tests
...
Added some initial unit tests for the salt.modules.vsphere.py file
2015-12-21 10:12:20 -07:00
Andrew Colin Kissa
f921a88a30
lint
2015-12-20 20:41:40 +02:00
Andrew Colin Kissa
a826720371
Add PostgreSQL Language management functionality
...
Fixes #29874
2015-12-20 09:37:41 +02:00
rallytime
b908ebd123
Added some initial unit tests for the salt.modules.vsphere.py file
...
More will follow to cover the remaining functions.
2015-12-18 16:18:01 -07:00
Colton Myers
95fe811724
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/minion.py
salt/modules/network.py
salt/scripts.py
salt/states/file.py
salt/states/git.py
salt/utils/event.py
2015-12-18 15:00:24 -07:00
Erik Johnson
15047918a9
systemd test fixes
...
This removes a bunch of tests that don't test anything (see https://github.com/saltstack/salt/issues/29852 ).
It also changes some of the tests to reflect recent changes in
systemd.py.
2015-12-18 15:17:38 -06:00
Andrew Colin Kissa
98593a94d5
fix various bugs in augeas modules
...
Fixes #29842
2015-12-18 23:01:44 +02:00
lburg
6d1ab2ece0
states.timezone: Fix 'desrired' typo
2015-12-18 13:54:04 +01:00
Andreas Lutro
51088d938a
add tests, rename a function to more closely mirror influxdb
2015-12-17 21:58:51 +01:00
Andrew Colin Kissa
b749b9faba
Add Pillar SQLCipher module
...
Fixes #29781
2015-12-17 09:48:27 +02:00
Mike Place
aab929d196
Merge pull request #29718 from thusoy/issue-29423
...
Support match-sets in iptables module
2015-12-16 07:48:18 -07:00
Tarjei Husøy
387ac2ce5e
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 .
2015-12-15 16:35:06 -08:00
Mike Place
d19827fd3a
Disable some boto tests per resolution of moto issue
...
Pending resolution of https://github.com/spulec/moto/issues/493
2015-12-15 14:59:14 -07:00
Mike Place
a2b1f41f49
Disable some boto tests per resolution of moto issue
...
Pending resolution of https://github.com/spulec/moto/issues/493
2015-12-15 14:57:52 -07:00
Colton Myers
5ac96cc8ba
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/client/ssh/ssh_py_shim.py
salt/modules/tls.py
salt/states/git.py
salt/transport/tcp.py
2015-12-14 15:56:26 -07:00
Alexandre Garnier
f3a2b27671
Fix deb_apache states methods tense
2015-12-13 13:58:27 +01:00
Mike Place
8b336dc1b4
Merge pull request #29638 from cachedout/fix_29535
...
Fix 29535
2015-12-11 13:37:42 -07:00
Mike Place
5bda5ff664
Updated pip module internal check for log.
2015-12-11 13:36:51 -07:00
Mike Place
3514765d33
Merge pull request #29573 from kraney/boto_lambda
...
An implementation of support for AWS Lambda
2015-12-10 13:01:26 -07:00
Kris Raney
c024ca70b1
A few missed lint errors
2015-12-09 16:52:10 -06:00
Kris Raney
4e04c3fbbd
Fix lint warnings, add log when using default region
2015-12-09 16:03:20 -06:00
Kris Raney
f33d7a761c
Fix unit test to work with code that understands FunctionArn
2015-12-09 12:49:27 -06:00
Mike Place
78fa3111a7
Merge pull request #29571 from cachedout/lint_29493
...
Lint #29493
2015-12-09 09:28:17 -07:00
Mike Place
ab439e9173
Lint
2015-12-09 09:27:12 -07:00
Andreas Lutro
7c69c177ed
update test
2015-12-09 13:18:47 +01:00
Justin Findlay
45acd05065
state.file: add file.mkdir to unit test mock
2015-12-08 16:33:33 -07:00
Justin Findlay
aa393a4831
state.file: add pchanges to unit test mock
2015-12-08 16:33:07 -07:00
Kris Raney
591e2756cc
Add tests for boto_lambda states.
2015-12-08 16:20:31 -06:00
Colton Myers
7918736656
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/client/ssh/ssh_py_shim.py
salt/modules/dracr.py
salt/states/boto_vpc.py
tests/unit/states/file_test.py
2015-12-08 14:46:23 -07:00
Colton Myers
e59364ad1d
Fix failing unit test
2015-12-08 13:45:34 -07:00
Kris Raney
bda53f74a4
Full unit test coverage for lambda module
2015-12-08 13:33:28 -06:00
Andreas Lutro
36e493cadf
lint - tabs to spaces, oops
2015-12-08 20:24:45 +01:00
Colton Myers
9673fd0937
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
salt/cloud/clouds/ec2.py
tests/unit/states/file_test.py
2015-12-08 12:23:26 -07:00
Kris Raney
f98791054e
Lambda function unit test cases
2015-12-08 10:15:11 -06:00
Mike Place
95523312a0
Merge pull request #29512 from dr4Ke/fix_remount_cifs_uid_name
...
Fix forced remount if uid/gid is provided as a name
2015-12-08 09:08:33 -07:00
Christophe Drevet-Droguet
9a268e05d6
mount exec module: resolve user/group names in opts
...
In relation to #25293 , it solves the improbable case where the OS returns the
mount options as names instead of numeric ids. The module converts these names
to numeric ids before returning the opts.
This is done only for uid= and gid= opts, for now. It can be extended to others.
2015-12-08 12:43:47 +01:00
Christophe Drevet-Droguet
7395a949e4
mount state module: uid/gid verification with names
...
Should fix #25293
2015-12-08 12:43:46 +01:00