Page MenuHomeDevCentral

software.sls
No OneTemporary

software.sls

# -------------------------------------------------------------
# Salt — Provision Dovecot
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% if grains['os'] == 'FreeBSD' %}
# -------------------------------------------------------------
# Port options
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/var/db/ports/mail_dovecot/options:
file.managed:
- source: salt://roles/devserver/userland-software/files/port_options
- template: jinja
- mode: 644
- context:
args:
category: mail
name: mail_dovecot
options:
set:
- PGSQL
# -------------------------------------------------------------
# Build and install package
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
dovecot_build_port:
cmd.run:
- name: |
make build package deinstall reinstall
pkg lock --yes mail_dovecot
- cwd: /usr/ports/databases/mail_dovecot
- creates: /usr/local/etc/dovecot
{% else %}
dovecot:
pkg.installed
{% endif %}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 18, 17:22 (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3156753
Default Alt Text
software.sls (1 KB)

Event Timeline