Commit Graph

70752 Commits

Author SHA1 Message Date
Joseph Hall
fb3f05dfd7 Update dependency docs for SPM (#34385)
* Update dependency docs for SPM

* Typo
2016-06-30 11:12:26 -04:00
Tom Williams
c047b8ced5 INFRA-1590 - modules/boto_asg - add get_all_groups() and list_groups() functions (#34370) 2016-06-30 11:03:31 -04:00
Alejandro del Castillo
e377c94a90 network_settings.py: fix documentation (#34378)
Module documentation is showing an incorrect config example since it's
omitting the network_settings identifier.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-06-30 10:36:59 -04:00
Joseph Hall
4909121293 Update SPM configuration params to be SPM-specific (#34375) 2016-06-30 10:33:11 -04: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
Mike Place
5d4759acec Merge pull request #34356 from rallytime/python3-runner-tests
Fix invalid syntax error in system.py module exception handling
2016-06-29 07:49:18 -07:00
Mike Place
8d1856d7f3 Merge pull request #34361 from FerrySchuller/patch-3
Send traps to Zabbix when there is a comment and name in result.
2016-06-29 07:43:38 -07:00
Mike Place
72c5173dd3 Merge pull request #34357 from rallytime/merge-develop
[develop] Merge forward from 2016.3 to develop
2016-06-29 07:40:48 -07:00
Ferry Schuller
a2530cc35a Send traps to Zabbix when there is a comment and name in result.
ret['return'] not always contain 'comment', and 'name' values, Check is added.
2016-06-29 09:55:02 +02: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
Nicole Thomas
c89d1ad27f Merge pull request #34348 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-06-28 19:28:45 -04:00
rallytime
4c481054eb Fix invalid syntax error in system.py module exception handling
Found when running runner tests for Python 3
2016-06-28 17:22:10 -06:00
rallytime
c87a108a12 Don't forget the pylint disables for range 2016-06-28 16:52:37 -06:00
Nicole Thomas
a9ea3444ad Back-port #34256 to 2016.3 (#34343)
* detect running from master in State.event method

This changes `State.event` to detect whether the state that invoked `fire_event` is running on the master. This fixes an issue where the `fire_event` requisite doesn't work when being used in orchestration states.

* fix linting issues
2016-06-28 18:08:48 -04:00
rallytime
359e8ca2ce Pylint fixes 2016-06-28 16:04:47 -06:00
Thomas S Hatch
0b9cb602fe Merge pull request #34338 from themalkolm/patch-2
Add listen/listen_in support to stateconf.py
2016-06-28 15:50:14 -06:00
rallytime
f9ab8ba46d Merge branch '2015.8' into '2016.3'
No conflicts.
2016-06-28 14:26:24 -06:00
Erik Johnson
f6bd1ad47e Revert py3modernize lint changes (#34339)
* salt/__init__.py: revert py3modernize lint changes

* salt/cloud/clouds/vmware.py: revert py3modernize lint changes

* salt/modules/jboss7_cli.py: revert py3modernize lint changes

* salt/payload.py: revert py3modernize lint changes

* salt/serializers/yamlex.py: revert py3modernize lint changes

* salt/states/win_servermanager.py: use absolute imports

* salt/utils/args.py: revert py3modernize lint changes

* salt/utils/decorators/__init__.py: use __name__ instead of func_name

__name__ is py3-compatible and also works on builtins in py2, which
func_name does not.

* salt/utils/compat.py: revert py3modernize lint changes

* salt/utils/__init__.py: revert py3modernize lint changes

* salt/version.py: revert py3modernize lint changes

* tests/salt-tcpdump.py: revert py3modernize lint changes
2016-06-28 16:04:02 -04:00
Mike Place
80a659bb51 Merge pull request #34283 from sjorge/2016.3-mount-fstab
2016.3 mount vfstab support
2016-06-28 12:23:39 -07:00
Mike Place
4feea285d4 Merge pull request #34248 from anderbubble/bugfix/find-depth
Correct handling of min/maxdepth during file.find (#34217)
2016-06-28 12:19:18 -07:00
Mike Place
dfa29a8325 Merge pull request #34277 from bodhi-space/develop
Several new boto_* functions and a couple of bugfixes
2016-06-28 12:09:19 -07:00
Mike Place
75aad073a9 Merge pull request #34322 from Ch3LL/add_grains_majorrelease_test
add osmajorrelease grain for raspbian
2016-06-28 12:08:39 -07:00
Mike Place
046bdaa9f2 Merge pull request #34306 from ghedo/iptables_flush_table
Fix iptables.flush state: Do not force 'filter' table when flushing
2016-06-28 12:03:14 -07:00
Mike Place
31de61eca3 Merge pull request #34256 from tmehlinger/master-fire-event-orchestration
detect running from master in State.event method
2016-06-28 12:01:20 -07:00
Mike Place
cd35e73ef6 Merge pull request #34326 from Inveracity/add-feature-mongodb-events
feature mongodb return events
2016-06-28 11:43:15 -07:00
Mike Place
81547f413d Merge pull request #34337 from clinta/serialize-merge
Change merge-if-exists logic to properly report changes
2016-06-28 11:41:56 -07:00
Mike Place
affc65dc79 Merge pull request #34300 from vutny/fix-apache-vhost-options
Make apache.configfile state handle the Options list correctly
2016-06-28 11:34:45 -07:00
Mike Place
421c5bfe8b Merge pull request #34316 from edgan/salt-ssh-retcode
Making salt-ssh pass proper return codes for jinja rendering errors
2016-06-28 11:32:20 -07:00
Alexander Krasnukhin
cd63541325 Add listen/listen_in support to stateconf.py
Add `listen/listen_in` everywhere where `watch/watch_in` is used.
2016-06-28 19:11:54 +02:00
Clint Armstrong
ebe7def2fb Change merge-if-exists logic to properly report changes 2016-06-28 12:55:27 -04:00
Mike Place
e81bd6ee94 Test custom grains matcher (#34324)
* Add test to match against custom grains

* Lint

* Forgot to add custom grain
2016-06-28 12:17:14 -04:00
jacobhammons
0c60feac02 Doc clarifications to file modules, addition of new profile log level to docs, fixed example in dnsmasq (#34323)
Refs #34249
Refs #34261
Refs #33694
Refs #34247
2016-06-28 12:03:59 -04:00
Nicole Thomas
af83f59313 version checking had a logical error (#34333)
The current version of rabbitmq, 3.6.2 was not matched
2016-06-28 11:51:36 -04:00
Clint Armstrong
53de70f658 fix #34329 (#34330) 2016-06-28 11:40:40 -04:00
Erik Johnson
b793426c23 Remove unnecessarily-disabled sanity check (#34325)
This was commented out for reasons having nothing to do with anything
else going on in 0c069dd. Uncommenting this sanity check so that we are
notified if we need to update our targets in the future.
2016-06-28 11:12:55 -04:00
Nicole Thomas
c5890a0eca Merge pull request #34335 from rallytime/merge-2015.8
[2015.8] Merge forward from 2015.5 to 2015.8
2016-06-28 11:07:15 -04:00
rallytime
2296587536 Merge branch '2015.5' into '2015.8'
No conflicts.
2016-06-28 09:04:56 -06: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
Christopher Baklid
510d2eda15 git client crashed during first commit 2016-06-28 10:27:13 +02:00
Christopher Baklid
d3f12af4fb adding events to mongodb future returner
tested with pymongo 3.2
and mongodb 3.2.7
2016-06-28 10:20:42 +02:00
Ch3LL
693cc61aa4 add osmajorrelease to ubuntu and fix pylint 2016-06-27 16:32:21 -06:00
Nicole Thomas
76c8bb0d1c Use correct feature branch name (#34317) 2016-06-27 18:26:19 -04:00
Nicole Thomas
e168b05a87 Fix psutil.cpu_times unpack error (#34318) 2016-06-27 18:25:58 -04:00
Nicole Thomas
a6d3cc637b Typo in dockerio doc (#34319) 2016-06-27 18:25:19 -04:00
Ch3LL
2fc3e8a54b add osmajorrelease grain for raspbian 2016-06-27 14:45:09 -06:00
Nathan Grennan
06ca903178 Making salt-ssh pass proper return codes for jinja rendering errors 2016-06-27 12:42:55 -07:00
Nicole Thomas
6cce545d92 Merge pull request #34313 from rallytime/bootstrap-2015.5
[2015.5] Update to latest bootstrap script v2016.06.27
2016-06-27 15:00:08 -04:00
Nicole Thomas
dd4c937009 Merge pull request #34312 from rallytime/bootstrap-2015.8
[2015.8] Update to latest bootstrap script v2016.06.27
2016-06-27 14:59:59 -04:00
Nicole Thomas
1398b1c51e Merge pull request #34311 from rallytime/bootstrap-2016.3
[2016.3] Update to latest bootstrap script v2016.06.27
2016-06-27 14:59:27 -04:00
Nicole Thomas
3d6f58f63b Merge pull request #34310 from rallytime/bootstrap-develop
[develop] Update to latest bootstrap script v2016.06.27
2016-06-27 14:59:19 -04:00