@@ -67,6 +67,7 @@ body common control
6767 "services/main.cf",
6868 };
6969 version => "CFEngine Promises.cf 3.27.0";
70+
7071 # From 3.7 onwards there is a new package promise implementation using package
7172 # modules in which you MUST provide package modules used to generate
7273 # software inventory reports. You can also provide global default package module
@@ -76,50 +77,63 @@ body common control
7677 $(package_module_knowledge.platform_default),
7778 @(default:package_module_knowledge.additional_inventory),
7879 };
80+
7981 # We only define package_inventory on redhat like systems that have a
8082 # python version that works with the package module.
8183 (redhat|centos|suse|sles|opensuse|amazon_linux).cfe_python_for_package_modules_supported.!disable_inventory_package_refresh::
8284 package_inventory => {
8385 $(package_module_knowledge.platform_default),
8486 @(default:package_module_knowledge.additional_inventory),
8587 };
88+
8689 aix.!disable_inventory_package_refresh::
8790 package_inventory => {
8891 $(package_module_knowledge.platform_default),
8992 @(default:package_module_knowledge.additional_inventory),
9093 };
94+
9195 freebsd.!disable_inventory_package_refresh::
9296 package_inventory => {
9397 $(package_module_knowledge.platform_default),
9498 @(default:package_module_knowledge.additional_inventory),
9599 };
100+
96101 aix::
97102 package_module => $(package_module_knowledge.platform_default);
103+
98104 (debian|redhat|suse|sles|opensuse|amazon_linux|freebsd)::
99105 package_module => $(package_module_knowledge.platform_default);
106+
100107 windows::
101108 package_inventory => {
102109 $(package_module_knowledge.platform_default),
103110 @(default:package_module_knowledge.additional_inventory),
104111 };
105112 package_module => $(package_module_knowledge.platform_default);
113+
106114 termux::
107115 package_module => $(package_module_knowledge.platform_default);
116+
108117 alpinelinux::
109118 package_module => $(package_module_knowledge.platform_default);
119+
110120 any::
111121 ignore_missing_bundles => "$(def.control_common_ignore_missing_bundles)";
112122 ignore_missing_inputs => "$(def.control_common_ignore_missing_inputs)";
113123 # The number of minutes after which last-seen entries are purged from cf_lastseen.lmdb
114124 lastseenexpireafter => "$(def.control_common_lastseenexpireafter)";
125+
115126 control_common_tls_min_version_defined::
116127 tls_min_version => "$(default:def.control_common_tls_min_version)";
128+
117129 # See also: allowtlsversion in body server control
118130 control_common_tls_ciphers_defined::
119131 tls_ciphers => "$(default:def.control_common_tls_ciphers)";
132+
120133 # See also: allowciphers in body server control
121134 control_common_system_log_level_defined::
122135 system_log_level => "$(default:def.control_common_system_log_level)";
136+
123137 control_common_protocol_version_defined::
124138 protocol_version => "$(default:def.control_common_protocol_version)";
125139}
0 commit comments