Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: deck/puppet-shorewall
base: a9e58c565a
...
head fork: deck/puppet-shorewall
compare: bcaf1895b9
  • 3 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 13 additions and 9 deletions.
  1. +13 −9 manifests/rules/mysql.pp
View
22 manifests/rules/mysql.pp
@@ -1,11 +1,15 @@
class shorewall::rules::mysql {
- shorewall::rule {
- 'net-me-tcp_mysql':
- source => 'net',
- destination => '$FW',
- proto => 'tcp',
- destinationport => '3306',
- order => 240,
- action => 'ACCEPT';
- }
+ case $mysql_zone {
+ '': { $mysql_zone = 'net' }
+ }
+
+ shorewall::rule {
+ "$mysql_zone-me-tcp_mysql":
+ source => "$mysql_zone",
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => '3306',
+ order => 240,
+ action => 'ACCEPT';
+ }
}

No commit comments for this range

Something went wrong with that request. Please try again.