Skip to content

Commit 0ea543e

Browse files
committed
Fix postgresql_psql autorequire
It does not really make sense to require the "begin" anchor, the `postgresql_psql` type communicating with the server, it makes more sense to require the "end" anchor which mean that the server is running and reachable.
1 parent b24cdd5 commit 0ea543e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/type/postgresql_psql.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def matches(value)
135135
end
136136

137137
autorequire(:anchor) do
138-
["postgresql::server::service::begin::#{self[:instance]}"]
138+
["postgresql::server::service::end::#{self[:instance]}"]
139139
end
140140

141141
autorequire(:service) do

0 commit comments

Comments
 (0)