view modules/apache/manifests/mod/ssl/reload.pp @ 482:d83de9b3a62b default tip

Update hiera.yaml within Puppet config Forgot that we manage it from here. Now has content to match new packages
author IBBoard <dev@ibboard.co.uk>
date Fri, 30 Aug 2024 16:10:36 +0100
parents b8d6ada284dd
children
line wrap: on
line source

# @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',
  }
}