33 lines
778 B
Plaintext
33 lines
778 B
Plaintext
gpodder:
|
|
pkg.installed:
|
|
- pkgs:
|
|
- php-sqlite3
|
|
|
|
srv_gpodder_directory:
|
|
file.recurse:
|
|
- name: /srv/gpodder
|
|
- source: salt://gpodder/micro-gpodder-server/server
|
|
- user: www-data
|
|
- group: www-data
|
|
- dir_mode: '0755'
|
|
|
|
gpodder_web:
|
|
file.managed:
|
|
- require:
|
|
- sls: apache
|
|
- sls: certificates/client
|
|
- sls: php_fpm
|
|
- names:
|
|
- /etc/apache2/sites-available/gpodder.lunch.org.uk.conf:
|
|
- source: salt://gpodder/gpodder.lunch.org.uk.conf
|
|
apache_site.enabled:
|
|
- require:
|
|
- file: /etc/apache2/sites-available/gpodder.lunch.org.uk.conf
|
|
- name: gpodder.lunch.org.uk
|
|
service.running:
|
|
- name: apache2
|
|
- reload: true
|
|
- watch:
|
|
- file: /etc/apache2/sites-available/gpodder.lunch.org.uk.conf
|
|
|