Commit 53768306 authored by Cool Fire's avatar Cool Fire

Fix dependencies between service and config file

parent c2d245c3
Pipeline #2471 passed with stages
in 3 minutes and 51 seconds
......@@ -16,7 +16,7 @@ class site_postfix::localrelay (
hasstatus => true,
}
-> file { '/etc/postfix/main.cf':
file { '/etc/postfix/main.cf':
ensure => file,
mode => '0644',
content => template('site_postfix/localrelay/main.cf.erb'),
......@@ -25,4 +25,7 @@ class site_postfix::localrelay (
Class['profile::base::packages']
-> Service['postfix']
Class['profile::base::packages']
-> File['/etc/postfix/main.cf']
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment