From 3fef06752290445ed0dc9bcf158f2445e4022813 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Tue, 5 Mar 2013 09:18:28 -0500 Subject: [PATCH] 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 Reviewed-by: Jeremy Stanley Tested-by: Jenkins --- modules/exim/manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/exim/manifests/init.pp b/modules/exim/manifests/init.pp index 318148321d..8a5e9bd461 100644 --- a/modules/exim/manifests/init.pp +++ b/modules/exim/manifests/init.pp @@ -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':