Skip to content

Commit

Permalink
disable elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Nov 9, 2024
1 parent d3ce515 commit 9152c26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions hieradata/env/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ exim::relayhost: '*.mailgun.org'

metacpan::carton_args: '--deployment'

metacpan::elasticsearch::status: 'disable'
metacpan::elasticsearch::memory: '10g'

# Let's have rrr on all machines for now
Expand Down
2 changes: 2 additions & 0 deletions modules/metacpan_elasticsearch/manifests/instance.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
$version = hiera('metacpan::elasticsearch::version'),
$autoupgrade = hiera('metacpan::elasticsearch::autoupgrade', false),
$ensure = hiera('metacpan::elasticsearch::ensure', 'present'),
$status = hiera('metacpan::elasticsearch::status', 'enabled'),
$memory = hiera('metacpan::elasticsearch::memory', '64'),
$ip_address = hiera('metacpan::elasticsearch::ipaddress', '127.0.0.1'),
$data_dir = hiera('metacpan::elasticsearch::datadir', '/var/elasticsearch'),
Expand Down Expand Up @@ -38,6 +39,7 @@
package_url => "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${$version}.deb",
autoupgrade => $autoupgrade,
ensure => $ensure,
status => $status,
# Defaults can be in here...
config => { 'cluster.name' => 'bm' }
}
Expand Down

0 comments on commit 9152c26

Please sign in to comment.