Ask Your Question

Revision history [back]

https://forge.puppet.com/puppetlabs/mysql#create-a-database

  mysql::db { 'mydb':
      user     => 'myuser',
      password => 'mypass',
      host     => 'localhost',
      sql      => '/path/to/sqlfile.gz',
      grant    => ['SELECT', 'UPDATE'],
    }