target => '/etc/nagios/nrpe.d/debianorg.cfg',
content => "allowed_hosts=${ $base::public_addresses.join(', ') }",
}
+ # and we want to monitor smtp servers
+ @@ferm::rule::simple { "dsa-smtp-from-nagios-${::fqdn}":
+ tag => 'smtp::server::to::mail-satellite',
+ description => 'Allow smtp access from the nagios server',
+ port => '7', # will be overwritten on collection
+ saddr => $base::public_addresses,
+ }
}