From 6d2e81d0dce0bbc41711aa2fa9dacdc5add44d2a Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Tue, 8 Oct 2019 08:30:27 +0200 Subject: [PATCH] Revert "Fix missed parameter file reading" This reverts commit e1c08c25b5a821fc2b9a9094c5801440559087a5. This fix was a mistake. No reading is needed, this is explorer execution on the remote. --- cdist/conf/type/__group/explorer/group | 2 +- cdist/conf/type/__group/explorer/gshadow | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdist/conf/type/__group/explorer/group b/cdist/conf/type/__group/explorer/group index 8c8e840d..dc673f61 100755 --- a/cdist/conf/type/__group/explorer/group +++ b/cdist/conf/type/__group/explorer/group @@ -23,7 +23,7 @@ # not_supported() { - echo "Your operating system ($(cat "$__explorer/os")) is currently not supported." >&2 + echo "Your operating system ($("$__explorer/os")) is currently not supported." >&2 echo "Cannot extract group information." >&2 echo "Please contribute an implementation for it if you can." >&2 exit 1 diff --git a/cdist/conf/type/__group/explorer/gshadow b/cdist/conf/type/__group/explorer/gshadow index c0dce1e3..05841d69 100755 --- a/cdist/conf/type/__group/explorer/gshadow +++ b/cdist/conf/type/__group/explorer/gshadow @@ -23,7 +23,7 @@ # name=$__object_id -os=$(cat "$__explorer/os") +os=$("$__explorer/os") not_supported() { echo "Your operating system ($os) is currently not supported." >&2