Skip to content

Commit

Permalink
Merge pull request #333 from cruelsmith/fix_typos_of_326
Browse files Browse the repository at this point in the history
Fix typos errors in postfix::satellite from PR 326
  • Loading branch information
rwaffen authored Jun 21, 2022
2 parents 82ab6f6 + 2c295cb commit f6c6eb3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions manifests/mta.pp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
$_mydestination = pick($mydestination, $postfix::mydestination)
$_mynetworks = pick($mynetworks, $postfix::mynetworks)
$_relayhost = pick($relayhost, $postfix::relayhost)
$_masquerade_classes = pick_default($masquerade_classes, $postfix::masquerade_classes)
$_masquerade_domains = pick_default($masquerade_domains, $postfix::masquerade_domains)
$_masquerade_exceptions = pick_default($masquerade_exceptions, $postfix::masquerade_exceptions)
$_masquerade_classes = $masquerade_classes.lest || { $postfix::masquerade_classes }
$_masquerade_domains = $masquerade_domains.lest || { $postfix::masquerade_domains }
$_masquerade_exceptions = $masquerade_exceptions.lest || { $postfix::masquerade_exceptions }

# If direct is specified then relayhost should be blank
if ($_relayhost == 'direct') {
Expand Down
12 changes: 6 additions & 6 deletions manifests/satellite.pp
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
$_mydestination = pick($mydestination, $postfix::mydestination)
$_mynetworks = pick($mynetworks, $postfix::mynetworks)
$_relayhost = pick($relayhost, $postfix::relayhost)
$_masquerade_classes = pick_default($masquerade_classes, $postfix::masquerade_classes)
$_masquerade_domains = pick_default($masquerade_domains, $postfix::masquerade_domains)
$_masquerade_exceptions = pick_default($masquerade_exceptions, $postfix::masquerade_exceptions)
$_masquerade_classes = $masquerade_classes.lest || { $postfix::masquerade_classes }
$_masquerade_domains = $masquerade_domains.lest || { $postfix::masquerade_domains }
$_masquerade_exceptions = $masquerade_exceptions.lest || { $postfix::masquerade_exceptions }

class { 'postfix::mta':
mydestination => $_mydestination,
mynetworks => $_mynetworks,
relayhost => $_relayhost,
masquerade_classes => $masquerade_classes,
masquerade_domains => $masquerade_domains,
masquerade_exceptions => $masquerade_exceptions,
masquerade_classes => $_masquerade_classes,
masquerade_domains => $_masquerade_domains,
masquerade_exceptions => $_masquerade_exceptions,
}

postfix::virtual { "@${postfix::myorigin}":
Expand Down

0 comments on commit f6c6eb3

Please sign in to comment.