Table of Contents
cdist [-h] [-d] [-v] [-V] {banner,config,shell} …
cdist banner [-h] [-d] [-v]
cdist config [-h] [-d] [-V] [-c CONF_DIR] [-i MANIFEST] [-p] [-s] host [host …]
cdist shell [-h] [-d] [-v] [-s SHELL]
cdist is the frontend executable to the cdist configuration management. cdist supports different subcommands as explained below.
All commands except the following options:
-v, --verbose: Set log level to info, be more verbose
Displays the cdist banner. Useful for printing cdist posters - a must have for every office.
Configure one or more hosts
--remote-copy REMOTE_COPY: Command to use for remote copy (should behave like scp)
--remote-exec REMOTE_EXEC: Command to use for remote execution (should behave like ssh)
This command allows you to spawn a shell that enables access to the types as commands. It can be thought as an "interactive manifest" environment. See below for example usage. Its primary use is for debugging type parameters.
# Configure ikq05.ethz.ch with debug enabled % cdist config -d ikq05.ethz.ch # Configure hosts in parallel and use a different configuration directory % cdist config -c ~/p/cdist-nutzung \ -p ikq02.ethz.ch ikq03.ethz.ch ikq04.ethz.ch # Use custom remote exec / copy commands % cdist config --remote-exec /path/to/my/remote/exec \ --remote-copy /path/to/my/remote/copy \ -p ikq02.ethz.ch ikq03.ethz.ch ikq04.ethz.ch # Display banner cdist banner # Show help % cdist --help # Show Version % cdist --version # Enter a shell that has access to emulated types % cdist shell % __git usage: __git --source SOURCE [--state STATE] [--branch BRANCH] [--group GROUP] [--owner OWNER] [--mode MODE] object_id
The following exit values shall be returned: