Puppet Function: debian::codename::ge

Defined in:
modules/debian/functions/codename/ge.pp
Function type:
Puppet Language

Overview

debian::codename::ge(String $codename)Boolean

Examples:

Assuming theses functions are compiled for a host running debian buster then

debian::codename::ge('buster') == True
debian::codename::ge('stretch') == True
debian::codename::ge('bullseye') == False

Parameters:

  • codename (String)

    the codename you want to test against

Returns:

  • (Boolean)

    result of the comparison



8
9
10
11
12
# File 'modules/debian/functions/codename/ge.pp', line 8

function debian::codename::ge (
    String $codename,
) >> Boolean {
    debian::codename::compare($codename, '>=')
}