logging
This commit is contained in:
@@ -15,7 +15,6 @@ function check() {
|
||||
check_haxe3 || return 26
|
||||
check_cagettepei_batch || return 35
|
||||
check_cagettepei_timers || return 36
|
||||
echo "container <$CONTAINER> approved successfully!"
|
||||
}
|
||||
|
||||
function check_apache_modules() {
|
||||
|
||||
@@ -7,8 +7,6 @@ function check() {
|
||||
|
||||
container_exists "$CONTAINER" || return 1
|
||||
container_running "$CONTAINER" || return 2
|
||||
|
||||
echo "container <$CONTAINER> approved successfully!"
|
||||
}
|
||||
|
||||
### INSTALL
|
||||
|
||||
@@ -11,9 +11,6 @@ function check() {
|
||||
check_reverseproxy || return 4
|
||||
check_banner || return 5
|
||||
check_certbot || return 6
|
||||
|
||||
PREFIX="recipe:dmz:check" echo "container <$CONTAINER> approved successfully!"
|
||||
return 0
|
||||
}
|
||||
|
||||
function check_reverseproxy() {
|
||||
|
||||
@@ -8,9 +8,6 @@ function check() {
|
||||
|
||||
check_mandatory_packages || return 11
|
||||
check_one_release || return 12
|
||||
|
||||
echo "container <$CONTAINER> approved successfully!"
|
||||
return 0
|
||||
}
|
||||
|
||||
function check_mandatory_packages() {
|
||||
|
||||
@@ -12,8 +12,6 @@ function check() {
|
||||
test -f /etc/default/automysqlbackup
|
||||
grep -q BACKUPDIR=\"/mnt/BACKUP/mariadb\" /etc/default/automysqlbackup
|
||||
EOF
|
||||
echo "container <$CONTAINER> approved successfully!"
|
||||
return 0
|
||||
}
|
||||
|
||||
function build_device_backup() {
|
||||
|
||||
@@ -43,9 +43,6 @@ function check() {
|
||||
check_venv || return 14
|
||||
check_favicon || return 15
|
||||
check_file_odoo-addon-install || return 23
|
||||
|
||||
echo "container <$CONTAINER> approved successfully!"
|
||||
return 0
|
||||
}
|
||||
|
||||
function install() {
|
||||
|
||||
@@ -26,9 +26,6 @@ function check() {
|
||||
check_user_odoo || return 21
|
||||
check_target_bgcolor || return 22
|
||||
check_file_odoo-addon-install || return 23
|
||||
|
||||
echo "container <$CONTAINER> approved successfully!"
|
||||
return 0
|
||||
}
|
||||
|
||||
function install() {
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
function check() {
|
||||
PREFIX="recipe:postgresql:check"
|
||||
container_running "$CONTAINER" || return 10
|
||||
echo "checking postgresql regarding access to the bridge subnet <$BRIDGE_SUBNET>..."
|
||||
|
||||
lxc exec "$CONTAINER" -- bash <<EOF
|
||||
set -Eeuo pipefail
|
||||
@@ -14,7 +13,6 @@ function check() {
|
||||
test -f /etc/default/autopostgresqlbackup
|
||||
EOF
|
||||
status="$?"
|
||||
[[ $status -eq 0 ]] && echo "container <$CONTAINER> approved!"
|
||||
return $status
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ function check() {
|
||||
PREFIX="recipe:redis:check"
|
||||
|
||||
container_running "$CONTAINER" || return 10
|
||||
echo "checking redis regarding access to its ip address <$REDIS_IP>..."
|
||||
|
||||
lxc exec "$CONTAINER" -- bash <<EOF
|
||||
set -Eeuo pipefail
|
||||
@@ -14,7 +13,6 @@ function check() {
|
||||
grep -Eq "^protected-mode no" /etc/redis/redis.conf
|
||||
EOF
|
||||
status="$?"
|
||||
[[ $status -eq 0 ]] && echo "container <$CONTAINER> approved!"
|
||||
return $status
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
function check() {
|
||||
PREFIX="recipe:stub:check"
|
||||
echo "container <$CONTAINER> approved successfully!"
|
||||
}
|
||||
|
||||
### INSTALL
|
||||
|
||||
@@ -10,8 +10,6 @@ function check() {
|
||||
check_wordpress_tgz || return 22
|
||||
check_wp-tool || return 23
|
||||
check_wp-backup || return 24
|
||||
|
||||
echo "container <$CONTAINER> approved successfully!"
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user