Skip to content

Commit

Permalink
Update elevate for jetbackup to be aware of JetBackup 5.3
Browse files Browse the repository at this point in the history
Case RE-103: Their versioning scheme changed so reinstall would do the
incorrect thing. We now need to do yum update jetbackup not reinstall.

Changelog: Update elevate for jetbackup to	be aware of JetBackup 5.3
  • Loading branch information
toddr committed Jan 22, 2024
1 parent 06bacfb commit e8f2a57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elevate-cpanel
Original file line number Diff line number Diff line change
Expand Up @@ -2949,7 +2949,7 @@ EOS

my $tier = $data->{tier};
my @packages = $data->{packages}->@*;
$self->ssystem( qw{/usr/bin/yum -y reinstall --disablerepo=* --enablerepo=jetapps}, "--enablerepo=$tier", @packages );
$self->ssystem( qw{/usr/bin/yum -y update --enablerepo=jetapps}, "--enablerepo=$tier", @packages );

return;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Elevate/Components/JetBackup.pm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ sub post_leapp ($self) {

my $tier = $data->{tier};
my @packages = $data->{packages}->@*;
$self->ssystem( qw{/usr/bin/yum -y reinstall --disablerepo=* --enablerepo=jetapps}, "--enablerepo=$tier", @packages );
$self->ssystem( qw{/usr/bin/yum -y update --enablerepo=jetapps}, "--enablerepo=$tier", @packages );

return;
}
Expand Down

0 comments on commit e8f2a57

Please sign in to comment.