This is a set of saltstack recipes to set up and configure the following services on your debian insallation:
- usbautomount
- acpid (custom script for cubieboard based installation)
- logrotate
- users
- nginx shares
- samba shares
- transmission
- proftpd
- mediacenter (minidlna)
- ajaxplorer
- clamav
- pxe boot server
- backups via duplicity
- iscsi target via tgtd
Additionally one may use salty-vagrant to deploy and test the configuration in virtual machine.
- Debian 7.0 Wheezy
- Saltstack 0.15
Install these packages:
- python
- python-pip
- python-zmq
- python-crypto
- python-m2crypto
Install salt:
$pip install salt
Copy minion config to /etc/salt/minion.
For wheezy, the following line is needed in either /etc/apt/sources.list or a file in /etc/apt/sources.list.d:
deb http://debian.saltstack.com/debian wheezy-saltstack main
Then run
$apt-get update
$apt-get install salt-minion
Edit pillar data to fit your needs.
- Put minion configuration under /etc/salt/minion
- Copy roots/ folder context under /srv/
salt-call state.highstate
- Old version of forked-daapd is installed.
- Ajaxplorer sets default password admin:admin and all the users and repositories are managed via it. It's impossible to automatically configure it.
- ietd iscsi target requires customly compiled kernel and kernel headers.