Skip to content

Commit

Permalink
Merge pull request #1427 from jayfranco999/haveged-uninstallation
Browse files Browse the repository at this point in the history
feat(ubuntu):Removed haveged installation and goss test
  • Loading branch information
jayfranco999 authored Sep 30, 2024
2 parents f50617d + df6cd0e commit a266c31
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
9 changes: 0 additions & 9 deletions provisioning/ubuntu-provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -680,14 +680,6 @@ function install_rngd() {
systemctl start rngd || true
}

## Install havegd to increase VM entropy
function install_haveged() {
apt-get update --quiet
apt-get install --yes --no-install-recommends haveged
systemctl enable haveged || true # Uses logical operator '|| true' to prevent script from failing due to non-zero exit status in the case of docker containers
systemctl start haveged || true
}

function main() {
check_commands
copy_custom_scripts
Expand Down Expand Up @@ -737,7 +729,6 @@ function main() {
install_sops
install_yamllint
install_rngd
install_haveged

echo "== Installed packages:"
dpkg -l
Expand Down
3 changes: 0 additions & 3 deletions tests/goss-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ command:
exit-status: 0
stdout:
- 1.55.2
haveged:
exec: haveged --version
exit-status: 0
helm:
exec: helm version
exit-status: 0
Expand Down

0 comments on commit a266c31

Please sign in to comment.