Merge pull request #30589 from terminalmage/2015.5-2015.8

Merge 2015.5 into 2015.8
This commit is contained in:
Nicole Thomas 2016-01-25 09:20:41 -07:00
commit a7ba2df5e2
14 changed files with 22 additions and 18 deletions

View File

@ -406,7 +406,7 @@ epub_publisher = epub_author
epub_copyright = copyright
epub_scheme = 'URL'
epub_identifier = 'http://saltstack.org/'
epub_identifier = 'http://saltstack.com/'
#epub_tocdepth = 3

View File

@ -0,0 +1,5 @@
==========================================
Salt 2015.5.10 Release Notes (In Progress)
==========================================
In progress, not yet released.

View File

@ -71,7 +71,7 @@ ensures that the server has the Apache webserver installed.
.. note::
For a complete explanation on Salt States, see the `tutorial
<http://docs.saltstack.org/en/latest/topics/tutorials/states_pt1.html>`_.
<http://docs.saltstack.com/en/latest/topics/tutorials/states_pt1.html>`_.
1. Create the ``top.sls`` file:

View File

@ -56,7 +56,7 @@
<documentation>
<doc_link name="SaltStack Documentation"
uri="http://docs.saltstack.org"/>
uri="http://docs.saltstack.com"/>
</documentation>
</template>
</service>

View File

@ -56,7 +56,7 @@
<documentation>
<doc_link name="SaltStack Documentation"
uri="http://docs.saltstack.org"/>
uri="http://docs.saltstack.com"/>
</documentation>
</template>
</service>

View File

@ -56,7 +56,7 @@
<documentation>
<doc_link name="SaltStack Documentation"
uri="http://docs.saltstack.org"/>
uri="http://docs.saltstack.com"/>
</documentation>
</template>
</service>

View File

@ -62,7 +62,7 @@
<documentation>
<doc_link name="SaltStack Documentation"
uri="http://docs.saltstack.org"/>
uri="http://docs.saltstack.com"/>
</documentation>
</template>
</service>

View File

@ -67,7 +67,7 @@
<documentation>
<doc_link name="SaltStack Documentation"
uri="http://docs.saltstack.org"/>
uri="http://docs.saltstack.com"/>
</documentation>
</template>
</service>

View File

@ -62,7 +62,7 @@
<documentation>
<doc_link name="SaltStack Documentation"
uri="http://docs.saltstack.org"/>
uri="http://docs.saltstack.com"/>
</documentation>
</template>
</service>

View File

@ -61,7 +61,7 @@
<documentation>
<doc_link name="SaltStack Documentation"
uri="http://docs.saltstack.org"/>
uri="http://docs.saltstack.com"/>
</documentation>
</template>
</service>

View File

@ -61,7 +61,7 @@
<documentation>
<doc_link name="SaltStack Documentation"
uri="http://docs.saltstack.org"/>
uri="http://docs.saltstack.com"/>
</documentation>
</template>
</service>

View File

@ -61,7 +61,7 @@
<documentation>
<doc_link name="SaltStack Documentation"
uri="http://docs.saltstack.org"/>
uri="http://docs.saltstack.com"/>
</documentation>
</template>
</service>

View File

@ -844,7 +844,7 @@ def check_db(*names, **kwargs):
salt '*' pkg.check_db <package1> <package2> <package3> fromrepo=epel-testing
salt '*' pkg.check_db <package1> <package2> <package3> disableexcludes=main
'''
normalize = kwargs.pop('normalize') if kwargs.get('normalize') else False
normalize = kwargs.pop('normalize', True)
repo_arg = _get_repo_options(repoquery=True, **kwargs)
exclude_arg = _get_excludes_option(repoquery=True, **kwargs)
@ -875,14 +875,13 @@ def check_db(*names, **kwargs):
__context__['pkg._avail'] = avail
ret = {}
if names:
repoquery_cmd = repoquery_base + ' {0}'.format(" ".join(names))
provides = sorted(
set(x.name for x in _repoquery_pkginfo(repoquery_cmd))
)
for name in names:
ret.setdefault(name, {})['found'] = name in avail
if not ret[name]['found']:
repoquery_cmd = '{0} {1}'.format(repoquery_base, name)
provides = sorted(
set(x.name for x in _repoquery_pkginfo(repoquery_cmd))
)
if name in provides:
# Package was not in avail but was found by the repoquery_cmd
ret[name]['found'] = True

View File

@ -110,7 +110,7 @@ class OptionParser(optparse.OptionParser, object):
usage = '%prog'
epilog = ('You can find additional help about %prog issuing "man %prog" '
'or on http://docs.saltstack.org')
'or on http://docs.saltstack.com')
description = None
# Private attributes