add hint for example configuration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
7c8dba566f
commit
81c7ba085f
3 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
|
|
7
conf/README
Normal file
7
conf/README
Normal file
|
@ -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…
Reference in a new issue