unify error messages

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.0
Nico Schottelius 14 years ago
parent a57402299c
commit 39595f321f
  1. 2
      bin/cdist-build
  2. 2
      bin/cdist-compile
  3. 2
      bin/cdist-deploy-to
  4. 2
      bin/cdist-preprocess

@ -23,7 +23,7 @@
. cdist-config
[ $# -eq 1 ] || __cdist_usage "target_host"
[ $# -eq 1 ] || __cdist_usage "<target host>"
set -e

@ -21,6 +21,6 @@
# Compile configuration - create cconfig from manifests
#
[ $# -eq 1 ] || __cdist_usage "target"
[ $# -eq 1 ] || __cdist_usage "<target host>"
echo This script should run the manifest file

@ -23,7 +23,7 @@
. cdist-config
[ $# -eq 1 ] || __cdist_usage "target"
[ $# -eq 1 ] || __cdist_usage "target_host"
set -e

@ -23,7 +23,7 @@
. cdist-config
[ $# -eq 1 ] || __cdist_usage "target"
[ $# -eq 1 ] || __cdist_usage "<target host>"
set -e
cdist-build-explorer | ssh "$1" > "${__cdist_tmp_file}"

Loading…
Cancel
Save