2023-12-07 15:02:28 +00:00
|
|
|
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
|
2024-08-23 14:12:56 +01:00
|
|
|
- sls: php_fpm
|
2023-12-07 15:02:28 +00:00
|
|
|
- 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
|
|
|
|
|