Skip to content

bolshevik/debian-nas-saltstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

General

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.

Requirements

  • Debian 7.0 Wheezy
  • Saltstack 0.15

Install packages

ARM

Install these packages:

  • python
  • python-pip
  • python-zmq
  • python-crypto
  • python-m2crypto

Install salt:

$pip install salt

Copy minion config to /etc/salt/minion.

i386

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

Customize Salt states

Edit pillar data to fit your needs.

Configure Salt

  • Put minion configuration under /etc/salt/minion
  • Copy roots/ folder context under /srv/

Run

salt-call state.highstate

Known issues

  • 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.

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published