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
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
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
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
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
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
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
Mike Place
9ef4bb3b46
Merge pull request #30132 from akissa/add-support-for-custom-augeas-lense-paths
...
Add support for augeas loading of non stock lenses
2016-01-04 13:36:07 -07:00
Mike Place
fff6bf1970
Merge pull request #30041 from kraney/boto_iot
...
Support for AWS IoT
2016-01-04 13:04:06 -07: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
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
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
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
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
Kris Raney
bd6cda504e
boto_iot state unit tests.
2015-12-23 16:54:29 -06: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
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
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
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
Alexandre Garnier
f3a2b27671
Fix deb_apache states methods tense
2015-12-13 13:58:27 +01: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
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
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
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
7395a949e4
mount state module: uid/gid verification with names
...
Should fix #25293
2015-12-08 12:43:46 +01:00
Andreas Lutro
edf2a3098e
remove "2" from state name
2015-12-07 21:54:16 +01:00
Andreas Lutro
00b6eb5907
add tests, clean up/fix logic
2015-12-07 21:52:22 +01:00
Christophe Drevet-Droguet
4a00cc5b70
cron: support for commented cron jobs
...
This change is an implementation for managing commented cron jobs.
Before that, commented cron jobs were not manageable by salt. They were ignored
at reading, and thus lost while writing the new crontab.
This is described in issue #29082 , which should be fixed now.
There is a new `commented` parameter, defaulting to False. The cron job is
set like any other, but is prefixed by `#DISABLED#`.
2015-12-07 15:40:36 +01:00
Mike Place
5ec7947595
Merge pull request #29300 from ticosax/dockerng-volumes
...
[dockerng] Add support for volume management in dockerng
2015-12-02 10:48:53 -07:00
Nicolas Delaby
cb9cb463b0
Provide states for managing docker volumes
2015-12-02 17:27:20 +01:00
Mike Place
99b7d87688
Merge pull request #29218 from clan/service_state
...
check service enable state in test mode
2015-12-02 08:31:00 -07:00
Colton Myers
3f09d58fff
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/cloud/clouds/vmware.py
salt/modules/rh_ip.py
salt/modules/s3.py
salt/modules/saltutil.py
salt/modules/zypper.py
salt/spm/__init__.py
salt/utils/aws.py
salt/utils/s3.py
tests/unit/modules/s3_test.py
tests/unit/pydsl_test.py
2015-12-01 15:31:03 -07:00
Z. Liu
a1250a9729
check service enable state in test mode
2015-12-01 15:02:00 +08:00
Andreas Lutro
9193676f9c
fix ssh_auth_test
...
there were 4 side_effect return values, when it should only return 2
times - 2 of the 4 states.ssh_auth.absent calls are done with test=True
test=True and should therefore not call modules.ssh.rm_auth_key
2015-11-30 20:13:52 +01:00
Stephen Woodrow
c695a57ba9
Fix tests.
2015-11-24 18:09:12 -08:00
Colton Myers
28b40de8da
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/client/ssh/__init__.py
salt/client/ssh/ssh_py_shim.py
salt/cloud/clouds/ec2.py
salt/cloud/clouds/vmware.py
salt/grains/philips_hue.py
salt/modules/boto_ec2.py
salt/modules/boto_route53.py
salt/modules/dracr.py
salt/modules/philips_hue.py
salt/proxy/philips_hue.py
salt/states/virtualenv_mod.py
2015-11-24 16:07:31 -07:00
Nicolas Delaby
e98d18ba41
Expose docker networking as state
2015-11-24 13:55:22 +01:00
Mark McGuire
f0a60b33e2
Use changes in #28926
2015-11-17 10:54:19 -06:00
Mike Place
27b917b623
Adjust tests for new loader spec
2015-11-16 12:23:05 -07:00
Colton Myers
efb479a1bd
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
doc/topics/cloud/vmware.rst
salt/cloud/clouds/vmware.py
salt/grains/chronos.py
salt/grains/marathon.py
salt/loader.py
salt/modules/chronos.py
salt/modules/marathon.py
salt/proxy/chronos.py
salt/proxy/marathon.py
salt/state.py
salt/states/chronos_job.py
salt/states/marathon_app.py
salt/states/user.py
salt/utils/schedule.py
2015-11-13 15:18:45 -07:00
twangboy
c0cf33332c
Fixed some Lint...
2015-11-11 14:27:06 -07:00
Justin Findlay
bc7e0cfe64
add file.symlink unit tests
2015-11-11 13:37:47 -07:00
Justin Findlay
9381dc7215
orthogonalize file.symlink unit tests
2015-11-11 13:37:18 -07:00
rallytime
e2b0fee57e
Don't change perms list, only existing perms should be a dictionary.
...
Refs #28269
2015-11-11 12:31:51 -07:00
rallytime
7601647d69
Revert "rabbitmq.list_user_permissions returns a dict, not a list. Don't expect a list."
...
This reverts commit 07482211eb
.
2015-11-11 12:23:17 -07:00
rallytime
07482211eb
rabbitmq.list_user_permissions returns a dict, not a list. Don't expect a list.
...
Refs #28269
2015-11-11 09:45:35 -07:00
Justin Findlay
8524281f4e
update kmod exec and state module unit tests
2015-11-07 16:04:23 -07:00
Mike Place
81396927f8
Merge pull request #28605 from zigarn/a2xxconf
...
Improvements on Debian-style apache utilities a2(en|dis)(mode|site|conf)
2015-11-05 15:18:28 -07:00
Alexandre Garnier
f505b51ab1
Add module and state wrappers on a2enconf
/a2disconf
2015-11-05 19:07:14 +01:00
Alexandre Garnier
2e6cf66d80
Add apache_site
state (like apache_module
)
...
Allow to enable/disable Debian-style sites with `a2ensite`/`a2dissite`.
2015-11-05 17:52:42 +01:00
Mike Place
5293150d25
Fix tests
2015-11-05 08:29:55 -07:00
Jiri Kotlin
eb19140cc5
INI test compliancy - modified ini_manage_test.py
2015-11-05 13:49:05 +00:00
Colton Myers
32969b2408
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
doc/topics/cloud/digitalocean.rst
salt/cloud/clouds/digital_ocean.py
salt/cloud/clouds/linode.py
salt/loader.py
salt/modules/blockdev.py
salt/modules/boto_route53.py
salt/modules/boto_vpc.py
salt/modules/bsd_shadow.py
salt/modules/file.py
salt/modules/rabbitmq.py
salt/modules/schedule.py
salt/modules/win_network.py
salt/runners/state.py
salt/spm/__init__.py
tests/unit/modules/blockdev_test.py
2015-11-02 18:19:01 -07:00
twangboy
7d39091c91
Fixed some more lint
2015-11-02 16:51:16 -07:00
twangboy
3dbd62af2c
Fixed some tests... hopefully
2015-11-02 16:13:07 -07:00
Christophe Drevet-Droguet
eee2318873
grains state: allow deleting grain with 'False' value
...
and destroy a grain previously set to None, with destructive=True:
The f46722aaeb
commit, from Bruno Binet <bruno.binet@gmail.com> was
effectively reverted during my work on nested and complex values support.
This commit get it back, plus the ability to destroy a existing grain that
was previously set to None, plus tests for these.
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
576252da05
grains state: list_present, list_absent support nested grain
...
... and custom delimiter
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
62a1f37d86
grains state: nested support for grains.append
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
c19cff517a
grains state: more tests
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
cc844e4a2c
grains state tests: test the grain file content as well
...
It may be overkill, but I'm nervous about this change and
I don't want to mess with the grain file of a lot of people
2015-11-02 09:31:44 -05:00