diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-11 16:11:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-11 16:11:09 -0300 |
commit | f2da08baf6042c3931617ce348e04401fabe385e (patch) | |
tree | b0a63cf3fcf886a8f92fdc6c0a521a225b1a66d2 /manifests/kvm/manager | |
parent | a324c9c0840733903f45c5baaf05ba9388d6237b (diff) | |
download | puppet-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.pp | 2 |
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}"], } } |