Derek Schaller
6c88c43f28
Merging in cachedout's test fixes
2016-02-12 20:09:22 -08:00
Derek Schaller
4a133d5ddc
cache_clean should return a mocked value
2016-02-12 19:51:22 -08:00
rallytime
73d73e80c1
Merge branch '2016.3' into 'develop'
...
Conflicts:
- doc/topics/releases/2015.8.4.rst
- doc/topics/releases/2015.8.5.rst
- doc/topics/thorium/index.rst
- salt/cloud/clouds/opennebula.py
- salt/engines/thorium.py
- salt/loader.py
- salt/modules/archive.py
- salt/modules/boto_vpc.py
- salt/modules/data.py
- salt/modules/reg.py
- salt/pillar/mysql.py
- salt/runners/cache.py
- salt/states/archive.py
- salt/states/cron.py
- salt/states/file.py
- salt/states/glance.py
- salt/states/reg.py
- salt/thorium/__init__.py
- salt/thorium/check.py
- salt/thorium/file.py
- salt/thorium/reg.py
- salt/utils/jid.py
- salt/utils/parsers.py
- setup.py
2016-02-12 14:38:50 -07:00
Mike Place
498dec2e91
Fix tests
2016-02-12 10:56:01 -07:00
Derek Schaller
b5815d367e
Reset the name to valid package in npm cache_cleaned unit test
2016-02-11 22:22:21 -08:00
Colton Myers
076b49a4ca
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-2016.3
...
Conflicts:
README.rst
doc/conf.py
doc/ref/index.rst
doc/ref/proxy/all/salt.proxy.ssh_sample.rst
doc/topics/installation/rhel.rst
doc/topics/releases/2015.8.4.rst
doc/topics/tutorials/states_pt5.rst
salt/cloud/clouds/ec2.py
salt/cloud/clouds/opennebula.py
salt/config/__init__.py
salt/modules/boto_dynamodb.py
salt/modules/boto_ec2.py
salt/modules/boto_elasticache.py
salt/modules/boto_elb.py
salt/modules/boto_iam.py
salt/modules/boto_rds.py
salt/modules/boto_sns.py
salt/modules/boto_sqs.py
salt/modules/dracr.py
salt/modules/git.py
salt/modules/mine.py
salt/modules/systemd.py
salt/modules/win_pkg.py
salt/modules/yumpkg.py
salt/pillar/__init__.py
salt/states/git.py
salt/states/rabbitmq_vhost.py
salt/states/saltmod.py
salt/utils/pkg/rpm.py
setup.py
tests/unit/modules/systemd_test.py
tests/unit/states/rabbitmq_vhost_test.py
2016-02-11 22:33:49 -07:00
Derek Schaller
47f8aeee97
Cleaning up npm cache_cleaned unit tests expected response
2016-02-11 20:39:42 -08:00
Derek Schaller
fe56101584
Update unit test to reflect npm ls directory structure
2016-02-11 19:41:08 -08:00
Winston Liu
b994bcfae5
lint warnings/errors.
2016-02-11 14:24:35 -08:00
Mike Place
a4040da46d
Fix bad unit test
2016-02-11 10:31:40 -07:00
Winston Liu
824960503c
lint warnings/errors.
2016-02-10 15:05:53 -08:00
Mike Place
5bf5848e04
Fixup unit test
2016-02-10 14:36:21 -07:00
Winston Liu
7df27fe0c9
Merge branch 'boto_cognitoidentity' into boto_apigateway
2016-02-10 13:00:30 -08:00
Mike Place
7c07d0597b
Merge pull request #31094 from kraney/boto_cognitoidentity
...
Boto cognitoidentity
2016-02-10 13:50:04 -07:00
Winston Liu
4ee6c93838
fixed lint warnings/errors.
2016-02-10 11:43:47 -08:00
Winston Liu
efc374f968
'comment' fix up's in the returned dictionary.
2016-02-10 09:42:14 -08:00
Winston Liu
f21ebbd096
Merge branch 'boto_cognitoidentity' into boto_apigateway
2016-02-09 16:57:57 -08:00
Winston Liu
ce206c1e28
present and absent states added for cognito identity pool.
2016-02-09 16:54:05 -08: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
Derek Schaller
fc2b60effe
Cleaning up logic in unit tests for cache_cleaned state
2016-02-09 09:13:17 -08:00
Derek Schaller
2e3ebf806e
Update npm state return name to None in unit tests
2016-02-08 22:00:18 -08:00
Derek Schaller
b020169ec7
Use the variable value in unit tests instead of hardcoded string
2016-02-08 20:57:47 -08:00
Derek Schaller
a824f56216
Update expected NPM cache_cleaned response to include name
2016-02-08 20:18:16 -08:00
Derek Schaller
8437cba2e6
Undo unintended unit test changes to npm bootstrap
2016-02-08 19:29:12 -08:00
Nick Young
730b5ef3e2
Update tests to cover new peering return val.
2016-02-09 10:58:44 +11: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
Derek Schaller
b83fb3e857
Adding patch for error before npm cache_cleaned unit test
2016-02-08 09:16:48 -08: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
Derek Schaller
c53824b111
npm unit test updates
2016-02-06 23:38:49 -08:00
Derek Schaller
67fb81dd93
Salt specific lint fixes
2016-02-06 22:10:59 -08:00
Derek Schaller
ec1965bc0f
Removing duplicate splitstrings on result stdout
2016-02-06 21:07:41 -08:00
Derek Schaller
eaabcaec26
Fixing assumptions about results structure
2016-02-06 19:38:06 -08:00
Derek Schaller
5c0f9eb8f9
Documentation updates
2016-02-06 18:29:35 -08:00
Derek Schaller
de154d76ce
Adding npm cache_cleaned state and required module functions
2016-02-06 15:27:00 -08: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
Mike Place
4ae2d829f0
Merge pull request #30888 from ticosax/backport-30797
...
Backport #30797 to 2015.8
2016-02-04 14:02:25 -07: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
Richard Hansen
6b5b2c063d
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-03 22:32:20 -05:00
Richard Hansen
255f5a1b91
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-03 19:32:13 -05:00
rallytime
adb85892de
Fix failing state module tests
2016-02-04 00:01:11 +00:00
Mike Place
618f823e21
Merge pull request #30774 from Unity-Technologies/feature/mac_package
...
Added ability to install PKG, DMG and APP files for OS X minions
2016-02-03 12:54:32 -07:00
Richard Hansen
cbda6446df
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-02 19:24:44 -05:00
Mike Place
3b246db0b0
Fix stupid test
2016-02-02 12:39:24 -07:00
Mike Place
e3f0c8e162
Merge pull request #30731 from Unity-Technologies/feature/osx_keychain
...
Added the ability to configure keychains on OSX
2016-02-02 08:03:14 -07:00
Mike Place
330abcad12
Merge pull request #30775 from Unity-Technologies/feature/mac_defaults
...
Added the ability to set OS X settings using defaults
2016-02-02 07:47:49 -07:00
Mike Place
e4ca01181b
Merge pull request #30803 from Unity-Technologies/feature/win_certutil
...
Added the ability to add and remove certificates from Windows minions
2016-02-02 07:04:30 -07:00
Daniel Hobley
2567ea6956
Lint fixes
2016-02-02 11:48:17 +01:00
Daniel Hobley
becb643557
Added ability to install and activate a windows license
2016-02-02 11:07:05 +01:00
Daniel Hobley
ddc24708ad
Added the ability to add and remove certificates from Windows minions
...
- Uses certutil.exe to add and remove certificates
2016-02-02 10:06:20 +01:00
Daniel Hobley
04877e06e7
Updated based on PR feedback
...
- Renamed type to vtype
- Made if statements a little more clear
2016-02-02 09:01:38 +01:00
Mike Place
86ea047933
Merge pull request #30734 from Unity-Technologies/feature/osx_assistive
...
Added ability to change assistive access on OSX 10.9+
2016-02-01 14:51:47 -07:00
Mike Place
68f4fd2fb3
Merge pull request #30697 from Unity-Technologies/feature/proxy-settings
...
Added ability to set proxy settings on OSX and Windows
2016-02-01 13:04:59 -07:00
Daniel Hobley
0a1da63d6a
Added the ability to set OS X settings using defaults
2016-02-01 15:24:02 +01:00
Daniel Hobley
f701547027
Added ability to install PKG, DMG and APP files for OS X minions
2016-02-01 14:22:22 +01:00
Mike Place
fe19ca4480
Merge pull request #30729 from Unity-Technologies/feature/dism
...
Added DISM module and states
2016-01-29 17:10:32 -06:00
Daniel Hobley
6ad5014968
Lint fixes
2016-01-29 15:29:06 +01:00
Daniel Hobley
a4f4e52687
Added xattr module and state for OS X
...
- Allows you to add and remove special attributes to/from files
2016-01-29 15:01:40 +01:00
Daniel Hobley
d80a637d2e
Added ability to change assistive access on OSX 10.9+
2016-01-29 13:59:51 +01:00
Daniel Hobley
bae0543d95
Added the ability to configure keychains on OSX
2016-01-29 11:47:43 +01:00
Daniel Hobley
e8c3a154f0
Added DISM module and states
...
- Allows you to install features and capabilities on windows minions
2016-01-29 10:35:58 +01:00
Daniel Hobley
efdc953867
Merge branch 'develop' into feature/proxy-settings
2016-01-29 09:35:31 +01:00
Kris Raney
b4d27451d1
Merge branch 'develop' into boto_apigateway
2016-01-28 15:35:34 -06:00
Daniel Hobley
9ecfb56c33
Fixed a bug where new changes are detected when nothing changed in proxy state
2016-01-28 15:06:06 +01:00
Daniel Hobley
6f266cdd73
Added ability to set proxy settings on OSX and Windows
2016-01-28 13:21:15 +01:00
rallytime
4fa80f2d5e
Merge branch '2015.8' into 'develop'
...
Conflicts:
- doc/ref/states/all/index.rst
- salt/cloud/__init__.py
- salt/minion.py
- salt/modules/file.py
- salt/modules/guestfs.py
- salt/modules/ipmi.py
- salt/modules/osquery.py
- salt/modules/parted.py
- salt/modules/seed.py
- salt/modules/virt.py
- salt/modules/yumpkg.py
- salt/modules/zypper.py
- salt/states/boto_elb.py
- salt/states/pkg.py
2016-01-26 16:19:39 -07:00
Kris Raney
8825cd095b
Merge branch 'develop' into boto_apigateway
2016-01-26 10:27:44 -06: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
Winston Liu
54c111e5e1
Merge branch 'boto_lambda' into boto_apigateway
2016-01-25 15:51:10 -08:00
rallytime
bf9ffded6d
Refactor rabbitmq_cluster states to use test=true functionality correctly
...
Fixes #7811
2016-01-25 16:47:54 -07:00
Colton Myers
94bf7790cf
Merge pull request #30567 from rallytime/fix-25363
...
Make sure rabbitmq_vhost states are using test=true properly.
2016-01-25 16:19:45 -07:00
rallytime
1e8e86007c
Refactor rabbitmq_policy states to use test=true functionality correctly
...
Fixes #25658
2016-01-25 15:21:19 -07:00
rallytime
3f8b905642
Fix test failures
2016-01-25 12:08:30 -07:00
Mike Place
44dea20bf3
Merge pull request #30550 from cachedout/fix_30113
...
Fixup for Let test=True option work for http.query state #30113
2016-01-22 11:35:31 -07:00
Mike Place
427f6f7cad
Fix failing unit test
2016-01-22 10:54:25 -07:00
Andrew Colin Kissa
82a966b1f4
Add postgres_initdb state module tests
2016-01-22 12:16:51 +02:00
Kris Raney
67f873b3c1
Merge branch 'develop' into boto_apigateway
2016-01-21 16:54:19 -06:00
Mike Place
40ba550ffd
Merge pull request #30511 from kraney/boto_s3_bucket
...
Boto s3 bucket state
2016-01-21 15:52:58 -07:00
Kris Raney
5dfa264652
Merge branch 'develop' into boto_apigateway
2016-01-21 16:49:21 -06:00
Kris Raney
14f7bf693b
Pylint fixes
2016-01-21 11:37:43 -06:00
Kris Raney
4ad20f6217
Not satisfied with the code complexity/ readability/ maintainability, so refactor a bit. Fix a couple bugs in the process. Add unit tests.
2016-01-21 11:28:53 -06:00
Mike Place
7b88d721a5
Merge pull request #30368 from lyft/boto_dynamodb
...
Update boto_dynamodb module and state
2016-01-20 11:23:15 -07:00
Zack Hsi
fbff36df36
Fix unit test
2016-01-19 16:06:07 -08:00
Winston Liu
ea0ab0f4a1
- don't use basepath in the resource path when creating resources.
...
- fixed a minor bug in absent state, to continue check to see if api can be nuked even if stage name does not exist.
2016-01-15 10:08:02 -08:00
rallytime
39b49621ad
Merge branch '2015.8' into 'develop'
...
Conflicts:
- salt/beacons/service.py
- salt/cloud/clouds/vmware.py
- salt/modules/file.py
- salt/modules/ipset.py
- salt/modules/npm.py
- salt/modules/rpm.py
- salt/states/file.py
- salt/utils/event.py
- salt/utils/schedule.py
- tests/unit/modules/state_test.py
2016-01-14 13:33:53 -07:00
Winston Liu
855096ab4a
fixed a bug in absent state, when the given rest api name is not found, we should return absent state result being true. added a unit test for this as well.
2016-01-14 10:31:28 -08:00
Winston Liu
f93874f4b7
we will now check to see if we need to overwrite the stage variables in present state.
2016-01-14 09:54:25 -08:00
Mike Place
09b144aa98
Merge pull request #30327 from kraney/boto_cloudtrail
...
Support for AWS CloudTrail
2016-01-13 13:18:06 -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
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
Kris Raney
d30212f180
Add tag support to boto_cloudtrail
2016-01-13 10:13:05 -06: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
Kris Raney
6fa7c84ec2
Initial cloud trail state support
2016-01-12 15:20:24 -06: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
abednarik
128ded881f
Add test in npm state.
...
Updated nmp module to append --dry-run when executing nmp state in test mode.
Fixes #30250 .
2016-01-11 17:05:12 -03:00
Winston Liu
a207fb44ce
Merge branch 'boto_iot' into boto_apigateway
2016-01-08 10:08:04 -08:00
Winston Liu
07d144eb6b
unit tests for boto apigateway present/absent state.
2016-01-06 13:53:09 -08:00