aboutsummaryrefslogtreecommitdiff
path: root/manifests/kvm/kvmx.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/kvm/kvmx.pp')
-rw-r--r--manifests/kvm/kvmx.pp41
1 files changed, 41 insertions, 0 deletions
diff --git a/manifests/kvm/kvmx.pp b/manifests/kvm/kvmx.pp
new file mode 100644
index 0000000..daed3d6
--- /dev/null
+++ b/manifests/kvm/kvmx.pp
@@ -0,0 +1,41 @@
+class virtual::kvm::kvmx {
+ include virtual::kvm::packages
+ include virtual::networking
+
+ vcsrepo { '/usr/local/share/kvmx':
+ ensure => present,
+ provider => git,
+ source => 'https://git.fluxo.info/kvmx',
+ revision => 'd2263b94f93e0c0b7549c5a84c18834f8e6e8f58',
+ owner => 'root',
+ group => 'root',
+ }
+
+ file { '/usr/local/bin/kvmx':
+ ensure => '/usr/local/share/kvmx/kvmx',
+ owner => 'root',
+ group => 'root',
+ require => Vcsrepo['/usr/local/share/kvmx'],
+ }
+
+ file { '/usr/local/bin/kvmx-create':
+ ensure => '/usr/local/share/kvmx/kvmx-create',
+ owner => 'root',
+ group => 'root',
+ require => Vcsrepo['/usr/local/share/kvmx'],
+ }
+
+ file { '/usr/local/bin/kvmx-status':
+ ensure => '/usr/local/share/kvmx/kvmx-status',
+ owner => 'root',
+ group => 'root',
+ require => Vcsrepo['/usr/local/share/kvmx'],
+ }
+
+ file { '/usr/local/bin/kvmx-vdagent':
+ ensure => '/usr/local/share/kvmx/kvmx-vdagent',
+ owner => 'root',
+ group => 'root',
+ require => Vcsrepo['/usr/local/share/kvmx'],
+ }
+}