Skip to content
Snippets Groups Projects
Commit 7095378e authored by Ben Hocker's avatar Ben Hocker
Browse files

Updating before

parent ae21bd35
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,9 @@ ...@@ -15,7 +15,9 @@
# #
class postfix::ldap { class postfix::ldap {
if $::osfamily == 'Debian' { if $::osfamily == 'Debian' {
package {'postfix-ldap': } package {'postfix-ldap':
before => File['/etc/postfix/ldap-aliases.cf'],
}
} }
if ! $postfix::ldap_base { if ! $postfix::ldap_base {
...@@ -37,6 +39,5 @@ class postfix::ldap { ...@@ -37,6 +39,5 @@ class postfix::ldap {
owner => 'root', owner => 'root',
group => 'postfix', group => 'postfix',
content => template('postfix/postfix-ldap-aliases.cf.erb'), content => template('postfix/postfix-ldap-aliases.cf.erb'),
before => Package['postfix-ldap'],
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment