Skip to content

Instantly share code, notes, and snippets.

@neotyk
Created January 16, 2012 16:13
Show Gist options
  • Save neotyk/1621579 to your computer and use it in GitHub Desktop.
Save neotyk/1621579 to your computer and use it in GitHub Desktop.
Puppet mysql
node 'agent1' {
class { 'mysql::server': config_hash => { 'root_password' => 'bar' } }
mysql::db { 'sampledb':
user => 'sampleuser',
password => 'letmein',
host => 'localhost',
grant => ['all'],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment