Skip to content

Commit

Permalink
Blank space correction
Browse files Browse the repository at this point in the history
  • Loading branch information
santipadilla committed Mar 12, 2024
1 parent 6e38208 commit 65cdacf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deps/wazuh_testing/wazuh_testing/tools/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ def get_file_content(self, host: str, file_path: str):

return result['stdout']


def apply_config(self, config_yml_path: str, dest_path: str = WAZUH_CONF, clear_files: list = None,
restart_services: list = None):
"""Apply the configuration described in the config_yml_path to the environment.
Expand Down Expand Up @@ -671,7 +670,7 @@ def handle_wazuh_services(self, host, operation):
if os == 'linux':
result = binary_path = f"/var/ossec/bin/wazuh-control"
elif os == 'macos':
result= binary_path = f"/Library/Ossec/bin/wazuh-control"
result = binary_path = f"/Library/Ossec/bin/wazuh-control"

result = self.get_host(host).ansible('shell', f"{binary_path} {operation}", check=False)

Expand Down

0 comments on commit 65cdacf

Please sign in to comment.