summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2012-01-01 15:30:40 -0500
committerMicah Anderson <micah@riseup.net>2012-01-01 15:30:40 -0500
commitc650057bdcc41312a673277544519a11af8a9ede (patch)
tree9ccb6270ed0e821a68cdfd82e20ef6fb05659339 /lib
parentd42aafd7a8c6b1b97dd79586114f07f97cde999f (diff)
change the type name and the table_name to be less confusing
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/provider/mysql_grant/mysql.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/provider/mysql_grant/mysql.rb b/lib/puppet/provider/mysql_grant/mysql.rb
index f3c800d..4d9b616 100644
--- a/lib/puppet/provider/mysql_grant/mysql.rb
+++ b/lib/puppet/provider/mysql_grant/mysql.rb
@@ -57,11 +57,11 @@ Puppet::Type.type(:mysql_grant).provide(:mysql) do
}
when 6
{
- :type => :table,
+ :type => :tables_priv,
:user => matches[0],
:host => matches[1],
:db => matches[3],
- :table => matches[5]
+ :table_name => matches[5]
}
when 8
{
@@ -125,7 +125,7 @@ Puppet::Type.type(:mysql_grant).provide(:mysql) do
MYSQL_USER_PRIVS
when :db
MYSQL_DB_PRIVS
- when :table
+ when :tables_priv
MYSQL_TABLE_PRIVS
when :column
MYSQL_COLUMN_PRIVS