We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25d42a3 commit 79d8430Copy full SHA for 79d8430
manifests/server/database.pp
@@ -72,7 +72,7 @@
72
postgresql_psql { "CREATE DATABASE \"${dbname}\"":
73
command => "CREATE DATABASE \"${dbname}\" WITH ${template_option} ${encoding_option} ${locale_option} ${tablespace_option}",
74
unless => "SELECT 1 FROM pg_database WHERE datname = '${dbname}'",
75
- require => Class['postgresql::server::service'],
+ require => Postgresql::Server::Instance::Service[$instance],
76
}
77
78
# This will prevent users from connecting to the database unless they've been
0 commit comments