Skip to content

Commit

Permalink
cleanup goos variable
Browse files Browse the repository at this point in the history
Signed-off-by: sivchari <[email protected]>
  • Loading branch information
sivchari committed Feb 7, 2025
1 parent 05c4866 commit 56afdd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
5 changes: 3 additions & 2 deletions images/capi/packer/goss/goss-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ package:
cloud-init:
installed: true
{{end}}
{{if and ne (.Vars.OS "ubuntu") (ne .Vars.PROVIDER "azure")}}
ntp:
installed: false
{{end}}
{{if and (eq .Vars.OS "ubuntu") (eq .Vars.PROVIDER "azure")}}
skip: true
{{end}}
{{if eq .Vars.kubernetes_source_type "pkg"}}
kubeadm:
installed: true
Expand Down
8 changes: 0 additions & 8 deletions images/capi/packer/goss/goss-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ common_debs: &common_debs
python3-pip:
socat:

chrony_deb: &chrony_deb
chrony:
ntp:
skip: true
installed: false

common_azurelinux_rpms: &common_azurelinux_rpms
audit:
ca-certificates:
Expand Down Expand Up @@ -247,7 +241,6 @@ photon:
running: true
package:
open-vm-tools:
cloud-init:
cloud-utils:
python3-netifaces:
os_version:
Expand Down Expand Up @@ -457,7 +450,6 @@ ubuntu:
open-vm-tools:
linux-cloud-tools-virtual:
linux-tools-virtual:
<<: *chrony_deb
service:
chrony:
enabled: true
Expand Down

0 comments on commit 56afdd2

Please sign in to comment.