From 0f6bff67a0a1f03fc42fcc8540b2ed245c35cd42 Mon Sep 17 00:00:00 2001 From: Laura Herzog Date: Mon, 10 May 2021 12:29:30 +0200 Subject: [PATCH 1/2] Updated readme, changelog, metafiles and docs --- CHANGELOG.md | 11 +++++++++++ README.md | 8 ++++---- install.sh | 2 -- src/doil.sh | 2 -- src/lib/include/aliases.sh | 6 ++---- src/lib/include/env.sh | 2 -- src/lib/include/helper.sh | 2 -- src/lib/instances/cd/cd.sh | 23 +++++++++++++++++++++++ src/lib/instances/cd/help.sh | 23 +++++++++++++++++++++++ src/lib/instances/create/create.sh | 23 +++++++++++++++++++++++ src/lib/instances/create/help.sh | 23 +++++++++++++++++++++++ src/lib/instances/delete/delete.sh | 23 +++++++++++++++++++++++ src/lib/instances/delete/help.sh | 23 +++++++++++++++++++++++ src/lib/instances/down/down.sh | 23 +++++++++++++++++++++++ src/lib/instances/down/help.sh | 23 +++++++++++++++++++++++ src/lib/instances/help.sh | 27 +++++++++++++++++++++++++-- src/lib/instances/instances.sh | 23 +++++++++++++++++++++++ src/lib/instances/list/help.sh | 23 +++++++++++++++++++++++ src/lib/instances/list/list.sh | 23 +++++++++++++++++++++++ src/lib/instances/login/help.sh | 23 +++++++++++++++++++++++ src/lib/instances/login/login.sh | 23 +++++++++++++++++++++++ src/lib/instances/repair/help.sh | 23 +++++++++++++++++++++++ src/lib/instances/repair/repair.sh | 23 +++++++++++++++++++++++ src/lib/instances/up/help.sh | 23 +++++++++++++++++++++++ src/lib/instances/up/up.sh | 23 +++++++++++++++++++++++ src/lib/instances/update/help.sh | 23 +++++++++++++++++++++++ src/lib/instances/update/update.sh | 23 +++++++++++++++++++++++ src/lib/repo/add/add.sh | 23 +++++++++++++++++++++++ src/lib/repo/add/help.sh | 23 +++++++++++++++++++++++ src/lib/repo/help.sh | 23 +++++++++++++++++++++++ src/lib/repo/list/help.sh | 23 +++++++++++++++++++++++ src/lib/repo/list/list.sh | 23 +++++++++++++++++++++++ src/lib/repo/remove/help.sh | 23 +++++++++++++++++++++++ src/lib/repo/remove/remove.sh | 23 +++++++++++++++++++++++ src/lib/repo/repo.sh | 23 +++++++++++++++++++++++ src/lib/repo/update/help.sh | 23 +++++++++++++++++++++++ src/lib/repo/update/update.sh | 23 +++++++++++++++++++++++ src/lib/salt/help.sh | 23 +++++++++++++++++++++++ src/lib/salt/login/help.sh | 23 +++++++++++++++++++++++ src/lib/salt/login/login.sh | 23 +++++++++++++++++++++++ src/lib/salt/prune/help.sh | 23 +++++++++++++++++++++++ src/lib/salt/prune/prune.sh | 23 +++++++++++++++++++++++ src/lib/salt/reset/help.sh | 23 +++++++++++++++++++++++ src/lib/salt/reset/reset.sh | 23 +++++++++++++++++++++++ src/lib/salt/restart/help.sh | 23 +++++++++++++++++++++++ src/lib/salt/restart/restart.sh | 23 +++++++++++++++++++++++ src/lib/salt/salt.sh | 23 +++++++++++++++++++++++ src/lib/salt/set/help.sh | 23 +++++++++++++++++++++++ src/lib/salt/set/set.sh | 23 +++++++++++++++++++++++ src/lib/salt/update/help.sh | 23 +++++++++++++++++++++++ src/lib/salt/update/update.sh | 23 +++++++++++++++++++++++ src/lib/system/deinstall/deinstall.sh | 23 +++++++++++++++++++++++ src/lib/system/deinstall/help.sh | 23 +++++++++++++++++++++++ src/lib/system/help.sh | 23 +++++++++++++++++++++++ src/lib/system/system.sh | 23 +++++++++++++++++++++++ src/lib/system/version/version.sh | 25 ++++++++++++++++++++++++- src/tpl/minion/README.md | 4 ++++ update.sh | 12 ++++++++---- 58 files changed, 1159 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index caf51161..13b828fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 1.1 + +* Added PHP 8.0 suppot +* Added adminer for easy MySQL Access from the browser +* Fixed several composer issues +* Added auto installer for ILIAS >= 7 +* Implemented possibility to update php, apache and mysql configs +* Added SSH Key to access private github repositories +* Set `doil update` and `doil repair` to deprecated +* Added aliases `doil rm` and `doil ls` + ## 1.0.3 * Fixed occasions where the salt master couldn't communicate due to the diff --git a/README.md b/README.md index 3ee6456c..b1fbc95a 100644 --- a/README.md +++ b/README.md @@ -47,12 +47,12 @@ The following commands are available: the current working directory * `doil up` starts an instance that you have created before * `doil cd` switches the current working directoryto the location of the instance -* `doil list` lists all available instances +* `doil ls` lists all available instances * `doil login` logs you into the container running the instance * `doil down` stops an instance to free the ressources it needs -* `doil delete` deletes an instance you do not need anymore -* `doil repair` repairs the system of an instance -* `doil update` updates the system of an instance +* `doil rm` deletes an instance you do not need anymore +* [deprecated] `doil repair` repairs the system of an instance +* [deprecated] `doil update` updates the system of an instance * look into `doil instances --help` for further commands related to instances ## Known Restrictions diff --git a/install.sh b/install.sh index e283b62e..8960d755 100755 --- a/install.sh +++ b/install.sh @@ -22,8 +22,6 @@ # `--'_|\ ) # ,' | / ;' # (,,/ (,,/ Thanks to Concepts and Training for supporting doil -# -# Last revised 2021-03-23 # sudo user check if [ "$EUID" -ne 0 ] diff --git a/src/doil.sh b/src/doil.sh index 3c9ab2be..7c547a39 100755 --- a/src/doil.sh +++ b/src/doil.sh @@ -22,8 +22,6 @@ # `--'_|\ ) # ,' | / ;' # (,,/ (,,/ Thanks to Concepts and Training for supporting doil -# -# Last revised 2021-xx-xx # saner programming env: these switches turn some bugs into errors set -o errexit -o pipefail -o noclobber -o nounset diff --git a/src/lib/include/aliases.sh b/src/lib/include/aliases.sh index 51fe0b87..7f08eba0 100755 --- a/src/lib/include/aliases.sh +++ b/src/lib/include/aliases.sh @@ -22,8 +22,6 @@ # `--'_|\ ) # ,' | / ;' # (,,/ (,,/ Thanks to Concepts and Training for supporting doil -# -# Last revised 2021-02-08 if [ $1 == "up" ] then @@ -59,7 +57,7 @@ then exit fi -if [ $1 == "delete" ] +if [ $1 == "delete" ] || [ $1 == "rm" ] then if [ -z ${2:+x} ] then @@ -114,7 +112,7 @@ then exit fi -if [ $1 == "list" ] +if [ $1 == "list" ] || [ $1 == "ls" ] then doil instances:list exit diff --git a/src/lib/include/env.sh b/src/lib/include/env.sh index c4f4ec06..c62cd7aa 100755 --- a/src/lib/include/env.sh +++ b/src/lib/include/env.sh @@ -22,8 +22,6 @@ # `--'_|\ ) # ,' | / ;' # (,,/ (,,/ Thanks to Concepts and Training for supporting doil -# -# Last revised 2021-02-08 # set the host case "$(uname -s)" in diff --git a/src/lib/include/helper.sh b/src/lib/include/helper.sh index 2aaab409..8fbd1413 100755 --- a/src/lib/include/helper.sh +++ b/src/lib/include/helper.sh @@ -22,8 +22,6 @@ # `--'_|\ ) # ,' | / ;' # (,,/ (,,/ Thanks to Concepts and Training for supporting doil -# -# Last revised 2021-02-08 function doil_get_hash() { if [ -z "$1" ] diff --git a/src/lib/instances/cd/cd.sh b/src/lib/instances/cd/cd.sh index 08fa2c59..e3c07bf0 100755 --- a/src/lib/instances/cd/cd.sh +++ b/src/lib/instances/cd/cd.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/instances/cd/help.sh b/src/lib/instances/cd/help.sh index 53d70f6d..34a385db 100755 --- a/src/lib/instances/cd/help.sh +++ b/src/lib/instances/cd/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances:cd - switches the active directory diff --git a/src/lib/instances/create/create.sh b/src/lib/instances/create/create.sh index ef3ced75..0f947836 100755 --- a/src/lib/instances/create/create.sh +++ b/src/lib/instances/create/create.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the helper source /usr/local/lib/doil/lib/include/env.sh source /usr/local/lib/doil/lib/include/helper.sh diff --git a/src/lib/instances/create/help.sh b/src/lib/instances/create/help.sh index 2eaaa7ef..7dfdb1e5 100755 --- a/src/lib/instances/create/help.sh +++ b/src/lib/instances/create/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances:create - creates an instance diff --git a/src/lib/instances/delete/delete.sh b/src/lib/instances/delete/delete.sh index 73e34789..647ff0c0 100755 --- a/src/lib/instances/delete/delete.sh +++ b/src/lib/instances/delete/delete.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the helper source /usr/local/lib/doil/lib/include/env.sh source /usr/local/lib/doil/lib/include/helper.sh diff --git a/src/lib/instances/delete/help.sh b/src/lib/instances/delete/help.sh index 8f22f5d7..cb7ae455 100755 --- a/src/lib/instances/delete/help.sh +++ b/src/lib/instances/delete/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances:delete - deletes an instance diff --git a/src/lib/instances/down/down.sh b/src/lib/instances/down/down.sh index 419b04f5..8c58ea87 100755 --- a/src/lib/instances/down/down.sh +++ b/src/lib/instances/down/down.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/instances/down/help.sh b/src/lib/instances/down/help.sh index 2276517b..283403a9 100755 --- a/src/lib/instances/down/help.sh +++ b/src/lib/instances/down/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances:down - stops an instance diff --git a/src/lib/instances/help.sh b/src/lib/instances/help.sh index 31e6e7b3..9439eb99 100755 --- a/src/lib/instances/help.sh +++ b/src/lib/instances/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances - manages the instances @@ -23,6 +46,6 @@ COMMANDS up starts an instance down stops an instance list lists the instances - repair repairs the system of an instance - update updates the system of an instance + repair repairs the system of an instance [deprecated] + update updates the system of an instance [deprecated] EOF \ No newline at end of file diff --git a/src/lib/instances/instances.sh b/src/lib/instances/instances.sh index 37fc3073..ab2a1d80 100755 --- a/src/lib/instances/instances.sh +++ b/src/lib/instances/instances.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the command CMD="" oIFS=$IFS diff --git a/src/lib/instances/list/help.sh b/src/lib/instances/list/help.sh index d3e8697b..b71a4cd1 100755 --- a/src/lib/instances/list/help.sh +++ b/src/lib/instances/list/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances:list - lists the instances diff --git a/src/lib/instances/list/list.sh b/src/lib/instances/list/list.sh index da17dd9f..0aba698f 100755 --- a/src/lib/instances/list/list.sh +++ b/src/lib/instances/list/list.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/instances/login/help.sh b/src/lib/instances/login/help.sh index 22351a57..b314a81c 100755 --- a/src/lib/instances/login/help.sh +++ b/src/lib/instances/login/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances:login - logges into the running instance diff --git a/src/lib/instances/login/login.sh b/src/lib/instances/login/login.sh index d9dd92f2..9dc54414 100755 --- a/src/lib/instances/login/login.sh +++ b/src/lib/instances/login/login.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the helper source /usr/local/lib/doil/lib/include/env.sh source /usr/local/lib/doil/lib/include/helper.sh diff --git a/src/lib/instances/repair/help.sh b/src/lib/instances/repair/help.sh index d3b75338..80d13cc5 100755 --- a/src/lib/instances/repair/help.sh +++ b/src/lib/instances/repair/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances:repair - repairs an instance diff --git a/src/lib/instances/repair/repair.sh b/src/lib/instances/repair/repair.sh index 0d7581dc..21d8c89a 100755 --- a/src/lib/instances/repair/repair.sh +++ b/src/lib/instances/repair/repair.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the helper source /usr/local/lib/doil/lib/include/env.sh source /usr/local/lib/doil/lib/include/helper.sh diff --git a/src/lib/instances/up/help.sh b/src/lib/instances/up/help.sh index 8c164ac4..0abb3ddc 100755 --- a/src/lib/instances/up/help.sh +++ b/src/lib/instances/up/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances:up - starts an instance diff --git a/src/lib/instances/up/up.sh b/src/lib/instances/up/up.sh index 29897562..7b478fd5 100755 --- a/src/lib/instances/up/up.sh +++ b/src/lib/instances/up/up.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the helper source /usr/local/lib/doil/lib/include/env.sh source /usr/local/lib/doil/lib/include/helper.sh diff --git a/src/lib/instances/update/help.sh b/src/lib/instances/update/help.sh index 9cd17a6c..c2cd343d 100755 --- a/src/lib/instances/update/help.sh +++ b/src/lib/instances/update/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil instances:update - updates an instance diff --git a/src/lib/instances/update/update.sh b/src/lib/instances/update/update.sh index a6a0d29c..0ac966b8 100755 --- a/src/lib/instances/update/update.sh +++ b/src/lib/instances/update/update.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the helper source /usr/local/lib/doil/lib/include/env.sh source /usr/local/lib/doil/lib/include/helper.sh diff --git a/src/lib/repo/add/add.sh b/src/lib/repo/add/add.sh index e650f3e0..2e15d527 100755 --- a/src/lib/repo/add/add.sh +++ b/src/lib/repo/add/add.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/repo/add/help.sh b/src/lib/repo/add/help.sh index 846b6bd8..7d78b4a8 100755 --- a/src/lib/repo/add/help.sh +++ b/src/lib/repo/add/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil repo:add - adds a repository diff --git a/src/lib/repo/help.sh b/src/lib/repo/help.sh index dc4d94c2..ff484d90 100755 --- a/src/lib/repo/help.sh +++ b/src/lib/repo/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil repo - manages the repositories diff --git a/src/lib/repo/list/help.sh b/src/lib/repo/list/help.sh index 4b4b4027..8d16dff9 100755 --- a/src/lib/repo/list/help.sh +++ b/src/lib/repo/list/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil repo:list - lists the repositories diff --git a/src/lib/repo/list/list.sh b/src/lib/repo/list/list.sh index bea394ba..25e901e3 100755 --- a/src/lib/repo/list/list.sh +++ b/src/lib/repo/list/list.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/repo/remove/help.sh b/src/lib/repo/remove/help.sh index 179c5458..e2f12f2f 100755 --- a/src/lib/repo/remove/help.sh +++ b/src/lib/repo/remove/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil repo:remove - removes a repository from the configuration file diff --git a/src/lib/repo/remove/remove.sh b/src/lib/repo/remove/remove.sh index 591501ad..edb06575 100755 --- a/src/lib/repo/remove/remove.sh +++ b/src/lib/repo/remove/remove.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/repo/repo.sh b/src/lib/repo/repo.sh index b846848c..2c31ff69 100755 --- a/src/lib/repo/repo.sh +++ b/src/lib/repo/repo.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the command CMD="" oIFS=$IFS diff --git a/src/lib/repo/update/help.sh b/src/lib/repo/update/help.sh index d3bd036e..b9dbde88 100755 --- a/src/lib/repo/update/help.sh +++ b/src/lib/repo/update/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil repo:update - updates a repository diff --git a/src/lib/repo/update/update.sh b/src/lib/repo/update/update.sh index 0daf5eca..f535a670 100755 --- a/src/lib/repo/update/update.sh +++ b/src/lib/repo/update/update.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/salt/help.sh b/src/lib/salt/help.sh index d1b9b781..4c6631d1 100755 --- a/src/lib/salt/help.sh +++ b/src/lib/salt/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil salt - manages the saltstack diff --git a/src/lib/salt/login/help.sh b/src/lib/salt/login/help.sh index 1cb582e0..7c330352 100755 --- a/src/lib/salt/login/help.sh +++ b/src/lib/salt/login/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil salt:login - logs you into the salt server diff --git a/src/lib/salt/login/login.sh b/src/lib/salt/login/login.sh index c41d2871..e1716f96 100755 --- a/src/lib/salt/login/login.sh +++ b/src/lib/salt/login/login.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the helper source /usr/local/lib/doil/lib/include/env.sh source /usr/local/lib/doil/lib/include/helper.sh diff --git a/src/lib/salt/prune/help.sh b/src/lib/salt/prune/help.sh index cd5781f3..ff1774d3 100755 --- a/src/lib/salt/prune/help.sh +++ b/src/lib/salt/prune/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil salt:prune - prunes the salt master server diff --git a/src/lib/salt/prune/prune.sh b/src/lib/salt/prune/prune.sh index fefb9dd1..c7c269b5 100755 --- a/src/lib/salt/prune/prune.sh +++ b/src/lib/salt/prune/prune.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/salt/reset/help.sh b/src/lib/salt/reset/help.sh index 1340ec24..64c98f4e 100755 --- a/src/lib/salt/reset/help.sh +++ b/src/lib/salt/reset/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil salt:reset - resets the saltstack to the buildin saltstack diff --git a/src/lib/salt/reset/reset.sh b/src/lib/salt/reset/reset.sh index 57f5097c..d1f06d4a 100755 --- a/src/lib/salt/reset/reset.sh +++ b/src/lib/salt/reset/reset.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/salt/restart/help.sh b/src/lib/salt/restart/help.sh index 18af3900..8d7f6fe9 100755 --- a/src/lib/salt/restart/help.sh +++ b/src/lib/salt/restart/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil salt:restart - restarts the salt server diff --git a/src/lib/salt/restart/restart.sh b/src/lib/salt/restart/restart.sh index 8586fcc1..dd88ac78 100755 --- a/src/lib/salt/restart/restart.sh +++ b/src/lib/salt/restart/restart.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the helper source /usr/local/lib/doil/lib/include/env.sh source /usr/local/lib/doil/lib/include/helper.sh diff --git a/src/lib/salt/salt.sh b/src/lib/salt/salt.sh index 3148c9df..48b3a29e 100755 --- a/src/lib/salt/salt.sh +++ b/src/lib/salt/salt.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the command CMD="" oIFS=$IFS diff --git a/src/lib/salt/set/help.sh b/src/lib/salt/set/help.sh index 19c52f8d..3b7a979b 100755 --- a/src/lib/salt/set/help.sh +++ b/src/lib/salt/set/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil salt:set - sets the repository for the saltstack configuration diff --git a/src/lib/salt/set/set.sh b/src/lib/salt/set/set.sh index 7cb7294c..7c50f8e6 100755 --- a/src/lib/salt/set/set.sh +++ b/src/lib/salt/set/set.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/salt/update/help.sh b/src/lib/salt/update/help.sh index be302eab..5aaa5e82 100755 --- a/src/lib/salt/update/help.sh +++ b/src/lib/salt/update/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil salt:update - updates the saltstack diff --git a/src/lib/salt/update/update.sh b/src/lib/salt/update/update.sh index a84c38ef..d16003d8 100755 --- a/src/lib/salt/update/update.sh +++ b/src/lib/salt/update/update.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # we can move the pointer one position shift diff --git a/src/lib/system/deinstall/deinstall.sh b/src/lib/system/deinstall/deinstall.sh index b5637535..8334b7b7 100755 --- a/src/lib/system/deinstall/deinstall.sh +++ b/src/lib/system/deinstall/deinstall.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # sudo user check if [ "$EUID" -ne 0 ] then diff --git a/src/lib/system/deinstall/help.sh b/src/lib/system/deinstall/help.sh index a0c8a02f..dd3fc1b3 100755 --- a/src/lib/system/deinstall/help.sh +++ b/src/lib/system/deinstall/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil system:deinstall - updates the saltstack diff --git a/src/lib/system/help.sh b/src/lib/system/help.sh index 12242481..da9c47ae 100755 --- a/src/lib/system/help.sh +++ b/src/lib/system/help.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + cat <<-EOF NAME doil - ILIAS docker tool diff --git a/src/lib/system/system.sh b/src/lib/system/system.sh index 84b7c839..dc74396c 100755 --- a/src/lib/system/system.sh +++ b/src/lib/system/system.sh @@ -1,5 +1,28 @@ #!/bin/bash +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + # get the command CMD="" oIFS=$IFS diff --git a/src/lib/system/version/version.sh b/src/lib/system/version/version.sh index d9ccc6bb..6ef03422 100755 --- a/src/lib/system/version/version.sh +++ b/src/lib/system/version/version.sh @@ -1,3 +1,26 @@ #!/bin/bash -echo "doil version 1.0.3 - build 2021-05-02" \ No newline at end of file +# doil is a tool that creates and manages multiple docker container +# with ILIAS and comes with several tools to help manage everything. +# It is able to download ILIAS and other ILIAS related software +# like cate. +# +# Copyright (C) 2020 - 2021 Laura Herzog (laura.herzog@concepts-and-training.de) +# Permission to copy and modify is granted under the AGPL license +# +# Contribute: https://github.com/conceptsandtraining/ilias-tool-doil +# +# .-. +# / / +# / | +# |\ ._ ,-"" `. +# | |,,_/ 7 ; +# `;= ,=( , / +# |`q q ` | \_,| +# .=; <> _ ; / ,/'/ | +# ';|\,j_ \;=\ ,/ `-' +# `--'_|\ ) +# ,' | / ;' +# (,,/ (,,/ Thanks to Concepts and Training for supporting doil + +echo "doil version 1.1 - build 2021-05-10" \ No newline at end of file diff --git a/src/tpl/minion/README.md b/src/tpl/minion/README.md index af8949e2..2d072614 100644 --- a/src/tpl/minion/README.md +++ b/src/tpl/minion/README.md @@ -38,3 +38,7 @@ If you chosed the automatic installation you can login to your ILIAS installatio User: root Passwort: homer ``` + +## Additional Information + +You can find adminer at `%TPL_PROJECT_NAME%.local/adminer` \ No newline at end of file diff --git a/update.sh b/update.sh index 33effdfe..036a6491 100755 --- a/update.sh +++ b/update.sh @@ -22,8 +22,6 @@ # `--'_|\ ) # ,' | / ;' # (,,/ (,,/ Thanks to Concepts and Training for supporting doil -# -# Last revised 2021-03-23 # sudo user check if [ "$EUID" -ne 0 ] @@ -138,8 +136,14 @@ rm -rf /usr/local/lib/doil/tpl/minion cp -r src/tpl/minion /usr/local/lib/doil/tpl/minion # TODO ask for it! -rm -rf /usr/local/lib/doil/tpl/stack -cp -r src/tpl/stack /usr/local/lib/doil/tpl/stack +echo "Do you want to update the salt stack aswell? [Yn]" +read UPDATE_SALTSTACK +if [[ ${UPDATE_SALTSTACK} != "n" ]] && + [[ ${UPDATE_SALTSTACK} != "N" ]] +then + rm -rf /usr/local/lib/doil/tpl/stack + cp -r src/tpl/stack /usr/local/lib/doil/tpl/stack +fi ################# # Everything done From c1ab6b5ba98ae4f19aae8337e9f8f0b1c9f2a918 Mon Sep 17 00:00:00 2001 From: Laura Herzog Date: Mon, 10 May 2021 12:52:22 +0200 Subject: [PATCH 2/2] #56 Added php-soap packages --- src/tpl/stack/states/php7.0/php/init.sls | 1 + src/tpl/stack/states/php7.1/php/init.sls | 1 + src/tpl/stack/states/php7.2/php/init.sls | 1 + src/tpl/stack/states/php7.3/php/init.sls | 1 + src/tpl/stack/states/php7.4/php/init.sls | 1 + src/tpl/stack/states/php8.0/php/init.sls | 1 + 6 files changed, 6 insertions(+) diff --git a/src/tpl/stack/states/php7.0/php/init.sls b/src/tpl/stack/states/php7.0/php/init.sls index 2f7b5ef9..e36cc47f 100644 --- a/src/tpl/stack/states/php7.0/php/init.sls +++ b/src/tpl/stack/states/php7.0/php/init.sls @@ -27,6 +27,7 @@ php7.0: - php7.0-zip - php7.0-mbstring - php7.0-xml + - php7.0-soap /root/cleanup.sh: file.managed: diff --git a/src/tpl/stack/states/php7.1/php/init.sls b/src/tpl/stack/states/php7.1/php/init.sls index e81bee27..c92ae981 100644 --- a/src/tpl/stack/states/php7.1/php/init.sls +++ b/src/tpl/stack/states/php7.1/php/init.sls @@ -26,6 +26,7 @@ php7.1: - php7.1-cli - php7.1-zip - php7.1-mbstring + - php7.1-soap /root/cleanup.sh: file.managed: diff --git a/src/tpl/stack/states/php7.2/php/init.sls b/src/tpl/stack/states/php7.2/php/init.sls index 3397f6b3..0485a7e3 100644 --- a/src/tpl/stack/states/php7.2/php/init.sls +++ b/src/tpl/stack/states/php7.2/php/init.sls @@ -26,6 +26,7 @@ php7.2: - php7.2-cli - php7.2-zip - php7.2-mbstring + - php7.2-soap /root/cleanup.sh: file.managed: diff --git a/src/tpl/stack/states/php7.3/php/init.sls b/src/tpl/stack/states/php7.3/php/init.sls index d1f4cd98..fc33e986 100644 --- a/src/tpl/stack/states/php7.3/php/init.sls +++ b/src/tpl/stack/states/php7.3/php/init.sls @@ -12,6 +12,7 @@ php7.3: - php7.3-cli - php7.3-zip - php7.3-mbstring + - php7.3-soap /root/cleanup.sh: file.managed: diff --git a/src/tpl/stack/states/php7.4/php/init.sls b/src/tpl/stack/states/php7.4/php/init.sls index 29f6618f..85111ec8 100644 --- a/src/tpl/stack/states/php7.4/php/init.sls +++ b/src/tpl/stack/states/php7.4/php/init.sls @@ -26,6 +26,7 @@ php7.4: - php7.4-cli - php7.4-zip - php7.4-mbstring + - php7.4-soap /root/cleanup.sh: file.managed: diff --git a/src/tpl/stack/states/php8.0/php/init.sls b/src/tpl/stack/states/php8.0/php/init.sls index b5f16eb6..1cf423e9 100644 --- a/src/tpl/stack/states/php8.0/php/init.sls +++ b/src/tpl/stack/states/php8.0/php/init.sls @@ -25,6 +25,7 @@ php8.0: - php8.0-cli - php8.0-zip - php8.0-mbstring + - php8.0-soap /root/cleanup.sh: file.managed: