mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Merge branch '2016.11' into 'develop'
Conflicts: - salt/template.py - tests/unit/modules/dockerng_test.py
This commit is contained in:
commit
1792acedc0
@ -268,7 +268,7 @@ Upgrade without automatic restart
|
||||
*********************************
|
||||
|
||||
Doing the Minion upgrade seems to be a simplest state in your SLS file at
|
||||
first. But the operating systems such as Debian GNU/Linux, Ununtu and their
|
||||
first. But the operating systems such as Debian GNU/Linux, Ubuntu and their
|
||||
derivatives start the service after the package installation by default.
|
||||
To prevent this, we need to create policy layer which will prevent the Minion
|
||||
service to restart right after the upgrade:
|
||||
|
@ -41,7 +41,10 @@ class DockerTestCase(TestCase, LoaderModuleMockMixin):
|
||||
def setup_loader_modules(self):
|
||||
return {docker_mod: {'__context__': {'docker.docker_version': ''}}}
|
||||
|
||||
docker_version = docker_mod.docker.version_info
|
||||
try:
|
||||
docker_version = docker_mod.docker.version_info
|
||||
except AttributeError:
|
||||
docker_version = 0,
|
||||
|
||||
def test_ps_with_host_true(self):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user