summaryrefslogtreecommitdiffstats
path: root/plugins/puppet/type/mysql_user.rb
blob: 0005aedbb328170830417330f72541bc5e757d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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."
	end
	newparam(:host) do
		desc "The host from where to connect."
	end
	newparam(:password) do
		desc "The password of the user."
	end
end