Erik Johnson
c3f9e13fbe
Update unit tests to reflect new behavior of WheelClient/RunnerClient
2016-07-27 13:01:24 -05:00
Mike Place
55bb3d09ab
Merge pull request #34919 from tonybaloney/libcloud_dns_states
...
Add a new state module for managing DNS records and zones through Libcloud
2016-07-26 11:51:08 -06:00
Anthony Shaw
8df4c35f5c
zone absent with tests
2016-07-24 19:48:11 +10:00
Anthony Shaw
3b5ddcb607
added zone_present state check
2016-07-24 19:45:06 +10:00
Anthony Shaw
4d7f3169f6
added zone_present state check
2016-07-24 19:43:06 +10:00
Anthony Shaw
fa04e2fcf5
use the correct dictionary structure for state changes
2016-07-24 19:30:32 +10:00
Anthony Shaw
fa5ac70183
add record absent logic and tests
2016-07-24 19:16:48 +10:00
Anthony Shaw
7f28b14958
fix tests
2016-07-24 19:06:34 +10:00
Anthony Shaw
51654e9b7a
add record name to mocks
2016-07-24 17:34:29 +10:00
Anthony Shaw
cb13bb6fba
add test with mocked execution module
2016-07-24 17:13:51 +10:00
Erik Johnson
92fffb06a7
Update unit test
...
This unit test asserts based on the args with which a function was
called, and the args were changed which broke the test. This fixes the
test.
2016-07-22 21:21:55 -05:00
Mike Place
b7fe952427
Remove test for file dir behavior
...
Refs #34809
2016-07-20 08:04:00 -06:00
Wolodja Wentland
87b54170aa
Rename InfluxDB states and modules for 0.8
...
InfluxDB versions newer than 0.8 introduced significant changes in
database concepts, user administration and Python API.
We therefore decided to rename the old InfluxDB states to 'influxdb08*'
and to reserve the 'influxdb' name for InfluxDB 0.9+ compatible states
and modules.
2016-07-16 09:46:44 +02:00
Mike Place
eadae09e0a
Merge pull request #34563 from rallytime/py3-state-unit-tests
...
Py3 fixes for running unit tests in the unit/states/ directory.
2016-07-14 08:28:49 -06:00
rallytime
49f40e9d99
Merge branch '2016.3' into 'develop'
...
Conflicts:
- doc/conf.py
- doc/topics/reactor/index.rst
- tests/integration/__init__.py
2016-07-12 16:13:56 -06:00
rallytime
640d8bb5b2
Pylint fixes
2016-07-11 14:26:06 -06:00
rallytime
de93203bf5
Remove object.iteritems() call from boto_elasticsearch_domain_test
...
Also, clean up imports in that file and remove stray ` character from
boto_apigateway state from previous commit.
2016-07-11 14:26:06 -06:00
rallytime
2a5dab3c56
Use six.iteritems(object) in boto_s3_bucket module and boto_s3_bucket_test
2016-07-11 14:26:06 -06:00
rallytime
1f21dfc555
Fix unit.states.kmod_test to pass when running in Py3
...
The join function adds each list item in different orders, resulting
in a failing state comment comparison. This is inaccurate behavior.
2016-07-11 14:26:06 -06:00
rallytime
6b7a305a1b
Rename dockerio.py unit tests to dockerio_test.py
...
These tests have never run automatically because of an incorrect file name.
Added a skipIf on these tests as they are currently non-functioning and the
module they're testing has been deprecated.
2016-07-11 14:26:06 -06:00
Mike Place
a733b844be
Fixup unit test for archive module
2016-07-11 11:59:00 -06:00
rallytime
815c8b38d5
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-08 10:34:32 -06:00
rallytime
f8a3622be7
Rename unit.states.boto_secgroup to unit.states.boto_secgroup_test
2016-07-07 21:29:36 -06:00
rallytime
86b7c71e09
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/glusterfs.py
- salt/states/pkg.py
2016-07-07 13:37:58 -06:00
rallytime
2b307b7ea1
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/states/file.py
- tests/unit/states/file_test.py
2016-07-06 09:12:25 -06:00
twangboy
78f7c530bb
Remove unit tests, integration tests written
2016-07-05 15:12:34 -06:00
Mike Place
ff83c6d219
Merge pull request #34346 from kraney/boto_sns_topic_absent_state_does_not_remove_associated_subscription_arns
...
added an optional parameter into boto_sns absent state to remove all …
2016-06-30 11:25:57 -07:00
Erik Johnson
20ed2c6bcf
Remove repr formatting flag in places where it is used solely for quoting ( #34183 )
...
* salt/cloud/__init__.py: remove repr formatting
* salt/cloud/clouds/azurearm.py: remove repr formatting
* salt/cloud/clouds/ec2.py: remove repr formatting
* salt/cloud/clouds/profitbricks.py: remove repr formatting
* salt/loader.py: remove repr formatting
* salt/modules/win_file.py: remove repr formatting
* salt/modules/zypper.py: remove repr formatting
* salt/pillar/consul_pillar.py: remove repr formatting
* salt/renderers/pyobjects.py: remove repr formatting
* salt/returners/sentry_return.py: remove repr formatting
* salt/states/bower.py: remove repr formatting
* salt/states/cabal.py: remove repr formatting
* salt/states/cmd.py: remove repr formatting
* salt/states/composer.py: remove repr formatting
* salt/states/win_network.py: remove repr formatting
* salt/states/eselect.py: remove repr formatting
* salt/states/file.py: remove repr formatting
* salt/states/htpasswd.py: remove repr formatting
* salt/states/memcached.py: remove repr formatting
* salt/states/npm.py: remove repr formatting
* salt/states/pip_state.py: remove repr formatting
* salt/states/pkg.py: remove repr formatting
* salt/states/pkgrepo.py: remove repr formatting
* salt/states/supervisord.py: remove repr formatting
* salt/states/timezone.py: remove repr formatting
* salt/states/virtualenv_mod.py: remove repr formatting
* salt/states/dockerio.py: remove repr formatting
* salt/states/win_system.py: remove repr formatting
* salt/utils/nb_popen.py: remove repr formatting
* salt/utils/cloud.py: remove repr formatting
* Add pylint disable due to legit usage of repr flag
See https://github.com/saltstack/salt-pylint/pull/6
* Fix composer tests
These tests needed to be updated because quoting was changed in the
state module in 9dc9146. There was an unnecessary !r used for the
exception class there, which means that instead of the exception class
being passed through the formatter and coming out with the equivalent
value of err.__str__(), we get a repr'ed instance of the exception class
(i.e. SaltException('',)) in the state output.
The unit test was asserting that we have that repr'ed instance of
SaltException in the output, a case of writing the test to confirm the
badly-conceived output in the state. This has also been corrected.
* salt/cloud/clouds/azurearm.py: lint fixes
* salt/modules/boto_s3_bucket.py: lint fixes
* salt/modules/minion.py: lint fixes
* salt/modules/reg.py: lint fixes
* salt/modules/testinframod.py: lint fixes
* salt/modules/win_iis.py: lint fixes
* salt/pillar/csvpillar.py: lint fixes
* salt/utils/win_functions.py: lint fixes
* salt/states/nxos.py: lint fixes
* salt/returners/mongo_future_return.py: lint fixes
* tests/integration/__init__.py: lint fixes
* tests/unit/context_test.py: lint fixes
* tests/integration/states/file.py: lint fixes
* tests/integration/utils/test_reactor.py: lint fixes
* tests/integration/utils/testprogram.py: lint fixes
* tests/unit/__init__.py: lint fixes
* tests/integration/shell/minion.py: lint fixes
* tests/unit/modules/boto_apigateway_test.py: lint fixes
* tests/unit/modules/boto_cognitoidentity_test.py: lint fixes
* tests/unit/modules/boto_elasticsearch_domain_test.py: lint fixes
* tests/unit/modules/k8s_test.py: lint fixes
* tests/unit/modules/reg_win_test.py: lint fixes
* tests/unit/states/boto_apigateway_test.py: lint fixes
* tests/unit/states/boto_cognitoidentity_test.py: lint fixes
* tests/unit/states/boto_elasticsearch_domain_test.py: lint fixes
2016-06-29 16:30:18 -04:00
rallytime
cc83fa151a
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/status.py
- salt/utils/__init__.py
- tests/unit/modules/boto_vpc_test.py
- tests/unit/modules/mount_test.py
- tests/unit/states/boto_vpc_test.py
2016-06-28 17:34:27 -06:00
rallytime
c87a108a12
Don't forget the pylint disables for range
2016-06-28 16:52:37 -06:00
rallytime
359e8ca2ce
Pylint fixes
2016-06-28 16:04:47 -06:00
rallytime
f9ab8ba46d
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-06-28 14:26:24 -06:00
Winston Liu
d4c1463cfa
added an optional parameter into boto_sns absent state to remove all subscriptions tied to the topic being removed.
2016-06-28 13:16:53 -07:00
Alessandro Ghedini
882c6c9c86
Do not force 'filter' table when flushing
...
The "table" argument is already part of the function signature, this means
that flush() will always force the "filter" table even when the user sets
a different one.
2016-06-28 15:40:50 +01:00
Justin Anderson
4fc44bd2f2
Updated winrepo_test ( #34227 )
...
Due to changes made in https://github.com/saltstack/salt/pull/34004 ,
specifically the "Universal method for everywhere" addition, we
no longer needed to mock the return values as this gets the correct
path.
2016-06-23 13:05:49 -04:00
Thomas S Hatch
3dbf7119ce
Merge pull request #34088 from Unity-Technologies/osx/mac_defaults_absent
...
Osx/mac defaults absent
2016-06-20 13:30:40 -06:00
Daniel Hobley
182373344e
Moved to using run_all in the absent function
...
- Fixed unit tests
2016-06-17 16:13:38 +02:00
joelc
f16839c83b
typo
2016-06-17 08:31:49 -05:00
joelc
ec31f7a7d4
Adds delete functionality to mac_defaults
2016-06-17 08:25:42 -05:00
Thomas S Hatch
5a792caa57
Merge pull request #34068 from jfindlay/disk_capacity
...
Add docs and tests to disk state
2016-06-16 15:18:13 -06:00
Justin Findlay
dca04727b5
states.disk: rewrite unit tests
2016-06-16 12:49:36 -06:00
Nicole Thomas
f546a00dc9
Merge pull request #34025 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-06-15 15:41:00 -04:00
Loren Gordon
f7fd2962cb
Update saltmod tests to use master __opts__
2016-06-15 14:12:53 -04:00
Justin Findlay
6cbe31e6c2
states.disk: rewrite unit tests
2016-06-13 16:13:40 -06:00
rallytime
c57bcebaf8
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/states/boto_lambda.py
2016-06-13 11:18:53 -06:00
Adam Chainz
64d9a62f89
Convert readthedocs links for their .org -> .io migration for hosted projects
...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/ ) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-06-11 12:33:37 +01:00
Nicolas Delaby
f806c7e290
[boto_lambda] handle ommitted Permissions parameter ( #33908 )
...
* a bit of pep8
* Don't fail if `Permssions` is None
2016-06-10 13:31:22 -04:00
Mike Place
abf5131c0a
Adds absolute value option to disk state ( #33918 )
2016-06-10 11:08:57 -04:00
rallytime
f078d57b57
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/rabbitmq.py
- salt/modules/win_servermanager.py
- salt/state.py
- salt/states/boto_s3_bucket.py
- salt/states/pip_state.py
- salt/states/win_servermanager.py
- tests/unit/modules/win_servermanager_test.py
- tests/unit/states/dockerng_test.py
2016-06-09 13:06:10 -06:00
Nicole Thomas
08a584b3e5
Merge pull request #33711 from rallytime/merge-develop-3
...
[develop] Merge forward from 2016.3 to develop
2016-06-09 14:12:48 -04:00