Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (14 sloc) 517 Bytes
layout title published tags
default
groupexists
true
reference
system functions
functions
groupexists

[%CFEngine_function_prototype(group)%]

Description: Returns whether a group group exists on this host.

The group may be specified by name or identifier.

[%CFEngine_function_attributes(group)%]

Example:

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

Output:

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

You can’t perform that action at this time.