From 906dd92d7ed1bd79eb2524b9a3e1a0d880eab068 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 19 Feb 2023 00:36:43 +0100 Subject: Add web.apache-httpd role Signed-off-by: Georg Pfuetzenreuter --- pillar/role/web/apache-httpd.sls | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pillar/role/web/apache-httpd.sls (limited to 'pillar/role') diff --git a/pillar/role/web/apache-httpd.sls b/pillar/role/web/apache-httpd.sls new file mode 100644 index 0000000..5b4b64b --- /dev/null +++ b/pillar/role/web/apache-httpd.sls @@ -0,0 +1,3 @@ +apache: + global: + ServerAdmin: system@lysergic.dev -- cgit v1.2.3 From 4653655010c16d8f1f128480b55d4cd2e9f5a9e7 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 19 Feb 2023 13:40:47 +0100 Subject: profile.apache-httpd: manage snippets - add apache-httpd profile with snippets configuration - add TLS snippet to apache-httpd role pillar Signed-off-by: Georg Pfuetzenreuter --- pillar/role/web/apache-httpd.sls | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pillar/role') diff --git a/pillar/role/web/apache-httpd.sls b/pillar/role/web/apache-httpd.sls index 5b4b64b..bd77162 100644 --- a/pillar/role/web/apache-httpd.sls +++ b/pillar/role/web/apache-httpd.sls @@ -1,3 +1,13 @@ +{%- set host = grains['host'] -%} +{%- set fqdn = grains['fqdn'] -%} + apache: global: ServerAdmin: system@lysergic.dev + +profile: + apache-httpd: + snippets: + ssl_{{ host }}: + - 'SSLCertificateFile "/etc/ssl/{{ host }}/{{ fqdn }}.crt"' + - 'SSLCertificateKeyFile "/etc/ssl/{{ host }}/{{ fqdn }}.key"' -- cgit v1.2.3 From f820978b7897ea4650f031fa80c11384061e7375 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 19 Feb 2023 18:05:14 +0100 Subject: Add memcached role Signed-off-by: Georg Pfuetzenreuter --- pillar/role/memcached.sls | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pillar/role/memcached.sls (limited to 'pillar/role') diff --git a/pillar/role/memcached.sls b/pillar/role/memcached.sls new file mode 100644 index 0000000..e3ded73 --- /dev/null +++ b/pillar/role/memcached.sls @@ -0,0 +1,2 @@ +memcached: + listen_address: /run/memcached/memcached.sock -- cgit v1.2.3 From 361e118b316622c731556fdc62144b24aa6f9c23 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 26 Feb 2023 11:12:44 +0100 Subject: Add php-fpm role Signed-off-by: Georg Pfuetzenreuter --- pillar/role/php-fpm.sls | 1 + 1 file changed, 1 insertion(+) create mode 100644 pillar/role/php-fpm.sls (limited to 'pillar/role') diff --git a/pillar/role/php-fpm.sls b/pillar/role/php-fpm.sls new file mode 100644 index 0000000..1bb8bf6 --- /dev/null +++ b/pillar/role/php-fpm.sls @@ -0,0 +1 @@ +# empty -- cgit v1.2.3