
This renames the classes and defined types from apache to httpd. With the 'httpd' module available, we can migrate usage of 'apache' to 'httpd.' Eventually this will free the 'apache' namespace. A native ruby type and provider is contained in this class. It is not namespaced to the class name so it has been renamed from a2mod to httpd_mod. Change-Id: I056eb28a13e7ccc95f1496019bedc332c17dd458
23 lines
322 B
Puppet
23 lines
322 B
Puppet
# Class: httpd::php
|
|
#
|
|
# This class installs PHP for Apache
|
|
#
|
|
# Parameters:
|
|
# - $php_package
|
|
#
|
|
# Actions:
|
|
# - Install Apache PHP package
|
|
#
|
|
# Requires:
|
|
#
|
|
# Sample Usage:
|
|
#
|
|
class httpd::php {
|
|
include httpd::params
|
|
|
|
package { 'apache_php_package':
|
|
ensure => present,
|
|
name => $httpd::params::php_package,
|
|
}
|
|
}
|