dev/provisioning/modules/mysql/manifests/server/providers.pp
author Chloe Laisne <chloe.laisne@gmail.com>
Thu, 19 May 2016 14:49:42 +0200
changeset 175 7a7cfcba5bfe
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Add Discourses Component files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
# Convenience class to call each of the three providers with the corresponding
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
# hashes provided in mysql::server.
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
# See README.md for details.
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
class mysql::server::providers {
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
  create_resources('mysql_user', $mysql::server::users)
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
  create_resources('mysql_grant', $mysql::server::grants)
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
  create_resources('mysql_database', $mysql::server::databases)
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
}