diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-27 09:09:23 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-27 09:09:23 -0400 |
commit | 038ce36044bf631b9ecb5f5688dc7612afd0b376 (patch) | |
tree | 9b114a17def6862b397ff7957518b77f8f162bf8 /tozt | |
parent | be27a5ae643cf25e9a0675836adad1ac2b2f1fd4 (diff) | |
download | puppet-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.pp | 4 |
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"], ]; } |