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
|
# File 'manifests/repo/hhvm.pp', line 3
class apt::repo::hhvm {
case $::operatingsystem {
'Ubuntu': {
apt::repository { 'hhvm':
url => 'http://dl.hhvm.com/ubuntu',
distro => $::lsbdistcodename,
repository => 'main',
key => '1BE7A449',
key_url => 'http://dl.hhvm.com/conf/hhvm.gpg.key',
}
}
'Mint': {
apt::repository { 'hhvm':
url => 'http://dl.hhvm.com/mint',
distro => $::lsbdistcodename,
repository => 'main',
key => '1BE7A449',
key_url => 'http://dl.hhvm.com/conf/hhvm.gpg.key',
}
}
'Debian': {
apt::repository { 'hhvm':
url => 'http://dl.hhvm.com/debian',
distro => $::lsbdistcodename,
repository => 'main',
key => '1BE7A449',
key_url => 'http://dl.hhvm.com/conf/hhvm.gpg.key',
}
}
default: { fail("${::hostname}: This module does not support operatingsystem ${::operatingsystem}") }
}
}
|