commit
069fedc365
3 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,8 @@
|
||||||
#
|
#
|
||||||
class mysql::client (
|
class mysql::client (
|
||||||
$bindings_enable = false,
|
$bindings_enable = $mysql::params::bindings_enable,
|
||||||
|
$package_ensure = $mysql::params::client_package_ensure,
|
||||||
|
$package_name = $mysql::params::client_package_name,
|
||||||
) inherits mysql::params {
|
) inherits mysql::params {
|
||||||
|
|
||||||
include '::mysql::client::install'
|
include '::mysql::client::install'
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
class mysql::client::install(
|
class mysql::client::install {
|
||||||
$package_name = $mysql::params::client_package_name,
|
|
||||||
$package_ensure = $mysql::params::client_package_ensure
|
|
||||||
) {
|
|
||||||
|
|
||||||
package { 'mysql_client':
|
package { 'mysql_client':
|
||||||
ensure => $package_ensure,
|
ensure => $mysql::client::package_ensure,
|
||||||
name => $package_name,
|
name => $mysql::client::package_name,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@ class mysql::params {
|
||||||
$server_service_manage = true
|
$server_service_manage = true
|
||||||
$server_service_enabled = true
|
$server_service_enabled = true
|
||||||
# mysql::bindings
|
# mysql::bindings
|
||||||
|
$bindings_enable = false
|
||||||
$java_package_ensure = 'present'
|
$java_package_ensure = 'present'
|
||||||
$perl_package_ensure = 'present'
|
$perl_package_ensure = 'present'
|
||||||
$php_package_ensure = 'present'
|
$php_package_ensure = 'present'
|
||||||
|
|
Loading…
Reference in a new issue