File: reload.pp

package info (click to toggle)
puppet-module-puppetlabs-apache 12.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,664 kB
  • sloc: ruby: 275; sh: 32; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# @summary
#   Manages the puppet_ssl folder for ssl file copies, which is needed to track changes for reloading service on changes
#
# @api private
class apache::mod::ssl::reload () inherits apache::params {
  file { $apache::params::puppet_ssl_dir:
    ensure  => directory,
    purge   => true,
    recurse => true,
    require => Package['httpd'],
  }
  file { 'README.txt':
    path    => "${apache::params::puppet_ssl_dir}/README.txt",
    content => 'This directory contains puppet managed copies of ssl files, so it can track changes and reload apache on changes.',
    seltype => 'etc_t',
  }
}