diff options
Diffstat (limited to 'tozt/ttrss/manifests/init.pp')
-rw-r--r-- | tozt/ttrss/manifests/init.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tozt/ttrss/manifests/init.pp b/tozt/ttrss/manifests/init.pp index 049fd58..7a1ccdf 100644 --- a/tozt/ttrss/manifests/init.pp +++ b/tozt/ttrss/manifests/init.pp @@ -45,7 +45,10 @@ class ttrss($dbpath) { command => "/usr/bin/initdb -D $dbpath/data", user => 'postgres', creates => "$dbpath/data/PG_VERSION", - require => Package["postgresql"]; + require => [ + File[$dbpath], + Package["postgresql"], + ]; } service { "postgresql": |