forked from ungleich-public/cdist
add new host init file with example
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
716a94cc2b
commit
1a149434f5
3 changed files with 5 additions and 10 deletions
5
conf/hosts/init
Normal file
5
conf/hosts/init
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
case "$__target_hostname" in
|
||||||
|
thilo)
|
||||||
|
echo "postgresql"
|
||||||
|
;;
|
||||||
|
esac
|
|
@ -1 +0,0 @@
|
||||||
This is Nico's notebook, automated via cdist.
|
|
|
@ -1,9 +0,0 @@
|
||||||
# works
|
|
||||||
cdist_package install vim zsh rxvt-unicode
|
|
||||||
|
|
||||||
# works
|
|
||||||
cdist_file files/notebook /etc/nicos_notebook
|
|
||||||
|
|
||||||
#collectd
|
|
||||||
#cdist_file /etc/issue issue
|
|
||||||
#cdist_file /etc/issue --via my_func
|
|
Loading…
Reference in a new issue