16.45. cdist-type__docker_swarm(7)

16.45.1. NAME

cdist-type__docker_swarm - Manage Swarm

16.45.2. DESCRIPTION

This type can initialize Docker swarm mode. For more information about swarm mode, see Swarm mode overview.

16.45.3. OPTIONAL PARAMETERS

state

'present' or 'absent', defaults to 'present' where:

present

Swarm is initialized

absent

Swarm is left

16.45.4. EXAMPLES

# Initializes a swarm
__docker_swarm

# Leaves a swarm
__docker_swarm --state absent

16.45.5. AUTHORS

Ľubomír Kučera <lubomir.kucera.jr at gmail.com>

16.45.6. COPYING

Copyright (C) 2018 Ľubomír Kučera. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.