14.38. cdist-type__docker_swarm(7)¶
14.38.1. NAME¶
cdist-type__docker_swarm - Manage Swarm
14.38.2. DESCRIPTION¶
This type can initialize Docker swarm mode. For more information about swarm mode, see Swarm mode overview.
14.38.3. OPTIONAL PARAMETERS¶
- state
'present' or 'absent', defaults to 'present' where:
- present
- Swarm is initialized
- absent
- Swarm is left
14.38.4. EXAMPLES¶
# Initalizes a swarm
__docker_swarm
# Leaves a swarm
__docker_swarm --state absent
14.38.5. AUTHORS¶
Ľubomír Kučera <lubomir.kucera.jr at gmail.com>
14.38.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.