add hint for example configuration

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.0
Nico Schottelius 14 years ago
parent 7c8dba566f
commit 81c7ba085f
  1. 2
      bin/cdist-build
  2. 9
      bin/cdist-preprocess
  3. 7
      conf/README

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

@ -26,13 +26,14 @@
[ $# -eq 1 ] || __cdist_usage "target"
set -e
cdist-build-explorer | ssh "$1" > "${CDIST_TMP}"
cdist-build-explorer | ssh "$1" > "${__cdist_tmp_file}"
# FIXME: Warning: An untrusted/compromised client could in theory exploit us
# And a filter function like grep '^__cdist_explore.*=".*"$'
# is probably not effective!
. "${CDIST_TMP}"
. "${__cdist_tmp_file}"
# Create cconfig for the host
# cdist-manifest ...
# Create cconfig for the host - FIXME: replace with a recursive version
# to allow type runners, overwrites and merges
cdist-manifest-init

@ -0,0 +1,7 @@
This is a sample configuration that can be used as an example
for /etc/cdist.
For instance:
[root@kr etc]# ln -s ~nico/p/cdist/conf/ /etc/cdist
Loading…
Cancel
Save