Mercurial > repos > other > Puppet
view modules/apache/manifests/dev.pp @ 466:202aeef575a1
Correct HTTP log paths in LogWatch
It wasn't generating logs because we're not using the normal
pattern - our site name comes _after_ the "access" part, not
before
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 25 Feb 2024 10:10:32 +0000 |
parents | b8d6ada284dd |
children |
line wrap: on
line source
# @summary # Installs Apache development libraries. # # The libraries installed depends on the `dev_packages` parameter of the `apache::params` # class, based on your operating system: # - **Debian** : `libaprutil1-dev`, `libapr1-dev`; `apache2-dev` # - **FreeBSD**: `undef`; on FreeBSD, you must declare the `apache::package` or `apache` classes before declaring `apache::dev`. # - **Gentoo**: `undef`. # - **Red Hat**: `httpd-devel`. class apache::dev { if ! defined(Class['apache']) { fail('You must include the apache base class before using any apache defined resources') } $packages = $apache::dev_packages if $packages { # FreeBSD doesn't have dev packages to install package { $packages: ensure => present, require => Package['httpd'], } } }