Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 649 Bytes

cf_version_minimum.markdown

File metadata and controls

25 lines (15 loc) · 649 Bytes
layout title published
default
cf_version_minimum
true

[%CFEngine_function_prototype(string)%]

Description: Returns true if local CFEngine version is newer than or equal to specified string.

[%CFEngine_function_attributes(string)%]

Example:

[%CFEngine_include_snippet(cf_version_minimum.cf, #+begin_src cfengine3, .*end_src)%]

Output:

[%CFEngine_include_snippet(cf_version_minimum.cf, #+begin_src\s+example_output\s*, .*end_src)%]

See also: version_compare(), cf_version_maximum(), cf_version_after(), cf_version_before(), cf_version_at(), cf_version_between().

History:

  • Introduced in 3.16.0