Revert "removed virtualizations support"
This reverts commit 339f30bd624ff4e3916ba06e16497c3d61445e6e.
diff --git a/libvirt/server/service.sls b/libvirt/server/service.sls
index 5598272..3e19947 100644
--- a/libvirt/server/service.sls
+++ b/libvirt/server/service.sls
@@ -5,10 +5,18 @@
pkg.installed:
- names: {{ server.pkgs }}
+{%- for virtualization in server.virtualizations %}
+
+{%- if virtualization == 'kvm' %}
+
libvirt_kvm_packages:
pkg.installed:
- names: {{ server.kvm_pkgs }}
+{%- endif %}
+
+{%- endfor %}
+
libvirt_config:
file.managed:
- name: {{ server.config }}
@@ -50,4 +58,4 @@
- watch:
- file: libvirt_config
-{%- endif %}
+{%- endif %}
\ No newline at end of file