This commit is contained in:
pettai 2024-06-13 12:33:59 +02:00
parent 7215ddeb2b
commit b0d7c7196f
No known key found for this signature in database
GPG key ID: CDF2C381E9A751BD

View file

@ -1,6 +1,6 @@
class dns::apache2 { class dns::apache2 {
package { ['apache2', 'libapache2-mod-qos']: package { ['apache2', 'libapache2-mod-qos', 'python3-certbot-apache']:
ensure => installed, ensure => installed,
} }
service { 'apache2': service { 'apache2':
@ -19,10 +19,10 @@ class dns::apache2 {
refreshonly => true, refreshonly => true,
notify => Service['apache2'], notify => Service['apache2'],
} }
exec { 'a2dissite default-000.conf': exec { 'a2dissite default-000':
notify => Service['apache2'], notify => Service['apache2'],
} }
exec { 'a2ensite dns-rest-api.conf': exec { 'a2ensite dns-rest-api':
notify => Service['apache2'], notify => Service['apache2'],
} }
} }