Skip to content

Commit

Permalink
feat(ubuntu):Removed haveged installation and goss test
Browse files Browse the repository at this point in the history
Signed-off-by: jayfranco999 <[email protected]>
  • Loading branch information
jayfranco999 committed Sep 29, 2024
1 parent f50617d commit df6cd0e
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 df6cd0e

Please sign in to comment.