# Shorewall munin rules class custom_shorewall::munin_node { include site_shorewall::defaults include site_shorewall::ip_forward $node_port = '4949' # define macro for incoming services file { '/etc/shorewall/macro.munin_node': content => "PARAM - - tcp ${node_port} ", notify => Service['shorewall'], require => Package['shorewall'] } shorewall::rule { 'net2fw-munin_node': source => 'net', destination => '$FW', action => 'munin_node(ACCEPT)', order => 200; } }