summaryrefslogtreecommitdiff
path: root/lib/puppet/type
diff options
context:
space:
mode:
authordb <drebs@riseup.net>2015-05-16 00:00:19 -0300
committerdb <drebs@riseup.net>2015-05-16 00:00:19 -0300
commit59fe3f1d51aa0ac1c5fd7029ecce7da7e1c6aafd (patch)
tree67d3a75ecf87a762800180949028523d81ecacc2 /lib/puppet/type
parent0da4ca9c3e817bc56ed12bd56b9e6ea267b67ddc (diff)
downloadpuppet-mysql-59fe3f1d51aa0ac1c5fd7029ecce7da7e1c6aafd.tar.gz
puppet-mysql-59fe3f1d51aa0ac1c5fd7029ecce7da7e1c6aafd.tar.bz2
[bug] pass explicit argument to superclass
Diffstat (limited to 'lib/puppet/type')
-rw-r--r--lib/puppet/type/mysql_user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/mysql_user.rb b/lib/puppet/type/mysql_user.rb
index 0b7e9af..15cc84b 100644
--- a/lib/puppet/type/mysql_user.rb
+++ b/lib/puppet/type/mysql_user.rb
@@ -13,7 +13,7 @@ Puppet::Type.newtype(:mysql_user) do
raise ArgumentError,
"MySQL usernames are limited to a maximum of 16 characters"
else
- super
+ super(:name)
end
end
end