aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-12-29 10:39:38 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-12-29 10:39:38 -0200
commit5999eb45ed41ca37e601ab79a4827d5cffb08b74 (patch)
tree6be3f4fdea374c03cbbdbb72f88f00aea53331ad
parentb50559a86c6362a2406ea65c823b05a710456475 (diff)
downloadpuppet-nodo-5999eb45ed41ca37e601ab79a4827d5cffb08b74.tar.gz
puppet-nodo-5999eb45ed41ca37e601ab79a4827d5cffb08b74.tar.bz2
Adds nodo::utils::virtual
-rw-r--r--manifests/utils/development/virtual.pp19
-rw-r--r--manifests/utils/virtual.pp23
2 files changed, 30 insertions, 12 deletions
diff --git a/manifests/utils/development/virtual.pp b/manifests/utils/development/virtual.pp
index e793d26..7b1813d 100644
--- a/manifests/utils/development/virtual.pp
+++ b/manifests/utils/development/virtual.pp
@@ -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
index 0000000..3678997
--- /dev/null
+++ b/manifests/utils/virtual.pp
@@ -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,
+ #}
+}