Skip to content

Commit

Permalink
Merge pull request #221 from alexjfisher/AccessorMethodName
Browse files Browse the repository at this point in the history
Rubocop fix/disable Style/AccessorMethodName
  • Loading branch information
alexjfisher committed Sep 24, 2019
2 parents e44231f + e8fbc6c commit e5239e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/puppet/provider/firewalld_zone/firewall_cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def icmp_blocks=(i)
end
end

# rubocop:disable Style/AccessorMethodName
def get_rules
perm = execute_firewall_cmd(['--list-rich-rules']).split(%r{\n})
curr = execute_firewall_cmd(['--list-rich-rules'], @resource[:name], false).split(%r{\n})
Expand Down Expand Up @@ -179,6 +180,7 @@ def get_icmp_blocks
def get_icmp_types
execute_firewall_cmd(['--get-icmptypes'], nil).split(' ')
end
# rubocop:enable Style/AccessorMethodName

def description
execute_firewall_cmd(['--get-description'], @resource[:name], true, false)
Expand Down

0 comments on commit e5239e0

Please sign in to comment.