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 39076ae
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: 'disabled'
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 @@ -117,6 +118,7 @@
config => $config_hash,
init_defaults => $init_hash,
datadir => $data_dir,
status => $status,
}

}
Expand Down

0 comments on commit 39076ae

Please sign in to comment.