diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2008-03-27 14:49:25 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2008-03-28 09:08:32 -0400 |
commit | c26e3d2a57f43a0e2e1a70828749632528b32af0 (patch) | |
tree | 539d02f6ceadbac2b8eabbf2d5254031be8fb67b /plugins/puppet/provider/mysql_grant/mysql.rb | |
parent | c5c4cdb2af717a2945d3c9d2397fc5a79d4ce080 (diff) | |
download | puppet-mysql-c26e3d2a57f43a0e2e1a70828749632528b32af0.tar.gz puppet-mysql-c26e3d2a57f43a0e2e1a70828749632528b32af0.tar.xz puppet-mysql-c26e3d2a57f43a0e2e1a70828749632528b32af0.zip |
The parameter is 'db' not 'database'
Diffstat (limited to 'plugins/puppet/provider/mysql_grant/mysql.rb')
-rw-r--r-- | plugins/puppet/provider/mysql_grant/mysql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/puppet/provider/mysql_grant/mysql.rb b/plugins/puppet/provider/mysql_grant/mysql.rb index 61c32d9..ef02053 100644 --- a/plugins/puppet/provider/mysql_grant/mysql.rb +++ b/plugins/puppet/provider/mysql_grant/mysql.rb @@ -69,7 +69,7 @@ Puppet::Type.type(:mysql_grant).provide(:mysql) do end def destroy - mysql "mysql", "-e", "REVOKE ALL ON '%s'.* FROM '%s@%s'" % [ @resource[:privileges], @resource[:database], @resource[:name], @resource[:host] ] + mysql "mysql", "-e", "REVOKE ALL ON '%s'.* FROM '%s@%s'" % [ @resource[:privileges], @resource[:db], @resource[:name], @resource[:host] ] end def row_exists? |