{% set haproxy = salt['grains.filter_by']({
  'Debian-9': {
    'apt_repo': 'deb http://haproxy.debian.net stretch-backports-2.0 main',
    'key_url': 'https://haproxy.debian.net/bernat.debian.org.gpg',
    'version': '2.0.*'
  },
  'Debian-10': {
    'apt_repo': 'deb http://haproxy.debian.net buster-backports-2.0 main',
    'key_url': 'https://haproxy.debian.net/bernat.debian.org.gpg',
    'version': '2.0.*'
  }
}, merge=salt['pillar.get']('haproxy'), grain='osfinger') %}