Puppet modules for deploying Apache in OpenStack infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mod.pp 372B

1234567891011121314151617
  1. # defined type to wrap httpd_mod
  2. # httpd_mod doesn't ensure that the service is up first, this does
  3. define httpd::mod (
  4. $ensure = present,
  5. ) {
  6. if $::osfamily == 'Debian' {
  7. httpd_mod { $name:
  8. ensure => $ensure,
  9. notify => Service['httpd'],
  10. }
  11. }
  12. if $::osfamily == 'RedHat' {
  13. debug('Enabling modules is a noop on redhat, doing nothing')
  14. }
  15. }