1 2 3 4 5 6 7
class openldap::var { if versioncmp($::lsbdistrelease, '4') < 0 { $service = 'ldap' } else { $service = 'slapd' } }