aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/mail.pp4
-rw-r--r--manifests/subsystem/monkeysphere.pp4
2 files changed, 7 insertions, 1 deletions
diff --git a/manifests/subsystem/mail.pp b/manifests/subsystem/mail.pp
index 0ada682..b0cbf21 100644
--- a/manifests/subsystem/mail.pp
+++ b/manifests/subsystem/mail.pp
@@ -2,6 +2,10 @@ class nodo::subsystem::mail {
# Email delivery configuration
$mail_delivery = hiera('nodo::subsystem::mail::delivery', 'exim')
+ package { 'bsd-mailx':
+ ensure => present,
+ }
+
case $mail_delivery {
'tunnel': {
$mail_hostname = hiera('nodo::subsystem::mail::hostname')
diff --git a/manifests/subsystem/monkeysphere.pp b/manifests/subsystem/monkeysphere.pp
index c09effe..0fb39cb 100644
--- a/manifests/subsystem/monkeysphere.pp
+++ b/manifests/subsystem/monkeysphere.pp
@@ -16,5 +16,7 @@ define nodo::subsystem::monkeysphere(
#monkeysphere::publish_server_keys { }
# Email the server key
- monkeysphere::email_server_keys { "$mail_recipient": }
+ monkeysphere::email_server_keys { "$mail_recipient":
+ require => Package['bsd-mailx'],
+ }
}