view modules/apache/manifests/dev.pp @ 105:e50dab7495d7 puppet-3.6

Make sure that we're always setting HSTS headers, even when cannonicalising domains
author IBBoard <dev@ibboard.co.uk>
date Sat, 23 Apr 2016 16:28:47 +0100
parents 956e484adc12
children 675c1cc61eaf
line wrap: on
line source

class apache::dev {
  if $::osfamily == 'FreeBSD' and !defined(Class['apache::package']) {
    fail('apache::dev requires apache::package; please include apache or apache::package class first')
  }
  include ::apache::params
  $packages = $::apache::params::dev_packages
  package { $packages:
    ensure  => present,
    require => Package['httpd'],
  }
}