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
|
# File 'manifests/params.pp', line 1
class google_chrome::params() {
$ensure = 'installed'
$version = 'stable'
$package_name = 'google-chrome'
$repo_gpg_key = 'https://dl.google.com/linux/linux_signing_key.pub'
$repo_gpg_key_id = '4CCA1EAF950CEE4AB83976DCA040830F7FAC5991'
$repo_name = 'google-chrome'
$defaults_file = '/etc/default/google-chrome'
$defaults_proxy_pac_url = undef
case $::osfamily {
'RedHat' : {
if $::operatingsystemmajrelease == 6 {
fail('Operating system not supported by Google Chrome')
}
$repo_base_url = 'http://dl.google.com/linux/chrome/rpm/stable/x86_64'
}
'Suse' : {
$repo_base_url = 'http://dl.google.com/linux/chrome/rpm/stable/x86_64'
}
'Debian': {
$repo_base_url = '[arch=amd64] http://dl.google.com/linux/chrome/deb/'
}
default: {
fail("Unsupported operating system family ${::osfamily}")
}
}
}
|