summaryrefslogtreecommitdiffstats
path: root/tozt
diff options
context:
space:
mode:
Diffstat (limited to 'tozt')
-rw-r--r--tozt/ttrss/manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tozt/ttrss/manifests/init.pp b/tozt/ttrss/manifests/init.pp
index 7a1ccdf..5f8cc7e 100644
--- a/tozt/ttrss/manifests/init.pp
+++ b/tozt/ttrss/manifests/init.pp
@@ -12,10 +12,12 @@ class ttrss($dbpath) {
file {
$dbpath:
+ ensure => directory,
owner => 'postgres',
group => 'postgres',
require => Package["postgresql"];
"$dbpath/data":
+ ensure => directory,
owner => 'postgres',
group => 'postgres',
require => [
@@ -46,7 +48,7 @@ class ttrss($dbpath) {
user => 'postgres',
creates => "$dbpath/data/PG_VERSION",
require => [
- File[$dbpath],
+ File["$dbpath/data"],
Package["postgresql"],
];
}