docs: check out given version

refs #1656
This commit is contained in:
Thomas Gelf 2018-12-10 06:48:29 +01:00
parent 9c689aca51
commit 15d8bce17c

View File

@ -16,7 +16,7 @@ Requirements
* Some features require newer Icinga 2 releases
* Flapping requires 2.8 for the thresholds to work - and at least 2.7 on all
nodes
* Icinga Web 2 (>= 2.4.1). All versions since 2.2 should also work fine, but
* Icinga Web 2 (>= 2.6.0). All versions since 2.2 should also work fine, but
might show smaller UI bugs and are not actively tested
* A database, MySQL (>= 5.1) or PostgreSQL (>= 9.1). MariaDB and other
MySQL forks are also fine. Mentioned versions are the required minimum,
@ -84,7 +84,7 @@ You might want to use a script as follows for this task:
ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules"
REPO_URL="https://github.com/icinga/icingaweb2-module-director"
TARGET_DIR="${ICINGAWEB_MODULEPATH}/director"
MODULE_VERSION="1.5.1"
MODULE_VERSION="1.6.0"
URL="${REPO_URL}/archive/v${MODULE_VERSION}.tar.gz"
install -d -m 0755 "${TARGET_DIR}"
wget -q -O - "$URL" | tar xfz - -C "${TARGET_DIR}" --strip-components 1
@ -101,8 +101,8 @@ It will be immediately ready for use:
ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules"
REPO_URL="https://github.com/icinga/icingaweb2-module-director"
TARGET_DIR="${ICINGAWEB_MODULEPATH}/director"
MODULE_VERSION="1.5.1"
git clone "${REPO_URL}" "${TARGET_DIR}"
MODULE_VERSION="1.6.0"
git clone "${REPO_URL}" "${TARGET_DIR}" --branch v${MODULE_VERSION}
You can now directly use our current GIT master or check out a specific version.