summaryrefslogtreecommitdiff
path: root/manifests/rules/out/ibackup.pp
blob: ec12c8b2a07255e20e72af7d3e16a3f252cbdcd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class shorewall::rules::out::ibackup {
    case $shorewall_ibackup_host {
      '': { fail("You need to define \$shorewall_ibackup_host for ${fqdn}") }
    }
    shorewall::rule { 'me-net-tcp_backupssh':
        source          => '$FW',
        destination     => "net:${shorewall_ibackup_host}",
        proto           => 'tcp',
        destinationport => 'ssh',
        order           => 240,
        action          => 'ACCEPT';
    }
}