Merge branch '4.2'

This commit is contained in:
Darko Poljak 2016-07-18 20:33:23 +02:00
commit a434ec8dde
9 changed files with 34 additions and 13 deletions

View File

@ -196,7 +196,7 @@ eof
archivename="$3"
else
archivename="cdist-${tag}.tar.gz"
git archive --prefix="cdist-${tag}" -o "${archivename}" "${tag}" \
git archive --prefix="cdist-${tag}/" -o "${archivename}" "${tag}" \
|| exit 1
fi
gpg --armor --detach-sign "${archivename}" || exit 1
@ -217,6 +217,13 @@ eof
| python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \
|| exit 1
# upload archive and then signature
curl -H "Authorization: token ${token}" \
-H "Accept: application/vnd.github.manifold-preview" \
-H "Content-Type: application/x-gtar" \
--data-binary @${archivename} \
"https://uploads.github.com/repos/ungleich/cdist/releases/${repoid}/assets?name=${archivename}" \
|| exit 1
curl -H "Authorization: token ${token}" \
-H "Accept: application/vnd.github.manifold-preview" \
-H "Content-Type: application/pgp-signature" \

View File

@ -231,7 +231,7 @@ eof
archivename="$3"
else
archivename="cdist-${tag}.tar.gz"
git archive --prefix="cdist-${tag}" -o "${archivename}" "${tag}" \
git archive --prefix="cdist-${tag}/" -o "${archivename}" "${tag}" \
|| exit 1
fi
gpg --armor --detach-sign "${archivename}" || exit 1
@ -252,6 +252,13 @@ eof
| python3 -c 'import json; import sys; print(json.loads(sys.stdin.read())["id"])') \
|| exit 1
# upload archive and then signature
curl -H "Authorization: token ${token}" \
-H "Accept: application/vnd.github.manifold-preview" \
-H "Content-Type: application/x-gtar" \
--data-binary @${archivename} \
"https://uploads.github.com/repos/ungleich/cdist/releases/${repoid}/assets?name=${archivename}" \
|| exit 1
curl -H "Authorization: token ${token}" \
-H "Accept: application/vnd.github.manifold-preview" \
-H "Content-Type: application/pgp-signature" \

View File

@ -25,8 +25,8 @@ keyid
the id of the key to add. Defaults to __object_id
keyserver
the keyserver from which to fetch the key. If omitted the default set in
./parameter/default/keyserver is used.
the keyserver from which to fetch the key. If omitted the default set
in ./parameter/default/keyserver is used.
EXAMPLES

View File

@ -111,7 +111,7 @@ syslog
enables logging to syslog
verify-incoming
enforce the use of TLS and verify a client's authenticity on incomming connections
enforce the use of TLS and verify a client's authenticity on incoming connections
verify-outgoing
enforce the use of TLS and verify the peers authenticity on outgoing connections

View File

@ -72,13 +72,13 @@ EXAMPLES
--delimiter ' = ' --comment '# my linux kernel should act as a router'
# Remove existing key/value
__key_value LEGACY_KEY --file /etc/somefile --state absent --delimiter '='
__key_value LEGACY_KEY --file /etc/somefile --state absent --delimiter '='
MORE INFORMATION
----------------
This type try to handle as many values as possible, so it doesn't use regexes.
So you need to exactly specify the key and delimiter. Delimiter can be of any lenght.
So you need to exactly specify the key and delimiter. Delimiter can be of any length.
AUTHORS

View File

@ -15,7 +15,7 @@ cdist) and then deployed to the target host using the __file type.
REQUIRED PARAMETERS
-------------------
source
the URL from which to retreive the source file.
the URL from which to retrieve the source file.
e.g.
* https://dl.bintray.com/mitchellh/consul/0.4.1_linux_amd64.zip

View File

@ -20,10 +20,10 @@ uri
OPTIONAL PARAMETERS
-------------------
service_desc
If supplied, use the service_desc and not the object id as descritpion for the service.
If supplied, use the service_desc and not the object id as description for the service.
state
Either "present" or "absent", defaults to "present"
Either "present" or "absent", defaults to "present"
type
Defaults to "ris", the standard type of services at SLES11. For other values, see manpage of zypper.

View File

@ -1,7 +1,11 @@
Changelog
---------
next:
4.2.1: 2016-07-18
* Build: Fix signed release (Darko Poljak)
* Build: Fix building docs (Darko Poljak)
* Documentation: Fix man pages (Dmitry Bogatov)
* Documentation: Fix spellings (Dmitry Bogatov)
4.2.0: 2016-07-16
* Build: Make github signed release (Darko Poljak)

View File

@ -15,7 +15,6 @@
import sys
import os
import cdist.version
import sphinx_rtd_theme
# If extensions (or modules to document with autodoc) are in another directory,
@ -23,7 +22,11 @@ import sphinx_rtd_theme
# documentation root, use os.path.abspath to make it absolute, like shown here.
# sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath(os.path.join(
os.path.dirname(os.path.realpath(__file__)), "../../")))
os.path.dirname(os.path.realpath(__file__)), "..", "..")))
# Import cdist after sys.path fixup above.
import cdist.version # nopep8 - ignore error that import is not at top
# -- General configuration ------------------------------------------------