0f6886bd99
put a handle on all the params of the class in init.pp so that they can be autoloaded from hiera, and easily fed to the class from a profile class
19 lines
422 B
Puppet
19 lines
422 B
Puppet
# Class: mysql::php
|
|
#
|
|
# This class installs the php libs for mysql.
|
|
#
|
|
# Parameters:
|
|
# [*package_ensure*] - Ensure state for package. Can be specified as version.
|
|
# [*package_name*] - The name of package
|
|
#
|
|
class mysql::php(
|
|
$package_ensure = 'present',
|
|
$package_name = $mysql::php_package_name,
|
|
) inherits mysql {
|
|
|
|
package { 'php-mysql':
|
|
ensure => $package_ensure,
|
|
name => $package_name,
|
|
}
|
|
|
|
}
|