diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-10 14:59:06 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-10 14:59:06 -0300 |
commit | 924d176b3fe76f15a16aa0623909eec08ab920b2 (patch) | |
tree | d2cc2ee8a2a86f556b35c96600edae46feacaada | |
parent | e782bd3b16acb41948f7386add8af6902b21f741 (diff) | |
download | puppet-virtual-924d176b3fe76f15a16aa0623909eec08ab920b2.tar.gz puppet-virtual-924d176b3fe76f15a16aa0623909eec08ab920b2.tar.bz2 |
KVMX: version bump and image path config
-rw-r--r-- | manifests/kvm/kvmx.pp | 2 | ||||
-rw-r--r-- | manifests/kvm/kvmx/instance.pp | 6 |
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", + } } |