aboutsummaryrefslogtreecommitdiff
path: root/manifests/kvm
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-10 14:59:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-10 14:59:06 -0300
commit924d176b3fe76f15a16aa0623909eec08ab920b2 (patch)
treed2cc2ee8a2a86f556b35c96600edae46feacaada /manifests/kvm
parente782bd3b16acb41948f7386add8af6902b21f741 (diff)
downloadpuppet-virtual-924d176b3fe76f15a16aa0623909eec08ab920b2.tar.gz
puppet-virtual-924d176b3fe76f15a16aa0623909eec08ab920b2.tar.bz2
KVMX: version bump and image path config
Diffstat (limited to 'manifests/kvm')
-rw-r--r--manifests/kvm/kvmx.pp2
-rw-r--r--manifests/kvm/kvmx/instance.pp6
2 files changed, 7 insertions, 1 deletions
diff --git a/manifests/kvm/kvmx.pp b/manifests/kvm/kvmx.pp
index 5a7db84..b715a7c 100644
--- a/manifests/kvm/kvmx.pp
+++ b/manifests/kvm/kvmx.pp
@@ -6,7 +6,7 @@ class virtual::kvm::kvmx {
ensure => present,
provider => git,
source => 'https://git.fluxo.info/kvmx',
- revision => '7ed7c785f4731b7b0d7d1b2474d658ae4fe731ea',
+ revision => '684ca29524749320e0dfa0aa331bf105e2e5379f',
owner => 'root',
group => 'root',
}
diff --git a/manifests/kvm/kvmx/instance.pp b/manifests/kvm/kvmx/instance.pp
index edbab91..6b19f3a 100644
--- a/manifests/kvm/kvmx/instance.pp
+++ b/manifests/kvm/kvmx/instance.pp
@@ -40,4 +40,10 @@ define virtual::kvm::kvmx::instance(
param => 'size',
value => $size,
}
+
+ virtual::kvm::kvmx::config { "${name}-image":
+ vm => $name,
+ param => 'image',
+ value => "\$HOME/vms/${name}/box.img",
+ }
}