Merge pull request #571 from jtopper/master
[MODULES-1333] Add explicit dependencies for mysql_database and mysql_user types
This commit is contained in:
commit
40dd180588
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue