diff --git a/db_check.png b/db_check.png new file mode 100644 index 0000000..bf85725 Binary files /dev/null and b/db_check.png differ diff --git a/site.pp b/site.pp new file mode 100644 index 0000000..4098b72 --- /dev/null +++ b/site.pp @@ -0,0 +1,20 @@ +node 'agent.bm' { + class {'::mysql::server': + root_password => 'password', + } + mysql_database {'test_mdb': + ensure => present, + charset => 'utf8', + } + mysql_user { 'test_user@localhost': + ensure => present, + password_hash => mysql_password('test'), + } + mysql_grant {'test_user@localhost/test_mdb.*': + ensure => present, + options => ['GRANT'], + privileges => ['ALL'], + table => 'test_mdb.*', + user => 'test_user@localhost', + } +}