diff --git a/software/cdist.mdwn b/software/cdist.mdwn index feca4bc4..389470a0 100644 --- a/software/cdist.mdwn +++ b/software/cdist.mdwn @@ -107,7 +107,7 @@ To install cdist, execute the following commands: cd cdist export PATH=$PATH:$(pwd -P)/bin - # If you want the manpages (requires asciidoc to be installed) + # If you want the manpages (requires gmake and asciidoc to be installed) make man export MANPATH=$MANPATH:$(pwd -P)/doc/man @@ -136,7 +136,7 @@ may vanish at any point. To select a specific branch use git checkout -b origin/ # Stay on a specific version - git checkout -b 1.3 origin/1.3 + git checkout -b 1.4 origin/1.4 ### Mirrors diff --git a/software/cdist/man/cdist-env.html b/software/cdist/man/cdist-env.html index 539baa59..35edc6c2 100644 --- a/software/cdist/man/cdist-env.html +++ b/software/cdist/man/cdist-env.html @@ -628,7 +628,7 @@ granted under the terms of the GNU General Public License version 3 (GPLv3).


diff --git a/software/cdist/man/cdist-hacker.html b/software/cdist/man/cdist-hacker.html index a71f7b0d..3d2aa1e6 100644 --- a/software/cdist/man/cdist-hacker.html +++ b/software/cdist/man/cdist-hacker.html @@ -692,7 +692,7 @@ granted under the terms of the GNU General Public License version 3 (GPLv3).


diff --git a/software/cdist/man/cdist-manifest.html b/software/cdist/man/cdist-manifest.html index c877f316..8668ea0f 100644 --- a/software/cdist/man/cdist-manifest.html +++ b/software/cdist/man/cdist-manifest.html @@ -673,7 +673,7 @@ 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 index 69307780..fd1f45eb 100644 --- a/software/cdist/man/cdist-type__apt_ppa.html +++ b/software/cdist/man/cdist-type__apt_ppa.html @@ -641,7 +641,7 @@ 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..30047319 --- /dev/null +++ b/software/cdist/man/cdist-type__key_value.html @@ -0,0 +1,680 @@ + + + + + +cdist-type__key_value(7) + + + + + +
+
+

NAME

+
+

cdist-type__key_value - Change property values in files

+
+
+
+

DESCRIPTION

+
+

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

+
+
+
+

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. +

+
+
+
+
+
+

OPTIONAL PARAMETERS

+
+
+
+key +
+
+

+ The key to change. Defaults to object_id. +

+
+
+
+
+
+

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 '='
+
+
+
+
+

SEE ALSO

+
+
    +
  • +

    +cdist-type(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 067a4e27..c7312729 100644 --- a/software/cdist/man/cdist.html +++ b/software/cdist/man/cdist.html @@ -649,7 +649,7 @@ granted under the terms of the GNU General Public License version 3 (GPLv3).