Nicole Thomas
96b8c1fe82
Merge pull request #26428 from cro/pm_20158_2
...
Update docs to reflect new pillar structure
2015-08-18 09:32:23 -06:00
scottjpack
0254a2e90e
Changed t1 -> t2 micro
...
t1.micro no longer supports HVM AMIs. Attempted launch with a t1.micro results in:
[ERROR ] AWS Response Status Code and Error: [400 400 Client Error: Bad Request] {'Errors': {'Error': {'Message': "Non-Windows instances with a virtualization type of 'hvm' are currently not supported for this instance type.", 'Code': 'InvalidParameterCombination'}}, 'RequestID': 'd8d20595-0a17-42ad-9f9a-41cbd009098d'}
2015-08-18 09:22:57 -06:00
rallytime
2ba97316c9
List public and private ips under the correct label
...
Fixes #26426
2015-08-18 09:19:26 -06:00
Mike Place
983619f1f6
Merge pull request #26429 from cachedout/tcp_freebsd_warn
...
Add release note regarding tcp transport on freebsd
2015-08-18 09:06:47 -06:00
Mike Place
fa88b7d35c
Add release note regarding tcp transport on freebsd
...
Refs #26364
2015-08-18 09:06:13 -06:00
C. R. Oldham
b5a4a53062
Update documentation to reflect new pillar structure.
2015-08-18 09:03:23 -06:00
Mike Place
53d4739fa3
Merge pull request #26418 from driskell/fix_discarded_events_2015.8
...
Fix forward-merged caching from 2015.5 into 2015.8 to be compatible with the new match_func
2015-08-18 08:59:16 -06:00
Mike Place
9fa82ba0b7
Fix test
2015-08-18 08:51:00 -06:00
Andreas Lutro
a8bb0c40b1
if no rev, set remote_rev to HEAD
2015-08-18 16:48:57 +02:00
Andreas Lutro
2f55d60293
git.latest: add test for no rev
...
technically, rename existing test and add a new simpler test with the
old name.
2015-08-18 16:38:24 +02:00
Andreas Lutro
5fa86fee0a
set remote_rev to None earlier if rev is None
...
this prevents errors later on when trying to concatenate rev with a
string. cannot concatenate NoneType and str
2015-08-18 16:33:15 +02:00
Mike Place
284e1b9342
Merge pull request #26252 from DSRCompany/issues/24048_http_client_2015.8
...
Issues/24048 http client 2015.8
2015-08-18 08:19:45 -06:00
Mike Place
a3b32bbc9e
Merge pull request #26413 from evverx/fix-start-restart-reload-and-force-reload
...
Fix service.{start,restart,reload,force-reload} for masked services
2015-08-18 08:16:15 -06:00
Mike Place
e5309df170
Merge pull request #26393 from dmurphy18/dgm_envfix
...
Added option parameters to make_repo to allow for configuration settings
2015-08-18 08:14:57 -06:00
Mike Place
afec85caff
Merge pull request #26422 from TheBigBear/patch-9
...
no dots in SLS filename __AND__ any directories (incl git repos)
2015-08-18 08:09:15 -06:00
Mike Place
aae52d901d
Merge pull request #26323 from 0xf10e/fix_glance_mod_cred
...
Fix Credentials used in `glance` Exec Module
2015-08-18 08:03:37 -06:00
Mike Place
55cd5f5ab6
Merge pull request #26341 from terminalmage/git-refactor
...
Rewrite git state and execution modules
2015-08-18 08:02:28 -06:00
Mike Place
952da7abaf
Merge pull request #26378 from stanislavb/2015.5
...
Fix EC2 credentials from IAM roles for s3fs and s3 ext_pillar in 2015.5
2015-08-18 08:01:53 -06:00
Mike Place
871933076b
Merge pull request #26419 from terminalmage/issue26245
...
Only use pygit2.errors if it exists
2015-08-18 08:00:36 -06:00
Mike Place
09e96dce39
Merge pull request #26420 from terminalmage/issue26245-2015.5
...
Only use pygit2.errors if it exists (2015.5 branch)
2015-08-18 08:00:01 -06:00
Mike Place
ba56111e9b
Merge pull request #26423 from eliasp/patch-1
...
doc - Correct function name for peer configuration
2015-08-18 07:59:41 -06:00
Jason Woods
63b195987e
Fix forward-merged caching from 2015.5 into 2015.8 to be compatible with the new match_func
2015-08-18 14:37:23 +01:00
Elias Probst
7be153119b
doc - Correct function name for peer configuration
...
The current doc text referenced a state module function, not an execution module function.
Correct this and make it consistent with the YAML example below.
2015-08-18 14:13:21 +02:00
TheBigBear
b5e73f033d
no dots in SLS filename __AND__ any directories (incl git repos)
...
also see https://github.com/saltstack/salt/issues/26264 and https://github.com/saltstack/salt/issues/26158
2015-08-18 12:31:49 +01:00
Dmitry Kuzmenko
4a6e7a592a
Use default values if not in opts
2015-08-18 13:46:27 +03:00
Erik Johnson
b7447fcadb
Fix git.clone tests to reflect new return data
2015-08-18 03:39:27 -05:00
Erik Johnson
19a1149067
Only use pygit2.errors if it exists (2015.5 branch)
...
pygit2 0.20.3 is the only supported pygit2 for gitfs which doesn't have
this errors submodule. We need to account for it not being there.
Fixes #26245 for the 2015.5 branch
2015-08-18 03:29:52 -05:00
Erik Johnson
e2efa1472d
Only use pygit2.errors if it exists
...
pygit2 0.20.3 is the only supported pygit2 for gitfs which doesn't have
this errors submodule. We need to account for it not being there.
Fixes #26245 for 2015.8 branch and forward.
2015-08-18 03:25:45 -05:00
Erik Johnson
70f5b9f03e
Change return data from git.clone
...
The behavior is too different between different versions of git.
Older versions send status updates to stdout only, newer versions send
some data to stdout, some to stderr. For consistency's sake, just return
a boolean for this function.
2015-08-18 02:56:35 -05:00
Erik Johnson
8dc8eb4b41
Fix test_add_dir
...
Paths in the expected output needed to be relative, not full
2015-08-18 02:40:25 -05:00
Erik Johnson
7c9f2027f6
Remove usage of os.chdir except in setUp
...
Additionally, take measures to ensure that we chdir back to the original
cwd at the conclusion of the test.
A redundant test has also been removed, was likely a stray copypasta.
2015-08-18 02:15:21 -05:00
Stanislav Blokhin
39ce3127cd
Let utils.aws query instance metadata
...
s3fs fileserver and s3 pillar backend both use utils.aws to query
Amazon S3 API. This change avoids setting hard-coded fallback values
and rather forwards None values of key and keyid so that
utils.aws can make the fallback decision.
Fallback features:
* pillar.s3.ext_pillar() allows key and keyid to be empty
* utils.s3.query() does not use utils.iam anymore to retrieve
credentials from EC2 instance meta-data
* utils.s3.query() falls back on setting empty key & keyid to magical
value from utils.aws.IROLE_CODE to let utils.aws.sig4() fill in
credentials from EC2 meta-data.
utils.aws features:
X-Amz-Security-Token header, which is necessary when using temporary
credentials from IAM roles, now properly signed.
2015-08-18 08:58:16 +02:00
Erik Johnson
dd9bcc896e
Lint fixes
2015-08-17 22:10:39 -05:00
Erik Johnson
88aca43eda
Fix mismatched verb tense in test=True comments
2015-08-17 22:10:39 -05:00
Erik Johnson
cc8a5b181e
Remove unit tests for git states
...
These need to be completely rewritten
2015-08-17 22:10:39 -05:00
Erik Johnson
294aad298e
Add proper tests for git execution module
2015-08-17 22:10:39 -05:00
Erik Johnson
520127207a
Fixes to git state module made during writing tests
2015-08-17 22:10:39 -05:00
Erik Johnson
8e8e947f99
Fixes to git execution module made during writing tests
2015-08-17 22:10:38 -05:00
Erik Johnson
cfe87b7167
Fixes for git.checkout, git.clone found while writing tests
2015-08-17 22:10:38 -05:00
Erik Johnson
7b20948bdb
Fix missing trailing slash in basename
2015-08-17 22:10:38 -05:00
Erik Johnson
240c026401
Also alphabetize organization of helper funcs
2015-08-17 22:10:38 -05:00
Erik Johnson
d5f62c01c9
Sort functions in git execution module alphabetically
...
There are a ton of functions, this change will help keep things more
organized as we build out integration test support.
2015-08-17 22:10:38 -05:00
Erik Johnson
94941fbed1
Remove git unit tests
...
These tests are useless, they assert true results while mocking
cmd.run_all to always return True with retcode 0. Nothing but a waste of
CPU cycles.
2015-08-17 22:10:33 -05:00
Evgeny Vereshchagin
31ac42cac3
Fix service.{start,restart,reload,force-reload} for masked services
2015-08-18 00:57:52 +00:00
Colton Myers
c5eb6bbd3e
Merge pull request #26409 from basepi/merge-forward-2015.5
...
[2015.5] Merge forward from 2014.7 to 2015.5
2015-08-17 17:19:56 -06:00
Colton Myers
d3d0e004d9
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
salt/minion.py
salt/modules/gpg.py
salt/modules/keystone.py
salt/modules/pw_user.py
salt/states/reg.py
setup.py
2015-08-17 16:54:16 -06:00
Erik Johnson
dbf48d91ad
Fix a couple more tracebacks
2015-08-17 17:29:14 -05:00
Erik Johnson
21305e7719
Don't check local rev/branch until after we know the target dir exists
...
Also made lint fixes.
2015-08-17 17:29:14 -05:00
Erik Johnson
afa435b0a4
Lint fixes
2015-08-17 17:29:14 -05:00
Erik Johnson
5d166ba5d7
Add several more functions to git execution module
...
This adds merge_base, merge_tree, config_unset, config_get_regexp, and
makes a couple misc fixes.
2015-08-17 17:29:14 -05:00