[cdist #2]create __my_computer cdist
This commit is contained in:
parent
2e235cbd1f
commit
cc5bb23ad3
3 changed files with 14 additions and 3 deletions
|
@ -1,8 +1,6 @@
|
||||||
case "$__target_host" in
|
case "$__target_host" in
|
||||||
# Everybody has this
|
# Everybody has this
|
||||||
localhost)
|
localhost)
|
||||||
__file /etc/cdist-configured
|
__my_computer
|
||||||
__timezone Asia/Seoul
|
|
||||||
__package emacs --state present
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
7
kjg/dot-cdist/type/__my_computer/manifest
Normal file
7
kjg/dot-cdist/type/__my_computer/manifest
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
__package zsh --state present
|
||||||
|
__package mosh --state present
|
||||||
|
__package emacks --state present
|
||||||
|
__package namp --state present
|
||||||
|
__package sipcalc --state present
|
6
kjg/dot-cdist/type/__my_computer/manifest~
Normal file
6
kjg/dot-cdist/type/__my_computer/manifest~
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pkgs="zsh mosh emacs nmap sipcalc"
|
||||||
|
for pkg in ${pkgs}; do
|
||||||
|
__package ${pkg} --state present
|
||||||
|
done
|
Loading…
Reference in a new issue