2011-02-14 10:16:50 +00:00
|
|
|
cat << eof
|
|
|
|
|
2010-12-01 19:06:07 +00:00
|
|
|
Hey hackers,
|
|
|
|
|
|
|
|
cdist has not been published, you're accessing a early in developent
|
|
|
|
code.
|
|
|
|
|
|
|
|
Do not believe anything written in cdist, besides what's written in this file
|
|
|
|
(everything else may be future stuff for the initial release).
|
|
|
|
|
|
|
|
-- Nico, 20101201
|
|
|
|
|
|
|
|
|
2011-02-03 12:24:56 +00:00
|
|
|
What you can do so far: (executed from top level directory)
|
2010-12-01 19:06:07 +00:00
|
|
|
|
2011-02-17 15:13:35 +00:00
|
|
|
The following code will get executed if you run this README,
|
|
|
|
I usually do it like this:
|
|
|
|
|
|
|
|
% rm -rf /tmp/localhost && ./HACKERS_README
|
2011-02-14 10:16:50 +00:00
|
|
|
|
|
|
|
eof
|
|
|
|
|
2011-02-16 18:45:33 +00:00
|
|
|
# Tell the user what we do, so this script makes sense during execution
|
2011-02-17 15:26:48 +00:00
|
|
|
set -x
|
|
|
|
|
2011-02-17 08:16:44 +00:00
|
|
|
# prepare use (only from top level directory)
|
2010-12-01 19:06:07 +00:00
|
|
|
export PATH="$PATH:$(pwd -P)/bin"
|
2011-02-23 18:01:29 +00:00
|
|
|
export __cdist_conf_dir="$(pwd -P)/conf"
|
2011-02-17 08:16:44 +00:00
|
|
|
|
2011-02-23 18:05:46 +00:00
|
|
|
export __cdist_local_base_dir=/tmp/localhost
|
2011-02-17 14:11:41 +00:00
|
|
|
|
2011-02-19 00:44:24 +00:00
|
|
|
target="${1:-localhost}"
|
|
|
|
cdist-deploy-to "$target"
|
2011-02-17 14:35:56 +00:00
|
|
|
|
2011-02-23 18:05:46 +00:00
|
|
|
find "${__cdist_local_base_dir}"
|