module-puppetlabs-mysql/manifests/php.pp
Hunter Haugen 02c4da48a5 Add php support
PHP libraries are required by many apps. This class assumes 'normal'
names for these packages, but allows other packages names to be passed
for variances such as 'php53-mysql' on RedHat and FreeBSD.
2013-01-04 10:59:17 -08:00

20 lines
436 B
Puppet

# Class: mysql::php
#
# This class installs the php libs for mysql.
#
# Parameters:
# [*ensure*] - ensure state for package.
# can be specified as version.
# [*packagee*] - name of package
#
class mysql::php(
$package_name = $mysql::params::php_package_name,
$package_ensure = 'present'
) inherits mysql::params {
package { 'php-mysql':
ensure => $package_ensure,
name => $package_name,
}
}