Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit 38b53746 authored by Benedikt Wegmann's avatar Benedikt Wegmann
Browse files

postfix: file_line statt augeas, FIX

parent a925a8bc
No related branches found
No related tags found
No related merge requests found
...@@ -6,14 +6,14 @@ class ubuntu_server::postfix($root_emails,$relayhost = "mailer.gwdg.de") { ...@@ -6,14 +6,14 @@ class ubuntu_server::postfix($root_emails,$relayhost = "mailer.gwdg.de") {
} }
file_line{'postfix_cfg_1': file_line{'postfix_cfg_1':
path => "/files/etc/postfix/main.cf", path => "/etc/postfix/main.cf",
line => "relayhost $relayhost", line => "relayhost $relayhost",
require => [ Package["mailutils"], Package["postfix"] ], require => [ Package["mailutils"], Package["postfix"] ],
} ~> Service['postfix'] } ~> Service['postfix']
file_line{'postfix_cfg_2': file_line{'postfix_cfg_2':
ensure => absent, ensure => absent,
path => "/files/etc/postfix/main.cf", path => "/etc/postfix/main.cf",
line => "#default_transport = ", line => "#default_transport = ",
match => "^default_transport =.*", match => "^default_transport =.*",
require => [ Package["mailutils"], Package["postfix"] ], require => [ Package["mailutils"], Package["postfix"] ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment