Page MenuHomeSoftware Heritage

No OneTemporary

diff --git a/manifests/swh/apt_config.pp b/manifests/swh/apt_config.pp
index c3a0fb4..07bbf3e 100644
--- a/manifests/swh/apt_config.pp
+++ b/manifests/swh/apt_config.pp
@@ -1,50 +1,51 @@
# Base class for Software Heritage-specific apt configuration
class profile::swh::apt_config {
$debian_mirror = hiera('swh::apt_config::debian_mirror')
$debian_security_mirror = hiera('swh::apt_config::debian_security_mirror')
class {'::apt':
purge => {
'sources.list' => true,
'sources.list.d' => false,
'preferences' => true,
'preferences.d' => true,
},
}
::apt::source {'debian':
location => $debian_mirror,
release => $::lsbdistcodename,
repos => 'main',
}
::apt::source {'debian-updates':
location => $debian_mirror,
release => "${::lsbdistcodename}-updates",
repos => 'main',
}
::apt::source {'debian-security':
location => $debian_security_mirror,
release => "${::lsbdistcodename}/updates",
repos => 'main',
}
class {'::apt::backports':
pin => 100,
location => $debian_mirror,
+ repos => 'main',
}
$swh_repository = hiera('swh::apt_config::swh_repository')
::apt::source {'softwareheritage':
comment => 'Software Heritage specific package repository',
location => $swh_repository,
release => $::lsbdistcodename,
repos => 'main',
allow_unsigned => true,
}
Class['apt::update'] -> Package <||>
}

File Metadata

Mime Type
text/x-diff
Expires
Jun 4 2025, 7:42 PM (10 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3307263

Event Timeline