File tree 1 file changed +10
-3
lines changed
manifests/server/instance
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 42
42
status => $service_status ,
43
43
}
44
44
45
+ Anchor[" postgresql::server::service::begin::${name} " ]
46
+ -> Service[" postgresqld_instance_${name} " ]
47
+ -> Anchor[" postgresql::server::service::end::${name} " ]
48
+
45
49
if $service_ensure in [' running' , true ] {
46
50
# This blocks the class before continuing if chained correctly, making
47
51
# sure the service really is 'up' before continuing.
56
60
sleep => 1,
57
61
tries => 60,
58
62
psql_path => $psql_path ,
59
- require => Service[" postgresqld_instance_${name} " ],
60
- before => Anchor[" postgresql::server::service::end::${name} " ],
61
63
}
62
- Postgresql::Server::Database <| title == $default_database |> -> Postgresql_conn_validator[" validate_service_is_running_instance_${name} " ]
64
+
65
+ Anchor[" postgresql::server::service::begin::${name} " ]
66
+ -> Service[" postgresqld_instance_${name} " ]
67
+ -> Postgresql::Server::Database <| title == $default_database |>
68
+ -> Postgresql_conn_validator[" validate_service_is_running_instance_${name} " ]
69
+ -> Anchor[" postgresql::server::service::end::${name} " ]
63
70
}
64
71
}
65
72
You can’t perform that action at this time.
0 commit comments