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
|
# 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']:
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'],
}
package {
'chromium':
ensure => '55.0.2883.75-1~deb8u1',
before => Package['chromedriver']
}
package {
'chromedriver':
ensure => '55.0.2883.75-1~deb8u1'
}
}
|