aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/database.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-06-20 11:12:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-06-20 11:12:32 -0300
commita8f74b1e7709c24eee5b9ac9664e23d7781aa26e (patch)
treec06c0f93d587cd8322fe39499b9fdbc3dd229bac /manifests/subsystems/database.pp
parent013c9f2dd8dd42326b3a014038ac5e5f8afa4ce6 (diff)
downloadpuppet-nodo-a8f74b1e7709c24eee5b9ac9664e23d7781aa26e.tar.gz
puppet-nodo-a8f74b1e7709c24eee5b9ac9664e23d7781aa26e.tar.bz2
Not using ensure for mysql_grant
Diffstat (limited to 'manifests/subsystems/database.pp')
-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@%"],
}