GithubHelp home page GithubHelp logo

isabella232 / vagrant-winrm-file-download Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 7 KB

A vagrant provisioner plugin that downloads files from guest to host via winrm

License: Other

Ruby 100.00%

vagrant-winrm-file-download's Introduction

Vagrant WinRM File Downloader Plugin

This is a super simple vagrant provisioner plugin that allows you to download files from the guest to the host.

Installation

vagrant plugin install vagrant-winrm-file-download

Usage

In your Vagrantfile, add the following plugin and configure to your needs:

  config.vm.provision "winrm-file-download" do |file|
    file.source = 'c:\temp\foo.txt'
    file.destination = 'c:\temp\foo-downloaded.txt'
  end

Uninstallation

vagrant plugin uninstall vagrant-dsc

Development

Before getting started, read the Vagrant plugin development basics and packaging documentation.

Development was done against:

git clone [email protected]:OctopusDeploy/vagrant-winrm-file-download.git
cd vagrant-winrm-file-download
bundle install

Run tests:

# tests are... not yet there
bundle exec rake spec

Run Vagrant in context of current vagrant-dsc plugin:

cd <directory>
bundle exec vagrant up

Building a new version

  1. update the version number in the lib/vagrant-winrm-file-download.rb
  2. run gem build .\vagrant-winrm-file-download.gemspec

Contributing

  1. Create a github issue to discuss your idea
  2. Fork it ( https://github.com/[your-github-username]/vagrant-winrm-file-download/fork )
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes, including relevant tests (git commit -am 'Add some feature')
  5. Squash commits & push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

vagrant-winrm-file-download's People

Contributors

matt-richardson avatar octocolby avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.