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
|
# install requirements for setting up the useragent from source
class pixelated::source {
include phantomjs
package { [
'git',
'nodejs',
'python-dev',
'libffi-dev',
'libssl-dev',
'g++',
'libsqlite3-dev',
'libsqlcipher-dev',
'libfontconfig1',
'build-essential',
'ruby-compass',
'xvfb',
'xauth',
'chromedriver']:
ensure => latest
}
# from jessie on, the 'virtualenv' cmd is provided
# by a seperate package that is recommended by
# 'python-virtualenv'
package { 'python-virtualenv':
ensure => latest,
install_options => [ '-o', 'APT::Install-Recommends=true'],
}
}
|