summaryrefslogtreecommitdiffstats
path: root/tozt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-27 09:09:23 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-27 09:09:23 -0400
commit038ce36044bf631b9ecb5f5688dc7612afd0b376 (patch)
tree9b114a17def6862b397ff7957518b77f8f162bf8 /tozt
parentbe27a5ae643cf25e9a0675836adad1ac2b2f1fd4 (diff)
downloadpuppet-tozt-038ce36044bf631b9ecb5f5688dc7612afd0b376.tar.gz
puppet-tozt-038ce36044bf631b9ecb5f5688dc7612afd0b376.zip
need to make these actually directories
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"],
];
}