Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9697694
elasticsearch.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
elasticsearch.pp
View Options
# Elasticsearch cluster node profile
class
profile
::
elasticsearch
{
user
{
'elasticsearch'
:
ensure
=>
'present'
,
uid
=>
'114'
,
gid
=>
'119'
,
home
=>
'/home/elasticsearch'
,
shell
=>
'/bin/false'
,
}
package
{
'openjdk-8-jre-headless'
:
ensure
=>
'present'
,
}
include
::
profile
::
elastic
::
apt_config
$version
=
lookup
(
'elastic::elk_version'
)
package
{
'elasticsearch'
:
ensure
=>
$version,
}
apt
::
pin
{
'elasticsearch'
:
packages
=>
'elasticsearch elasticsearch-oss'
,
version
=>
$version,
priority
=>
1001
,
}
# hybridfs is the best of both worlds between niofs and mmapfs. It's the ES
# 7.x default.
file_line
{
'elasticsearch store type'
:
ensure
=>
present
,
line
=>
'index.store.type: hybridfs'
,
match
=>
'^(#\s*)?index\.store\.type:'
,
path
=>
'/etc/elasticsearch/elasticsearch.yml'
,
}
systemd
::
dropin_file
{
'elasticsearch.conf'
:
unit
=>
'elasticsearch.service'
,
content
=>
template
(
'profile/swh/elasticsearch.conf.erb'
),
}
service
{
'elasticsearch'
:
ensure
=>
running
,
enable
=>
true
,
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Aug 19, 12:39 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3289929
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment