From d7414dad6376bc196dd46558472241232af5d0f2 Mon Sep 17 00:00:00 2001 From: orso Date: Wed, 13 Nov 2019 19:24:05 +0200 Subject: [PATCH] upload version 1.0.1 --- galaxy.yml | 10 +++--- plugins/README.md | 31 ------------------- plugins/doc_fragments/checkpoint_commands.py | 3 ++ plugins/doc_fragments/checkpoint_objects.py | 3 ++ plugins/module_utils/checkpoint.py | 1 + plugins/modules/cp_mgmt_access_layer.py | 2 +- plugins/modules/cp_mgmt_access_layer_facts.py | 2 +- plugins/modules/cp_mgmt_access_role.py | 2 +- plugins/modules/cp_mgmt_access_role_facts.py | 2 +- plugins/modules/cp_mgmt_access_rule.py | 2 +- plugins/modules/cp_mgmt_access_rule_facts.py | 2 +- plugins/modules/cp_mgmt_address_range.py | 2 +- .../modules/cp_mgmt_address_range_facts.py | 2 +- plugins/modules/cp_mgmt_administrator.py | 2 +- .../modules/cp_mgmt_administrator_facts.py | 2 +- plugins/modules/cp_mgmt_application_site.py | 2 +- .../cp_mgmt_application_site_category.py | 2 +- ...cp_mgmt_application_site_category_facts.py | 2 +- .../modules/cp_mgmt_application_site_facts.py | 2 +- .../modules/cp_mgmt_application_site_group.py | 2 +- .../cp_mgmt_application_site_group_facts.py | 2 +- .../cp_mgmt_assign_global_assignment.py | 2 +- plugins/modules/cp_mgmt_discard.py | 2 +- plugins/modules/cp_mgmt_dns_domain.py | 2 +- plugins/modules/cp_mgmt_dns_domain_facts.py | 2 +- plugins/modules/cp_mgmt_dynamic_object.py | 2 +- .../modules/cp_mgmt_dynamic_object_facts.py | 2 +- plugins/modules/cp_mgmt_exception_group.py | 2 +- .../modules/cp_mgmt_exception_group_facts.py | 2 +- plugins/modules/cp_mgmt_global_assignment.py | 2 +- .../cp_mgmt_global_assignment_facts.py | 2 +- plugins/modules/cp_mgmt_group.py | 2 +- plugins/modules/cp_mgmt_group_facts.py | 2 +- .../modules/cp_mgmt_group_with_exclusion.py | 2 +- .../cp_mgmt_group_with_exclusion_facts.py | 2 +- plugins/modules/cp_mgmt_host.py | 2 +- plugins/modules/cp_mgmt_host_facts.py | 2 +- plugins/modules/cp_mgmt_install_policy.py | 2 +- plugins/modules/cp_mgmt_mds_facts.py | 2 +- .../cp_mgmt_multicast_address_range.py | 2 +- .../cp_mgmt_multicast_address_range_facts.py | 2 +- plugins/modules/cp_mgmt_network.py | 2 +- plugins/modules/cp_mgmt_network_facts.py | 2 +- plugins/modules/cp_mgmt_package.py | 2 +- plugins/modules/cp_mgmt_package_facts.py | 2 +- plugins/modules/cp_mgmt_publish.py | 2 +- plugins/modules/cp_mgmt_put_file.py | 2 +- plugins/modules/cp_mgmt_run_ips_update.py | 2 +- plugins/modules/cp_mgmt_run_script.py | 2 +- plugins/modules/cp_mgmt_security_zone.py | 2 +- .../modules/cp_mgmt_security_zone_facts.py | 2 +- plugins/modules/cp_mgmt_service_dce_rpc.py | 2 +- .../modules/cp_mgmt_service_dce_rpc_facts.py | 2 +- plugins/modules/cp_mgmt_service_group.py | 2 +- .../modules/cp_mgmt_service_group_facts.py | 2 +- plugins/modules/cp_mgmt_service_icmp.py | 2 +- plugins/modules/cp_mgmt_service_icmp6.py | 2 +- .../modules/cp_mgmt_service_icmp6_facts.py | 2 +- plugins/modules/cp_mgmt_service_icmp_facts.py | 2 +- plugins/modules/cp_mgmt_service_other.py | 2 +- .../modules/cp_mgmt_service_other_facts.py | 2 +- plugins/modules/cp_mgmt_service_rpc.py | 2 +- plugins/modules/cp_mgmt_service_rpc_facts.py | 2 +- plugins/modules/cp_mgmt_service_sctp.py | 2 +- plugins/modules/cp_mgmt_service_sctp_facts.py | 2 +- plugins/modules/cp_mgmt_service_tcp.py | 2 +- plugins/modules/cp_mgmt_service_tcp_facts.py | 2 +- plugins/modules/cp_mgmt_service_udp.py | 2 +- plugins/modules/cp_mgmt_service_udp_facts.py | 2 +- plugins/modules/cp_mgmt_session_facts.py | 2 +- plugins/modules/cp_mgmt_simple_gateway.py | 2 +- .../modules/cp_mgmt_simple_gateway_facts.py | 2 +- plugins/modules/cp_mgmt_tag.py | 2 +- plugins/modules/cp_mgmt_tag_facts.py | 2 +- plugins/modules/cp_mgmt_threat_exception.py | 2 +- .../modules/cp_mgmt_threat_exception_facts.py | 2 +- plugins/modules/cp_mgmt_threat_indicator.py | 2 +- .../modules/cp_mgmt_threat_indicator_facts.py | 2 +- plugins/modules/cp_mgmt_threat_layer.py | 2 +- plugins/modules/cp_mgmt_threat_layer_facts.py | 2 +- plugins/modules/cp_mgmt_threat_profile.py | 2 +- .../modules/cp_mgmt_threat_profile_facts.py | 2 +- .../cp_mgmt_threat_protection_override.py | 2 +- plugins/modules/cp_mgmt_threat_rule.py | 2 +- plugins/modules/cp_mgmt_threat_rule_facts.py | 2 +- plugins/modules/cp_mgmt_time.py | 2 +- plugins/modules/cp_mgmt_time_facts.py | 2 +- plugins/modules/cp_mgmt_verify_policy.py | 2 +- .../modules/cp_mgmt_vpn_community_meshed.py | 2 +- .../cp_mgmt_vpn_community_meshed_facts.py | 2 +- plugins/modules/cp_mgmt_vpn_community_star.py | 2 +- .../cp_mgmt_vpn_community_star_facts.py | 2 +- plugins/modules/cp_mgmt_wildcard.py | 2 +- plugins/modules/cp_mgmt_wildcard_facts.py | 2 +- .../units/plugins/httpapi/test_checkpoint.py | 3 ++ 95 files changed, 104 insertions(+), 125 deletions(-) delete mode 100644 plugins/README.md diff --git a/galaxy.yml b/galaxy.yml index 972f0d1..a4b45df 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -9,7 +9,7 @@ namespace: check_point name: mgmt # The version of the collection. Must be compatible with semantic versioning -version: 1.0.0 +version: 1.0.1 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md @@ -23,7 +23,7 @@ authors: ### OPTIONAL but strongly recommended # A short summary description of the collection -description: check_point collection for the management server +description: Check Point collection for the Management Server # Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only # accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file' @@ -45,13 +45,13 @@ tags: [] dependencies: {} # The URL of the originating SCM repository -repository: http://example.com/repository +repository: https://github.com/CheckPointSW/CheckPointAnsibleMgmtCollection # The URL to any online docs -documentation: http://docs.example.com +documentation: https://docs.ansible.com/ansible/latest/modules/list_of_network_modules.html#check-point # The URL to the homepage of the collection/project -homepage: http://example.com +homepage: https://sc1.checkpoint.com/documents/latest/APIs/index.html#introduction~v1.5%20 # The URL to the collection issue tracker issues: http://example.com/issue/tracker diff --git a/plugins/README.md b/plugins/README.md deleted file mode 100644 index 958e404..0000000 --- a/plugins/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# Collections Plugins Directory - -This directory can be used to ship various plugins inside an Ansible collection. Each plugin is placed in a folder that -is named after the type of plugin it is in. It can also include the `module_utils` and `modules` directory that -would contain module utils and modules respectively. - -Here is an example directory of the majority of plugins currently supported by Ansible; - -``` -└── plugins - ├── action - ├── become - ├── cache - ├── callback - ├── cliconf - ├── connection - ├── filter - ├── httpapi - ├── inventory - ├── lookup - ├── module_utils - ├── modules - ├── netconf - ├── shell - ├── strategy - ├── terminal - ├── test - └── vars -``` - -A full list of plugin types can be found at [Working With Plugins](https://docs.ansible.com/ansible/devel/plugins/plugins.html). \ No newline at end of file diff --git a/plugins/doc_fragments/checkpoint_commands.py b/plugins/doc_fragments/checkpoint_commands.py index 9f17df5..9c5afaf 100644 --- a/plugins/doc_fragments/checkpoint_commands.py +++ b/plugins/doc_fragments/checkpoint_commands.py @@ -3,6 +3,9 @@ # Copyright: (c) 2019, Or Soffer # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import (absolute_import, division, print_function) +__metaclass__ = type + class ModuleDocFragment(object): diff --git a/plugins/doc_fragments/checkpoint_objects.py b/plugins/doc_fragments/checkpoint_objects.py index 04b26b3..ffe7a60 100644 --- a/plugins/doc_fragments/checkpoint_objects.py +++ b/plugins/doc_fragments/checkpoint_objects.py @@ -3,6 +3,9 @@ # Copyright: (c) 2019, Or Soffer # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import (absolute_import, division, print_function) +__metaclass__ = type + class ModuleDocFragment(object): diff --git a/plugins/module_utils/checkpoint.py b/plugins/module_utils/checkpoint.py index 01e7865..07cd3ff 100644 --- a/plugins/module_utils/checkpoint.py +++ b/plugins/module_utils/checkpoint.py @@ -27,6 +27,7 @@ # from __future__ import (absolute_import, division, print_function) +__metaclass__ = type import time diff --git a/plugins/modules/cp_mgmt_access_layer.py b/plugins/modules/cp_mgmt_access_layer.py index 4f34c07..48a8e40 100644 --- a/plugins/modules/cp_mgmt_access_layer.py +++ b/plugins/modules/cp_mgmt_access_layer.py @@ -102,7 +102,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_access_layer_facts.py b/plugins/modules/cp_mgmt_access_layer_facts.py index 6b50c30..144c988 100644 --- a/plugins/modules/cp_mgmt_access_layer_facts.py +++ b/plugins/modules/cp_mgmt_access_layer_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_access_role.py b/plugins/modules/cp_mgmt_access_role.py index b29a768..4e971d3 100644 --- a/plugins/modules/cp_mgmt_access_role.py +++ b/plugins/modules/cp_mgmt_access_role.py @@ -111,7 +111,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_access_role_facts.py b/plugins/modules/cp_mgmt_access_role_facts.py index de96b4c..133ae5a 100644 --- a/plugins/modules/cp_mgmt_access_role_facts.py +++ b/plugins/modules/cp_mgmt_access_role_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_access_rule.py b/plugins/modules/cp_mgmt_access_rule.py index b9201e1..3cbb3b1 100644 --- a/plugins/modules/cp_mgmt_access_rule.py +++ b/plugins/modules/cp_mgmt_access_rule.py @@ -238,7 +238,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_access_rule_facts.py b/plugins/modules/cp_mgmt_access_rule_facts.py index 11fb732..d0612af 100644 --- a/plugins/modules/cp_mgmt_access_rule_facts.py +++ b/plugins/modules/cp_mgmt_access_rule_facts.py @@ -166,7 +166,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_address_range.py b/plugins/modules/cp_mgmt_address_range.py index 035823b..03af458 100644 --- a/plugins/modules/cp_mgmt_address_range.py +++ b/plugins/modules/cp_mgmt_address_range.py @@ -133,7 +133,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_address_range_facts.py b/plugins/modules/cp_mgmt_address_range_facts.py index 3d660b7..5702497 100644 --- a/plugins/modules/cp_mgmt_address_range_facts.py +++ b/plugins/modules/cp_mgmt_address_range_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_administrator.py b/plugins/modules/cp_mgmt_administrator.py index ca033ae..53a7d0c 100644 --- a/plugins/modules/cp_mgmt_administrator.py +++ b/plugins/modules/cp_mgmt_administrator.py @@ -120,7 +120,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_administrator_facts.py b/plugins/modules/cp_mgmt_administrator_facts.py index 31c7b46..64ca35c 100644 --- a/plugins/modules/cp_mgmt_administrator_facts.py +++ b/plugins/modules/cp_mgmt_administrator_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_application_site.py b/plugins/modules/cp_mgmt_application_site.py index b959ab6..1fa00da 100644 --- a/plugins/modules/cp_mgmt_application_site.py +++ b/plugins/modules/cp_mgmt_application_site.py @@ -98,7 +98,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_application_site_category.py b/plugins/modules/cp_mgmt_application_site_category.py index d85220c..4caa406 100644 --- a/plugins/modules/cp_mgmt_application_site_category.py +++ b/plugins/modules/cp_mgmt_application_site_category.py @@ -77,7 +77,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_application_site_category_facts.py b/plugins/modules/cp_mgmt_application_site_category_facts.py index 7f2ec72..22ce419 100644 --- a/plugins/modules/cp_mgmt_application_site_category_facts.py +++ b/plugins/modules/cp_mgmt_application_site_category_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_application_site_facts.py b/plugins/modules/cp_mgmt_application_site_facts.py index e6cec2a..277b081 100644 --- a/plugins/modules/cp_mgmt_application_site_facts.py +++ b/plugins/modules/cp_mgmt_application_site_facts.py @@ -82,7 +82,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_application_site_group.py b/plugins/modules/cp_mgmt_application_site_group.py index f2adfac..1874030 100644 --- a/plugins/modules/cp_mgmt_application_site_group.py +++ b/plugins/modules/cp_mgmt_application_site_group.py @@ -77,7 +77,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_application_site_group_facts.py b/plugins/modules/cp_mgmt_application_site_group_facts.py index 7ce7494..d1fd25b 100644 --- a/plugins/modules/cp_mgmt_application_site_group_facts.py +++ b/plugins/modules/cp_mgmt_application_site_group_facts.py @@ -82,7 +82,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_assign_global_assignment.py b/plugins/modules/cp_mgmt_assign_global_assignment.py index c19b995..5598ef4 100644 --- a/plugins/modules/cp_mgmt_assign_global_assignment.py +++ b/plugins/modules/cp_mgmt_assign_global_assignment.py @@ -49,7 +49,7 @@ representation of the object. type: str choices: ['uid', 'standard', 'full'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_commands +extends_documentation_fragment: check_point.mgmt.checkpoint_commands """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_discard.py b/plugins/modules/cp_mgmt_discard.py index f4b48c1..8b76911 100644 --- a/plugins/modules/cp_mgmt_discard.py +++ b/plugins/modules/cp_mgmt_discard.py @@ -39,7 +39,7 @@ description: - Session unique identifier. Specify it to discard a different session than the one you currently use. type: str -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_commands +extends_documentation_fragment: check_point.mgmt.checkpoint_commands """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_dns_domain.py b/plugins/modules/cp_mgmt_dns_domain.py index 110678a..6951c5f 100644 --- a/plugins/modules/cp_mgmt_dns_domain.py +++ b/plugins/modules/cp_mgmt_dns_domain.py @@ -73,7 +73,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_dns_domain_facts.py b/plugins/modules/cp_mgmt_dns_domain_facts.py index bc582be..76e6e43 100644 --- a/plugins/modules/cp_mgmt_dns_domain_facts.py +++ b/plugins/modules/cp_mgmt_dns_domain_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_dynamic_object.py b/plugins/modules/cp_mgmt_dynamic_object.py index 2eb7e15..c8f4f95 100644 --- a/plugins/modules/cp_mgmt_dynamic_object.py +++ b/plugins/modules/cp_mgmt_dynamic_object.py @@ -69,7 +69,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_dynamic_object_facts.py b/plugins/modules/cp_mgmt_dynamic_object_facts.py index 0fdda61..4593fb0 100644 --- a/plugins/modules/cp_mgmt_dynamic_object_facts.py +++ b/plugins/modules/cp_mgmt_dynamic_object_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_exception_group.py b/plugins/modules/cp_mgmt_exception_group.py index c338245..b56e83b 100644 --- a/plugins/modules/cp_mgmt_exception_group.py +++ b/plugins/modules/cp_mgmt_exception_group.py @@ -104,7 +104,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_exception_group_facts.py b/plugins/modules/cp_mgmt_exception_group_facts.py index c14e9b5..2a8fac8 100644 --- a/plugins/modules/cp_mgmt_exception_group_facts.py +++ b/plugins/modules/cp_mgmt_exception_group_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_global_assignment.py b/plugins/modules/cp_mgmt_global_assignment.py index cc91aef..2249227 100644 --- a/plugins/modules/cp_mgmt_global_assignment.py +++ b/plugins/modules/cp_mgmt_global_assignment.py @@ -69,7 +69,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_global_assignment_facts.py b/plugins/modules/cp_mgmt_global_assignment_facts.py index c215e29..4725365 100644 --- a/plugins/modules/cp_mgmt_global_assignment_facts.py +++ b/plugins/modules/cp_mgmt_global_assignment_facts.py @@ -77,7 +77,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_group.py b/plugins/modules/cp_mgmt_group.py index e211ebb..25867ad 100644 --- a/plugins/modules/cp_mgmt_group.py +++ b/plugins/modules/cp_mgmt_group.py @@ -77,7 +77,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_group_facts.py b/plugins/modules/cp_mgmt_group_facts.py index c3c864e..4dfd04d 100644 --- a/plugins/modules/cp_mgmt_group_facts.py +++ b/plugins/modules/cp_mgmt_group_facts.py @@ -88,7 +88,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_group_with_exclusion.py b/plugins/modules/cp_mgmt_group_with_exclusion.py index 2ac3619..d3a4748 100644 --- a/plugins/modules/cp_mgmt_group_with_exclusion.py +++ b/plugins/modules/cp_mgmt_group_with_exclusion.py @@ -81,7 +81,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_group_with_exclusion_facts.py b/plugins/modules/cp_mgmt_group_with_exclusion_facts.py index 7b4075e..7f3230b 100644 --- a/plugins/modules/cp_mgmt_group_with_exclusion_facts.py +++ b/plugins/modules/cp_mgmt_group_with_exclusion_facts.py @@ -80,7 +80,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_host.py b/plugins/modules/cp_mgmt_host.py index 5935d94..35ff92c 100644 --- a/plugins/modules/cp_mgmt_host.py +++ b/plugins/modules/cp_mgmt_host.py @@ -228,7 +228,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_host_facts.py b/plugins/modules/cp_mgmt_host_facts.py index 05b5673..fcfc42d 100644 --- a/plugins/modules/cp_mgmt_host_facts.py +++ b/plugins/modules/cp_mgmt_host_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_install_policy.py b/plugins/modules/cp_mgmt_install_policy.py index 5411bce..032abe6 100644 --- a/plugins/modules/cp_mgmt_install_policy.py +++ b/plugins/modules/cp_mgmt_install_policy.py @@ -76,7 +76,7 @@ description: - The UID of the revision of the policy to install. type: str -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_commands +extends_documentation_fragment: check_point.mgmt.checkpoint_commands """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_mds_facts.py b/plugins/modules/cp_mgmt_mds_facts.py index 162928a..12e2039 100644 --- a/plugins/modules/cp_mgmt_mds_facts.py +++ b/plugins/modules/cp_mgmt_mds_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_multicast_address_range.py b/plugins/modules/cp_mgmt_multicast_address_range.py index d82fa55..32b9a29 100644 --- a/plugins/modules/cp_mgmt_multicast_address_range.py +++ b/plugins/modules/cp_mgmt_multicast_address_range.py @@ -109,7 +109,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_multicast_address_range_facts.py b/plugins/modules/cp_mgmt_multicast_address_range_facts.py index 3badcbc..e84d988 100644 --- a/plugins/modules/cp_mgmt_multicast_address_range_facts.py +++ b/plugins/modules/cp_mgmt_multicast_address_range_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_network.py b/plugins/modules/cp_mgmt_network.py index bb4fa41..2f7ea55 100644 --- a/plugins/modules/cp_mgmt_network.py +++ b/plugins/modules/cp_mgmt_network.py @@ -143,7 +143,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_network_facts.py b/plugins/modules/cp_mgmt_network_facts.py index e3d76f7..8cca44d 100644 --- a/plugins/modules/cp_mgmt_network_facts.py +++ b/plugins/modules/cp_mgmt_network_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_package.py b/plugins/modules/cp_mgmt_package.py index ccfd6c9..e3aea49 100644 --- a/plugins/modules/cp_mgmt_package.py +++ b/plugins/modules/cp_mgmt_package.py @@ -150,7 +150,7 @@ description: - Collection of Threat layer objects to be set identified by the name or UID. Replaces existing Threat layers. type: list -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_package_facts.py b/plugins/modules/cp_mgmt_package_facts.py index ad48d54..7db0d35 100644 --- a/plugins/modules/cp_mgmt_package_facts.py +++ b/plugins/modules/cp_mgmt_package_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_publish.py b/plugins/modules/cp_mgmt_publish.py index 9710da0..fadc444 100644 --- a/plugins/modules/cp_mgmt_publish.py +++ b/plugins/modules/cp_mgmt_publish.py @@ -39,7 +39,7 @@ description: - Session unique identifier. Specify it to publish a different session than the one you currently use. type: str -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_commands +extends_documentation_fragment: check_point.mgmt.checkpoint_commands """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_put_file.py b/plugins/modules/cp_mgmt_put_file.py index db7f601..63ede67 100644 --- a/plugins/modules/cp_mgmt_put_file.py +++ b/plugins/modules/cp_mgmt_put_file.py @@ -55,7 +55,7 @@ description: - Comments string. type: str -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_commands +extends_documentation_fragment: check_point.mgmt.checkpoint_commands """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_run_ips_update.py b/plugins/modules/cp_mgmt_run_ips_update.py index 64c70e3..ecf52fd 100644 --- a/plugins/modules/cp_mgmt_run_ips_update.py +++ b/plugins/modules/cp_mgmt_run_ips_update.py @@ -39,7 +39,7 @@ description: - Offline update package path. type: str -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_commands +extends_documentation_fragment: check_point.mgmt.checkpoint_commands """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_run_script.py b/plugins/modules/cp_mgmt_run_script.py index 308d427..b14ceff 100644 --- a/plugins/modules/cp_mgmt_run_script.py +++ b/plugins/modules/cp_mgmt_run_script.py @@ -55,7 +55,7 @@ description: - Comments string. type: str -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_commands +extends_documentation_fragment: check_point.mgmt.checkpoint_commands """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_security_zone.py b/plugins/modules/cp_mgmt_security_zone.py index 008fde8..6115178 100644 --- a/plugins/modules/cp_mgmt_security_zone.py +++ b/plugins/modules/cp_mgmt_security_zone.py @@ -69,7 +69,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_security_zone_facts.py b/plugins/modules/cp_mgmt_security_zone_facts.py index 0e35aac..d6930f9 100644 --- a/plugins/modules/cp_mgmt_security_zone_facts.py +++ b/plugins/modules/cp_mgmt_security_zone_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_dce_rpc.py b/plugins/modules/cp_mgmt_service_dce_rpc.py index 9afb84a..68cff28 100644 --- a/plugins/modules/cp_mgmt_service_dce_rpc.py +++ b/plugins/modules/cp_mgmt_service_dce_rpc.py @@ -82,7 +82,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_dce_rpc_facts.py b/plugins/modules/cp_mgmt_service_dce_rpc_facts.py index cd5b123..30f5d1a 100644 --- a/plugins/modules/cp_mgmt_service_dce_rpc_facts.py +++ b/plugins/modules/cp_mgmt_service_dce_rpc_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_group.py b/plugins/modules/cp_mgmt_service_group.py index 494e3a9..7d1072e 100644 --- a/plugins/modules/cp_mgmt_service_group.py +++ b/plugins/modules/cp_mgmt_service_group.py @@ -77,7 +77,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_group_facts.py b/plugins/modules/cp_mgmt_service_group_facts.py index c40f24e..a929933 100644 --- a/plugins/modules/cp_mgmt_service_group_facts.py +++ b/plugins/modules/cp_mgmt_service_group_facts.py @@ -88,7 +88,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_icmp.py b/plugins/modules/cp_mgmt_service_icmp.py index 14ee430..2514338 100644 --- a/plugins/modules/cp_mgmt_service_icmp.py +++ b/plugins/modules/cp_mgmt_service_icmp.py @@ -86,7 +86,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_icmp6.py b/plugins/modules/cp_mgmt_service_icmp6.py index a92fa4b..3a8499f 100644 --- a/plugins/modules/cp_mgmt_service_icmp6.py +++ b/plugins/modules/cp_mgmt_service_icmp6.py @@ -86,7 +86,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_icmp6_facts.py b/plugins/modules/cp_mgmt_service_icmp6_facts.py index 8ccf70b..c32f58d 100644 --- a/plugins/modules/cp_mgmt_service_icmp6_facts.py +++ b/plugins/modules/cp_mgmt_service_icmp6_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_icmp_facts.py b/plugins/modules/cp_mgmt_service_icmp_facts.py index 87c7b4b..5a71a79 100644 --- a/plugins/modules/cp_mgmt_service_icmp_facts.py +++ b/plugins/modules/cp_mgmt_service_icmp_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_other.py b/plugins/modules/cp_mgmt_service_other.py index fe2047a..404e981 100644 --- a/plugins/modules/cp_mgmt_service_other.py +++ b/plugins/modules/cp_mgmt_service_other.py @@ -138,7 +138,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_other_facts.py b/plugins/modules/cp_mgmt_service_other_facts.py index 8e04c0b..b0c77f7 100644 --- a/plugins/modules/cp_mgmt_service_other_facts.py +++ b/plugins/modules/cp_mgmt_service_other_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_rpc.py b/plugins/modules/cp_mgmt_service_rpc.py index 95717a8..48db36e 100644 --- a/plugins/modules/cp_mgmt_service_rpc.py +++ b/plugins/modules/cp_mgmt_service_rpc.py @@ -82,7 +82,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_rpc_facts.py b/plugins/modules/cp_mgmt_service_rpc_facts.py index 0d04891..7cf26ea 100644 --- a/plugins/modules/cp_mgmt_service_rpc_facts.py +++ b/plugins/modules/cp_mgmt_service_rpc_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_sctp.py b/plugins/modules/cp_mgmt_service_sctp.py index 38fea43..b804d4f 100644 --- a/plugins/modules/cp_mgmt_service_sctp.py +++ b/plugins/modules/cp_mgmt_service_sctp.py @@ -124,7 +124,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_sctp_facts.py b/plugins/modules/cp_mgmt_service_sctp_facts.py index 0aed78b..6111060 100644 --- a/plugins/modules/cp_mgmt_service_sctp_facts.py +++ b/plugins/modules/cp_mgmt_service_sctp_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_tcp.py b/plugins/modules/cp_mgmt_service_tcp.py index 2748069..7afed38 100644 --- a/plugins/modules/cp_mgmt_service_tcp.py +++ b/plugins/modules/cp_mgmt_service_tcp.py @@ -141,7 +141,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_tcp_facts.py b/plugins/modules/cp_mgmt_service_tcp_facts.py index e29a196..7531e76 100644 --- a/plugins/modules/cp_mgmt_service_tcp_facts.py +++ b/plugins/modules/cp_mgmt_service_tcp_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_udp.py b/plugins/modules/cp_mgmt_service_udp.py index bd4dfd9..a725244 100644 --- a/plugins/modules/cp_mgmt_service_udp.py +++ b/plugins/modules/cp_mgmt_service_udp.py @@ -145,7 +145,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_service_udp_facts.py b/plugins/modules/cp_mgmt_service_udp_facts.py index f8b531c..ee70406 100644 --- a/plugins/modules/cp_mgmt_service_udp_facts.py +++ b/plugins/modules/cp_mgmt_service_udp_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_session_facts.py b/plugins/modules/cp_mgmt_session_facts.py index 2cb7278..c5c741d 100644 --- a/plugins/modules/cp_mgmt_session_facts.py +++ b/plugins/modules/cp_mgmt_session_facts.py @@ -73,7 +73,7 @@ representation of the object. type: str choices: ['uid', 'standard', 'full'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_simple_gateway.py b/plugins/modules/cp_mgmt_simple_gateway.py index 31650f7..35464f9 100644 --- a/plugins/modules/cp_mgmt_simple_gateway.py +++ b/plugins/modules/cp_mgmt_simple_gateway.py @@ -455,7 +455,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_simple_gateway_facts.py b/plugins/modules/cp_mgmt_simple_gateway_facts.py index 15558ce..0c4e8eb 100644 --- a/plugins/modules/cp_mgmt_simple_gateway_facts.py +++ b/plugins/modules/cp_mgmt_simple_gateway_facts.py @@ -78,7 +78,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_tag.py b/plugins/modules/cp_mgmt_tag.py index e8ba0cf..ed01eab 100644 --- a/plugins/modules/cp_mgmt_tag.py +++ b/plugins/modules/cp_mgmt_tag.py @@ -69,7 +69,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_tag_facts.py b/plugins/modules/cp_mgmt_tag_facts.py index 0c0e0f5..8f6f5da 100644 --- a/plugins/modules/cp_mgmt_tag_facts.py +++ b/plugins/modules/cp_mgmt_tag_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_exception.py b/plugins/modules/cp_mgmt_threat_exception.py index 1102b61..6240101 100644 --- a/plugins/modules/cp_mgmt_threat_exception.py +++ b/plugins/modules/cp_mgmt_threat_exception.py @@ -130,7 +130,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_exception_facts.py b/plugins/modules/cp_mgmt_threat_exception_facts.py index 2410a4f..1d112e1 100644 --- a/plugins/modules/cp_mgmt_threat_exception_facts.py +++ b/plugins/modules/cp_mgmt_threat_exception_facts.py @@ -150,7 +150,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_indicator.py b/plugins/modules/cp_mgmt_threat_indicator.py index 66d7def..8f897dc 100644 --- a/plugins/modules/cp_mgmt_threat_indicator.py +++ b/plugins/modules/cp_mgmt_threat_indicator.py @@ -174,7 +174,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_indicator_facts.py b/plugins/modules/cp_mgmt_threat_indicator_facts.py index 1db83de..7e22071 100644 --- a/plugins/modules/cp_mgmt_threat_indicator_facts.py +++ b/plugins/modules/cp_mgmt_threat_indicator_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_layer.py b/plugins/modules/cp_mgmt_threat_layer.py index 202e332..8d2dfd5 100644 --- a/plugins/modules/cp_mgmt_threat_layer.py +++ b/plugins/modules/cp_mgmt_threat_layer.py @@ -73,7 +73,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_layer_facts.py b/plugins/modules/cp_mgmt_threat_layer_facts.py index 319f877..5684503 100644 --- a/plugins/modules/cp_mgmt_threat_layer_facts.py +++ b/plugins/modules/cp_mgmt_threat_layer_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_profile.py b/plugins/modules/cp_mgmt_threat_profile.py index 9a6ced9..300ad2c 100644 --- a/plugins/modules/cp_mgmt_threat_profile.py +++ b/plugins/modules/cp_mgmt_threat_profile.py @@ -266,7 +266,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_profile_facts.py b/plugins/modules/cp_mgmt_threat_profile_facts.py index 2567c6c..adb6a3b 100644 --- a/plugins/modules/cp_mgmt_threat_profile_facts.py +++ b/plugins/modules/cp_mgmt_threat_profile_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_protection_override.py b/plugins/modules/cp_mgmt_threat_protection_override.py index b698913..d2c1ffe 100644 --- a/plugins/modules/cp_mgmt_threat_protection_override.py +++ b/plugins/modules/cp_mgmt_threat_protection_override.py @@ -77,7 +77,7 @@ representation of the object. type: str choices: ['uid', 'standard', 'full'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_commands +extends_documentation_fragment: check_point.mgmt.checkpoint_commands """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_rule.py b/plugins/modules/cp_mgmt_threat_rule.py index 9bc6ecc..5817e97 100644 --- a/plugins/modules/cp_mgmt_threat_rule.py +++ b/plugins/modules/cp_mgmt_threat_rule.py @@ -123,7 +123,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_threat_rule_facts.py b/plugins/modules/cp_mgmt_threat_rule_facts.py index f704c05..cc62781 100644 --- a/plugins/modules/cp_mgmt_threat_rule_facts.py +++ b/plugins/modules/cp_mgmt_threat_rule_facts.py @@ -137,7 +137,7 @@ description: - Indicates whether to calculate and show "groups" field for every object in reply. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_time.py b/plugins/modules/cp_mgmt_time.py index 4129369..f522f9c 100644 --- a/plugins/modules/cp_mgmt_time.py +++ b/plugins/modules/cp_mgmt_time.py @@ -165,7 +165,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_time_facts.py b/plugins/modules/cp_mgmt_time_facts.py index 487e29a..f33d44f 100644 --- a/plugins/modules/cp_mgmt_time_facts.py +++ b/plugins/modules/cp_mgmt_time_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_verify_policy.py b/plugins/modules/cp_mgmt_verify_policy.py index 9d431e5..a368865 100644 --- a/plugins/modules/cp_mgmt_verify_policy.py +++ b/plugins/modules/cp_mgmt_verify_policy.py @@ -39,7 +39,7 @@ description: - Policy package identified by the name or UID. type: str -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_commands +extends_documentation_fragment: check_point.mgmt.checkpoint_commands """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_vpn_community_meshed.py b/plugins/modules/cp_mgmt_vpn_community_meshed.py index 0d72fa8..a88be8a 100644 --- a/plugins/modules/cp_mgmt_vpn_community_meshed.py +++ b/plugins/modules/cp_mgmt_vpn_community_meshed.py @@ -135,7 +135,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_vpn_community_meshed_facts.py b/plugins/modules/cp_mgmt_vpn_community_meshed_facts.py index 2769535..014132a 100644 --- a/plugins/modules/cp_mgmt_vpn_community_meshed_facts.py +++ b/plugins/modules/cp_mgmt_vpn_community_meshed_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_vpn_community_star.py b/plugins/modules/cp_mgmt_vpn_community_star.py index 00a245e..3ec9a20 100644 --- a/plugins/modules/cp_mgmt_vpn_community_star.py +++ b/plugins/modules/cp_mgmt_vpn_community_star.py @@ -143,7 +143,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_vpn_community_star_facts.py b/plugins/modules/cp_mgmt_vpn_community_star_facts.py index 06cc2d4..816dd58 100644 --- a/plugins/modules/cp_mgmt_vpn_community_star_facts.py +++ b/plugins/modules/cp_mgmt_vpn_community_star_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_wildcard.py b/plugins/modules/cp_mgmt_wildcard.py index e955097..bc554d1 100644 --- a/plugins/modules/cp_mgmt_wildcard.py +++ b/plugins/modules/cp_mgmt_wildcard.py @@ -89,7 +89,7 @@ description: - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. type: bool -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_objects +extends_documentation_fragment: check_point.mgmt.checkpoint_objects """ EXAMPLES = """ diff --git a/plugins/modules/cp_mgmt_wildcard_facts.py b/plugins/modules/cp_mgmt_wildcard_facts.py index ee42103..0e620d7 100644 --- a/plugins/modules/cp_mgmt_wildcard_facts.py +++ b/plugins/modules/cp_mgmt_wildcard_facts.py @@ -74,7 +74,7 @@ - Sorts results by the given field in descending order. type: str choices: ['name'] -extends_documentation_fragment: check_point.mgmt.plugins.doc_fragments.checkpoint_facts +extends_documentation_fragment: check_point.mgmt.checkpoint_facts """ EXAMPLES = """ diff --git a/tests/units/plugins/httpapi/test_checkpoint.py b/tests/units/plugins/httpapi/test_checkpoint.py index c8157ce..df891e2 100644 --- a/tests/units/plugins/httpapi/test_checkpoint.py +++ b/tests/units/plugins/httpapi/test_checkpoint.py @@ -1,6 +1,9 @@ # (c) 2018 Red Hat Inc. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import (absolute_import, division, print_function) +__metaclass__ = type + import json from ansible.module_utils.six.moves.urllib.error import HTTPError