Skip to content

Commit

Permalink
Merge branch 'hammerhead/update' into dependabot/go_modules/test/gith…
Browse files Browse the repository at this point in the history
…ub.com/stretchr/testify-1.10.0
  • Loading branch information
hammerhead committed Dec 2, 2024
2 parents c09642a + c98e402 commit 7f13412
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 22 deletions.
32 changes: 16 additions & 16 deletions aws/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aws/.tflint.hcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugin "aws" {
enabled = true
version = "0.33.0"
version = "0.35.0"
source = "github.com/terraform-linters/tflint-ruleset-aws"
}

Expand Down
5 changes: 3 additions & 2 deletions aws/scripts/cloud-init-cratedb-rpm.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ packages:
- htop
- node_exporter
- jq
- nano

bootcmd:
- test -z "$(blkid /dev/nvme1n1)" && mkfs -t xfs -L data /dev/nvme1n1
Expand Down Expand Up @@ -91,7 +92,7 @@ write_files:
CRATE_HEAP_SIZE=${crate_heap_size}g

# Additional Java options
CRATE_JAVA_OPTS="-javaagent:/usr/share/crate/crate-jmx-exporter-1.1.0.jar=8080"
CRATE_JAVA_OPTS="-javaagent:/usr/share/crate/crate-jmx-exporter-1.2.0.jar=8080"
owner: root:root
path: /etc/default/crate
permissions: "0755"
Expand All @@ -113,7 +114,7 @@ runcmd:
- dnf install -y crate
- chown -R crate:crate /opt/data /etc/crate
- chmod 700 /opt/data
- curl --output-dir /usr/share/crate -O https://repo1.maven.org/maven2/io/crate/crate-jmx-exporter/1.1.0/crate-jmx-exporter-1.1.0.jar
- curl --output-dir /usr/share/crate -O https://repo1.maven.org/maven2/io/crate/crate-jmx-exporter/1.2.0/crate-jmx-exporter-1.2.0.jar
- systemctl enable crate
- systemctl start crate
- bash /opt/deployment/user_provisioning.sh "${crate_protocol}" "${crate_user}" "${crate_pass}" && rm -f /opt/deployment/user_provisioning.sh
Expand Down
1 change: 1 addition & 0 deletions aws/scripts/cloud-init-cratedb-tar.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ packages:
- openssl
- htop
- node_exporter
- nano

bootcmd:
- test -z "$(blkid /dev/nvme1n1)" && mkfs -t xfs -L data /dev/nvme1n1
Expand Down
6 changes: 3 additions & 3 deletions aws/scripts/cloud-init-utilities.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ write_files:
done

sudo -i -u ec2-user bash << EOF
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
source ~/.bashrc
nvm install node --latest-npm
Expand Down Expand Up @@ -61,8 +61,8 @@ write_files:
permissions: "0666"
- content: |
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
scrape_interval: 5s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 5s # Evaluate rules every 15 seconds. The default is every 1 minute.

scrape_configs:
- job_name: cratedb
Expand Down

0 comments on commit 7f13412

Please sign in to comment.