Skip to content

Commit 79d8430

Browse files
changing database.pp service dependency
1 parent 25d42a3 commit 79d8430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/server/database.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
postgresql_psql { "CREATE DATABASE \"${dbname}\"":
7373
command => "CREATE DATABASE \"${dbname}\" WITH ${template_option} ${encoding_option} ${locale_option} ${tablespace_option}",
7474
unless => "SELECT 1 FROM pg_database WHERE datname = '${dbname}'",
75-
require => Class['postgresql::server::service'],
75+
require => Postgresql::Server::Instance::Service[$instance],
7676
}
7777

7878
# This will prevent users from connecting to the database unless they've been

0 commit comments

Comments
 (0)