aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/manifests/database_callback.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-17 16:53:49 +0000
committerMichael Scherer <misc@mageia.org>2012-03-17 16:53:49 +0000
commit4acd57a23e7bb3e641187e5d58b18ae01e78800e (patch)
tree7b12d476d7f6debd6070a79b7a8b10ae2a1e92b8 /modules/postgresql/manifests/database_callback.pp
parent77b85dcffc7e6ba92a619ee4e9bccfe015734f27 (diff)
downloadpuppet-4acd57a23e7bb3e641187e5d58b18ae01e78800e.tar
puppet-4acd57a23e7bb3e641187e5d58b18ae01e78800e.tar.gz
puppet-4acd57a23e7bb3e641187e5d58b18ae01e78800e.tar.bz2
puppet-4acd57a23e7bb3e641187e5d58b18ae01e78800e.tar.xz
puppet-4acd57a23e7bb3e641187e5d58b18ae01e78800e.zip
split the remaning class of postgresql module into different file, and clean them while on it
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,
+ }
+ }
+}