forked from ungleich-public/cdist-contrib
__netbox{,_gunicorn}: fix shellcheck directives
This commit is contained in:
parent
dbc91cb339
commit
2805b6beff
2 changed files with 4 additions and 2 deletions
|
@ -41,7 +41,8 @@ while read -r hostname; do
|
||||||
# shellcheck disable=SC2089
|
# shellcheck disable=SC2089
|
||||||
ALLOWED_HOSTS="$ALLOWED_HOSTS '$hostname',"
|
ALLOWED_HOSTS="$ALLOWED_HOSTS '$hostname',"
|
||||||
done < "$__object/parameter/host"
|
done < "$__object/parameter/host"
|
||||||
export ALLOWED_HOSTS # shellcheck disable=SC2090
|
# shellcheck disable=SC2090
|
||||||
|
export ALLOWED_HOSTS
|
||||||
|
|
||||||
if [ -f "$__object/parameter/secret-key" ]; then
|
if [ -f "$__object/parameter/secret-key" ]; then
|
||||||
SECRET_KEY=$(cat "$__object/parameter/secret-key")
|
SECRET_KEY=$(cat "$__object/parameter/secret-key")
|
||||||
|
|
|
@ -5,7 +5,8 @@ while read -r host; do
|
||||||
# shellcheck disable=SC2089
|
# shellcheck disable=SC2089
|
||||||
HOST="$HOST '$host',"
|
HOST="$HOST '$host',"
|
||||||
done < "$__object/parameter/bind-to"
|
done < "$__object/parameter/bind-to"
|
||||||
export HOST # shellcheck disable=SC2090
|
# shellcheck disable=SC2090
|
||||||
|
export HOST
|
||||||
|
|
||||||
# process template
|
# process template
|
||||||
mkdir "$__object/files"
|
mkdir "$__object/files"
|
||||||
|
|
Loading…
Reference in a new issue