view modules/mysql/examples/mysql_plugin.pp @ 169:4efaba4fbe94 puppet-3.6

Expand PHP OpCache config in line with NextCloud recommendations
author IBBoard <dev@ibboard.co.uk>
date Fri, 01 Sep 2017 11:36:16 +0100
parents 58d1818c2ded
children 48d3a1948e4d
line wrap: on
line source

class { 'mysql::server':
  root_password => 'password'
}

$validate_password_soname = $::osfamily ? {
  windows => 'validate_password.dll',
  default => 'validate_password.so'
}

mysql::plugin { 'validate_password':
  ensure => present,
  soname => $validate_password_soname,
}

$auth_socket_soname = $::osfamily ? {
  windows => 'auth_socket.dll',
  default => 'auth_socket.so'
}

mysql::plugin { 'auth_socket':
  ensure => present,
  soname => $auth_socket_soname,
}