view modules/mysql/manifests/client.pp @ 171:103a3630e9b2 puppet-3.6

Tighten up some Fail2Ban rules (including SSH probes with only insecure keys)
author IBBoard <dev@ibboard.co.uk>
date Tue, 06 Feb 2018 20:42:49 +0000
parents 58d1818c2ded
children 48d3a1948e4d
line wrap: on
line source

#
class mysql::client (
  $bindings_enable = $mysql::params::bindings_enable,
  $install_options = undef,
  $package_ensure  = $mysql::params::client_package_ensure,
  $package_manage  = $mysql::params::client_package_manage,
  $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': }

}