aboutsummaryrefslogtreecommitdiff
path: root/manifests/kvm/manager.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-29 23:26:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-29 23:26:49 -0200
commit4a2e70edeb1d87674156cd8328352582e25d1525 (patch)
tree053fcff3ac4f723e4cfac301ee4f9975744a087c /manifests/kvm/manager.pp
parentaf78b156c5418d1e67faed4635019dcef0da9cac (diff)
downloadpuppet-virtual-4a2e70edeb1d87674156cd8328352582e25d1525.tar.gz
puppet-virtual-4a2e70edeb1d87674156cd8328352582e25d1525.tar.bz2
LXC support
Diffstat (limited to 'manifests/kvm/manager.pp')
-rw-r--r--manifests/kvm/manager.pp20
1 files changed, 18 insertions, 2 deletions
diff --git a/manifests/kvm/manager.pp b/manifests/kvm/manager.pp
index 8b2b75e..5c9b2fb 100644
--- a/manifests/kvm/manager.pp
+++ b/manifests/kvm/manager.pp
@@ -1,13 +1,29 @@
class virtual::kvm::manager {
- package { [ 'qemu-kvm', 'runit', 'uml-utilities', 'qemu-kvm', 'socat', 'bridge-utils', 'fakeroot', 'xorriso' ]:
+ include virtual::networking
+
+ package { [
+ 'qemu-kvm',
+ 'runit',
+ 'runit-systemd',
+ 'uml-utilities',
+ 'qemu-kvm',
+ 'socat',
+ 'fakeroot',
+ 'xorriso',
+ ]:
ensure => present,
}
+ # Provide a netboot image for VM installs
+ package { "debian-installer-9-netboot-${::architecture}":
+ ensure => present,
+ }
+
vcsrepo { '/usr/local/share/kvm-manager':
ensure => present,
provider => git,
source => 'git://git.fluxo.info/kvm-manager.git',
- revision => 'd8bd926096ecf6d8c38453b6752088b8a10ca3b7',
+ revision => 'b262c9597a3c5fd8c86ae63deda10f999048dfb8',
owner => 'root',
group => 'root',
}