From 5999eb45ed41ca37e601ab79a4827d5cffb08b74 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 29 Dec 2016 10:39:38 -0200 Subject: Adds nodo::utils::virtual --- manifests/utils/development/virtual.pp | 19 +++++++------------ manifests/utils/virtual.pp | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+), 12 deletions(-) create mode 100644 manifests/utils/virtual.pp 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, + #} +} -- cgit v1.2.3