Mail not needed (in Meta puppet).
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 18 Dec 2014 17:10:18 +0000 (18:10 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 18 Dec 2014 17:10:18 +0000 (18:10 +0100)
manifests/init.pp
manifests/mail.pp [deleted file]

index 5938d8a..90e3510 100644 (file)
@@ -5,12 +5,10 @@
 class site_hadoop inherits site_hadoop::params {
   include 'site_hadoop::install'
   include 'site_hadoop::config'
-  include 'site_hadoop::mail'
 
   Class['site_hadoop::install'] ->
   Class['site_hadoop::config'] ->
   Class['site_hadoop']
 
-  Class['site_hadoop::mail'] ->
   Class['site_hadoop']
 }
diff --git a/manifests/mail.pp b/manifests/mail.pp
deleted file mode 100644 (file)
index e001316..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# == Class site_hadoop::mail
-#
-# Configure sending emails on Debian.
-#
-class site_hadoop::mail {
-  include stdlib
-
-  if $::osfamily == 'Debian' {
-    ensure_packages(['bsd-mailx'])
-
-    file { '/etc/exim4/update-exim4.conf.conf':
-      content => template('site_hadoop/update-exim4.conf.erb'),
-      require => Package['bsd-mailx'],
-    }
-    ~>
-    service { 'exim4':
-      ensure     => running,
-      enable     => true,
-      hasrestart => true,
-      restart    => 'service exim4 reload',
-    }
-  }
-}