package_check_installed
Verify if a package is installed in any version.
⚙️ Compatible targets: Linux
⚠️ Deprecated: This method is deprecated and should not be used.
Parameters
Name | Documentation |
---|---|
name | Name of the package to check. This parameter is required. |
Outcome conditions
You need to replace ${name}
with its actual canonified value.
- ✅ Ok:
package_check_installed_${name}_ok
- ☑️ Already compliant:
package_check_installed_${name}_kept
- 🟨 Repaired:
package_check_installed_${name}_repaired
- ☑️ Already compliant:
- ❌ Error:
package_check_installed_${name}_error
Example
method: package_check_installed
params:
name: VALUE
Documentation
This bundle will define a condition package_check_installed_${file_name}_{ok, reached, kept}
if the
package is installed, or package_check_installed_${file_name}_{not_ok, reached, not_kept, failed}
if
the package is not installed