diff --git a/hshbase/openvmtools.sls b/hshbase/openvmtools.sls index 4c01a79924e25a2007c0422192d3db3c727b5578..43f16b2140e0eaedc501ccb208acc2f82db36aa5 100644 --- a/hshbase/openvmtools.sls +++ b/hshbase/openvmtools.sls @@ -2,27 +2,12 @@ {% if hshbase.openvmtools %} -# For Debian/Ubuntu >6, wheezy packages have different names. -# Also, wheezy packages don't work, so they still get vmware stuff! -# this block can be removed when everything is > debian 9 -{% if grains['os'] in ['Debian', 'Ubuntu'] and grains['oscodename'] not in ['squeeze', 'wheezy', 'stretch', 'buster', 'bionic'] %} -hsh_openvmtools: - pkg.installed: - - pkgs: [open-vm-tools, open-vm-tools-dkms] - - refresh: True - -# Debian buster does not include the dkms package anymore -{% elif grains['os'] in ['Debian', 'Ubuntu'] and grains['oscodename'] in ['buster', 'bionic'] %} +{% if grains['os'] in ['Debian', 'Ubuntu'] %} hsh_openvmtools: pkg.installed: - pkgs: [open-vm-tools] - refresh: True -{% elif grains['os'] == 'FreeBSD' %} -hsh_openvmtools: - pkg.installed: - - pkgs: [open-vm-tools-nox11] - {% endif %} {% endif %}