diff --git a/manifests/devel/postgres.pp b/manifests/devel/postgres.pp index a799643a..c18b4bda 100644 --- a/manifests/devel/postgres.pp +++ b/manifests/devel/postgres.pp @@ -1,12 +1,13 @@ class profile::devel::postgres { $packages = hiera_array('packages::devel::postgres') package { $packages: ensure => present, } file { '/etc/postgresql-common/pg_service.conf': ensure => file, content => template('profile/postgres/pg_service.conf.erb'), + require => Package[$packages], } }