blob: d92b610abdb6d21aa38dd0b817ff8d621de1a769 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# This has to be a separate type to enable collecting
Puppet::Type.newtype(:mysql_user) do
@doc = "Manage a database user."
ensurable
newparam(:name) do
desc "The name of the user. This uses the 'username@hostname' form."
end
newproperty(:password_hash) do
desc "The password hash of the user. Use mysql_password() for creating such a hash."
end
end
|