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

Add windows_file.template operation #651

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from

Commits on Jan 23, 2022

  1. Add windows_file.template operation

    Mostly copy/pasted from file.template. One tweak is making the IO buffer-type bytes since
    win_rm _put_file expects a bytes input. Therefore output_file was changed from:
    
    ```
    output_file = six.StringIO(output)
    ```
     to
    
    ```
    output_file = six.BytesIO(six.ensure_binary(output))
    ```
    
    References https://github.com/Fizzadar/pyinfra/issues/645
    timeisapear authored and Fizzadar committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    325b214 View commit details
    Browse the repository at this point in the history