Skip to content
Snippets Groups Projects
Commit 55c0c81a authored by Dennis Ahrens's avatar Dennis Ahrens
Browse files

Simplified open-vm-tools installation

parent 9aa67c93
No related branches found
No related tags found
No related merge requests found
...@@ -2,27 +2,12 @@ ...@@ -2,27 +2,12 @@
{% if hshbase.openvmtools %} {% if hshbase.openvmtools %}
# For Debian/Ubuntu >6, wheezy packages have different names. {% if grains['os'] in ['Debian', 'Ubuntu'] %}
# 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'] %}
hsh_openvmtools: hsh_openvmtools:
pkg.installed: pkg.installed:
- pkgs: [open-vm-tools] - pkgs: [open-vm-tools]
- refresh: True - refresh: True
{% elif grains['os'] == 'FreeBSD' %}
hsh_openvmtools:
pkg.installed:
- pkgs: [open-vm-tools-nox11]
{% endif %} {% endif %}
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment