Merge pull request #571 from jtopper/master

[MODULES-1333] Add explicit dependencies for mysql_database and mysql_user types
This commit is contained in:
Igor Galić 2014-10-28 16:14:59 +01:00
commit 40dd180588
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,8 @@ Puppet::Type.newtype(:mysql_database) do
ensurable
autorequire(:file) { '/root/.my.cnf' }
newparam(:name, :namevar => true) do
desc 'The name of the MySQL database to manage.'
end

View file

@ -4,6 +4,8 @@ Puppet::Type.newtype(:mysql_user) do
ensurable
autorequire(:file) { '/root/.my.cnf' }
newparam(:name, :namevar => true) do
desc "The name of the user. This uses the 'username@hostname' or username@hostname."
validate do |value|