You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
2.5 KiB
125 lines
2.5 KiB
13 years ago
|
cdist(1)
|
||
|
========
|
||
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
||
|
|
||
|
|
||
|
NAME
|
||
|
----
|
||
|
cdist - Configuration management
|
||
|
|
||
|
|
||
|
SYNOPSIS
|
||
|
--------
|
||
13 years ago
|
cdist [-h] [-V]
|
||
|
|
||
13 years ago
|
cdist banner
|
||
13 years ago
|
|
||
13 years ago
|
cdist config [-h] [-d] [-V] [-c CDIST_HOME] [-i MANIFEST] [-p] [-s] host [host ...]
|
||
|
|
||
13 years ago
|
|
||
|
|
||
|
DESCRIPTION
|
||
|
-----------
|
||
|
cdist is the frontend executable to the cdist configuration management.
|
||
13 years ago
|
cdist supports different as explained below. The options to the main
|
||
|
program are:
|
||
|
|
||
13 years ago
|
-h, --help::
|
||
|
Show the help screen
|
||
|
|
||
13 years ago
|
-V, --version::
|
||
|
Show version and exit
|
||
13 years ago
|
|
||
|
|
||
13 years ago
|
BANNER
|
||
13 years ago
|
-------
|
||
13 years ago
|
Displays the cdist banner.
|
||
|
|
||
|
|
||
|
CONFIG
|
||
|
------
|
||
|
Configure a system
|
||
|
|
||
13 years ago
|
-h, --help::
|
||
13 years ago
|
Show the help screen
|
||
13 years ago
|
|
||
13 years ago
|
-c CDIST_HOME, --cdist-home CDIST_HOME::
|
||
13 years ago
|
Instead of using the parent of the bin directory as cdist home,
|
||
|
use the specified directory
|
||
13 years ago
|
|
||
13 years ago
|
-d, --debug::
|
||
13 years ago
|
Enable debug output
|
||
13 years ago
|
|
||
13 years ago
|
-i MANIFEST, --initial-manifest MANIFEST::
|
||
13 years ago
|
Path to a cdist manifest or - to read from stdin
|
||
13 years ago
|
|
||
13 years ago
|
-p, --parallel::
|
||
13 years ago
|
Operate on multiple hosts in parallel
|
||
13 years ago
|
|
||
|
-s, --sequential::
|
||
13 years ago
|
Operate on multiple hosts sequentially
|
||
|
|
||
|
--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)
|
||
13 years ago
|
|
||
|
|
||
|
EXAMPLES
|
||
|
--------
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
# Configure ikq05.ethz.ch with debug enabled
|
||
13 years ago
|
cdist config -d ikq05.ethz.ch
|
||
13 years ago
|
|
||
13 years ago
|
# Configure hosts in parallel and use a different home directory
|
||
13 years ago
|
cdist config -c ~/p/cdist-nutzung \
|
||
13 years ago
|
-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
|
||
13 years ago
|
|
||
|
# Display banner
|
||
|
cdist banner
|
||
13 years ago
|
|
||
13 years ago
|
# Show help
|
||
13 years ago
|
cdist --help
|
||
13 years ago
|
|
||
|
# Show Version
|
||
13 years ago
|
cdist --version
|
||
|
--------------------------------------------------------------------------------
|
||
13 years ago
|
|
||
|
|
||
13 years ago
|
ENVIRONMENT
|
||
|
-----------
|
||
13 years ago
|
TMPDIR, TEMP, TMP::
|
||
13 years ago
|
Setup the base directory for the temporary directory.
|
||
|
See http://docs.python.org/py3k/library/tempfile.html for
|
||
|
more information. This is rather useful, if the standard
|
||
|
directory used does not allow executables.
|
||
|
|
||
13 years ago
|
|
||
|
EXIT STATUS
|
||
|
-----------
|
||
|
The following exit values shall be returned:
|
||
|
|
||
|
0::
|
||
|
Successful completion
|
||
|
1::
|
||
13 years ago
|
One or more host configurations failed
|
||
13 years ago
|
|
||
|
|
||
13 years ago
|
SEE ALSO
|
||
|
--------
|
||
|
- cdist(7)
|
||
13 years ago
|
- cdist-reference(7)
|
||
13 years ago
|
|
||
|
|
||
|
COPYING
|
||
|
-------
|
||
13 years ago
|
Copyright \(C) 2011-2012 Nico Schottelius. Free use of this software is
|
||
13 years ago
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|