Resource Type: mysql_datadir
- Defined in:
- lib/puppet/type/mysql_datadir.rb
- Providers:
- 
      
        mysql
 
Summary
Manage MySQL datadirs with mysql_install_db OR mysqld (5.7.6 and above).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{^/}
 
- 
      provider
      
      
      The specific backend to use for this ‘mysql_datadir` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform. 
- 
      user
      
      
      The user for the directory default mysql (name, not uid).