Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8395664
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
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
Details
Attached
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
Attached To
rSPPROF puppet-swh-profile
Event Timeline
Log In to Comment