aboutsummaryrefslogtreecommitdiff
path: root/manifests/kvm/manager
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-11 16:11:09 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-11 16:11:09 -0300
commitf2da08baf6042c3931617ce348e04401fabe385e (patch)
treeb0a63cf3fcf886a8f92fdc6c0a521a225b1a66d2 /manifests/kvm/manager
parenta324c9c0840733903f45c5baaf05ba9388d6237b (diff)
downloadpuppet-virtual-f2da08baf6042c3931617ce348e04401fabe385e.tar.gz
puppet-virtual-f2da08baf6042c3931617ce348e04401fabe385e.tar.bz2
KVM: image, interface handling and other improvements
Diffstat (limited to 'manifests/kvm/manager')
-rw-r--r--manifests/kvm/manager/instance.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/kvm/manager/instance.pp b/manifests/kvm/manager/instance.pp
index 76bb2aa..781bed2 100644
--- a/manifests/kvm/manager/instance.pp
+++ b/manifests/kvm/manager/instance.pp
@@ -2,6 +2,7 @@ define virtual::kvm::manager::instance(
$vg,
$size,
$ram,
+ $iface,
$udev = false,
) {
exec { "kvm-creator-${name}":
@@ -19,6 +20,7 @@ define virtual::kvm::manager::instance(
virtual::kvm::instance { "$name":
udev => $udev,
+ iface => $iface,
require => Exec["kvm-creator-${name}"],
}
}