Page MenuHomeDevCentral

web.sls
No OneTemporary

# -------------------------------------------------------------
# Salt — Provision web software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Eglide
# Created: 2016-06-12
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "map.jinja" import dirs, packages with context %}
# -------------------------------------------------------------
# nginx
# -------------------------------------------------------------
nginx:
pkg.installed: []
service.running:
- require:
- pkg: nginx
# -------------------------------------------------------------
# SSL certificates
# -------------------------------------------------------------
letsencrypt:
pkg.installed:
- name: {{ packages.certbot }}
# -------------------------------------------------------------
# Web utilities
# -------------------------------------------------------------
web_utilities:
pkg.installed:
- pkgs:
- igal2
{{ dirs.bin }}/html-directories:
file.managed:
- source: salt://roles/shellserver/userland-software/files/html-directories.sh
- mode: 755

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 22, 14:06 (16 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3092327
Default Alt Text
web.sls (1 KB)

Event Timeline