Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 3 commits
  • 1 file changed
  • 0 comments
  • 1 contributor

Showing 1 changed file with 13 additions and 9 deletions. Show diff stats Hide diff stats

  1. +13 9 manifests/rules/mysql.pp
22 manifests/rules/mysql.pp
... ... @@ -1,11 +1,15 @@
1 1 class shorewall::rules::mysql {
2   - shorewall::rule {
3   - 'net-me-tcp_mysql':
4   - source => 'net',
5   - destination => '$FW',
6   - proto => 'tcp',
7   - destinationport => '3306',
8   - order => 240,
9   - action => 'ACCEPT';
10   - }
  2 + case $mysql_zone {
  3 + '': { $mysql_zone = 'net' }
  4 + }
  5 +
  6 + shorewall::rule {
  7 + "$mysql_zone-me-tcp_mysql":
  8 + source => "$mysql_zone",
  9 + destination => '$FW',
  10 + proto => 'tcp',
  11 + destinationport => '3306',
  12 + order => 240,
  13 + action => 'ACCEPT';
  14 + }
11 15 }

No commit comments for this range

Something went wrong with that request. Please try again.