don't reload apache2 all the time
This commit is contained in:
parent
4e124a1714
commit
3589751773
1 changed files with 5 additions and 0 deletions
|
@ -19,10 +19,15 @@ class dns::apache2 {
|
|||
refreshonly => true,
|
||||
notify => Service['apache2'],
|
||||
}
|
||||
|
||||
exec { 'a2dissite 000-default':
|
||||
subscribe => File['/etc/apache2/sites-available/dns-rest-api.conf'],
|
||||
refreshonly => true,
|
||||
notify => Service['apache2'],
|
||||
}
|
||||
exec { 'a2ensite dns-rest-api':
|
||||
subscribe => File['/etc/apache2/sites-available/dns-rest-api.conf'],
|
||||
refreshonly => true,
|
||||
notify => Service['apache2'],
|
||||
}
|
||||
sunet::nftables::rule { 'apache-http':
|
||||
|
|
Loading…
Add table
Reference in a new issue