02c4da48a5
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.
20 lines
436 B
Puppet
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,
|
|
}
|
|
|
|
}
|