mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 19:28:02 +00:00
15 lines
353 B
Puppet
15 lines
353 B
Puppet
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'],
|
|
}
|
|
}
|
|
}
|