summaryrefslogtreecommitdiffstats
path: root/tozt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-27 09:02:51 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-27 09:02:51 -0400
commit196f0abd43a6e547f9b74301d2b81d5c79fe727d (patch)
tree7f74df0783e793dd9109aa4033f4d1a916f152dc /tozt
parent28739f883aadfa5fe57c5e574cf16d6e07b0899f (diff)
downloadpuppet-tozt-196f0abd43a6e547f9b74301d2b81d5c79fe727d.tar.gz
puppet-tozt-196f0abd43a6e547f9b74301d2b81d5c79fe727d.zip
more syntax
Diffstat (limited to 'tozt')
-rw-r--r--tozt/ttrss/manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tozt/ttrss/manifests/init.pp b/tozt/ttrss/manifests/init.pp
index 6902796..724843b 100644
--- a/tozt/ttrss/manifests/init.pp
+++ b/tozt/ttrss/manifests/init.pp
@@ -78,7 +78,7 @@ class ttrss($dbpath) {
exec { "fixup php.ini":
provider => shell,
- command => "sed -i 's/^;\(extension=.*pgsql\)$/\\1/' /etc/php/php.ini",
+ command => "sed -i 's/^;\\(extension=.*pgsql\\)$/\\1/' /etc/php/php.ini",
unless => "grep -q '^extension=pgsql$' /etc/php/php.ini && grep -q '^extension=pdo_pgsql$' /etc/php/php.ini",
require => Package["php-pgsql"];
}
@@ -87,7 +87,7 @@ class ttrss($dbpath) {
provider => shell,
command => "psql ttrss -U ttrss -f /usr/share/webapps/tt-rss/schema/ttrss_schema_pgsql.sql",
user => 'postgres',
- unless "psql -d ttrss -Atc 'select relname from pg_catalog.pg_class;' | grep -q '^ttrss'",
+ unless => "psql -d ttrss -Atc 'select relname from pg_catalog.pg_class;' | grep -q '^ttrss'",
require => [
Package["postgres"],
Service["postgres"],