Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9696296
apt_config.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
736 B
Subscribers
None
apt_config.pp
View Options
# APT configuration for Elastic.co
class
profile
::
elastic
::
apt_config
{
# Elasticsearch official package installation instructions:
# https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html
$keyid
=
lookup
(
'elastic::apt_config::keyid'
)
$key
=
lookup
(
'elastic::apt_config::key'
)
$version
=
lookup
(
'elastic::elk_version'
)
$parsed_version
=
split
(
$version,
'[.]'
)
$major_version
=
$parsed_version
[
0
]
apt
::
source
{
'elasticsearch'
:
location
=>
"https://artifacts.elastic.co/packages/${major_version}.x/apt"
,
release
=>
'stable'
,
repos
=>
'main'
,
key
=>
{
id
=>
$keyid,
content
=>
$key,
},
}
apt
::
source
{
'elastic-6.x'
:
ensure
=>
absent
,
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Mon, Aug 18, 7:44 PM (1 w, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3295379
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment