summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apache/manifests/common/extensions.pp
blob: 6e489ce87e7516a261a2f148ef8b0652adde7ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class site_apache::common::extensions {

  include ::systemd
  file { '/etc/systemd/system/apache2.service.d/auto_restart.conf':
    source  => 'puppet:///modules/site_apache/auto_restart.conf',
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    require => Service['apache'],
    notify  => Exec['systemctl-daemon-reload']
  }
}