Skip to content

Commit

Permalink
Merge pull request redhat-openstack#241 from noris-network/master
Browse files Browse the repository at this point in the history
allow to disable forwarding in network::server
  • Loading branch information
blkperl committed Apr 4, 2015
2 parents 2c928c8 + 859f05b commit 02e5305
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/plugin/network/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
$port = undef,
$securitylevel = undef,
$interface = undef,
$forward = undef,
) {
include collectd::params
include collectd::plugin::network
Expand Down
3 changes: 3 additions & 0 deletions templates/plugin/network/server.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@
<% else -%>
Server "<%= @name %>" "<%= @port %>"
<% end -%>
<% if ! @forward.nil? -%>
Forward <%= @forward %>
<% end -%>
</Plugin>

0 comments on commit 02e5305

Please sign in to comment.