summaryrefslogtreecommitdiff
path: root/manifests/rules/out/ibackup.pp
blob: 48714affcc8869272b778031d8543e8ed8c9d057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class shorewall::rules::out::ibackup(
  $backup_host = hiera('shorewall_ibackup_host')
) {
    shorewall::rule { 'me-net-tcp_backupssh':
        source          => '$FW',
        destination     => "net:${backup_host}",
        proto           => 'tcp',
        destinationport => 'ssh',
        order           => 240,
        action          => 'ACCEPT';
    }
}