Merge branch '2016.11' into 'develop'

Conflicts:
  - .mention-bot
This commit is contained in:
rallytime 2017-03-17 14:31:37 -06:00
commit acbb214efe
5 changed files with 12 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{
"skipTitle": "Merge forward",
"userBlacklist": ["cvrebert", "markusgattol"]
"userBlacklist": ["cvrebert", "markusgattol", "olliewalsh"]
}

View File

@ -541,7 +541,7 @@ class MinionBase(object):
for master in opts['local_masters']:
opts['master'] = master
opts.update(prep_ip_port(opts))
opts['master_uri_list'].append(resolve_dns(opts)['master_uri'])
opts['master_uri_list'].append(resolve_dns(opts, connect=False)['master_uri'])
while True:
if attempts != 0:

View File

@ -276,10 +276,10 @@ def create(name, allocated_storage, db_instance_class, engine,
kwargs = {}
boto_params = set(boto3_param_map.keys())
keys = set(locals().keys())
for key in keys.intersection(boto_params):
val = locals()[key]
for param_key in keys.intersection(boto_params):
val = locals()[param_key]
if val is not None:
mapped = boto3_param_map[key]
mapped = boto3_param_map[param_key]
kwargs[mapped[0]] = mapped[1](val)
taglist = _tag_doc(tags)

View File

@ -6125,6 +6125,12 @@ def get_client_args():
.. _`low-level API`: http://docker-py.readthedocs.io/en/stable/api.html
salt myminion docker.get_client_args
CLI Example:
.. code-block:: bash
salt myminion docker.get_client_args
'''
try:
config_args = _argspec(docker.types.ContainerConfig.__init__).args

View File

@ -783,6 +783,7 @@ def dns_check(addr, port, safe=False, ipv6=None, connect=True):
if not connect:
resolved = candidate_addr
break
s = socket.socket(h[0], socket.SOCK_STREAM)
try: