Puppet Class: mysql::client

Inherits:
mysql::params
Defined in:
manifests/client.pp

Overview

Parameters:

  • bindings_enable (Any) (defaults to: $mysql::params::bindings_enable)
  • install_options (Any) (defaults to: undef)
  • package_ensure (Any) (defaults to: $mysql::params::client_package_ensure)
  • package_name (Any) (defaults to: $mysql::params::client_package_name)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'manifests/client.pp', line 2

class mysql::client (
  $bindings_enable = $mysql::params::bindings_enable,
  $install_options = undef,
  $package_ensure  = $mysql::params::client_package_ensure,
  $package_name    = $mysql::params::client_package_name,
) inherits mysql::params {

  include '::mysql::client::install'

  if $bindings_enable {
    class { 'mysql::bindings':
      java_enable   => true,
      perl_enable   => true,
      php_enable    => true,
      python_enable => true,
      ruby_enable   => true,
    }
  }


  # Anchor pattern workaround to avoid resources of mysql::client::install to
  # "float off" outside mysql::client
  anchor { 'mysql::client::start': } ->
    Class['mysql::client::install'] ->
  anchor { 'mysql::client::end': }

}