Commit Graph

67775 Commits

Author SHA1 Message Date
Nicole Thomas
298e0453b8 Merge pull request #32072 from nmadhok/patch-2
Update salt.cloud.clouds.vmware.rst
2016-03-23 08:43:25 -06:00
Nitin Madhok
8e319ea52d Update salt.cloud.clouds.vmware.rst 2016-03-22 22:11:15 -04:00
Nicole Thomas
98445e5590 Merge pull request #32058 from lyft/kms-paging
Add paging for kms grants
2016-03-22 15:38:54 -06:00
Nicole Thomas
9216e303e1 Merge pull request #31961 from kraney/kraney_bugfix
Make sure there are no connection object cache hits on boto_* unit te…
2016-03-22 14:38:46 -06:00
Ryan Lane
32a2eb6cd1 Add paging for kms grants 2016-03-22 11:33:29 -07:00
Mike Place
b8e300e977 Merge pull request #32054 from basepi/fix_pr_template
Tweak the pull request and issue templates
2016-03-22 11:35:18 -06:00
Colton Myers
ea7c753333 Tweak the pull request and issue templates
The most "important" change here is to remove the checkboxes for
"Tests Written" on the pull request template. Because they're checkboxes
rather than radio buttons, no matter which one you checked it would show
"1/2 complete" for any references to that PR in other issues.
2016-03-22 11:32:07 -06:00
Mike Place
afd3e51b77 Merge pull request #32029 from rallytime/github-module
Make sure we get the page number from the link header appropriately
2016-03-22 10:03:29 -06:00
Mike Place
4fb722e088 Merge pull request #32045 from alprs/fix-kapacitor2
Improve Kapacitor state/module
2016-03-22 09:43:01 -06:00
Andreas Lutro
9a94019aad deleting tasks can fail as well 2016-03-22 15:30:14 +01:00
Andreas Lutro
46018e4535 update kapacitor tests 2016-03-22 15:10:46 +01:00
Andreas Lutro
c459557992 kapacitor module + state improvements
- return a dict of data from the module functions
- use that dict data to give better messages when something goes wrong
  in the state functions
2016-03-22 15:10:13 +01:00
Andreas Lutro
ddc499b57b use http status code to detect "task not found" 2016-03-22 15:10:13 +01:00
Kris Raney
b4889024c5 Merge branch 'develop' into kraney_bugfix 2016-03-22 09:05:58 -05:00
Mike Place
5096d33bc3 Merge pull request #31887 from iamseth/develop
Add next gen win_servermanager execution and state modules for newer Windows minions
2016-03-21 15:47:52 -06:00
Mike Place
e3ac930c74 Merge pull request #31942 from Oro/saltutil-abort_all_jobs
Added term_all_jobs and kill_all_jobs to saltutil module
2016-03-21 15:12:49 -06:00
Mike Place
2f808d8762 Merge pull request #32005 from Ashald/bugfix/netapi-runner-client-kwargs-yamlify
Bugfix: `RunnerClient` keyword argument values processing
2016-03-21 15:10:47 -06:00
rallytime
0af21ed184 Make sure we get the page number from the link header appropriately 2016-03-21 15:01:47 -06:00
Mike Place
aead3946ab Merge pull request #31949 from mephi42/develop
Do not fail service.{running,dead} if $(runlevel) = 'unknown'
2016-03-21 14:27:08 -06:00
Mike Place
97ef22993f Merge pull request #32024 from rallytime/github-module
Add new repo, issue, and milestone functions to github module
2016-03-21 14:15:49 -06:00
Mike Place
d0ca640e60 Merge pull request #31984 from gtmanfred/contents
allow contents_* to be lists
2016-03-21 11:56:29 -06:00
rallytime
22a98a3cc6 Add milestone functions to aid in getting milestone number 2016-03-21 11:25:11 -06:00
Nicole Thomas
44fd52d60d Merge pull request #32018 from DSRCompany/features/minionswarm_base_config
Handle -c option in minionswarm script.
2016-03-21 09:27:54 -06:00
Nicole Thomas
9045c15ba1 Merge pull request #31995 from grichmond-salt/aws_improvements
Add support for ap-northeast-2 and us-gov-west-1 regions in AWS
2016-03-21 09:12:47 -06:00
Nicole Thomas
836fbe3e4b Merge pull request #32012 from jfray/duplicate_documentation_for_win_deploy_timeouts
There were two identical blocks concerning Windows Deploy Timeouts. This
2016-03-21 09:05:43 -06:00
Dmitry Kuzmenko
88e8106b00 Handle -c option in minionswarm script.
There is a '-c' option that says: pass in an alt. conf. dir.
But this option isn't used in the minionswarm. I found it very useful to
use it to specify a path to the base salt configuration that would be
updated with the minionswarm specific needs (different ports, paths
etc.) keeping other parameters like alive intervals, timeouts, mine
options and so on.
2016-03-21 16:13:43 +03:00
Josh Fraser
718d6bde11 There were two identical blocks concerning Windows Deploy Timeouts. This
pull request removes the extra block of text.
2016-03-20 21:55:29 -07:00
Borys Pierov
1386906f02 Ensure kwargs properly parsed in RunnerClient
Apply salt.utils.args.parse_input to kwargs in low data within
RunnerClient._reformat_low before calling
salt.minion.load_args_and_kwargs according to its requirements

The salt.utils.args.parse_input is responsible for 'yamlifying' input
arguments hence missing call leads to un-parsed argument values
2016-03-19 20:13:26 -04:00
Borys Pierov
c72339f487 Yamlify kwargs values in utils.args.parse_input
Regression since 18-03-2014: 09de057f71
2016-03-19 20:13:17 -04:00
Nicole Thomas
f267b7b6ac Merge pull request #31998 from jacobhammons/mock-imports
Fixed build errors, additional mock imports, new module docs
2016-03-19 09:48:06 -06:00
Jacob Hammons
e48b84c98f Fixed build errors, additional mock imports, new module docs
Fixes #31975
2016-03-18 17:37:22 -06:00
rallytime
54ee9d8a6e Add new repo and issue functions to github module 2016-03-18 17:10:09 -06:00
rallytime
0ed4ff3bfa Refactor various helper functions into single _get_config_value function 2016-03-18 17:10:01 -06:00
Nicole Thomas
011c4d58cc Merge pull request #31996 from rallytime/merge-develop
[develop] Merge forward from 2016.3 to develop
2016-03-18 17:06:37 -06:00
rallytime
37dee42061 Pylint fixes 2016-03-18 16:27:06 -06:00
Gary Richmond
b318cc6495 Alphabetized region list; corrected curly quote 2016-03-18 16:12:02 -06:00
rallytime
52111eb01a Merge branch '2016.3' into 'develop'
Conflicts:
  - salt/cloud/clouds/joyent.py
  - salt/minion.py
2016-03-18 16:00:35 -06:00
Gary Richmond
87d6eed7e7 Add support for ap-northeast-2 and us-gov-west-1 regions in AWS 2016-03-18 15:49:32 -06:00
Nicole Thomas
e150ee9570 Merge pull request #31988 from cachedout/issue_31850
Adjust docs for saltutil.runner
2016-03-18 15:49:14 -06:00
Nicole Thomas
5d4ae071e6 Merge pull request #31985 from rallytime/merge-develop
[develop] Merge forward from 2016.3 to develop
2016-03-18 15:24:51 -06:00
rallytime
8a10b258c9 Make sure logging is correct in daemons.py for unit tests 2016-03-18 14:39:19 -06:00
Mike Place
fe86a3d209 Merge pull request #31943 from alprs/fix-salt_ssh_traceback
Salt-SSH: Prevent stacktrace from being written to the console
2016-03-18 14:31:49 -06:00
Mike Place
5e14844eef Merge pull request #31945 from alprs/fix-file_managed_diff
Fix diff never showing with file.managed state
2016-03-18 14:31:29 -06:00
Mike Place
0ce0ca9d15 Merge pull request #31962 from DSRCompany/features/intuit_failover_failback
Features/intuit failover failback
2016-03-18 14:30:55 -06:00
Mike Place
b216856783 Merge pull request #31990 from skizunov/develop2
Fix race condition with self.connected on TCP transport
2016-03-18 14:29:16 -06:00
Nicole Thomas
81583bb80c Merge pull request #31987 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-03-18 14:27:18 -06:00
rallytime
4768bfafc6 Disable boto tests that are failing on develop 2016-03-18 14:02:06 -06:00
Sergey Kizunov
fb968f58d6 Fix race condition with self.connected on TCP transport
There is a race condition that occasionally happens when using
the TCP transport. When using the TCP transport, it will fire the
`__master_connected` event before returning from tcp.py's
`AsyncTCPPubChannel.connect_callback`. What sometimes happens is
that the event handler for `__master_connected` is executed before
the control is returned to `eval_master` in master.py. If this
happens, `self.connected` is not yet defined, since `eval_master`
defines it. The event handler for `__master_connected` tries to
access the not yet defined `self.connected` and an exception occurs.

One possible solution is to use `hasattr` to check if `self.connected`
is defined before accessing it in the `__master_connected` handler.
However, I think it is cleaner just to set `self.connected = False` in
`Minion.__init__`, that way this variable will be defined in all cases
and can be relied upon.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2016-03-18 14:43:17 -05:00
rallytime
a110b4d55d Don't overwrite previously mocked grains 2016-03-18 13:29:08 -06:00
rallytime
1f9579f6e7 Pylint 2016-03-18 13:11:01 -06:00