aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/manifests/database_callback.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postgresql/manifests/database_callback.pp')
-rw-r--r--modules/postgresql/manifests/database_callback.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/postgresql/manifests/database_callback.pp b/modules/postgresql/manifests/database_callback.pp
new file mode 100644
index 00000000..c861eba5
--- /dev/null
+++ b/modules/postgresql/manifests/database_callback.pp
@@ -0,0 +1,9 @@
+define postgresql::database_callback($callback_notify = '') {
+ # dummy declaration, so we can trigger the notify
+ if $callback_notify {
+ exec { "callback $name":
+ command => true,
+ notify => $callback_notify,
+ }
+ }
+}