-
Notifications
You must be signed in to change notification settings - Fork 289
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
add source to remote_file for urls in plugin.pp #486
Conversation
add source to remote_file definition in plugin.pp
6ce2a13
to
b0adf02
Compare
bump |
I'm trying to understand why your URL is having this issue as it does seem to be a valid URI. I had an odd thing once where there was a unicode character in a URL (not sure how it got there) that caused weird errors - can you make sure the file type is ASCII and that there aren't any "invisible" escape/control characters in the URL? |
The remote_file module needs a
Using the remote_file module directly:
Generates the same error:
Adding
Works as intended:
The call in package.pp looks right. The call in
|
@jlambert121, does the above make sense? |
@jlambert121 I've encountered that issue before - with "invisible" characters in the url that sometime cause failures, but that doesn't seem to be the case here. Puppet runs are failing on this resource only when I add a new plugin, so when it has to fetch it. For previously existing ones, it sees it's there and moves on I guess. But I can't get it to work at all without providing the 'source' param to the remote_file module. By setting it to $name only for url types, the way we define a sensu::plugin would remain the same. |
Getting an error when trying to add a new sensu plugin. I'm defining the plugin as:
And the error in puppet: