diff --git a/software/cdist.mdwn b/software/cdist.mdwn index 5e60a093..daa12f70 100644 --- a/software/cdist.mdwn +++ b/software/cdist.mdwn @@ -78,6 +78,7 @@ cdist was tested or is know to run on at least * A posix like shell * Python (>= 3.2 required) * SSH-Client + * Asciidoc (for building the manpages) ### Client ("target host") @@ -98,7 +99,7 @@ To install cdist, execute the following commands: cd cdist export PATH=$PATH:$(pwd -P)/bin - # If you want the manpages (requires gmake and asciidoc to be installed) + # If you want the manpages ./build.sh man export MANPATH=$MANPATH:$(pwd -P)/doc/man diff --git a/software/cdist/man/VERSION b/software/cdist/man/VERSION index 38f77a65..de52a0eb 100644 --- a/software/cdist/man/VERSION +++ b/software/cdist/man/VERSION @@ -1 +1 @@ -2.0.1 +2.0.1-86-gcdd4e09 diff --git a/software/cdist/man/man1/cdist-config.html b/software/cdist/man/man1/cdist-config.html index 2f17821c..8c734bd8 100644 --- a/software/cdist/man/man1/cdist-config.html +++ b/software/cdist/man/man1/cdist-config.html @@ -1,6 +1,6 @@ -
Cdist-config is sourced by cdist programs and provides hints on where to find +
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.
The following list contains environment variables that are known to be changed by users in various situations. To change the variable, diff --git a/software/cdist/man/man1/cdist-env.html b/software/cdist/man/man1/cdist-env.html index 68090cb6..1a3ec459 100644 --- a/software/cdist/man/man1/cdist-env.html +++ b/software/cdist/man/man1/cdist-env.html @@ -1,6 +1,6 @@ -
Table of Contents
cdist-env outputs two strings suitable for usage in your current shell, +
Table of Contents
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/man1/cdist-quickstart.html b/software/cdist/man/man1/cdist-quickstart.html index 31e4ad37..d12bc811 100644 --- a/software/cdist/man/man1/cdist-quickstart.html +++ b/software/cdist/man/man1/cdist-quickstart.html @@ -1,6 +1,6 @@ -
Table of Contents
cdist-quickstart is an interactive guide to cdist. It should be one +
Table of Contents
cdist-quickstart is an interactive guide to cdist. It should be one of the first tools you use when you begin with cdist.
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/man1/cdist-type-emulator.html b/software/cdist/man/man1/cdist-type-emulator.html index 0c57a835..cbbbdbe1 100644 --- a/software/cdist/man/man1/cdist-type-emulator.html +++ b/software/cdist/man/man1/cdist-type-emulator.html @@ -1,6 +1,6 @@ -cdist-type-emulator(1) Table of Contents
cdist-type-emulator is normally called through a link to it of the +
cdist-type-emulator(1) Table of Contents
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/man1/cdist-type-template.html b/software/cdist/man/man1/cdist-type-template.html deleted file mode 100644 index cd21e106..00000000 --- a/software/cdist/man/man1/cdist-type-template.html +++ /dev/null @@ -1,5 +0,0 @@ - - -
cdist-type-template(1) diff --git a/software/cdist/man/man1/cdist.html b/software/cdist/man/man1/cdist.html index 16055ddc..da8e6a4d 100644 --- a/software/cdist/man/man1/cdist.html +++ b/software/cdist/man/man1/cdist.html @@ -1,6 +1,6 @@ -Table of Contents
cdist-type-template creates a new type and adds the usual files to it. -It is thought to be helpful when writing new types.
cdist(1) Table of Contents
cdist [-h] [-V]
cdist banner
cdist config [-h] [-d] [-V] [-c CDIST_HOME] [-i MANIFEST] [-p] [-s] host [host …]
cdist is the frontend executable to the cdist configuration management. +
cdist(1) Table of Contents
cdist [-h] [-V]
cdist banner
cdist config [-h] [-d] [-V] [-c CDIST_HOME] [-i MANIFEST] [-p] [-s] host [host …]
cdist is the frontend executable to the cdist configuration management. cdist supports different as explained below. The options to the main program are:
- -h, --help diff --git a/software/cdist/man/man7/cdist-best-practice.html b/software/cdist/man/man7/cdist-best-practice.html index c71d64cc..e92532e5 100644 --- a/software/cdist/man/man7/cdist-best-practice.html +++ b/software/cdist/man/man7/cdist-best-practice.html @@ -1,6 +1,6 @@ -
cdist-best-practice(7) Table of Contents
It is recommended to run cdist with public key authentication. +
cdist-best-practice(7) Table of Contents
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).
When connecting to a new host, the initial delay with ssh connections diff --git a/software/cdist/man/man7/cdist-explorer.html b/software/cdist/man/man7/cdist-explorer.html index e3ec01ff..ed9afe0a 100644 --- a/software/cdist/man/man7/cdist-explorer.html +++ b/software/cdist/man/man7/cdist-explorer.html @@ -1,6 +1,6 @@ -
cdist-explorer(7) Table of Contents
Explorer are small shell scripts, which will be executed on the target +
cdist-explorer(7) Table of Contents
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/man7/cdist-hacker.html b/software/cdist/man/man7/cdist-hacker.html index 671f9eaf..4f8d34ae 100644 --- a/software/cdist/man/man7/cdist-hacker.html +++ b/software/cdist/man/man7/cdist-hacker.html @@ -1,6 +1,6 @@ -
cdist-hacker(7) Table of Contents
Welcome dear hacker! I invite you to a tour of pointers to +
cdist-hacker(7) Table of Contents
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/man7/cdist-manifest.html b/software/cdist/man/man7/cdist-manifest.html index 8ff11393..99ea3370 100644 --- a/software/cdist/man/man7/cdist-manifest.html +++ b/software/cdist/man/man7/cdist-manifest.html @@ -1,6 +1,6 @@ -
cdist-manifest(7) Table of Contents
Manifests exist to define which configurations should be applied to a specific +
cdist-manifest(7) Table of Contents
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/man7/cdist-reference.html b/software/cdist/man/man7/cdist-reference.html index 89b8eaf6..a67f40ca 100644 --- a/software/cdist/man/man7/cdist-reference.html +++ b/software/cdist/man/man7/cdist-reference.html @@ -1,6 +1,6 @@ -
cdist-reference(7) Table of Contents
The following global explores are available:
- +
cdist-reference(7) Table of Contents
The following global explores are available:
- hostname
- machine @@ -104,6 +104,8 @@ __addifnosuchline (cdist-type__addifnosuchline(7))
- __apt_ppa (cdist-type__apt_ppa(7))
- +__apt_update_index (cdist-type__apt_update_index(7)) +
- __autofs_map (cdist-type__autofs_map(7))
- __autofs_master (cdist-type__autofs_master(7)) @@ -136,6 +138,10 @@ __package (cdist-type__package(7))
- __package_yum (cdist-type__package_yum(7))
- +__partition_msdos_apply (cdist-type__partition_msdos_apply(7)) +
- +__partition_msdos (cdist-type__partition_msdos(7)) +
- __postgres_database (cdist-type__postgres_database(7))
- __postgres_role (cdist-type__postgres_role(7)) diff --git a/software/cdist/man/man7/cdist-stages.html b/software/cdist/man/man7/cdist-stages.html index e9c357f9..5049bd6a 100644 --- a/software/cdist/man/man7/cdist-stages.html +++ b/software/cdist/man/man7/cdist-stages.html @@ -1,6 +1,6 @@ -
cdist-stages(7) Table of Contents
- 1. NAME
- 2. DESCRIPTION
- 3. STAGE 0: INTERNAL PREPERATION
- 4. STAGE 1: TARGET INFORMATION RETRIEVAL
- 5. STAGE 2: RUN THE INITIAL MANIFEST
- 6. STAGE 3: OBJECT INFORMATION RETRIEVAL
- 7. STAGE 4: RUN THE OBJECT MANIFEST
- 8. STAGE 5: CODE GENERATION
- 9. STAGE 6: CODE EXECUTION
- 10. STAGE 7: CACHE
- 11. SUMMARY
- 12. SEE ALSO
- 13. COPYING
Starting the execution of deployment with cdist-deploy-to(1), cdist passes +
cdist-stages(7) Table of Contents
- 1. NAME
- 2. DESCRIPTION
- 3. STAGE 0: INTERNAL PREPERATION
- 4. STAGE 1: TARGET INFORMATION RETRIEVAL
- 5. STAGE 2: RUN THE INITIAL MANIFEST
- 6. STAGE 3: OBJECT INFORMATION RETRIEVAL
- 7. STAGE 4: RUN THE OBJECT MANIFEST
- 8. STAGE 5: CODE GENERATION
- 9. STAGE 6: CODE EXECUTION
- 10. STAGE 7: CACHE
- 11. SUMMARY
- 12. SEE ALSO
- 13. COPYING
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 shows the scripts responsible for each stage.
Before running the user facing stages, cdist prepares the target host diff --git a/software/cdist/man/man7/cdist-tutorial.html b/software/cdist/man/man7/cdist-tutorial.html new file mode 100644 index 00000000..4f373818 --- /dev/null +++ b/software/cdist/man/man7/cdist-tutorial.html @@ -0,0 +1,40 @@ + + +
cdist-tutorial(7) diff --git a/software/cdist/man/man7/cdist-type.html b/software/cdist/man/man7/cdist-type.html index 9e697d1d..5ea86bd2 100644 --- a/software/cdist/man/man7/cdist-type.html +++ b/software/cdist/man/man7/cdist-type.html @@ -1,6 +1,6 @@ -Table of Contents
This tutorial is aimed at people learning cdist and shows +typical approaches as well as gives an easy start into +the world of configuration management.
This tutorial assumes you are configuring localhost, because +it is always available. Just repace localhost with your target +host for real life usage.
For those who just want to configure a system with the +cdist configuration management and do not need (or want) +to understand everything.
Cdist uses ssh for communication and transportation +and usually logs into the target host as the +root user. So you need to configure the ssh server +of the target host to allow root logins: Edit +the file /etc/ssh/sshd_config and add one of the following +lines:
# Allow login only via public key +PermitRootLogin without-password + +# Allow login via password and public key +PermitRootLogin yesAs cdist uses ssh intensively, it is recommended to setup authentication +with public keys:
# Generate pubkey pair as a normal user +ssh-keygen + +# Copy pubkey over to target host +ssh-copy-id root@localhostAs soon as you are able to login without passwort to the target host, +we can use cdist, to configure it. You can copy and paste the following +code into your shell to get started and configure localhost:
# Get cdist +git clone git://git.schottelius.org/cdist + +# Create manifest (maps configuration to host(s) +cd cdist +echo '__file /etc/cdist-configured' > conf/manifest/init +chmod 0700 conf/manifest/init + +# Configure localhost +./bin/cdist config localhost + +# Find out that cdist created /etc/cdist-configured +ls -l /etc/cdist-configuredThe file conf/manifest/init is usually the entry point for cdist, +to find out what to configure on which host. All manifests are +essentially shell scripts. Every manifest can use the types known to +cdist, which are usually underline prefixed (__).
cdist-type(7) Table of Contents
- 1. NAME
- 2. SYNOPSIS
- 3. DESCRIPTION
- 4. HOW TO USE A TYPE
- 5. SINGLETON TYPES
- 6. HOW TO WRITE A NEW TYPE
- 7. DEFINING PARAMETERS
- 8. WRITING THE MANIFEST
- 9. SINGLETON - ONLY INSTANCE ONLY
- 10. THE TYPE EXPLORERS
- 11. WRITING THE GENCODE SCRIPT
- 12. HINTS FOR TYPEWRITERS
- 13. HOW TO INCLUDE A TYPE INTO UPSTREAM CDIST
- 14. SEE ALSO
- 15. COPYING
__TYPE ID --parameter value [--parameter value …]
__TYPE --parameter value [--parameter value …] (for singletons)
Types are the main component of cdist and define functionality. If you +
cdist-type(7) Table of Contents
- 1. NAME
- 2. SYNOPSIS
- 3. DESCRIPTION
- 4. HOW TO USE A TYPE
- 5. SINGLETON TYPES
- 6. HOW TO WRITE A NEW TYPE
- 7. DEFINING PARAMETERS
- 8. WRITING THE MANIFEST
- 9. SINGLETON - ONLY INSTANCE ONLY
- 10. THE TYPE EXPLORERS
- 11. WRITING THE GENCODE SCRIPT
- 12. HINTS FOR TYPEWRITERS
- 13. HOW TO INCLUDE A TYPE INTO UPSTREAM CDIST
- 14. SEE ALSO
- 15. COPYING
__TYPE ID --parameter value [--parameter value …]
__TYPE --parameter value [--parameter value …] (for singletons)
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.
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/man7/cdist-type__addifnosuchline.html b/software/cdist/man/man7/cdist-type__addifnosuchline.html index 896a529f..ca8527a7 100644 --- a/software/cdist/man/man7/cdist-type__addifnosuchline.html +++ b/software/cdist/man/man7/cdist-type__addifnosuchline.html @@ -1,6 +1,6 @@ -cdist-type__addifnosuchline(7) Table of Contents
This type can be used to check a file for existence of a +
cdist-type__addifnosuchline(7) Table of Contents
This type can be used to check a file for existence of a specific line and adding it, if it was not found.
- line
- diff --git a/software/cdist/man/man7/cdist-type__apt_ppa.html b/software/cdist/man/man7/cdist-type__apt_ppa.html index dadcb155..6aa88420 100644 --- a/software/cdist/man/man7/cdist-type__apt_ppa.html +++ b/software/cdist/man/man7/cdist-type__apt_ppa.html @@ -1,6 +1,6 @@ -
cdist-type__apt_ppa(7) Table of Contents
- +
cdist-type__apt_ppa(7) Table of Contents
- state
- The state the ppa should be in, either "enabled" or "disabled". diff --git a/software/cdist/man/man7/cdist-type__apt_update_index.html b/software/cdist/man/man7/cdist-type__apt_update_index.html new file mode 100644 index 00000000..0e9e72d2 --- /dev/null +++ b/software/cdist/man/man7/cdist-type__apt_update_index.html @@ -0,0 +1,6 @@ + + +
cdist-type__apt_update_index(7) diff --git a/software/cdist/man/man7/cdist-type__autofs_map.html b/software/cdist/man/man7/cdist-type__autofs_map.html index 54de68f3..4f19c37e 100644 --- a/software/cdist/man/man7/cdist-type__autofs_map.html +++ b/software/cdist/man/man7/cdist-type__autofs_map.html @@ -1,6 +1,6 @@ -Table of Contents
cdist-type__autofs_map(7) Table of Contents
- +
cdist-type__autofs_map(7) Table of Contents
- map
- Name of the map to use. See auto.master(5). diff --git a/software/cdist/man/man7/cdist-type__autofs_master.html b/software/cdist/man/man7/cdist-type__autofs_master.html index 5d3195a9..09045694 100644 --- a/software/cdist/man/man7/cdist-type__autofs_master.html +++ b/software/cdist/man/man7/cdist-type__autofs_master.html @@ -1,6 +1,6 @@ -
cdist-type__autofs_master(7) Table of Contents
This cdist type generates a auto.master configuration from given autofs_map +
cdist-type__autofs_master(7) Table of Contents
This cdist type generates a auto.master configuration from given autofs_map definitions. See cdist-typeauto_map(7).
- header
- diff --git a/software/cdist/man/man7/cdist-type__debconf_set_selections.html b/software/cdist/man/man7/cdist-type__debconf_set_selections.html index e18adba2..19f0746e 100644 --- a/software/cdist/man/man7/cdist-type__debconf_set_selections.html +++ b/software/cdist/man/man7/cdist-type__debconf_set_selections.html @@ -1,6 +1,6 @@ -
cdist-type__debconf_set_selections(7) On Debian and alike systems debconf-set-selections(1) can be used +
cdist-type__debconf_set_selections(7) On Debian and alike systems debconf-set-selections(1) can be used to setup configuration parameters.
- file
- diff --git a/software/cdist/man/man7/cdist-type__directory.html b/software/cdist/man/man7/cdist-type__directory.html index 90fb012f..d99ee781 100644 --- a/software/cdist/man/man7/cdist-type__directory.html +++ b/software/cdist/man/man7/cdist-type__directory.html @@ -1,6 +1,6 @@ -
cdist-type__directory(7) Table of Contents
- +
cdist-type__directory(7) Table of Contents
- group
- Group to chgrp to. diff --git a/software/cdist/man/man7/cdist-type__file.html b/software/cdist/man/man7/cdist-type__file.html index d8d2f4a1..f686036f 100644 --- a/software/cdist/man/man7/cdist-type__file.html +++ b/software/cdist/man/man7/cdist-type__file.html @@ -1,6 +1,6 @@ -
cdist-type__file(7) Table of Contents
- +
cdist-type__file(7) Table of Contents
- group
- Group to chgrp to. diff --git a/software/cdist/man/man7/cdist-type__group.html b/software/cdist/man/man7/cdist-type__group.html index 8ce3ab3e..086ad12f 100644 --- a/software/cdist/man/man7/cdist-type__group.html +++ b/software/cdist/man/man7/cdist-type__group.html @@ -1,6 +1,6 @@ -
cdist-type__group(7) Table of Contents
- +
cdist-type__group(7) Table of Contents
- gid
- see groupmod(8) diff --git a/software/cdist/man/man7/cdist-type__issue.html b/software/cdist/man/man7/cdist-type__issue.html index fa2327e3..b3860de8 100644 --- a/software/cdist/man/man7/cdist-type__issue.html +++ b/software/cdist/man/man7/cdist-type__issue.html @@ -1,6 +1,6 @@ -
cdist-type__issue(7) Table of Contents
- +
cdist-type__issue(7) Table of Contents
- source
- If supplied, use this file as /etc/issue instead of default. diff --git a/software/cdist/man/man7/cdist-type__key_value.html b/software/cdist/man/man7/cdist-type__key_value.html index 4b3a2533..0fe7889b 100644 --- a/software/cdist/man/man7/cdist-type__key_value.html +++ b/software/cdist/man/man7/cdist-type__key_value.html @@ -1,6 +1,6 @@ -
cdist-type__key_value(7) Table of Contents
This cdist type allows you to change values in a key value based config +
cdist-type__key_value(7) Table of Contents
- value
- diff --git a/software/cdist/man/man7/cdist-type__link.html b/software/cdist/man/man7/cdist-type__link.html index badd1939..f5d49226 100644 --- a/software/cdist/man/man7/cdist-type__link.html +++ b/software/cdist/man/man7/cdist-type__link.html @@ -1,6 +1,6 @@ -
cdist-type__link(7) Table of Contents
This cdist type allows you to hard and symoblic links. The given +
cdist-type__link(7) Table of Contents
This cdist type allows you to hard and symoblic links. The given object id is the destination for the link.
- source
- diff --git a/software/cdist/man/man7/cdist-type__motd.html b/software/cdist/man/man7/cdist-type__motd.html index 45bcea0f..a8430756 100644 --- a/software/cdist/man/man7/cdist-type__motd.html +++ b/software/cdist/man/man7/cdist-type__motd.html @@ -1,6 +1,6 @@ -
cdist-type__motd(7) Table of Contents
- +
cdist-type__motd(7) Table of Contents
- source
- If supplied, copy this file from the host running cdist to the target. diff --git a/software/cdist/man/man7/cdist-type__package.html b/software/cdist/man/man7/cdist-type__package.html index e30f9243..599f1ec0 100644 --- a/software/cdist/man/man7/cdist-type__package.html +++ b/software/cdist/man/man7/cdist-type__package.html @@ -1,6 +1,6 @@ -
cdist-type__user(7) Table of Contents
This cdist type allows you to install or uninstall packages on the target. +
cdist-type__user(7) Table of Contents
This cdist type allows you to install or uninstall packages on the target. It dispatches the actual work to the package system dependant types.
- state
- diff --git a/software/cdist/man/man7/cdist-type__package_apt.html b/software/cdist/man/man7/cdist-type__package_apt.html index 07c101ee..fd729b42 100644 --- a/software/cdist/man/man7/cdist-type__package_apt.html +++ b/software/cdist/man/man7/cdist-type__package_apt.html @@ -1,6 +1,6 @@ -
cdist-type__package_apt(7) Table of Contents
apt-get is usually used on Debian and variants (like Ubuntu) to +
cdist-type__package_apt(7) Table of Contents
- state
- diff --git a/software/cdist/man/man7/cdist-type__package_pacman.html b/software/cdist/man/man7/cdist-type__package_pacman.html index aa2c80e3..cbc2d5fd 100644 --- a/software/cdist/man/man7/cdist-type__package_pacman.html +++ b/software/cdist/man/man7/cdist-type__package_pacman.html @@ -1,6 +1,6 @@ -
cdist-type__package_pacman(7) Table of Contents
Pacman is usually used on the Archlinux distribution to manage +
cdist-type__package_pacman(7) Table of Contents
- state
- diff --git a/software/cdist/man/man7/cdist-type__package_pkg_openbsd.html b/software/cdist/man/man7/cdist-type__package_pkg_openbsd.html index 3972387d..58b6507a 100644 --- a/software/cdist/man/man7/cdist-type__package_pkg_openbsd.html +++ b/software/cdist/man/man7/cdist-type__package_pkg_openbsd.html @@ -1,6 +1,6 @@ -
cdist-type__package_pkg(7) Table of Contents
- +
cdist-type__package_pkg(7) Table of Contents
- state
- Either "installed" or "removed". diff --git a/software/cdist/man/man7/cdist-type__package_rubygem.html b/software/cdist/man/man7/cdist-type__package_rubygem.html index 5b02592c..2212403b 100644 --- a/software/cdist/man/man7/cdist-type__package_rubygem.html +++ b/software/cdist/man/man7/cdist-type__package_rubygem.html @@ -1,6 +1,6 @@ -
cdist-type__package_rubygem(7) Table of Contents
- +
cdist-type__package_rubygem(7) Table of Contents
- state
- Either "installed" or "removed". diff --git a/software/cdist/man/man7/cdist-type__package_yum.html b/software/cdist/man/man7/cdist-type__package_yum.html index 6f7b0aa8..9ea9ca94 100644 --- a/software/cdist/man/man7/cdist-type__package_yum.html +++ b/software/cdist/man/man7/cdist-type__package_yum.html @@ -1,6 +1,6 @@ -
cdist-type__package_yum(7) Table of Contents
Yum is usually used on the Fedora distribution to manage packages. +
cdist-type__package_yum(7) Table of Contents
Yum is usually used on the Fedora distribution to manage packages. If you specify an unknown package, yum will display the slightly confusing error message "Error: Nothing to do".
- state diff --git a/software/cdist/man/man7/cdist-type__partition_msdos.html b/software/cdist/man/man7/cdist-type__partition_msdos.html new file mode 100644 index 00000000..76c7995c --- /dev/null +++ b/software/cdist/man/man7/cdist-type__partition_msdos.html @@ -0,0 +1,38 @@ + + +
cdist-type__partition_msdos(7) diff --git a/software/cdist/man/man7/cdist-type__partition_msdos_apply.html b/software/cdist/man/man7/cdist-type__partition_msdos_apply.html new file mode 100644 index 00000000..c21ec293 --- /dev/null +++ b/software/cdist/man/man7/cdist-type__partition_msdos_apply.html @@ -0,0 +1,8 @@ + + +Table of Contents
- +type +
- + the partition type used in fdisk (such as 82 or 83) or "extended" +
- +partition +
- + defaults to object_id +
- +bootable +
- + mark partition as bootable, true or false, defaults to false +
- +size +
- + the size of the partition (such as 32M or 15G, whole numbers + only), + for remaining space, or n% for percentage of remaining + (these should only be used after all specific partition sizes are + specified). Defaults to +. +
# 128MB linux, bootable +__partition_msdos /dev/sda1 --type 83 --size 128M --bootable true +# 512MB swap +__partition_msdos /dev/sda2 --type 82 --size 512M +# extended +__partition_msdos /dev/sda3 --type extended --size 100G +# 10GB, linux +__partition_msdos /dev/sda5 --type 83 --size 10G +# 50% of free space, linux +__partition_msdos /dev/sda6 --type 83 --size 50% +# rest of disk, linux +__partition_msdos /dev/sda7 --type 83 --size + +# same thing as +__partition_msdos /dev/sda7 --type 83cdist-type__partition_msdos_apply(7) diff --git a/software/cdist/man/man7/cdist-type__postgres_database.html b/software/cdist/man/man7/cdist-type__postgres_database.html index f0be44e0..efcc25cd 100644 --- a/software/cdist/man/man7/cdist-type__postgres_database.html +++ b/software/cdist/man/man7/cdist-type__postgres_database.html @@ -1,6 +1,6 @@ -Table of Contents
cdist-type__postgres_database(7) Table of Contents
- +
cdist-type__postgres_database(7) Table of Contents
- state
- either present or absent diff --git a/software/cdist/man/man7/cdist-type__postgres_role.html b/software/cdist/man/man7/cdist-type__postgres_role.html index 90258eb3..2826e97c 100644 --- a/software/cdist/man/man7/cdist-type__postgres_role.html +++ b/software/cdist/man/man7/cdist-type__postgres_role.html @@ -1,6 +1,6 @@ -
cdist-type__postgres_role(7)
- +
cdist-type__postgres_role(7)
- state
- either present or absent diff --git a/software/cdist/man/man7/cdist-type__process.html b/software/cdist/man/man7/cdist-type__process.html index c855b2e3..4d664d7c 100644 --- a/software/cdist/man/man7/cdist-type__process.html +++ b/software/cdist/man/man7/cdist-type__process.html @@ -1,6 +1,6 @@ -
cdist-type__process(7)