Skip to content

Commit cd67d13

Browse files
smortexamitkarsale
authored andcommitted
Remove redundant autorequire
We already have a relationship in `manifests/server/instance/service.pp` that ensure `Service["postgresqld_instance_${name}"]` is realized before `Anchor["postgresql::server::service::end::${name}"]`. Fun fact, removing this duplaciate fix the circular dependency reported by puppet.
1 parent 62c5fc5 commit cd67d13

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/puppet/type/postgresql_psql.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ def matches(value)
138138
["postgresql::server::service::end::#{self[:instance]}"]
139139
end
140140

141-
autorequire(:service) do
142-
["postgresqld_instance_#{self[:instance]}"]
143-
end
144-
145141
def should_run_sql(refreshing = false)
146142
onlyif_param = @parameters[:onlyif]
147143
unless_param = @parameters[:unless]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy