-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
archive has stopped working for us #505
Comments
I might have just figured it out. It seems that you need a "source" parameter and that it has to differ from the "path" parameter. Given the file already exists in the "path" location, can it not simply be extracted from there? Why do we need to make a copy elsewhere first? e.g. changing to
works but having source as "/hdd/Backup/pylon_7.1.0.25066_x86_64.tar.gz" does not. Why not? |
I ran the above code once and it worked. But then when I remove the extract_path folder and contents and run again, it creates the folder but doesn't populate. Why would that be? |
If I turn on debug I don't get much information in relation to the archive resource. Just
The one time it worked the output showed:
after which /tmp/pylon7 had the files/folders it is meant to. |
Actually having a creates parameter seems to force the issue and remove the need for a source parameter.
works. |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Creates the folder /tmp/pylon7, but fails to "tar zxf" into it
What behaviour did you expect instead
We should see /tmp/pylon7 with foles/folders in it.
Output log
No mention of the archive resource.
Any additional information you'd like to impart
This was working for us fairly recently.
The text was updated successfully, but these errors were encountered: