blob: de854d588e2930fcaf8ecf3d50098152570e58ce (
plain)
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
|
class site_apt {
# on couchdb we need to include squeeze in apt preferences,
# so the cloudant package can pull some packages from squeeze
# template() must be unquoted !
if 'couchdb' in $::services {
$custom_preferences = template("site_apt/preferences.include_squeeze")
} else {
$custom_preferences = ''
}
class {'apt': custom_preferences => $custom_preferences }
# enable http://deb.leap.se debian package repository
include site_apt::leap_repo
apt::apt_conf { '90disable-pdiffs':
content => 'Acquire::PDiffs "false";';
}
include ::apt::unattended_upgrades
apt::sources_list { 'fallback.list.disabled':
content => template('site_apt/fallback.list');
}
}
|