@@ -200,7 +200,7 @@ class Puppet::Provider::Firewall::Firewall
200200 # => multiport: (For some reason, the multiport arguments can't be)
201201 # specified within the same "-m multiport", but works in seperate
202202 # ones.
203- # => addrtype: Each instance of src_type/dst_type requires it's own preface
203+ # => addrtype: Each instance of src_type/dst_type requires its own preface
204204 #
205205 @module_to_argument_mapping = {
206206 physdev : [ :physdev_in , :physdev_out , :physdev_is_bridged , :physdev_is_in , :physdev_is_out ] ,
@@ -339,7 +339,7 @@ def insync?(context, _name, property_name, is_hash, should_hash)
339339
340340 is == should
341341 when :source , :destination
342- # Ensure source/destination has it's valid mask before you compare it
342+ # Ensure source/destination has its valid mask before you compare it
343343 is_hash [ property_name ] == PuppetX ::Firewall ::Utility . host_to_mask ( should_hash [ property_name ] , should_hash [ :protocol ] )
344344 when :tcp_option , :ctproto , :hop_limit
345345 # Ensure that the values are compared as strings
@@ -716,7 +716,7 @@ def self.process_get(_context, rule_hash, rule, counter)
716716 # Certain OS can return the proto as it;s equivalent number and we make sure to convert it in that case
717717 rule_hash [ :proto ] = PuppetX ::Firewall ::Utility . proto_number_to_name ( rule_hash [ :proto ] )
718718
719- # If a dscp numer is found, also return it as it's valid class name
719+ # If a dscp numer is found, also return it as its valid class name
720720 rule_hash [ :set_dscp_class ] = PuppetX ::Firewall ::Utility . dscp_number_to_class ( rule_hash [ :set_dscp ] ) if rule_hash [ :set_dscp ]
721721
722722 rule_hash
@@ -966,7 +966,7 @@ def self.hash_to_rule(_context, _name, rule)
966966 arguments += " #{ [ $resource_map[ key ] [ 1 ] , rule [ key ] ] . join ( ' ' ) } "
967967 end
968968 when :src_type , :dst_type , :ipset , :match_mark , :mss , :connmark
969- # Code for if value requires it's own flag each time it is applied
969+ # Code for if value requires its own flag each time it is applied
970970 split_command = $resource_map[ key ] . split ( %r{ } )
971971 negated_command = [ split_command [ 0 ] , split_command [ 1 ] , '!' , split_command [ 2 ] ] . join ( ' ' )
972972
@@ -1048,7 +1048,7 @@ def self.insert_order(context, name, chain, table, protocol)
10481048 # If the rule already exists, use it as the offset
10491049 offset_rule = name
10501050 else
1051- # If it doesn't add it to the list and find it's ordered location
1051+ # If it doesn't add it to the list and find its ordered location
10521052 rules << name
10531053 new_rule_location = rules . sort . uniq . index ( name )
10541054 offset_rule = if new_rule_location . zero?
0 commit comments