|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
#!/bin/sh |
|
|
|
|
# |
|
|
|
|
# 2012 Steven Armstrong (steven-cdist at armstrong.cc) |
|
|
|
|
# 2014 Nico Schottelius (nico-cdist at schottelius.org) |
|
|
|
|
# |
|
|
|
|
# This file is part of cdist. |
|
|
|
|
# |
|
|
|
@ -18,10 +19,6 @@ |
|
|
|
|
# along with cdist. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
# set defaults |
|
|
|
|
name="$(cat "$__object/parameter/name" 2>/dev/null \ |
|
|
|
|
|| echo "${__target_host%%.*}" | tee "$__object/parameter/name")" |
|
|
|
|
|
|
|
|
|
os=$(cat "$__global/explorer/os") |
|
|
|
|
|
|
|
|
|
not_supported() { |
|
|
|
@ -33,7 +30,6 @@ not_supported() { |
|
|
|
|
case "$os" in |
|
|
|
|
archlinux|debian|ubuntu) |
|
|
|
|
# handled in gencode-remote |
|
|
|
|
# FIXED: hostname setup in archlinuz via rc.local ist outdated |
|
|
|
|
: |
|
|
|
|
;; |
|
|
|
|
*) |
|
|
|
|