Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README.rst
init.sls
value

README.rst

Daemontools

This state installs Daemontools. Simply include daemontools on a minion.

To create a structure usable with envdir, set your desired environment in your pillar data:

some_project:
  env:
    SENTRY_DSN: https://…
    DATABASE_URL: postgres://…

And then, in a state file:

{% from "daemontools/init.sls" import env %}

{% env("some_project", pillar['some_project']['env']) %}

This will create /etc/some_project.d/SENTRY_DSN, etc. so you can use envdir /etc/some_project.d <command>.

Something went wrong with that request. Please try again.