Sha256: 955ec959d14d28c58f783f5cd2242820e7e593b3bb899605bac45dba61500b66

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

#
# Partial: _common.sh
#
# Common functions used by the rest of the program.
#

banner()  { echo "-----> $*" ; }
info()    { echo "       $*" ; }
warn()    { echo ">>>>>> $*" >&2 ; }

report_bug() {
  warn "Please file a bug report at https://github.com/fnichol/knife-server/issues"
  warn " "
  warn "Please detail your operating system, version and any other relevant details"
}

exists() {
  if command -v $1 &>/dev/null
  then
    return 0
  else
    return 1
  fi
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
knife-server-1.0.0 lib/chef/knife/bootstrap/_common.sh