Commit Graph

70166 Commits

Author SHA1 Message Date
Mike Place
200d9fcb6e Merge pull request #37481 from thatch45/raet_client
Raet internal client reference fix
2016-11-11 17:39:41 +13:00
Mark McGuire
a452cded20 fix __opts__ and provider being None issue 2016-11-10 21:22:33 -06:00
Mike Place
b14faf1c68 Merge pull request #37611 from jeanpralo/fix-cmd-batch-raw
Fix cmd batch raw
2016-11-11 15:53:58 +13:00
Mike Place
35c8333d04 Merge pull request #37614 from gtmanfred/2016.3
remove redundant code
2016-11-11 15:49:13 +13:00
Mike Place
4fab707bdd Merge pull request #37627 from cachedout/pr-36706
Exempt pip.iteritems from test_valid_docs test
2016-11-11 15:48:37 +13:00
Mike Place
94df2f8e6f
Exempt pip.iteritems from test_valid_docs test 2016-11-11 15:47:43 +13:00
Mike Place
ee74f3116e Merge pull request #36706 from siccrusher/fix_env_var_validation
Add basic sanity checks for env_vars in pip.install function
2016-11-11 15:47:16 +13:00
Mike Place
902a97575e Merge pull request #37626 from cachedout/issue_37491
Exit with proper retcode on hard client failures
2016-11-11 15:38:47 +13:00
Mike Place
845f835177 Merge pull request #37617 from terminalmage/git_pillar-docs
Clarify docs for git_pillar dynamic env feature
2016-11-11 14:52:52 +13:00
Jean Praloran
4f16840ef1 add integration test for salt.client.LocalClient.cmd_batch 2016-11-11 14:20:51 +13:00
Mike Place
bab9a729b1
Exit with proper retcode on hard client failures
Closes #37491
2016-11-11 14:13:29 +13:00
Mike Place
b6031524e5
Return with proper retcodes in batch mode
Check for the highest retcode received in batch mode and exit with it.

Also, an integration test for the same.

Closes #37492
2016-11-11 14:03:29 +13:00
Mike Place
fb27f8b69e Revert change
This was a totally incorrect change made by me. My fault. Apologies.
2016-11-11 12:58:39 +13:00
Mike Place
3079d78332 Merge pull request #36627 from sjmh/fix/auth_skip_nomatch
Skip rest of loop on failed func match
2016-11-11 12:47:12 +13:00
Erik Johnson
8cdf5dbb51 Clarify docs for git_pillar dynamic env feature 2016-11-10 16:41:51 -06:00
Daniel Wallace
71c2df89a9 remove redundent code 2016-11-10 16:34:21 -06:00
Mike Place
a71e7c77b3 Merge pull request #37600 from mcalmer/fix-timezone-on-SUSE
change TIMEZONE on SUSE systems (bsc#1008933)
2016-11-11 10:54:04 +13:00
Mike Place
39b75878cf Merge pull request #37602 from DSRCorporation/bugs/37238_salt_hang_on_master_restart
Handle master restart in appropriate places using `salt.event` listener.
2016-11-11 10:53:20 +13:00
Jean Praloran
ead47e4bba update ret dict to avoid hanging 2016-11-11 10:53:07 +13:00
Jean Praloran
0a2f153b6e fix dict key for raw support to avoid exception 2016-11-11 10:52:31 +13:00
Mike Place
019e1a721b Merge pull request #37608 from gtmanfred/2016.3
allow multiline returns from docker for mac
2016-11-11 10:48:59 +13:00
Erik Johnson
71032f8da5 Documentation improvements and corrections (#37604)
An earlier change (178ff08) introduced inaccurate information into the
documentation. This commit corrects that inaccuracy. It also adds some
clarifications to which SSH URL formats are supported, clarification
that the ``branch`` parameter refers to the local branch, and that
``user`` refers to the system user and not the http(s)/ssh auth user.
Lastly, some cleanup of improper RST formatting has been done.
2016-11-10 14:12:48 -07:00
Daniel Wallace
74aee1e372 allow multiline returns from docker for mac
Nothing actually specifies the number of lines the docker api returns,
so we need to allow for more than one line to be returned which this
specfic docker returner does
2016-11-10 13:08:44 -06:00
Aditya Kulkarni
a7e09f9260 Use existing VM's VDD size if not specified in the cloud profile (#37579) 2016-11-10 09:41:11 -07:00
Dmitry Kuzmenko
d3d987b19c Handle master restart in appropriate places using salt.event listener. 2016-11-10 18:07:09 +03:00
Michael Calmer
3530b542f0 change TIMEZONE on SUSE systems (bsc#1008933) 2016-11-10 11:00:50 +01:00
Denys Havrysh
44cf07fec2 Make CLI options take precedence for setting up logfile_logger 2016-11-10 10:11:56 +02:00
Mike Place
fdd13b4145 Merge pull request #37540 from yhekma/2016.3
Added prefix to tempfile for template
2016-11-10 13:37:17 +13:00
Clint Armstrong
5e80accd82 Update for m2crypto changes removing lhash (#37578)
* Update for m2crypto changes removing lhash

* linting issues
2016-11-09 13:47:26 -07:00
Clint Armstrong
928462df1d fix example of function argument limiting (#37584) 2016-11-09 13:37:18 -07:00
Erik Johnson
2810b85cac Add a test to ensure we don't check for fast-forward before fetching (#37571) 2016-11-09 12:43:25 -07:00
Denys Havrysh
61afaf1792 Fix setting option attributes when processing log_level and log_file 2016-11-09 10:51:03 +02:00
Mike Place
b01c247ea9 Merge pull request #37553 from rallytime/bp-37521
Back-port #37521 to 2016.3
2016-11-09 12:11:07 +13:00
Mike Place
694df30d40 Merge pull request #37565 from rallytime/bp-37549
Back-port #37549 to 2016.3
2016-11-09 12:10:25 +13:00
Erik Johnson
2fc0b222bc Fix regression in service.dead state (#37562)
* Fix regression in service.dead state when service is not available

This was originally broken in c4f899b.

* Add unit test for issue 37511
2016-11-08 14:58:33 -07:00
Seth House
ac754dbac5 Skip config type checking for sdb values (#37560) 2016-11-08 14:57:47 -07:00
Mrten
c92a90b8e5 Update sqlite3.py
change boron to 2016.3.0. as requested
2016-11-08 14:11:00 -07:00
Mrten
fb76557a2a sqlite is not found in 2015.8
first appearance is boron
2016-11-08 14:10:59 -07:00
Nicole Thomas
453319b50a Don't pass the vpc id to boto.vpc.create_internet_gateway func (#37556)
That function's namespace looks like this:
```
def create_internet_gateway(self, dry_run=False):
```
So when we pass in the vpc_id opbject in the test, the check later
in the function sets `dry_run=True` since the vpc_id opbject exists.

This later throws JSONResponseErrors because the `DryRun` flag is
set. This error raising functionality was added in the most recent
version of moto, which exposed this bug.

This fixes the three boto_vpc_test unit state tests. We'll see if
other tests need to be addressed in other files on a full test run.
2016-11-08 12:48:26 -07:00
Alexey Genus
30f92b05f4 refresh_pillar() should be called always 2016-11-08 09:57:35 -07:00
Jonathan Ballet
89b9417605 Documentation rendering fixes (#37543)
* doc: fix documentation rendering of salt.runners.survey

* doc: fix Sphinx documentation warnings
2016-11-08 09:42:12 -07:00
Yoram Hekma
93a59f8034 Added prefix to tempfile for template
__clean_tmp() only cleans files that have salt.utils.files.TEMPFILE_PREFIX as a prefix, which the jinja rendering didn't set. This causes the /tmp directory to fill up more with each salt run.
2016-11-08 10:48:26 +01:00
Denys Havrysh
3c60e2388e Fix processing of log_level_logfile config setting 2016-11-08 10:53:01 +02:00
Mike Place
96b8b9a849 Merge pull request #37457 from rallytime/fix-31081
Fixup file.line docs to be more clear and consistent
2016-11-08 13:29:20 +13:00
Mike Place
7de790ffed Merge pull request #37526 from twangboy/fix_35799
Remove loop from dsc.apply_config
2016-11-08 13:23:11 +13:00
Mike Place
94811df2ea Merge pull request #37534 from rallytime/bp-merge-foward-fix
Back-port fix needed from #37515
2016-11-08 13:14:46 +13:00
Mike Place
17adbb0c9f Merge pull request #37533 from whiteinge/salt-api-504-timeouts
Return a 504 response instead of 500 for Salt timeouts
2016-11-08 13:14:15 +13:00
Mike Place
a9f03eee6f Merge pull request #37529 from lorengordon/bp-36736
Backport: PR 36736 to 2016.3
2016-11-08 13:04:10 +13:00
Erik Johnson
d1b2af1d69 Add missing source_hash_name args to a couple funcs
file.check_managed and file.check_managed_changes both were missing this
new argument. This commit adds it in all places where these functions
are used.
2016-11-07 16:26:25 -07:00
Seth House
63226aeda6 Return a 504 response instead of 500 for Salt timeouts 2016-11-07 16:23:17 -07:00