Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
fix: gpg disable order
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof committed Jun 27, 2022
1 parent 75085b8 commit 1e9a10a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/operator/nodeagent/dep/package-manager-init.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ func (p *PackageManager) debSpecificInit() error {

func (p *PackageManager) remSpecificInit() error {

if err := p.remSpecificDisableGPGRepoCheckForGcloudRepo(); err != nil {
return err
}

return p.rembasedInstall(
&Software{Package: "yum-utils"},
&Software{Package: "yum-plugin-versionlock"},
Expand All @@ -52,10 +56,6 @@ func (p *PackageManager) remSpecificDisableGPGRepoCheckForGcloudRepo() error {

func (p *PackageManager) remSpecificUpdatePackages() error {

if err := p.remSpecificDisableGPGRepoCheckForGcloudRepo(); err != nil {
return err
}

conflictingCronFile := "/etc/cron.daily/yumupdate.sh"
removeConflictingCronFile := true
_, err := os.Stat(conflictingCronFile)
Expand Down

0 comments on commit 1e9a10a

Please # to comment.