diff --git a/software/cdist/man/cdist-best-practice.html b/software/cdist/man/cdist-best-practice.html index fad2bfc8..143b8a8c 100644 --- a/software/cdist/man/cdist-best-practice.html +++ b/software/cdist/man/cdist-best-practice.html @@ -1,6 +1,6 @@ -cdist-best-practice(7)

cdist-best-practice(7)


Table of Contents

1. NAME
2. PASSWORDLESS CONNECTIONS
3. SPEEDING UP SSH CONNECTIONS
4. MULTI MASTER OR ENVIRONMENT SETUPS
5. SEE ALSO
6. COPYING

1. NAME

cdist-best-practice - Practices used in real environments

2. PASSWORDLESS CONNECTIONS

It is recommended to run cdist with public key authentication. +cdist-best-practice(7)

cdist-best-practice(7)


1. NAME

cdist-best-practice - Practices used in real environments

2. PASSWORDLESS CONNECTIONS

It is recommended to run cdist with public key authentication. This requires a private/public key pair and the entry "PermitRootLogin without-password" in the sshd server. See sshd_config(5) and ssh-keygen(1).

3. SPEEDING UP SSH CONNECTIONS

When connecting to a new host, the initial delay with ssh connections diff --git a/software/cdist/man/cdist-code-run-all.html b/software/cdist/man/cdist-code-run-all.html index 724c8275..42712eb7 100644 --- a/software/cdist/man/cdist-code-run-all.html +++ b/software/cdist/man/cdist-code-run-all.html @@ -1,6 +1,6 @@ -cdist-code-run-all(1)

cdist-code-run-all(1)


1. NAME

cdist-code-run-all - Execute all generated code on the target

2. SYNOPSIS

cdist-code-run-all HOSTNAME

3. DESCRIPTION

cdist-code-run-all is just a wrapper for cdist-remote-code-run-all.

4. SEE ALSO

  • +cdist-code-run-all(1)

    cdist-code-run-all(1)


    1. NAME

    cdist-code-run-all - Execute all generated code on the target

    2. SYNOPSIS

    cdist-code-run-all HOSTNAME

    3. DESCRIPTION

    cdist-code-run-all is just a wrapper for cdist-remote-code-run-all.

    4. SEE ALSO

    • cdist(7)
    • cdist-deploy-to(1) diff --git a/software/cdist/man/cdist-code-run.html b/software/cdist/man/cdist-code-run.html index fd624419..6a96c865 100644 --- a/software/cdist/man/cdist-code-run.html +++ b/software/cdist/man/cdist-code-run.html @@ -1,6 +1,6 @@ -cdist-code-run(1)

      cdist-code-run(1)


      1. NAME

      cdist-code-run - Run explorer remotely

      2. SYNOPSIS

      cdist-code-run OBJECT_DIR OBJECT TYPE

      3. DESCRIPTION

      cdist-code-run executes generated code from a given OBJECT. +cdist-code-run(1)

      cdist-code-run(1)


      1. NAME

      cdist-code-run - Run explorer remotely

      2. SYNOPSIS

      cdist-code-run OBJECT_DIR OBJECT TYPE

      3. DESCRIPTION

      cdist-code-run executes generated code from a given OBJECT. The OBJECT must be located below OBJECT_DIR. TYPE must be either local or remote and determines which code part is to be executed.

      4. SEE ALSO

      • diff --git a/software/cdist/man/cdist-config.html b/software/cdist/man/cdist-config.html index 87386787..57b69a46 100644 --- a/software/cdist/man/cdist-config.html +++ b/software/cdist/man/cdist-config.html @@ -1,6 +1,6 @@ -cdist-config(1)

        cdist-config(1)


        1. NAME

        cdist-config - Read basic cdist configuration

        2. DESCRIPTION

        Cdist-config is sourced by cdist programs and provides hints on where to find +cdist-config(1)

        cdist-config(1)


        1. NAME

        cdist-config - Read basic cdist configuration

        2. DESCRIPTION

        Cdist-config is sourced by cdist programs and provides hints on where to find types, manifests, etc. Generally speaking, it’s just usable from within the core and is only of interest for cdist-developers.

        3. SEE ALSO

        cdist(7)

        4. COPYING

        Copyright (C) 2010-2011 Nico Schottelius. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).

        diff --git a/software/cdist/man/cdist-deploy-to.html b/software/cdist/man/cdist-deploy-to.html index 10ac1494..3cbad2f3 100644 --- a/software/cdist/man/cdist-deploy-to.html +++ b/software/cdist/man/cdist-deploy-to.html @@ -1,6 +1,6 @@ -cdist-deploy-to(1)

        cdist-deploy-to(1)


        1. NAME

        cdist-deploy-to - Deploy configuration to host

        2. SYNOPSIS

        cdist-deploy-to HOSTNAME

        3. DESCRIPTION

        Deploy configurations to the specified host, as configured in the initial +cdist-deploy-to(1)

        cdist-deploy-to(1)


        1. NAME

        cdist-deploy-to - Deploy configuration to host

        2. SYNOPSIS

        cdist-deploy-to HOSTNAME

        3. DESCRIPTION

        Deploy configurations to the specified host, as configured in the initial manifest. This script triggers the execution of several other scripts, in so called stages. It is intented to run either from the command line or from cron.

        4. ENVIRONMENT

        If the environment variable cdist_conf_dir is not set, the configuration is read from /etc/cdist. The local output directory can diff --git a/software/cdist/man/cdist-dir.html b/software/cdist/man/cdist-dir.html index fcdeff0e..04720a51 100644 --- a/software/cdist/man/cdist-dir.html +++ b/software/cdist/man/cdist-dir.html @@ -1,6 +1,6 @@ -cdist-dir(1)

        cdist-dir(1)


        1. NAME

        cdist-dir - Poor man’s directory synchronisation

        2. SYNOPSIS

        cdist-dir <push|pull> TARGET_HOST SRC_DIR DST_DIR

        3. DESCRIPTION

        cdist-dir either pushes a local directory to the target host +cdist-dir(1)

        cdist-dir(1)


        1. NAME

        cdist-dir - Poor man’s directory synchronisation

        2. SYNOPSIS

        cdist-dir <push|pull> TARGET_HOST SRC_DIR DST_DIR

        3. DESCRIPTION

        cdist-dir either pushes a local directory to the target host or pulls a remote directory from a target host to the local host.

        In the push case SRC_DIR is local, in the pull case remote. In the push case DST_DIR is remote, in the pull case local.

        cdist-dir does not cleanup DST_DIR and thus it may contain old stuff if used multiple times.

        cdist-dir does not rely on rsync or other high level tools, because diff --git a/software/cdist/man/cdist-env.html b/software/cdist/man/cdist-env.html index 550bd450..9a2345ce 100644 --- a/software/cdist/man/cdist-env.html +++ b/software/cdist/man/cdist-env.html @@ -1,6 +1,6 @@ -cdist-env(1)

        cdist-env(1)


        1. NAME

        cdist-env - Setup environment for using cdist

        2. SYNOPSIS

        cdist-env

        3. DESCRIPTION

        cdist-env outputs two strings suitable for usage in your current shell, +cdist-env(1)

        cdist-env(1)


        1. NAME

        cdist-env - Setup environment for using cdist

        2. SYNOPSIS

        cdist-env

        3. DESCRIPTION

        cdist-env outputs two strings suitable for usage in your current shell, so you can use cdist from the checkout. cdist-env essentially helps you to easily setup PATH and MANPATH.

        If you’ve multiple checkouts of cdist and run cdist-env from the various checkouts, a new run will prepend the last directory, thus ensures you diff --git a/software/cdist/man/cdist-explorer-run-global.html b/software/cdist/man/cdist-explorer-run-global.html index dae4342c..5fb6e080 100644 --- a/software/cdist/man/cdist-explorer-run-global.html +++ b/software/cdist/man/cdist-explorer-run-global.html @@ -1,6 +1,6 @@ -cdist-explorer-run-global(1)

        cdist-explorer-run-global(1)


        1. NAME

        cdist-explorer-run-global - Run the global explorers

        2. SYNOPSIS

        cdist-explorer-run-global HOSTNAME

        3. DESCRIPTION

        Transfer the global explorers to HOSTNAME, execute them and transfer +cdist-explorer-run-global(1)

        cdist-explorer-run-global(1)


        1. NAME

        cdist-explorer-run-global - Run the global explorers

        2. SYNOPSIS

        cdist-explorer-run-global HOSTNAME

        3. DESCRIPTION

        Transfer the global explorers to HOSTNAME, execute them and transfer back the results.

        4. SEE ALSO

        • cdist(7)
        • diff --git a/software/cdist/man/cdist-explorer.html b/software/cdist/man/cdist-explorer.html index 04e7111d..2f107426 100644 --- a/software/cdist/man/cdist-explorer.html +++ b/software/cdist/man/cdist-explorer.html @@ -1,6 +1,6 @@ -cdist-explorer(7)

          cdist-explorer(7)


          1. NAME

          cdist-explorer - Explore the target systems

          2. DESCRIPTION

          Explorer are small shell scripts, which will be executed on the target +cdist-explorer(7)

          cdist-explorer(7)


          1. NAME

          cdist-explorer - Explore the target systems

          2. DESCRIPTION

          Explorer are small shell scripts, which will be executed on the target host. The aim of the explorer is to give hints to types on how to act on the target system. An explorer outputs the result to stdout, which is usually a one liner, but may be empty or multi line especially in the case of diff --git a/software/cdist/man/cdist-hacker.html b/software/cdist/man/cdist-hacker.html index 0d8a6d7b..20f88b6a 100644 --- a/software/cdist/man/cdist-hacker.html +++ b/software/cdist/man/cdist-hacker.html @@ -1,6 +1,6 @@ -cdist-hacker(7)

          cdist-hacker(7)


          1. NAME

          cdist-hacker - How to get (stuff) into cdist

          2. WELCOME

          Welcome dear hacker! I invite you to a tour of pointers to +cdist-hacker(7)

          cdist-hacker(7)


          1. NAME

          cdist-hacker - How to get (stuff) into cdist

          2. WELCOME

          Welcome dear hacker! I invite you to a tour of pointers to get into the usable configuration mangament system, cdist.

          The first thing to know is probably that cdist is brought to you by people who care about how code looks like and who think twice before merging or implementing a feature: Less features diff --git a/software/cdist/man/cdist-manifest-run-all.html b/software/cdist/man/cdist-manifest-run-all.html index 82daf2db..48bf1ed4 100644 --- a/software/cdist/man/cdist-manifest-run-all.html +++ b/software/cdist/man/cdist-manifest-run-all.html @@ -1,6 +1,6 @@ -cdist-manifest-run-all(1)

          cdist-manifest-run-all(1)


          1. NAME

          cdist-manifest-run-all - Run manifests of all created types

          2. SYNOPSIS

          cdist-manifest-run-all HOSTNAME

          3. DESCRIPTION

          cdist-manifest-run-all iterates over every existing object and +cdist-manifest-run-all(1)

          cdist-manifest-run-all(1)


          1. NAME

          cdist-manifest-run-all - Run manifests of all created types

          2. SYNOPSIS

          cdist-manifest-run-all HOSTNAME

          3. DESCRIPTION

          cdist-manifest-run-all iterates over every existing object and executes the manifest of its type.

          4. SEE ALSO

          • cdist(7)
          • diff --git a/software/cdist/man/cdist-manifest-run-init.html b/software/cdist/man/cdist-manifest-run-init.html index 5bec9d0d..4576f9ec 100644 --- a/software/cdist/man/cdist-manifest-run-init.html +++ b/software/cdist/man/cdist-manifest-run-init.html @@ -1,6 +1,6 @@ -cdist-manifest-run-init(1)

            cdist-manifest-run-init(1)


            1. NAME

            cdist-manifest-run-init - Run the initial manifest

            2. SYNOPSIS

            cdist-manifest-run-init HOSTNAME

            3. DESCRIPTION

            cdist-manifest-run-init executes the initial manifest, which creates +cdist-manifest-run-init(1)

            cdist-manifest-run-init(1)


            1. NAME

            cdist-manifest-run-init - Run the initial manifest

            2. SYNOPSIS

            cdist-manifest-run-init HOSTNAME

            3. DESCRIPTION

            cdist-manifest-run-init executes the initial manifest, which creates the first objects.

            4. SEE ALSO

            • cdist(7)
            • diff --git a/software/cdist/man/cdist-manifest-run.html b/software/cdist/man/cdist-manifest-run.html index f84fdccb..9a67ebbd 100644 --- a/software/cdist/man/cdist-manifest-run.html +++ b/software/cdist/man/cdist-manifest-run.html @@ -1,6 +1,6 @@ -cdist-manifest-run(1)

              cdist-manifest-run(1)


              1. NAME

              cdist-manifest-run - Run a given manifest

              2. SYNOPSIS

              cdist-manifest-run HOSTNAME MANIFEST OUTPUT_DIR

              3. DESCRIPTION

              cdist-manifest-run executes the given MANIFEST and saves the output into +cdist-manifest-run(1)

              cdist-manifest-run(1)


              1. NAME

              cdist-manifest-run - Run a given manifest

              2. SYNOPSIS

              cdist-manifest-run HOSTNAME MANIFEST OUTPUT_DIR

              3. DESCRIPTION

              cdist-manifest-run executes the given MANIFEST and saves the output into OUTPUT_DIR.

              4. SEE ALSO

              • cdist(7)
              • diff --git a/software/cdist/man/cdist-manifest.html b/software/cdist/man/cdist-manifest.html index a2fbddd2..002f7a7e 100644 --- a/software/cdist/man/cdist-manifest.html +++ b/software/cdist/man/cdist-manifest.html @@ -1,6 +1,6 @@ -cdist-manifest(7)

                cdist-manifest(7)


                1. NAME

                cdist-manifest - Define types to be used

                2. DESCRIPTION

                Manifests exist to define which configurations should be applied to a specific +cdist-manifest(7)

                cdist-manifest(7)


                1. NAME

                cdist-manifest - Define types to be used

                2. DESCRIPTION

                Manifests exist to define which configurations should be applied to a specific host as well as to define which configurations should be applied within a type. Manifests are executed locally and the resulting objects are stored in an internal database.

                The same object can be redefined in multiple different manifests as long as diff --git a/software/cdist/man/cdist-object-explorer-all.html b/software/cdist/man/cdist-object-explorer-all.html index d27d2da5..782e485d 100644 --- a/software/cdist/man/cdist-object-explorer-all.html +++ b/software/cdist/man/cdist-object-explorer-all.html @@ -1,6 +1,6 @@ -cdist-object-explorer-all(1)

                cdist-object-explorer-all(1)


                1. NAME

                cdist-object-explorer-all - Run type explorer for every object

                2. SYNOPSIS

                cdist-object-explorer-all HOSTNAME

                3. DESCRIPTION

                For every object, it checks whether the type has one or more explorers. +cdist-object-explorer-all(1)

                cdist-object-explorer-all(1)


                1. NAME

                cdist-object-explorer-all - Run type explorer for every object

                2. SYNOPSIS

                cdist-object-explorer-all HOSTNAME

                3. DESCRIPTION

                For every object, it checks whether the type has one or more explorers. If so, the explorers of the type are copied to the target and executed once per object.

                4. SEE ALSO

                • cdist(7) diff --git a/software/cdist/man/cdist-object-gencode-all.html b/software/cdist/man/cdist-object-gencode-all.html index 05e56814..4bb874d8 100644 --- a/software/cdist/man/cdist-object-gencode-all.html +++ b/software/cdist/man/cdist-object-gencode-all.html @@ -1,6 +1,6 @@ -cdist-object-gencode-all(1)

                  cdist-object-gencode-all(1)


                  1. NAME

                  cdist-object-gencode-all - Generate code for every existing object

                  2. SYNOPSIS

                  cdist-object-gencode-all HOSTNAME

                  3. DESCRIPTION

                  For every object that exists, the cdist-object-gencode is executed.

                  4. SEE ALSO

                  • +cdist-object-gencode-all(1)

                    cdist-object-gencode-all(1)


                    1. NAME

                    cdist-object-gencode-all - Generate code for every existing object

                    2. SYNOPSIS

                    cdist-object-gencode-all HOSTNAME

                    3. DESCRIPTION

                    For every object that exists, the cdist-object-gencode is executed.

                    4. SEE ALSO

                    • cdist(7)
                    • cdist-code-run(1) diff --git a/software/cdist/man/cdist-object-gencode.html b/software/cdist/man/cdist-object-gencode.html index e63021a0..fc969f1d 100644 --- a/software/cdist/man/cdist-object-gencode.html +++ b/software/cdist/man/cdist-object-gencode.html @@ -1,6 +1,6 @@ -cdist-object-gencode(1)

                      cdist-object-gencode(1)


                      1. NAME

                      cdist-object-gencode - Generate code for a given object

                      2. SYNOPSIS

                      cdist-object-gencode HOSTNAME OBJECT

                      3. DESCRIPTION

                      For the given object, run the gencode executable. The output of this +cdist-object-gencode(1)

                      cdist-object-gencode(1)


                      1. NAME

                      cdist-object-gencode - Generate code for a given object

                      2. SYNOPSIS

                      cdist-object-gencode HOSTNAME OBJECT

                      3. DESCRIPTION

                      For the given object, run the gencode executable. The output of this executable on stdout will be used by cdist-object-gencode-all(1).

                      4. SEE ALSO

                      • cdist(7)
                      • diff --git a/software/cdist/man/cdist-quickstart.html b/software/cdist/man/cdist-quickstart.html index 2e4b4eb6..c5918188 100644 --- a/software/cdist/man/cdist-quickstart.html +++ b/software/cdist/man/cdist-quickstart.html @@ -1,6 +1,6 @@ -cdist-quickstart(1)

                        cdist-quickstart(1)


                        1. NAME

                        cdist-quickstart - Make use of cinit in 5 minutes

                        2. SYNOPSIS

                        cdist-quickstart

                        3. DESCRIPTION

                        cdist-quickstart is an interactive guide to cdist. It should be one +cdist-quickstart(1)

                        cdist-quickstart(1)


                        1. NAME

                        cdist-quickstart - Make use of cinit in 5 minutes

                        2. SYNOPSIS

                        cdist-quickstart

                        3. DESCRIPTION

                        cdist-quickstart is an interactive guide to cdist. It should be one of the first tools you use when you begin with cdist.

                        4. EXAMPLES

                        To use cdist-quickstart, add the bin directory to your PATH, execute cdist-quickstart and enjoy cdist:

                        # Bourne shell example
                         export PATH=$(pwd -P)/bin:$PATH
                        diff --git a/software/cdist/man/cdist-reference.html b/software/cdist/man/cdist-reference.html
                        index bade6589..66632c6c 100644
                        --- a/software/cdist/man/cdist-reference.html
                        +++ b/software/cdist/man/cdist-reference.html
                        @@ -1,6 +1,6 @@
                         
                         
                        -cdist-reference(7)

                        cdist-reference(7)


                        1. NAME

                        cdist-reference - Variable, path and type reference for cdist

                        2. DESCRIPTION

                        Various scripts which are not in the core need information on how +cdist-reference(7)

                        cdist-reference(7)


                        1. NAME

                        cdist-reference - Variable, path and type reference for cdist

                        2. DESCRIPTION

                        Various scripts which are not in the core need information on how to find information. This manpage summarises the available environment variables, types and paths and clearifies with part may access which variables.

                        3. PATHS

                        If not specified otherwise, all paths are relative to the checkout directory.

                        conf/ diff --git a/software/cdist/man/cdist-remote-explorer-run.html b/software/cdist/man/cdist-remote-explorer-run.html index f9a6d7f0..fd875d1e 100644 --- a/software/cdist/man/cdist-remote-explorer-run.html +++ b/software/cdist/man/cdist-remote-explorer-run.html @@ -1,6 +1,6 @@ -cdist-remote-explorer-run(1)

                        cdist-remote-explorer-run(1)


                        1. NAME

                        cdist-remote-explorer-run - Run explorer remotely

                        2. SYNOPSIS

                        cdist-remote-explorer-run VARIABLE_NAME EXPLORER_DIR OUT_DIR

                        3. DESCRIPTION

                        cdist-remote-explorer-run is executed on the target. +cdist-remote-explorer-run(1)

                        cdist-remote-explorer-run(1)


                        1. NAME

                        cdist-remote-explorer-run - Run explorer remotely

                        2. SYNOPSIS

                        cdist-remote-explorer-run VARIABLE_NAME EXPLORER_DIR OUT_DIR

                        3. DESCRIPTION

                        cdist-remote-explorer-run is executed on the target. It sets up the variable VARIABLE_NAME to point to the given EXPLORER_DIR and runs all explorer found in EXPLORER_DIR. The output of every run explorer is saved into OUT_DIR.

                        4. SEE ALSO

                        • diff --git a/software/cdist/man/cdist-run-remote.html b/software/cdist/man/cdist-run-remote.html index 1c040e22..d88d2612 100644 --- a/software/cdist/man/cdist-run-remote.html +++ b/software/cdist/man/cdist-run-remote.html @@ -1,6 +1,6 @@ -cdist-run-remote(1)

                          cdist-run-remote(1)


                          1. NAME

                          cdist-run-remote - Execute something on the target

                          2. SYNOPSIS

                          cdist-run-remote HOSTNAME EXECUTABLE [ARGUMENTS FOR EXECUTABLE]

                          3. DESCRIPTION

                          cdist-run-remote runs the given executable on the remote host. +cdist-run-remote(1)

                          cdist-run-remote(1)


                          1. NAME

                          cdist-run-remote - Execute something on the target

                          2. SYNOPSIS

                          cdist-run-remote HOSTNAME EXECUTABLE [ARGUMENTS FOR EXECUTABLE]

                          3. DESCRIPTION

                          cdist-run-remote runs the given executable on the remote host. It ensures PATH is setup correctly on the target side.

                          4. SEE ALSO

                          • cdist(7)
                          • diff --git a/software/cdist/man/cdist-stages.html b/software/cdist/man/cdist-stages.html index f4d12e85..9bf25e9a 100644 --- a/software/cdist/man/cdist-stages.html +++ b/software/cdist/man/cdist-stages.html @@ -1,6 +1,6 @@ -cdist-stages(7)

                            cdist-stages(7)


                            1. NAME

                            cdist-stages - Stages used during configuration deployment

                            2. DESCRIPTION

                            Starting the execution of deployment with cdist-deploy-to(1), cdist passes +cdist-stages(7)

                            cdist-stages(7)


                            1. NAME

                            cdist-stages - Stages used during configuration deployment

                            2. DESCRIPTION

                            Starting the execution of deployment with cdist-deploy-to(1), cdist passes through different stages, each can be triggered and debugged on its own. Reading the source of the cdist-deploy-to executable shous the scripts responsible for each stage.

                            3. STAGE 0: INTERNAL PREPERATION

                            Before running the user facing stages, cdist prepares the target host diff --git a/software/cdist/man/cdist-type-build-emulation.html b/software/cdist/man/cdist-type-build-emulation.html index 97edf165..93f177be 100644 --- a/software/cdist/man/cdist-type-build-emulation.html +++ b/software/cdist/man/cdist-type-build-emulation.html @@ -1,6 +1,6 @@ -cdist-type-build-emulation(1)

                            cdist-type-build-emulation(1)


                            1. NAME

                            cdist-type-build-emulation - Build executables for types

                            2. SYNOPSIS

                            cdist-type-build-emulation OUT_DIR

                            3. DESCRIPTION

                            cdist-type-build-emulation creates a link to cdist-type-emulator +cdist-type-build-emulation(1)

                            cdist-type-build-emulation(1)


                            1. NAME

                            cdist-type-build-emulation - Build executables for types

                            2. SYNOPSIS

                            cdist-type-build-emulation OUT_DIR

                            3. DESCRIPTION

                            cdist-type-build-emulation creates a link to cdist-type-emulator for every TYPE. These links are placed in a OUT_DIR, which is prepended into $PATH. This way the user can use TYPE in the manifests like any other executable.

                            4. SEE ALSO

                            • diff --git a/software/cdist/man/cdist-type-emulator.html b/software/cdist/man/cdist-type-emulator.html index 1998c904..e62b2ddc 100644 --- a/software/cdist/man/cdist-type-emulator.html +++ b/software/cdist/man/cdist-type-emulator.html @@ -1,6 +1,6 @@ -cdist-type-emulator(1)

                              cdist-type-emulator(1)


                              1. NAME

                              cdist-type-emulator - Emulate type and record parameters and dependencies

                              2. SYNOPSIS

                              cdist-type-emulator [TYPE ARGS]

                              3. DESCRIPTION

                              cdist-type-emulator is normally called through a link to it of the +cdist-type-emulator(1)

                              cdist-type-emulator(1)


                              1. NAME

                              cdist-type-emulator - Emulate type and record parameters and dependencies

                              2. SYNOPSIS

                              cdist-type-emulator [TYPE ARGS]

                              3. DESCRIPTION

                              cdist-type-emulator is normally called through a link to it of the name of a specifc type. It saves the given parameters into a parameters directory and the requirements into a require file.

                              It checks whether the parameters are valid:

                              • are required parameter given? diff --git a/software/cdist/man/cdist-type-template.html b/software/cdist/man/cdist-type-template.html index 13cc6863..a71158d7 100644 --- a/software/cdist/man/cdist-type-template.html +++ b/software/cdist/man/cdist-type-template.html @@ -1,5 +1,5 @@ -cdist-type-template(1)

                                cdist-type-template(1)


                                1. NAME

                                cdist-type-template - Create a new type

                                2. SYNOPSIS

                                cdist-type-template NAME

                                3. DESCRIPTION

                                cdist-type-template creates a new type and adds the usual files to it. +cdist-type-template(1)

                                cdist-type-template(1)


                                1. NAME

                                cdist-type-template - Create a new type

                                2. SYNOPSIS

                                cdist-type-template NAME

                                3. DESCRIPTION

                                cdist-type-template creates a new type and adds the usual files to it. It is thought to be helpful when writing new types.

                                4. SEE ALSO

                                cdist(7)

                                5. COPYING

                                Copyright (C) 2011 Nico Schottelius. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type.html b/software/cdist/man/cdist-type.html index 6fa91af5..18710f32 100644 --- a/software/cdist/man/cdist-type.html +++ b/software/cdist/man/cdist-type.html @@ -1,6 +1,6 @@ -cdist-type(7)

                                cdist-type(7)


                                1. NAME

                                cdist-type - Functionality bundled

                                2. SYNOPSIS

                                __TYPE ID --parameter value [--parameter value …]

                                __TYPE --parameter value [--parameter value …] (for singletons)

                                3. DESCRIPTION

                                Types are the main component of cdist and define functionality. If you +cdist-type(7)

                                cdist-type(7)


                                1. NAME

                                cdist-type - Functionality bundled

                                2. SYNOPSIS

                                __TYPE ID --parameter value [--parameter value …]

                                __TYPE --parameter value [--parameter value …] (for singletons)

                                3. DESCRIPTION

                                Types are the main component of cdist and define functionality. If you use cdist, you’ll write a type for every functionality you would like to use.

                                4. HOW TO USE A TYPE

                                You can use types from the initial manifest or the type manifest like a normal command:

                                # Creates empty file /etc/cdist-configured
                                diff --git a/software/cdist/man/cdist-type__addifnosuchline.html b/software/cdist/man/cdist-type__addifnosuchline.html
                                new file mode 100644
                                index 00000000..a07305b9
                                --- /dev/null
                                +++ b/software/cdist/man/cdist-type__addifnosuchline.html
                                @@ -0,0 +1,20 @@
                                +
                                +
                                +cdist-type__addifnosuchline(7)

                                cdist-type__addifnosuchline(7)


                                1. NAME

                                cdist-type__addifnosuchline - Add a line (if not existing already)

                                2. DESCRIPTION

                                This type can be used to check a file for existence of a +specific line and adding it, if it was not found.

                                3. REQUIRED PARAMETERS

                                +line +
                                + Specifies the content which shall be added if not existing. +

                                4. OPTIONAL PARAMETERS

                                +file +
                                + If supplied, use this as the destination file. + Otherwise the object_id is used. +

                                5. EXAMPLES

                                # Creates or appends the line specifiend in "include_www" to the file "lighttpd.conf"
                                +__addifnosuchline www --file /etc/lighttpd.conf --line include_www
                                +
                                +# Adds the line "include_git" to the file "lighttpd.conf"
                                +__addifnosuchline /etc/lighttpd.conf --line include_git

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Daniel Roth. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__apt_ppa.html b/software/cdist/man/cdist-type__apt_ppa.html new file mode 100644 index 00000000..802fec17 --- /dev/null +++ b/software/cdist/man/cdist-type__apt_ppa.html @@ -0,0 +1,14 @@ + + +cdist-type__apt_ppa(7)

                                cdist-type__apt_ppa(7)


                                1. NAME

                                cdist-type__apt_ppa - Manage ppa repositories

                                2. DESCRIPTION

                                This cdist type allows manage ubuntu ppa repositories.

                                3. REQUIRED PARAMETERS

                                +state +
                                + The state the ppa should be in, either "enabled" or "disabled". +

                                4. OPTIONAL PARAMETERS

                                None.

                                5. EXAMPLES

                                # Enable a ppa repository
                                +__apt_ppa ppa:sans-intern/missing-bits --state enabled
                                +
                                +# Disable a ppa repository
                                +__apt_ppa ppa:sans-intern/missing-bits --state disabled

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Steven Armstrong. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__directory.html b/software/cdist/man/cdist-type__directory.html new file mode 100644 index 00000000..fc5268d1 --- /dev/null +++ b/software/cdist/man/cdist-type__directory.html @@ -0,0 +1,38 @@ + + +cdist-type__directory(7)

                                cdist-type__directory(7)


                                1. NAME

                                cdist-type__directory - Create a directory

                                2. DESCRIPTION

                                This cdist type allows you to create directories on the target.

                                3. REQUIRED PARAMETERS

                                None.

                                4. OPTIONAL PARAMETERS

                                +group +
                                + Group to chgrp to. +
                                +mode +
                                + Unix permissions, suitable for chmod. +
                                +owner +
                                + User to chown to. +
                                +parents +
                                + Whether to create parents as well (mkdir -p behaviour). Must be yes or no. +
                                +recursive +
                                + If supplied the chgrp and chown call will run recursively. + This does not influence the behaviour of chmod. + Must be yes or no. +

                                5. EXAMPLES

                                # A silly example
                                +__directory /tmp/foobar
                                +
                                +# Ensure /etc exists correctly
                                +__directory /etc --owner root --group root --mode 0755
                                +
                                +# Create nfs service directory, including parents
                                +__directory /home/services/nfs --parents yes
                                +
                                +# Change permissions recursively
                                +__directory /home/services --recursive yes --owner root --group root

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Nico Schottelius. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__file.html b/software/cdist/man/cdist-type__file.html new file mode 100644 index 00000000..3214d419 --- /dev/null +++ b/software/cdist/man/cdist-type__file.html @@ -0,0 +1,31 @@ + + +cdist-type__file(7)

                                cdist-type__file(7)


                                1. NAME

                                cdist-type__file - Create files

                                2. DESCRIPTION

                                This cdist type allows you to create files on the target.

                                3. REQUIRED PARAMETERS

                                None.

                                4. OPTIONAL PARAMETERS

                                +group +
                                + Group to chgrp to. +
                                +mode +
                                + Unix permissions, suitable for chmod. +
                                +owner +
                                + User to chown to. +
                                +source +
                                + If supplied, copy this file from the host running cdist to the target. + If not supplied, an empty file or directory will be created. +

                                5. EXAMPLES

                                # Create  /etc/cdist-configured as an empty file
                                +__file /etc/cdist-configured
                                +
                                +# Use __file from another type
                                +__file /etc/issue --source "$__type/files/archlinux"
                                +
                                +# Supply some more settings
                                +__file /etc/shadow --source "$__type/files/shadow" \
                                +   --owner root --group shadow --mode 0640

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Nico Schottelius. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__group.html b/software/cdist/man/cdist-type__group.html new file mode 100644 index 00000000..75120b18 --- /dev/null +++ b/software/cdist/man/cdist-type__group.html @@ -0,0 +1,21 @@ + + +cdist-type__group(7)

                                cdist-type__group(7)


                                1. NAME

                                cdist-type__group - Manage groups

                                2. DESCRIPTION

                                This cdist type allows you to create or modify groups on the target.

                                3. REQUIRED PARAMETERS

                                None.

                                4. OPTIONAL PARAMETERS

                                +gid +
                                + see groupmod(8) +
                                +password +
                                + see above +

                                5. EXAMPLES

                                # Create a group 'foobar' with operating system default settings
                                +__group foobar
                                +
                                +# Same but with a specific gid
                                +__group foobar --gid 1234
                                +
                                +# Same but with a gid and password
                                +__group foobar --gid 1234 --password 'crypted-password-string'

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Steven Armstrong. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__issue.html b/software/cdist/man/cdist-type__issue.html new file mode 100644 index 00000000..e3a81e90 --- /dev/null +++ b/software/cdist/man/cdist-type__issue.html @@ -0,0 +1,13 @@ + + +cdist-type__issue(7)

                                cdist-type__issue(7)


                                1. NAME

                                cdist-type__issue - Manage issue

                                2. DESCRIPTION

                                This cdist type allows you to easily setup /etc/issue.

                                3. REQUIRED PARAMETERS

                                None.

                                4. OPTIONAL PARAMETERS

                                +source +
                                + If supplied, use this file as /etc/issue instead of default. +

                                5. EXAMPLES

                                __issue
                                +
                                +# When called from another type
                                +__issue --source "$__type/files/myfancyissue"

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Nico Schottelius. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__key_value.html b/software/cdist/man/cdist-type__key_value.html new file mode 100644 index 00000000..aeee7edd --- /dev/null +++ b/software/cdist/man/cdist-type__key_value.html @@ -0,0 +1,33 @@ + + +cdist-type__key_value(7)

                                cdist-type__key_value(7)


                                1. NAME

                                cdist-type__key_value - Change property values in files

                                2. DESCRIPTION

                                This cdist type allows you to change values in a key value based config +file.

                                3. REQUIRED PARAMETERS

                                +value +
                                + The value for the key. Setting the value to NOTSET will remove the key + from the file. +
                                +file +
                                + The file to operate on. +
                                +delimiter +
                                + The delimiter which seperates the key from the value. +

                                4. OPTIONAL PARAMETERS

                                +key +
                                + The key to change. Defaults to object_id. +

                                5. EXAMPLES

                                # Set the maximum system user id
                                +__key_value SYS_UID_MAX --file /etc/login.defs --value 666 --delimiter ' '
                                +
                                +# Same with fancy id
                                +__key_value my-fancy-id --file /etc/login.defs --key SYS_UID_MAX --value 666 \
                                +   --delimiter ' '
                                +
                                +# Enable packet forwarding
                                +__key_value net.ipv4.ip_forward --file /etc/sysctl.conf --value 1 \
                                +   --delimiter '='

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Steven Armstrong. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__link.html b/software/cdist/man/cdist-type__link.html new file mode 100644 index 00000000..b6a87cb2 --- /dev/null +++ b/software/cdist/man/cdist-type__link.html @@ -0,0 +1,24 @@ + + +cdist-type__link(7)

                                cdist-type__link(7)


                                1. NAME

                                cdist-type__link - Create links

                                2. DESCRIPTION

                                This cdist type allows you to hard and symoblic links. The given +object id is the destination for the link.

                                3. REQUIRED PARAMETERS

                                +source +
                                + Specifies the link source. +
                                +type +
                                + Specifies the link type: Either hard or symoblic. +

                                4. OPTIONAL PARAMETERS

                                None.

                                5. EXAMPLES

                                # Create hard link of /etc/shadow
                                +__link /root/shadow --source /etc/shadow --type hard
                                +
                                +# Relative symbolic link
                                +__link /etc/apache2/sites-enabled/www.test.ch   \
                                +   --source ../sites-available/www.test.ch      \
                                +   --type symbolic
                                +
                                +# Absolute symbolic link
                                +__link /opt/plone --source /home/services/plone --type symbolic

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Nico Schottelius. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__motd.html b/software/cdist/man/cdist-type__motd.html new file mode 100644 index 00000000..940bb476 --- /dev/null +++ b/software/cdist/man/cdist-type__motd.html @@ -0,0 +1,15 @@ + + +cdist-type__motd(7)

                                cdist-type__motd(7)


                                1. NAME

                                cdist-type__motd - Manage message of the day

                                2. DESCRIPTION

                                This cdist type allows you to easily setup /etc/motd.

                                3. REQUIRED PARAMETERS

                                None.

                                4. OPTIONAL PARAMETERS

                                +source +
                                + If supplied, copy this file from the host running cdist to the target. + If not supplied, a default message will be placed onto the target. +

                                5. EXAMPLES

                                # Use cdist defaults
                                +__motd
                                +
                                +# Supply source file from a different type
                                +__motd --source "$__type/files/my-motd"

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Nico Schottelius. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__package.html b/software/cdist/man/cdist-type__package.html new file mode 100644 index 00000000..c2b7d691 --- /dev/null +++ b/software/cdist/man/cdist-type__package.html @@ -0,0 +1,35 @@ + + +cdist-type__user(7)

                                cdist-type__user(7)


                                1. NAME

                                cdist-type__package - Manage packages

                                2. DESCRIPTION

                                This cdist type allows you to install or uninstall packages on the target. +It dispatches the actual work to the package system dependant types.

                                3. REQUIRED PARAMETERS

                                +state +
                                + The state the package should be in, either "installed" or "uninstalled" +

                                4. OPTIONAL PARAMETERS

                                +name +
                                + The name of the package to install. Default is to use the object_id as the + package name. +
                                +version +
                                + The version of the package to install. Default is to install the version + choosen by the local package manager. +
                                +type +
                                + The package type to use. Default is determined based on the $os explorer + variable. + e.g. package_apt for Debian + package_emerge for Gentoo +

                                5. EXAMPLES

                                # Install the package vim on the target
                                +__package vim --state installed
                                +
                                +# Same but install specific version
                                +__package vim --state installed --version 7.3.50
                                +
                                +# Force use of a specific package type
                                +__package vim --state installed --type __package_apt

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Steven Armstrong. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__package_apt.html b/software/cdist/man/cdist-type__package_apt.html new file mode 100644 index 00000000..31912a9f --- /dev/null +++ b/software/cdist/man/cdist-type__package_apt.html @@ -0,0 +1,31 @@ + + +cdist-type__package_apt(7)

                                cdist-type__package_apt(7)


                                1. NAME

                                cdist-type__package_apt - Manage packages with apt-get

                                2. DESCRIPTION

                                apt-get is usually used on Debian and variants (like Ubuntu) to +manage packages.

                                3. REQUIRED PARAMETERS

                                +state +
                                + Either "installed" or "deinstalled". +

                                4. OPTIONAL PARAMETERS

                                +name +
                                + If supplied, use the name and not the object id as the package name. +
                                +preseed +
                                + If supplied, use the given filename as input for debconf-set-selections(1) +

                                5. EXAMPLES

                                # Ensure zsh in installed
                                +__package_apt zsh --state installed
                                +
                                +# In case you only want *a* webserver, but don't care which one
                                +__package_apt webserver --state installed --name nginx
                                +
                                +# Install package with defaults (from a type)
                                +__package_apt postfix --state installed --preseed "$__type/files/postfix-seed"
                                +
                                +# Remove obsolete package
                                +__package_apt puppet --state deinstalled

                                6. SEE ALSO

                                • +cdist-type(7) +
                                • +cdist-type__package(7) +

                                7. COPYING

                                Copyright (C) 2011 Nico Schottelius. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__package_pacman.html b/software/cdist/man/cdist-type__package_pacman.html new file mode 100644 index 00000000..0d2d283c --- /dev/null +++ b/software/cdist/man/cdist-type__package_pacman.html @@ -0,0 +1,24 @@ + + +cdist-type__package_pacman(7)

                                cdist-type__package_pacman(7)


                                1. NAME

                                cdist-type__package_pacman - Manage packages with pacman

                                2. DESCRIPTION

                                Pacman is usually used on the Archlinux distribution to manage +packages.

                                3. REQUIRED PARAMETERS

                                +state +
                                + Either "installed" or "deinstalled". +

                                4. OPTIONAL PARAMETERS

                                +name +
                                + If supplied, use the name and not the object id as the package name. +

                                5. EXAMPLES

                                # Ensure zsh in installed
                                +__package_pacman zsh --state installed
                                +
                                +# If you don't want to follow pythonX packages, but always use python
                                +__package_pacman python --state installed --name python2
                                +
                                +# Remove obsolete package
                                +__package_pacman puppet --state deinstalled

                                6. SEE ALSO

                                • +cdist-type(7) +
                                • +cdist-type__package(7) +

                                7. COPYING

                                Copyright (C) 2011 Nico Schottelius. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__removeline.html b/software/cdist/man/cdist-type__removeline.html new file mode 100644 index 00000000..6a4569d5 --- /dev/null +++ b/software/cdist/man/cdist-type__removeline.html @@ -0,0 +1,20 @@ + + +cdist-type__removeline(7)

                                cdist-type__removeline(7)


                                1. NAME

                                cdist-type__removeline - Remove a line (if existing)

                                2. DESCRIPTION

                                This type can be used to check a file for existence of a +specific line and removeing it, if it was found.

                                3. REQUIRED PARAMETERS

                                +line +
                                + Specifies the content which shall be removed if existing. +

                                4. OPTIONAL PARAMETERS

                                +file +
                                + If supplied, use this as the destination file. + Otherwise the object_id is used. +

                                5. EXAMPLES

                                # Removes the line specifiend in "include_www" from the file "lighttpd.conf"
                                +__removeline www --file /etc/lighttpd.conf --line include_www
                                +
                                +# Removes the line "include_git" from the file "lighttpd.conf"
                                +__removeline /etc/lighttpd.conf --line include_git

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Daniel Roth. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist-type__user.html b/software/cdist/man/cdist-type__user.html new file mode 100644 index 00000000..c3e8ed12 --- /dev/null +++ b/software/cdist/man/cdist-type__user.html @@ -0,0 +1,41 @@ + + +cdist-type__user(7)

                                cdist-type__user(7)


                                1. NAME

                                cdist-type__user - Manage users

                                2. DESCRIPTION

                                This cdist type allows you to create or modify users on the target.

                                3. REQUIRED PARAMETERS

                                None.

                                4. OPTIONAL PARAMETERS

                                +comment +
                                + see usermod(8) +
                                +home +
                                + see above +
                                +gid +
                                + see above +
                                +groups +
                                + see above +
                                +password +
                                + see above +
                                +shell +
                                + see above +
                                +uid +
                                + see above +

                                5. EXAMPLES

                                # Create user account for foobar with operating system default settings
                                +__user foobar
                                +
                                +# Same but with a different shell
                                +__user foobar --shell /bin/zsh
                                +
                                +# Set explicit uid and home
                                +__user foobar --uid 1001 --shell /bin/zsh --home /home/foobar

                                6. SEE ALSO

                                • +cdist-type(7) +

                                7. COPYING

                                Copyright (C) 2011 Steven Armstrong. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).

                                diff --git a/software/cdist/man/cdist.html b/software/cdist/man/cdist.html index e942a48c..c0f150b9 100644 --- a/software/cdist/man/cdist.html +++ b/software/cdist/man/cdist.html @@ -1,6 +1,6 @@ -cdist(7)

                                cdist(7)


                                1. NAME

                                cdist - Configuration management system

                                2. DESCRIPTION

                                Cdist is a very simple, elegant, cleanly designed configuration management +cdist(7)

                                cdist(7)


                                1. NAME

                                cdist - Configuration management system

                                2. DESCRIPTION

                                Cdist is a very simple, elegant, cleanly designed configuration management system. The easiest way to get started with cdist is to run cdist-quickstart.

                                Cdist configurations are written in the shell scripting language. The mapping of configurations to hosts is defined in so called manifests, logical units of functionality are called "types" in cdist jargon.