You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -549,12 +549,13 @@ And run the tests from the root of the source code:
549
549
bundle exec rake parallel_spec
550
550
```
551
551
552
-
See also `.travis.yml` for information on running the acceptance and other tests.
552
+
See the Github Action runs for information on running the acceptance and other tests.
553
553
554
554
### Migration path to v7.0.0
555
555
556
-
As of `v7.0.0` of this module a major rework has been done to adopt the [puppet-resource_api](https://github.com/puppetlabs/puppet-resource_api) into the module and use it style of code in place of the original form of Puppet Type and Providers. As part of this several breaking changes where made to the code that will need to be accounted for whenever you update to this new version of the module.
557
-
These changes include:
556
+
As of `v7.0.0` of this module a major rework has been done to adopt the [puppet-resource_api](https://github.com/puppetlabs/puppet-resource_api) into the module and use it style of code in place of the original form of Puppet Type and Providers. This was done in the most part to increase the ease with with the module could be maintained and updated in the future, the changes helping to structure the module in such a way as to be more easily understood and altered going forward.
557
+
558
+
As part of this process several breaking changes where made to the code that will need to be accounted for whenever you update to this new version of the module, with these changes including:
558
559
559
560
* The `provider` attibute within the `firewall` type has been renamed to `protocol`, both to bring it in line with the matching attribute within the `firewallchain` type and due to the resource_api forbidding the use of `provider` as a attribute name. As part of this the attribute has also been updated to accept `IPv4` and `IPv6` in place of `iptables` or `ip6tables`, though they are still valid as input.
560
561
* The `action` attribute within the `firewall` type has been removed as it was merely a restricted version of the `jump` attribute, both of them managing the same function, this being reasoned as a way to enforce the use of generic parameters. From this point the parameters formerly unique to `action` should now be passed to `jump`.
# Verify that the information being set is correct
750
-
# @api.private
750
+
# @apiprivate
751
751
defself.validate_input(_is,should)
752
752
# Verify that name does not start with 9000-9999, this range has been reserved. Ignore check when deleting the rule
753
753
raiseArgumentError,'Rule name cannot start with 9000-9999, as this range is reserved for unmanaged rules.'ifshould[:name].match($unmanaged_rule_regex) && should[:ensure].to_s == 'present'
0 commit comments