[cdist #2]create __my_computer cdist

This commit is contained in:
elf 2020-05-06 21:38:35 +09:00
parent 2e235cbd1f
commit cc5bb23ad3
3 changed files with 14 additions and 3 deletions

View File

@ -1,8 +1,6 @@
case "$__target_host" in
# Everybody has this
localhost)
__file /etc/cdist-configured
__timezone Asia/Seoul
__package emacs --state present
__my_computer
;;
esac

View 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

View File

@ -0,0 +1,6 @@
#!/bin/sh
pkgs="zsh mosh emacs nmap sipcalc"
for pkg in ${pkgs}; do
__package ${pkg} --state present
done