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

Unified Diff: modules/discourse/manifests/postactiontype.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/admin.pp ('k') | modules/discourse/manifests/sitesetting.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/discourse/manifests/postactiontype.pp
===================================================================
--- a/modules/discourse/manifests/postactiontype.pp
+++ b/modules/discourse/manifests/postactiontype.pp
@@ -36,15 +36,13 @@
postgresql_psql {"WITH upd AS ($update_sql) INSERT INTO post_action_types ($columns) $values WHERE NOT EXISTS (SELECT * FROM upd)":
db => 'discourse',
- psql_user => 'discourse',
- unless => 'SELECT false'
+ psql_user => 'discourse'
}
}
absent: {
postgresql_psql {"DELETE FROM post_action_types WHERE id = $escaped_id":
db => 'discourse',
- psql_user => 'discourse',
- unless => 'SELECT false'
+ psql_user => 'discourse'
}
}
}
« no previous file with comments | « modules/discourse/manifests/admin.pp ('k') | modules/discourse/manifests/sitesetting.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld