diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/postgresql/manifests/init.pp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp index 6be6bf42..0412f6e0 100644 --- a/modules/postgresql/manifests/init.pp +++ b/modules/postgresql/manifests/init.pp @@ -151,9 +151,11 @@ class postgresql { define database_callback($callback_notify = '') { # dummy declaration, so we can trigger the notify - exec { "callback $name": - command => "true", - notify => $callback_notify, + if $callback_notify { + exec { "callback $name": + command => "true", + notify => $callback_notify, + } } } |