newer pg module
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / lib / puppet / type / postgresql_replication_slot.rb
1 Puppet::Type.newtype(:postgresql_replication_slot) do
2   @doc = "Manages Postgresql replication slots.
3
4 This type allows to create and destroy replication slots
5 to register warm standby replication on a Postgresql
6 master server.
7 "
8
9   ensurable
10
11   newparam(:name) do
12     desc "The name of the slot to create. Must be a valid replication slot name."
13     isnamevar
14     newvalues /^[a-z0-9_]+$/
15   end
16 end