From f5d593b9ab0ecce9bfd21e4274b7f14648b39a50 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 18 Dec 2014 18:10:18 +0100 Subject: [PATCH] Mail not needed (in Meta puppet). --- manifests/init.pp | 2 -- manifests/mail.pp | 23 ----------------------- 2 files changed, 25 deletions(-) delete mode 100644 manifests/mail.pp diff --git a/manifests/init.pp b/manifests/init.pp index 5938d8a..90e3510 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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 index e001316..0000000 --- a/manifests/mail.pp +++ /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', - } - } -} -- 1.8.2.3