fix
This commit is contained in:
parent
7215ddeb2b
commit
b0d7c7196f
|
@ -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'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue