A new debian module has been introduced which has bunch of helper functions which should be able to replace the os_version and require_os functions from wmflib
https://gerrit.wikimedia.org/r/c/operations/puppet/+/635356 This change was adapted from an initial change which proposed having the functions under wmflib