From: Peter Palfrader Date: Sun, 22 Sep 2019 10:10:49 +0000 (+0200) Subject: Use correct variable scope in manualroute.pp X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1c3342f48e56981f4de08466e6c04de0b93844f3;p=mirror%2Fdsa-puppet.git Use correct variable scope in manualroute.pp --- diff --git a/modules/exim/manifests/manualroute.pp b/modules/exim/manifests/manualroute.pp index 9167adcd4..d75a2a54e 100644 --- a/modules/exim/manifests/manualroute.pp +++ b/modules/exim/manifests/manualroute.pp @@ -14,9 +14,9 @@ define exim::manualroute ( $port = lookup( { 'name' => 'exim::mail_port', 'default_value' => 25 } ) } - @@concat::fragment { "manualroute-to-${::domain}": + @@concat::fragment { "manualroute-to-${$domain}": tag => 'exim::manualroute::to::mailrelay', target => '/etc/exim4/manualroute', - content => "${::domain}: ${::target}::${port}", + content => "${$domain}: ${target}::${port}", } }