Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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