From 6486d55aaed84a29b9a6231eae6e5a7c6b5e9027 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 12 Jul 2012 22:53:24 -0300 Subject: Adding missing requirement for database::instance --- manifests/subsystems/database.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests/subsystems') 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@%": -- cgit v1.2.3