124 | | `mysql -u root -p` |
125 | | |
126 | | `CREATE DATABASE icinga;` |
127 | | |
128 | | `CREATE USER 'icinga'@'localhost' IDENTIFIED BY '###PASSSWORD### ;` |
129 | | |
130 | | `GRANT SELECT, INSERT, UPDATE, DELETE, DROP, CREATE VIEW, INDEX, EXECUTE ON icinga.* TO 'icinga'@'localhost';` |
131 | | |
132 | | `quit` |
| 125 | {{{ |
| 126 | mysql -u root -p |
| 127 | |
| 128 | CREATE DATABASE icinga; |
| 129 | |
| 130 | CREATE USER 'icinga'@'localhost' IDENTIFIED BY '###PASSSWORD### ; |
| 131 | |
| 132 | GRANT SELECT, INSERT, UPDATE, DELETE, DROP, CREATE VIEW, INDEX, EXECUTE ON icinga.* TO 'icinga'@'localhost'; |
| 133 | |
| 134 | quit |
| 135 | }}} |
232 | | `REACTBUNDLE_MODULE_NAME=reactbundle` |
233 | | |
234 | | `REACTBUNDLE_MODULE_VERSION=v0.9.0` |
235 | | |
236 | | `REACTBUNDLE_REPO="https://github.com/Icinga/icingaweb2-module-${REACTBUNDLE_MODULE_NAME}"` |
237 | | |
238 | | `MODULES_PATH="/usr/share/icingaweb2/modules"` |
239 | | |
240 | | `git config --global advice.detachedHead false` |
241 | | |
242 | | `git clone ${REACTBUNDLE_REPO} "${MODULES_PATH}/${REACTBUNDLE_MODULE_NAME}" --branch "${REACTBUNDLE_MODULE_VERSION}"` |
243 | | |
244 | | `icingacli module enable "${REACTBUNDLE_MODULE_NAME}"` |
| 241 | {{{ |
| 242 | REACTBUNDLE_MODULE_NAME=reactbundle |
| 243 | |
| 244 | REACTBUNDLE_MODULE_VERSION=v0.9.0 |
| 245 | |
| 246 | REACTBUNDLE_REPO="https://github.com/Icinga/icingaweb2-module-${REACTBUNDLE_MODULE_NAME}" |
| 247 | |
| 248 | MODULES_PATH="/usr/share/icingaweb2/modules" |
| 249 | |
| 250 | git config --global advice.detachedHead false |
| 251 | |
| 252 | git clone ${REACTBUNDLE_REPO} "${MODULES_PATH}/${REACTBUNDLE_MODULE_NAME}" --branch "${REACTBUNDLE_MODULE_VERSION}" |
| 253 | |
| 254 | icingacli module enable "${REACTBUNDLE_MODULE_NAME}" |
| 255 | }}} |
250 | | `IPL_MODULE_NAME=ipl` |
251 | | |
252 | | `IPL_MODULE_VERSION=v0.5.0` |
253 | | |
254 | | `IPL_REPO="https://github.com/Icinga/icingaweb2-module-${IPL_MODULE_NAME}"` |
255 | | |
256 | | `MODULES_PATH="/usr/share/icingaweb2/modules"` |
257 | | |
258 | | `git clone ${IPL_REPO} "${MODULES_PATH}/${IPL_MODULE_NAME}" --branch "${IPL_MODULE_VERSION}"` |
259 | | |
260 | | `icingacli module enable "${IPL_MODULE_NAME}"` |
| 261 | {{{ |
| 262 | IPL_MODULE_NAME=ipl |
| 263 | |
| 264 | IPL_MODULE_VERSION=v0.5.0 |
| 265 | |
| 266 | IPL_REPO="https://github.com/Icinga/icingaweb2-module-${IPL_MODULE_NAME}" |
| 267 | |
| 268 | MODULES_PATH="/usr/share/icingaweb2/modules" |
| 269 | |
| 270 | git clone ${IPL_REPO} "${MODULES_PATH}/${IPL_MODULE_NAME}" --branch "${IPL_MODULE_VERSION}" |
| 271 | |
| 272 | icingacli module enable "${IPL_MODULE_NAME}" |
| 273 | }}} |
266 | | `INCUBATOR_MODULE_NAME=incubator` |
267 | | |
268 | | `INCUBATOR_MODULE_VERSION=v0.6.0` |
269 | | |
270 | | `INCUBATOR_REPO="https://github.com/Icinga/icingaweb2-module-${INCUBATOR_MODULE_NAME}"` |
271 | | |
272 | | `MODULES_PATH="/usr/share/icingaweb2/modules"` |
273 | | |
274 | | `git clone ${INCUBATOR_REPO} "${MODULES_PATH}/${INCUBATOR_MODULE_NAME}" --branch "${INCUBATOR_MODULE_VERSION}"` |
275 | | |
276 | | `icingacli module enable "${INCUBATOR_MODULE_NAME}"` |
| 279 | {{{ |
| 280 | INCUBATOR_MODULE_NAME=incubator |
| 281 | |
| 282 | INCUBATOR_MODULE_VERSION=v0.6.0 |
| 283 | |
| 284 | INCUBATOR_REPO="https://github.com/Icinga/icingaweb2-module-${INCUBATOR_MODULE_NAME}" |
| 285 | |
| 286 | MODULES_PATH="/usr/share/icingaweb2/modules" |
| 287 | |
| 288 | git clone ${INCUBATOR_REPO} "${MODULES_PATH}/${INCUBATOR_MODULE_NAME}" --branch "${INCUBATOR_MODULE_VERSION}" |
| 289 | |
| 290 | icingacli module enable "${INCUBATOR_MODULE_NAME}" |
| 291 | }}} |
282 | | `ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules"` |
283 | | |
284 | | `REPO_URL="https://github.com/icinga/icingaweb2-module-director"` |
285 | | |
286 | | `TARGET_DIR="${ICINGAWEB_MODULEPATH}/director"` |
287 | | |
288 | | `MODULE_VERSION="1.8.0"` |
289 | | |
290 | | `git clone "${REPO_URL}" "${TARGET_DIR}" --branch v${MODULE_VERSION}` |
| 297 | {{{ |
| 298 | |
| 299 | ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules" |
| 300 | |
| 301 | REPO_URL="https://github.com/icinga/icingaweb2-module-director" |
| 302 | |
| 303 | TARGET_DIR="${ICINGAWEB_MODULEPATH}/director" |
| 304 | |
| 305 | MODULE_VERSION="1.8.0" |
| 306 | |
| 307 | git clone "${REPO_URL}" "${TARGET_DIR}" --branch v${MODULE_VERSION} |
| 308 | }}} |
300 | | `BS_PROCESS_ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules"` |
301 | | |
302 | | `BS_PROCESS_REPO_URL="https://github.com/Icinga/icingaweb2-module-businessprocess"` |
303 | | |
304 | | `BS_PROCESS_TARGET_DIR="${ICINGAWEB_MODULEPATH}/businessprocess"` |
305 | | |
306 | | `git clone "${BS_PROCESS_REPO_URL}" "${BS_PROCESS_TARGET_DIR}"` |
| 318 | {{{ |
| 319 | BS_PROCESS_ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules" |
| 320 | |
| 321 | BS_PROCESS_REPO_URL="https://github.com/Icinga/icingaweb2-module-businessprocess" |
| 322 | |
| 323 | BS_PROCESS_TARGET_DIR="${ICINGAWEB_MODULEPATH}/businessprocess" |
| 324 | |
| 325 | git clone "${BS_PROCESS_REPO_URL}" "${BS_PROCESS_TARGET_DIR}" |
| 326 | }}} |