Update exim module to install package before file.

Add some requires to the module so that we ensure the
exim package is installed before configuring the etc config
file and starting the service.

Change-Id: I5c464a9b8b6ecbdea7af3a4b9bdf344f3a40c0db
Reviewed-on: https://review.openstack.org/23552
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Dan Prince 2013-03-05 09:18:28 -05:00 committed by Jenkins
parent 0f25d1ed6a
commit 7d95685616
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class exim(
name => $::exim::params::service_name,
hasrestart => true,
subscribe => File[$::exim::params::config_file],
require => Package[$::exim::params::package],
}
file { $::exim::params::config_file:
@ -29,6 +30,7 @@ class exim(
mode => '0444',
owner => 'root',
replace => true,
require => Package[$::exim::params::package],
}
file { '/etc/aliases':