Resource Type: mysql_datadir

Defined in:
lib/puppet/type/mysql_datadir.rb
Providers:
mysql

Overview

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • basedir

    The basedir name, default /usr.

    Supported values:
    • %r{^/}
  • datadir

    The datadir name

  • defaults_extra_file

    MySQL defaults-extra-file with absolute path (*.cnf).

    Supported values:
    • %r{^/.*\.cnf$}
  • insecure

    Insecure initialization (needed for 5.7.6++).

  • log_error

    The path to the mysqld error log file (used with the --log-error option)

    Supported values:
    • %r{^/}
  • user

    The user for the directory default mysql (name, not uid).