@@ -200,7 +200,7 @@ class Puppet::Provider::Firewall::Firewall
200
200
# => multiport: (For some reason, the multiport arguments can't be)
201
201
# specified within the same "-m multiport", but works in seperate
202
202
# 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
204
204
#
205
205
@module_to_argument_mapping = {
206
206
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)
339
339
340
340
is == should
341
341
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
343
343
is_hash [ property_name ] == PuppetX ::Firewall ::Utility . host_to_mask ( should_hash [ property_name ] , should_hash [ :protocol ] )
344
344
when :tcp_option , :ctproto , :hop_limit
345
345
# Ensure that the values are compared as strings
@@ -716,7 +716,7 @@ def self.process_get(_context, rule_hash, rule, counter)
716
716
# Certain OS can return the proto as it;s equivalent number and we make sure to convert it in that case
717
717
rule_hash [ :proto ] = PuppetX ::Firewall ::Utility . proto_number_to_name ( rule_hash [ :proto ] )
718
718
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
720
720
rule_hash [ :set_dscp_class ] = PuppetX ::Firewall ::Utility . dscp_number_to_class ( rule_hash [ :set_dscp ] ) if rule_hash [ :set_dscp ]
721
721
722
722
rule_hash
@@ -966,7 +966,7 @@ def self.hash_to_rule(_context, _name, rule)
966
966
arguments += " #{ [ $resource_map[ key ] [ 1 ] , rule [ key ] ] . join ( ' ' ) } "
967
967
end
968
968
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
970
970
split_command = $resource_map[ key ] . split ( %r{ } )
971
971
negated_command = [ split_command [ 0 ] , split_command [ 1 ] , '!' , split_command [ 2 ] ] . join ( ' ' )
972
972
@@ -1048,7 +1048,7 @@ def self.insert_order(context, name, chain, table, protocol)
1048
1048
# If the rule already exists, use it as the offset
1049
1049
offset_rule = name
1050
1050
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
1052
1052
rules << name
1053
1053
new_rule_location = rules . sort . uniq . index ( name )
1054
1054
offset_rule = if new_rule_location . zero?
0 commit comments