-
Notifications
You must be signed in to change notification settings - Fork 325
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
Windows support in host_helpers #1622
Windows support in host_helpers #1622
Conversation
trevor-vaughan
commented
Feb 10, 2020
- Add Windows support to:
- file_exists_on
- directory_exists_on
- link_exists_on (fallback to file_exists_on)
- file_contents_on
- Expand windows environment variables on scp_from and scp_to
The tests that are failing seem to be unrelated to this PR. |
This appears to be working as expected now |
@puppetlabs-jenkins retest this please |
I've run puppet-agent ad-hoc for master with this and puppetlabs/beaker-puppet#131. Seems fine on our side But beaker is extensively used on other projects, like PE testing and maybe some modules. Can someone from @puppetlabs/installer-and-management and @puppetlabs/content @puppetlabs/modules asset impact of this on their side? |
The failing check seems to be related to a master platform. I have pinged the team I think that needs to look at that in Slack and will follow up when they are online later today. |
The modules team no longer uses Beaker so they have no objection to this moving forward (they have moved to Litmus). |
Sorry, looks like the configuration for the testing of PE is a bit out of date. I'm going to go ahead and approve the PR and try to fix up that configuration out of band. |
@cthorn42 Hold on the merge please. I just found an issue with reading alternate data streams. Will have it fixed soon. |
* Add Windows support to: * file_exists_on => With Alternate Data Streams support! * directory_exists_on * link_exists_on (fallback to file_exists_on) * file_contents_on => With Alternate Data Streams support! * Add 'win_ads_path' function that splits a path into the base path and alternate data streams * Migrate most windows commands to Powershell * Expand windows environment variables on scp_from and scp_to
f6d7160
to
34b0073
Compare