Software to automate the management and configuration of infrastructure and applications at scale.
Find a file
Krzysztof Pawłowski f5067c1a43 Return error if patch file passed to state file.patch is malformed
If patch file provided for file.patch state is malformed then state
returns `Patch was already applied` but patch is not applied.

          ID: patch_example
    Function: file.patch
        Name: /tmp/example
      Result: True
     Comment: Patch was already applied
     Started: 12:20:50.953163
    Duration: 61.558 ms
     Changes:

It is better to return error in such case.

          ID: patch_example
    Function: file.patch
        Name: /tmp/example
      Result: False
     Comment: /usr/bin/patch: **** malformed patch at line 7:
     Started: 12:33:44.915605
    Duration: 59.202 ms
     Changes:
2023-12-10 15:32:15 -07:00
salt Cloud/DigitalOcean: Don't throw error when deleting instance, fixes #58190 2023-12-10 15:05:24 -07:00
tests Return error if patch file passed to state file.patch is malformed 2023-12-10 15:32:15 -07:00