Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392274
apt_config.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
512 B
Subscribers
None
apt_config.pp
View Options
# APT configuration for prometheus
class
profile
::
prometheus
::
apt_config
{
if
$facts
[
'lsbdistcodename'
]
==
'stretch'
{
$pinned_packages
=
[
'prometheus'
,
'prometheus-alertmanager'
,
'prometheus-node-exporter'
,
]
::
apt
::
pin
{
'prometheus'
:
explanation
=>
'Pin prometheus to backports'
,
codename
=>
'stretch-backports'
,
packages
=>
$pinned_packages,
priority
=>
990
,
}
}
else
{
::
apt
::
pin
{
'prometheus'
:
ensure
=>
absent
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Jun 4 2025, 6:56 PM (11 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3239833
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment