Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Command doesn't fail on 4xx errors #62

Description

@chizou

Trying to download a file from a URL that doesn't exist fails silently and running puppet agent -t appears as if everything works correctly. According to e the cURL man page, if you add a -f to the exec command in download.pp, it will return error code 22 upon most 4xx error codes. Are there implications that I'm not seeing that would prevent something like this from being implemented?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions