-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Getting error while running puppet archive. #205
Comments
Can you run this with --trace and provide line 26 of javaora.pp (or highlight the line in the manifest you provided) |
@nanliu the closing curly brace just below |
can you explain the possible reason why I am experiencing this behaviour? Just hint on what could be wrong! |
It's an issue converting a string, most likely source parameter is nil, or the conversion is failing to process part of that string. You can add a notify resource, and expand the variable: notify { $tomcat::params::jredownloadpath: } Can't provide more detail without the --trace to pinpoint the ruby source code line number and a stack trace. It would be much more helpful if you can provide an example resource without any puppet parameters (the direct values for the resource). |
So I did a local test and your source parameter is undefined. I'll write a patch to make sure we raise a more meaningful error. |
Seems like it is not able to find the path! Closing the issue. |
Fix GH-205 raise exception on bad source paramters
I am using puppet-archive to download my file from a repository.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
I am using puppet-archive to download my file from a repository.
What are you seeing
But I get the following error on puppet run -:
What behaviour did you expect instead
I expected it to download the archived file from the source and extract at desired location
The text was updated successfully, but these errors were encountered: