-
Notifications
You must be signed in to change notification settings - Fork 45
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
Adds output_file as a attribute to redirect goss output to the specified file #100
base: master
Are you sure you want to change the base?
Conversation
c1eac1c
to
d7c0606
Compare
d7c0606
to
652f867
Compare
I couldn't find anything in the I like that this provisioner has a possible workaround for that, but this also seems like something that should be an argument on I may take a look and see how hard it'd be to add that functionality to |
You could look at utilizing |
Thanks for the tip. I will have a look at it on the weekend. I agree with this, should have already been an option in upstream goss. Maybe you can have a look at it :D |
Oh this actually is a request in |
Is this included in the default powershell installation in all Windows Versions? |
I think so. It's part of Microsoft is even nice enough to include a |
I guess I wouldn't say all Windows versions. But it would appear to be present on pretty much anything anybody would be building today. The documentation links I included show it going as far back as PowerShell 5.0, which was released in February of 2016. |
If you want to be cautious, you could simply include in the documentation for the new output argument/parameter that, when using it on Windows, PowerShell is expected to be present at a version of at least 5.0 or higher due to the dependency on |
Thanks for the information. Will update the PR accordingly and hopefully get it merged very soon. |
652f867
to
41ecd43
Compare
41ecd43
to
90b21a7
Compare
Alright, added some more examples/docs and implemented the Windows Version using |
merge after #99
fixes #89
Changes
README.md
with a new more up-to-date example showcasing how to use the provisioner easily locallyexamples/
examples/vbox
tee
(Linux) andTee-Object
(Windows)Example
running
make local
will build & install the plugin and execute it: