]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Adds nodo::utils::virtual
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Dec 2016 12:39:38 +0000 (10:39 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Dec 2016 12:39:38 +0000 (10:39 -0200)
manifests/utils/development/virtual.pp
manifests/utils/virtual.pp [new file with mode: 0644]

index e793d26a374bdbc6671f913804732dff36e83791..7b1813d05fadefa3967789a8760ef23bcd64be77 100644 (file)
@@ -1,20 +1,15 @@
-class nodo::utils::development::virtual {
+class nodo::utils::development::virtual inherits nodo::utils::virtual {
   package { [
+    # For development with virtual machines and containers
     'vagrant',
-    'qemu',
-    'qemu-kvm',
-    #'virtualbox-guest-additions-iso',
     #'docker.io',
     #'packer',
+
+    # For virtual machine creation and manipulation
+    #'libguestfs-tools',
+    'vmdebootstrap',
+    'mbr',
   ]:
     ensure => present,
   }
-
-  # We're not managing this package as we're favouring the
-  # virtualbox package which doesn't needs it.
-  #package { [
-  #  'virtualbox-fuse',
-  #]:
-  #  ensure  => present,
-  #}
 }
diff --git a/manifests/utils/virtual.pp b/manifests/utils/virtual.pp
new file mode 100644 (file)
index 0000000..3678997
--- /dev/null
@@ -0,0 +1,23 @@
+class nodo::utils::virtual {
+  package { [
+    # For running virtual machines
+    'qemu',
+    'qemu-kvm',
+    #'virtualbox-guest-additions-iso',
+
+    # For graphical interfacing with virtual machines
+    'virt-viewer',
+    'spice-client',
+    'spice-client-gtk',
+  ]:
+    ensure => present,
+  }
+
+  # We're not managing this package as we're favouring the
+  # virtualbox package which doesn't needs it.
+  #package { [
+  #  'virtualbox-fuse',
+  #]:
+  #  ensure  => present,
+  #}
+}