Skip to content
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

Delete powershell file after download complete #31

Closed
dandunckelman opened this issue Feb 26, 2016 · 1 comment
Closed

Delete powershell file after download complete #31

dandunckelman opened this issue Feb 26, 2016 · 1 comment

Comments

@dandunckelman
Copy link

Please add an option to delete the powershell file used to download the requested file after the download has completed.

@dandunckelman
Copy link
Author

An alternative to creating the powershell file used to perform the download is to use a template on the exec resource. For more info, see the powershell module documentation.

I'm working on it here: https://github.com/dandunckelman/puppet-download_file/tree/replace_file_with_command_template

Hopefully, I'll have PR soon. Need to write tests.

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

No branches or pull requests

1 participant