Skip to content

Commit

Permalink
Adding for opensearch nodes
Browse files Browse the repository at this point in the history
Signed-off-by: “SanjuPal01” <sanju.sanju@progress.com>
  • Loading branch information
SanjuPal01 committed Oct 22, 2024
1 parent b14b322 commit 2b4b749
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/automate-cli/cmd/chef-automate/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1048,9 +1048,13 @@ func setConfigForOpensearch(args []string, remoteService string, sshUtil SSHUtil
return nil
}

//checking for RateLimit configuration
if err := removeOrUpdateRateLimit(args, remoteService, sshUtil, infra.Outputs.PostgresqlPrivateIps.Value); err != nil {
return err
}

//checking for log configuration
err := enableCentralizedLogConfigForHA(args, remoteService, sshUtil, infra.Outputs.OpensearchPrivateIps.Value)
if err != nil {
if err := removeOrUpdateCentralisedLog(args, remoteService, sshUtil, infra.Outputs.PostgresqlPrivateIps.Value); err != nil {
return err
}

Expand Down

0 comments on commit 2b4b749

Please sign in to comment.