diff --git a/youngjin.han/dot-cdist/type/__my_nginx_site/manifest b/youngjin.han/dot-cdist/type/__my_nginx_site/manifest index 56e3762..0b17ddf 100755 --- a/youngjin.han/dot-cdist/type/__my_nginx_site/manifest +++ b/youngjin.han/dot-cdist/type/__my_nginx_site/manifest @@ -1,5 +1,17 @@ #!/bin/sh -e +os=$(cat "$__global/explorer/os") + +case "$os" in + devuan) + : + ;; + *) + echo "OS $os currently not supported" >&2 + exit 1 + ;; +esac + nginx_config_dir="/etc/nginx/conf.d" domain="$__object_id"