aboutsummaryrefslogtreecommitdiff
path: root/manifests/kvm/kvmx.pp
blob: 41408410d097d987ed71b9339c0c84266f74c84a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
class virtual::kvm::kvmx {
  include virtual::kvm::packages
  include virtual::kvm::images
  include virtual::networking

  vcsrepo { '/usr/local/share/kvmx':
    ensure   => present,
    provider => git,
    source   => 'https://git.fluxo.info/kvmx',
    revision => 'b54bcfd68bcb854bf9733359de52f0df76e58713',
    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-supervise':
    ensure  => '/usr/local/share/kvmx/kvmx-supervise',
    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-shell':
    ensure  => '/usr/local/share/kvmx/kvmx-shell',
    owner   => 'root',
    group   => 'root',
    require => Vcsrepo['/usr/local/share/kvmx'],
  }

  file { '/usr/local/bin/kvmx-restricted-shell':
    ensure  => '/usr/local/share/kvmx/kvmx-restricted-shell',
    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'],
  }
}