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

Command doesn't fail on 4xx errors #62

Open
chizou opened this issue Oct 9, 2015 · 0 comments
Open

Command doesn't fail on 4xx errors #62

chizou opened this issue Oct 9, 2015 · 0 comments

Comments

@chizou
Copy link

chizou commented Oct 9, 2015

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant