Saltstack bits for BC
Lua SaltStack HTML Shell Python
Permalink
Failed to load latest commit information.
salt
.gitignore
README.md
pillar.example

README.md

saltstack

Saltstack bits for BC

Runs on abyss.buddycloud.com

Design choices

  • install services into /opt/buddycloud-<servicename>
  • all services run as nobody:nogroup (except nginx)
  • Log everything to /var/log/buddycloud/<service-name>.log (makes it nice to do a tail -F /var/log/buddycloud/*log)
  • logrotate everything
  • use buddycloud.dev for default domain
  • all services use and upstart script
  • remove init.d scripts

Todo

  • clean up pillar environment to something like: buddycloud:<env>:setting
buddycloud:
  "*":
    ntp-server: 1.2.3.4
    dns-server: 1.2.3.4
  dev:
    dns-server: 2.3.4.5 # should override "*" settings.
    frontend-url: http://localhost:3000
    send-address: noreply@somewhere.example
    smtp-server: abyss.buddycloud.com
    channels-xmpp-componet-password: channels-component-secret
    media-xmpp-componet-password: media-component-secret
  si:
    ...
  prod:
    ...