This repository has been archived by the owner on Sep 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.pp
86 lines (71 loc) · 1.57 KB
/
install.pp
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
class uber::install {
require uber
# TODO install UTF lcoale stuff from Eli's Vagrant script
if defined(Package['git']) == false {
package { 'git':
ensure => present
}
}
if defined(Package['rabbitmq-server']) == false {
package { 'rabbitmq-server':
ensure => present,
}
}
if defined(Package['postgresql']) == false {
package { 'postgresql':
ensure => present,
}
}
if defined(Package['postgresql-contrib']) == false {
package { 'postgresql-contrib':
ensure => present,
}
}
if defined(Package['libpq-dev']) == false {
package { 'libpq-dev':
ensure => present,
}
}
if defined(Package['python3-pip']) == false {
package { 'python3-pip':
ensure => present,
}
}
if defined(Package['python3-tk']) == false {
package { 'python3-tk':
ensure => present,
}
}
# for python-prctl
if defined(Package['build-essential']) == false {
package { 'build-essential':
ensure => present,
}
}
# for python-prctl
if defined(Package['libcap-dev']) == false {
package { 'libcap-dev':
ensure => present,
}
}
# for treepoem
if defined(Package['libjpeg-dev']) == false {
package { 'libjpeg-dev':
ensure => present,
}
}
# for treepoem
if defined(Package['ghostscript']) == false {
package { 'ghostscript':
ensure => present,
}
}
class { '::python':
# ensure => present,
version => $uber::python_ver,
dev => true,
pip => true,
virtualenv => true,
gunicorn => false,
}
}