Skip to content
Snippets Groups Projects
Unverified Commit b533baed authored by Alessandro Franceschi's avatar Alessandro Franceschi Committed by GitHub
Browse files

Merge pull request #341 from example42/fix_318

Fix 318
parents 1c8349a8 7a64dc58
Branches
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
define network::rule ( define network::rule (
$iprule, $iprule,
$interface = $name, $interface = $name,
$family = undef, $family = [],
$ensure = 'present' $ensure = 'present'
) { ) {
# Validate our arrays # Validate our arrays
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
### File managed by Puppet ### File managed by Puppet
### ###
<%- (0..(@iprule.length-1)).each do |id| -%> <%- (0..(@iprule.length-1)).each do |id| -%>
<%- if @family and @family[id] != 'inet6' -%> <%- if @family[id] != 'inet6' -%>
<%= @iprule[id] %> <%= @iprule[id] %>
<% end -%> <% end -%>
<%- end -%> <%- end -%>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment