summaryrefslogtreecommitdiff
path: root/puppet/modules/postfix/manifests/disable/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/postfix/manifests/disable/debian.pp')
m---------puppet/modules/postfix0
-rw-r--r--puppet/modules/postfix/manifests/disable/debian.pp11
2 files changed, 11 insertions, 0 deletions
diff --git a/puppet/modules/postfix b/puppet/modules/postfix
deleted file mode 160000
-Subproject cce918f784ebf8a8875f43c79bc3a1f39ab9456
diff --git a/puppet/modules/postfix/manifests/disable/debian.pp b/puppet/modules/postfix/manifests/disable/debian.pp
new file mode 100644
index 00000000..213efc50
--- /dev/null
+++ b/puppet/modules/postfix/manifests/disable/debian.pp
@@ -0,0 +1,11 @@
+# debian has some issues with absent
+# init scripts.
+# It's a bug in debian's provider that should be fixed in puppet, but in the
+# meantime we need this hack.
+#
+# see: https://projects.puppetlabs.com/issues/9381
+class postfix::disable::debian inherits postfix::disable::base {
+ Service['postfix']{
+ hasstatus => false,
+ }
+}