aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/database.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-07-12 22:53:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-07-12 22:53:24 -0300
commit6486d55aaed84a29b9a6231eae6e5a7c6b5e9027 (patch)
tree55ab990b790a5b66bf6d2dbda4d6478529b6cef0 /manifests/subsystems/database.pp
parentd74d9aa2d8c77be131e1c363462cb8211c03caf3 (diff)
downloadpuppet-nodo-6486d55aaed84a29b9a6231eae6e5a7c6b5e9027.tar.gz
puppet-nodo-6486d55aaed84a29b9a6231eae6e5a7c6b5e9027.tar.bz2
Adding missing requirement for database::instance
Diffstat (limited to 'manifests/subsystems/database.pp')
-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@%":