forked from ungleich-public/cdist
remove obsolete HACKERS_README, we are stable now
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e1421280d4
commit
9f6a3933c7
1 changed files with 0 additions and 40 deletions
|
@ -1,40 +0,0 @@
|
|||
cat << eof
|
||||
|
||||
Hey hackers,
|
||||
|
||||
this README is for you, for those who want to dig into cdist, hack it or try
|
||||
to get a deeper understanding. Please read doc/man/man7/cdist-hacker.text.
|
||||
|
||||
I hope you have a lot of fun with cdist, because it was also a lot of fun to
|
||||
develop it!
|
||||
|
||||
-- Nico, 20110324
|
||||
|
||||
## Running cdist when developing
|
||||
|
||||
This file is suitable for execution and saving the objects and
|
||||
explorers from cdist. I usually do it like this:
|
||||
|
||||
% ./HACKERS_README
|
||||
|
||||
################################################################################
|
||||
eof
|
||||
|
||||
set -x
|
||||
# Tell the user what we do, so this script makes sense during execution
|
||||
|
||||
# prepare use (only from top level directory)
|
||||
export PATH="$(pwd -P)/bin:$PATH"
|
||||
export __cdist_conf_dir="$(pwd -P)/conf"
|
||||
|
||||
# Allow user to supply hostname
|
||||
target="${1:-localhost}"
|
||||
|
||||
# And use hostname as basedir (dangerous, but hackers know what they do)
|
||||
export __cdist_local_base_dir="/tmp/$target"
|
||||
|
||||
# Run the real script
|
||||
cdist-deploy-to "$target"
|
||||
|
||||
# Display results
|
||||
find "${__cdist_local_base_dir}"
|
Loading…
Reference in a new issue