EnglishFrenchSpanish

OnWorks favicon

cdist - Online in the Cloud

Run cdist in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cdist that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cdist - Usable Configuration Management

SYNOPSIS


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]

DESCRIPTION


cdist is the frontend executable to the cdist configuration management. cdist supports
different subcommands as explained below.

GENERAL


All commands accept the following options:

-d, --debug
Set log level to debug

-h, --help
Show the help screen

-v, --verbose
Set log level to info, be more verbose

-V, --version
Show version and exit

BANNER


Displays the cdist banner. Useful for printing cdist posters - a must have for every
office.

CONFIG


Configure one or more hosts

-h, --help
Show the help screen

-c CONF_DIR, --conf-dir CONF_DIR
Add a configuration directory. Can be specified multiple times. If configuration
directories contain conflicting types, explorers or manifests, then the last one found
is used. Additionally this can also be configured by setting the CDIST_PATH
environment variable to a colon delimited list of config directories. Directories
given with the --conf-dir argument have higher precedence over those set through the
environment variable.

-i MANIFEST, --initial-manifest MANIFEST
Path to a cdist manifest or - to read from stdin

-p, --parallel
Operate on multiple hosts in parallel

-s, --sequential
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)

SHELL


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.

-s/--shell
Select shell to use, defaults to current shell

EXAMPLES


# 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

ENVIRONMENT


TMPDIR, TEMP, TMP
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.

CDIST_LOCAL_SHELL
Selects shell for local script execution, defaults to /bin/sh

CDIST_REMOTE_SHELL
Selects shell for remote scirpt execution, defaults to /bin/sh

EXIT STATUS


The following exit values shall be returned:

0
Successful completion

1
One or more host configurations failed

Use cdist online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 2
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 3
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 4
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • 5
    Task Coach
    Task Coach
    Task Coach - Your friendly task
    manager. Task Coach is a free open
    source todo manager. It grew out of
    frustration about other programs not
    handling composite ...
    Download Task Coach
  • 6
    HyperSQL Database Engine (HSQLDB)
    HyperSQL Database Engine (HSQLDB)
    HSQLDB is a relational database engine
    written in Java, with a JDBC driver,
    conforming to ANSI SQL:2016. A small,
    fast, multithreaded engine and server
    with mem...
    Download HyperSQL Database Engine (HSQLDB)
  • More »

Linux commands

Ad