Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix agent deployment instructions for HP-UX and Solaris #4943

Conversation

chantal-kelm
Copy link
Member

@chantal-kelm chantal-kelm commented Dec 1, 2022

Description

Fixed agent deployment instructions for HP-UX and Solaris.

This pull request is going to be merged into the main branch used for this epic #4931

Backports

#5019
#5020

Issues Resolved

#4926

Evidence

image

image

Test

  • Click on agents
  • Click on deploy new agent
  • The sections for setting the WAZUH_MANAGER, WAZUH_AGENT_GROUP and WAZUH_AGENT_NAME variables should not appear.

Check List

  • All tests pass
    • yarn test:jest
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@chantal-kelm chantal-kelm self-assigned this Dec 1, 2022
@chantal-kelm chantal-kelm linked an issue Dec 1, 2022 that may be closed by this pull request
@chantal-kelm chantal-kelm changed the title removing auto-deploy variables in hp and solaris Fix agent deployment instructions for HP-UX and Solaris Dec 1, 2022
@chantal-kelm chantal-kelm marked this pull request as ready for review December 6, 2022 17:07
@chantal-kelm chantal-kelm requested a review from a team as a code owner December 6, 2022 17:07
@chantal-kelm chantal-kelm changed the title Fix agent deployment instructions for HP-UX and Solaris Fixed agent deployment instructions for HP-UX and Solaris Dec 14, 2022
@AlexRuiz7 AlexRuiz7 changed the title Fixed agent deployment instructions for HP-UX and Solaris Fix agent deployment instructions for HP-UX and Solaris Dec 14, 2022
…deployment-instructions-for-HPUX-and-Solaris
Copy link
Contributor

@Mayons95 Mayons95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TR: ✔️
LGTM

Screenshot from 2022-12-15 11-23-51

@chantal-kelm chantal-kelm merged commit 3b19303 into 4931-fix-section-deploy-new-agent Dec 19, 2022
@chantal-kelm chantal-kelm deleted the 4926-Fix-agent-deployment-instructions-for-HPUX-and-Solaris branch December 19, 2022 17:07
@github-actions
Copy link
Contributor

The backport to 4.4-7.16 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-7.16 4.4-7.16
# Navigate to the new working tree
cd .worktrees/backport-4.4-7.16
# Create a new branch
git switch --create backport-4943-to-4.4-7.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 3b19303432017c032b48d64935376018b5f47aa4
# Push it to GitHub
git push --set-upstream origin backport-4943-to-4.4-7.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-7.16

Then, create a pull request where the base branch is 4.4-7.16 and the compare/head branch is backport-4943-to-4.4-7.16.

@github-actions
Copy link
Contributor

The backport to 4.4-2.4-wzd failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-2.4-wzd 4.4-2.4-wzd
# Navigate to the new working tree
cd .worktrees/backport-4.4-2.4-wzd
# Create a new branch
git switch --create backport-4943-to-4.4-2.4-wzd
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 3b19303432017c032b48d64935376018b5f47aa4
# Push it to GitHub
git push --set-upstream origin backport-4943-to-4.4-2.4-wzd
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-2.4-wzd

Then, create a pull request where the base branch is 4.4-2.4-wzd and the compare/head branch is backport-4943-to-4.4-2.4-wzd.

chantal-kelm added a commit that referenced this pull request Dec 20, 2022
* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

(cherry picked from commit 3b19303)
chantal-kelm added a commit that referenced this pull request Dec 20, 2022
* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

(cherry picked from commit 3b19303)
chantal-kelm added a commit that referenced this pull request Dec 20, 2022
* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

(cherry picked from commit 3b19303)
chantal-kelm added a commit that referenced this pull request Dec 20, 2022
* Fix agent deployment instructions for HP-UX and Solaris (#4943)

* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

(cherry picked from commit 3b19303)

* Update CHANGELOG.md
chantal-kelm added a commit that referenced this pull request Dec 20, 2022
* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog
chantal-kelm added a commit that referenced this pull request Dec 21, 2022
* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

(cherry picked from commit 3b19303)
chantal-kelm added a commit that referenced this pull request Dec 21, 2022
* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog
chantal-kelm added a commit that referenced this pull request Dec 21, 2022
* Fix agent deployment instructions for HP-UX and Solaris (#4943)

* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

(cherry picked from commit 3b19303)

* move message additional installation steps

* merge with base branch and update alpine link

* Merge branch '4931-fix-section-deploy-new-agent' into 4926-Fix-agent-deployment-instructions-for-HPUX-and-Solaris

* Merge branch '4931-fix-section-deploy-new-agent' into 4926-Fix-agent-deployment-instructions-for-HPUX-and-Solaris

* Merge branch '4931-fix-section-deploy-new-agent' into 4926-Fix-agent-deployment-instructions-for-HPUX-and-Solaris

* Fix agent deployment instructions for HP-UX and Solaris (#4943)

* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

(cherry picked from commit 3b19303)

* clean code

* clean code
chantal-kelm added a commit that referenced this pull request Dec 22, 2022
* accordion and alpine os

* changes

* changes

* changes

* changes

* alpine versions commands

* commands for alpine and architecture macos

* message install and start alpine

* CHANGELOG

* command debian

* command raspbian

* Added link for additional steps to alpine os and changelog

* clear code

* clean code

* fixed windows command

* deploy new agent section: command fixed for solaris

* Fix the agent installation command for macOS (#4968)

* Fixed the agent installation command for macOS

* CHANGELOG

* Update CHANGELOG.md

* Fix agent deployment instructions for HP-UX and Solaris (#4943)

* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

* red hat, centos and windows commands fixed

* Deploy new agent section: change the commands for all os

* Deploy new agent section: change commands for all os

* clean code

* update commands

* Deploy new agents: Update commands

* Deploy new agents: Update commands

* comand windows

* oracleLinux command

* warningcOMAND

Co-authored-by: Álex <[email protected]>
chantal-kelm added a commit that referenced this pull request Dec 22, 2022
* accordion and alpine os

* changes

* changes

* changes

* changes

* alpine versions commands

* commands for alpine and architecture macos

* message install and start alpine

* CHANGELOG

* command debian

* command raspbian

* Added link for additional steps to alpine os and changelog

* clear code

* clean code

* fixed windows command

* deploy new agent section: command fixed for solaris

* Fix the agent installation command for macOS (#4968)

* Fixed the agent installation command for macOS

* CHANGELOG

* Update CHANGELOG.md

* Fix agent deployment instructions for HP-UX and Solaris (#4943)

* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

* red hat, centos and windows commands fixed

* Deploy new agent section: change the commands for all os

* Deploy new agent section: change commands for all os

* clean code

* update commands

* Deploy new agents: Update commands

* Deploy new agents: Update commands

* comand windows

* oracleLinux command

* warningcOMAND

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 549edd0)
chantal-kelm added a commit that referenced this pull request Dec 22, 2022
* Fix deploy new agent section (#4933)

* accordion and alpine os

* changes

* changes

* changes

* changes

* alpine versions commands

* commands for alpine and architecture macos

* message install and start alpine

* CHANGELOG

* command debian

* command raspbian

* Added link for additional steps to alpine os and changelog

* clear code

* clean code

* fixed windows command

* deploy new agent section: command fixed for solaris

* Fix the agent installation command for macOS (#4968)

* Fixed the agent installation command for macOS

* CHANGELOG

* Update CHANGELOG.md

* Fix agent deployment instructions for HP-UX and Solaris (#4943)

* removing auto-deploy variables in hp and solaris

* hide wazuh server address sections, assign group and assign name to agent when os is hp or solaris

* update hp command

* removing auto-deploy variables in alpine

* move message additional installation steps

* links and messages os

* changelog

* red hat, centos and windows commands fixed

* Deploy new agent section: change the commands for all os

* Deploy new agent section: change commands for all os

* clean code

* update commands

* Deploy new agents: Update commands

* Deploy new agents: Update commands

* comand windows

* oracleLinux command

* warningcOMAND

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 549edd0)

* styles

* hp command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix agent deployment instructions for HP-UX and Solaris
2 participants