aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/mail/msmtp.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/mail/msmtp.pp')
-rw-r--r--manifests/subsystem/mail/msmtp.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/subsystem/mail/msmtp.pp b/manifests/subsystem/mail/msmtp.pp
new file mode 100644
index 0000000..11e6e3f
--- /dev/null
+++ b/manifests/subsystem/mail/msmtp.pp
@@ -0,0 +1,15 @@
+class nodo::subsystem::mail::msmtp {
+ if !defined(Package['msmtp']) {
+ package { 'msmtp':
+ ensure => present,
+ }
+ }
+
+ file { '/etc/msmtprc':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => '0644',
+ content => template('nodo/msmtp/msmtprc.erb'),
+ }
+}