Puppet Class: role::simplestatic
- Defined in:
- modules/role/manifests/simplestatic.pp
Overview
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'modules/role/manifests/simplestatic.pp', line 7
class role::simplestatic (
$host_names = [],
$base_path = '/srv',
) {
# This role is expected to be used only in labs
requires_realm('labs')
class { '::httpd':
modules => ['rewrite', 'headers'],
}
httpd::site { 'simplestatic':
ensure => present,
content => template('profile/microsites/simplestatic.erb'),
}
}
|