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.

ssl.pp 677B

12345678910111213141516171819202122232425262728293031323334
  1. # Class: httpd::ssl
  2. #
  3. # This class installs Apache SSL capabilities
  4. #
  5. # Parameters:
  6. # - The $ssl_package name from the apache::params class
  7. #
  8. # Actions:
  9. # - Install Apache SSL capabilities
  10. #
  11. # Requires:
  12. #
  13. # Sample Usage:
  14. #
  15. class httpd::ssl {
  16. include ::httpd
  17. case $::operatingsystem {
  18. 'centos', 'fedora', 'redhat', 'scientific': {
  19. package { 'apache_ssl_package':
  20. ensure => installed,
  21. name => $httpd::params::ssl_package,
  22. require => Package['httpd'],
  23. }
  24. }
  25. 'ubuntu', 'debian': {
  26. httpd_mod { 'ssl': ensure => present, }
  27. }
  28. default: {
  29. fail( "${::operatingsystem} not defined in httpd::ssl.")
  30. }
  31. }
  32. }