Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/discourse/manifests/sitesetting.pp

Issue 9453112: Update puppet-postgresql and remove unless (Closed)
Patch Set: Created Feb. 28, 2013, 5:11 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/discourse/manifests/postactiontype.pp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/discourse/manifests/sitesetting.pp
===================================================================
--- a/modules/discourse/manifests/sitesetting.pp
+++ b/modules/discourse/manifests/sitesetting.pp
@@ -21,15 +21,13 @@
postgresql_psql {"WITH upd AS ($update_sql) INSERT INTO site_settings ($columns) $values WHERE NOT EXISTS (SELECT * FROM upd)":
db => 'discourse',
- psql_user => 'discourse',
- unless => 'SELECT false'
+ psql_user => 'discourse'
}
}
absent: {
postgresql_psql {"DELETE FROM site_settings WHERE name = '$escaped_setting'":
db => 'discourse',
- psql_user => 'discourse',
- unless => 'SELECT false'
+ psql_user => 'discourse'
}
}
}
« no previous file with comments | « modules/discourse/manifests/postactiontype.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld