예제 #1
0
def add_runtime(tm_env, manifest):
    """Adds linux (docker) runtime specific details to the manifest.
    """
    _transform_services(manifest)

    app_manifest.add_linux_system_services(tm_env, manifest)
    app_manifest.add_linux_services(manifest)
예제 #2
0
def add_runtime(tm_env, manifest):
    """Adds linux runtime specific details to the manifest.
    And add docker runtime specific details to the manifest
    """
    _transform_services(manifest)

    app_manifest.add_linux_system_services(tm_env, manifest)
    app_manifest.add_linux_services(manifest)
    _add_dockerd_services(manifest, tm_env)
예제 #3
0
def add_runtime(tm_env, manifest):
    """Adds linux runtime specific details to the manifest.
    And add docker runtime specific details to the manifest
    """
    dockers = _transform_services(manifest)

    app_manifest.add_linux_system_services(tm_env, manifest)
    app_manifest.add_linux_services(manifest)

    if dockers:
        _add_dockerd_services(manifest, tm_env)
        manifest['docker'] = True
    else:
        manifest['docker'] = False