aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/database.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/subsystems/database.pp b/manifests/subsystems/database.pp
index 445b656..99c43f9 100644
--- a/manifests/subsystems/database.pp
+++ b/manifests/subsystems/database.pp
@@ -2,7 +2,7 @@ class database {
include mysql::server
# Database definitions
- define instance($password, $ensure = present) {
+ define instance($password, $ensure = 'present') {
mysql_database { "$name":
ensure => $ensure,
}
@@ -14,7 +14,6 @@ class database {
}
mysql_grant { "$name@%/$name":
- ensure => $ensure,
privileges => all,
require => Mysql_user["$name@%"],
}