aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/database.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/subsystems/database.pp b/manifests/subsystems/database.pp
index e52f5ba..87e5162 100644
--- a/manifests/subsystems/database.pp
+++ b/manifests/subsystems/database.pp
@@ -4,7 +4,8 @@ class database {
# Database definitions
define instance($password, $ensure = 'present', $privileges = 'all') {
mysql_database { "$name":
- ensure => $ensure,
+ ensure => $ensure,
+ require => Service['mysql'],
}
mysql_user { "$name@%":