vagrant-orchestrate 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a322cd2fbc31965a3e93c786488c259852f572d
4
- data.tar.gz: 66abcb2ba9fc1d64f3ae2b95f16aca4732731cda
3
+ metadata.gz: 508f8e29d2b1e721fe96ea351eb87665f107ecad
4
+ data.tar.gz: a5d39823e76a8b61a7d021cb02b1912bb9f8b964
5
5
  SHA512:
6
- metadata.gz: 441488d5df3e5656441ee417a84caf4fa6db49d76eee4c5668287c713213ad2ed8dfb55511b83921560df54430ef68ae7bbceceafd6726015471b638a447e314
7
- data.tar.gz: cd3e91eb5a6790a6baa39d3106850510aaea7f0af2b5fc856421524ac75073ad933fd1cc2d52224cb010b618097d16b8c7751481beef9fca7a5d69c1258fbbde
6
+ metadata.gz: e64637ceeb52a2e8c0559123350b8ef3534f26c4e05cef973ca297a285ce45177c3f02d11f2648453e6cdb43931f002b0cee6d1c5ba27edcb9c018bf1fffe9b5
7
+ data.tar.gz: 57da1100e65c07e9ef9212ac74f9de454e8da200af89c10bf439d9f4bd492f217eaa719ef55fe1e9a8bfa1320769be1e1d73146029e23b2ab0ce6b536d914d0c
data/README.md CHANGED
@@ -55,3 +55,21 @@ merge that feature into downstream environments to avoid conflicts.
55
55
  3. Commit your changes (`git commit -am 'Add some feature'`)
56
56
  4. Push to the branch (`git push origin my-new-feature`)
57
57
  5. Create a new Pull Request
58
+
59
+ ## Development Tips
60
+
61
+ You'll want Ruby v2.0.0* and bundler for developing changes.
62
+
63
+ You can install bundler by running
64
+
65
+ $ gem install bundler
66
+
67
+ Bundler documentation is available here (http://bundler.io/).
68
+
69
+ During the course of development you'll want to run the code you're working on,
70
+ not the version of Vagrant Orchestrate you've installed. In order to accomplish
71
+ this, run your vagrant orchestrate commands in the bundler environment.
72
+
73
+ In your shell:
74
+
75
+ $ bundle exec vagrant orchestrate
@@ -75,6 +75,7 @@ module VagrantPlugins
75
75
 
76
76
  o.on("--winrm", "Use the winrm communicator") do
77
77
  options[:communicator] = "winrm"
78
+ options[:plugins] << "vagrant-winrm-s"
78
79
  end
79
80
 
80
81
  o.on("--winrm-username USERNAME", String, "The username for communicating with winrm") do |u|
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Orchestrate
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -157,6 +157,16 @@ describe VagrantPlugins::Orchestrate::Command::Init do
157
157
  expect(iso_env.vagrantfile.config.vm.communicator).to eq(:winrm)
158
158
  expect(iso_env.vagrantfile.config.winrm.username).to eq(described_class::DEFAULT_WINRM_USERNAME)
159
159
  expect(iso_env.vagrantfile.config.winrm.password).to eq(described_class::DEFAULT_WINRM_PASSWORD)
160
+ expect(iso_env.vagrantfile.config.winrm.transport).to eq(:sspinegotiate)
161
+ end
162
+ end
163
+
164
+ describe "winrms" do
165
+ let(:argv) { ["--winrm"] }
166
+ it "includes the vagrant-winrm-s plugin"do
167
+ subject.execute
168
+ vagrantfile = File.readlines(File.join(iso_env.cwd, "Vagrantfile")).join
169
+ expect(vagrantfile).to include("vagrant-winrm-s")
160
170
  end
161
171
  end
162
172
 
@@ -41,6 +41,7 @@ Vagrant.configure("2") do |config|
41
41
  config.vm.communicator = "<%= communicator %>"
42
42
  config.winrm.username = "<%= winrm_username %>"
43
43
  config.winrm.password = "<%= winrm_password %>"
44
+ config.winrm.transport = :sspinegotiate
44
45
  <% end -%>
45
46
 
46
47
  managed_servers.each do |instance|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-orchestrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Baldauf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-16 00:00:00.000000000 Z
11
+ date: 2015-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,7 +80,6 @@ files:
80
80
  - LICENSE
81
81
  - README.md
82
82
  - Rakefile
83
- - Vagrantfile
84
83
  - dummy.box
85
84
  - lib/vagrant-orchestrate.rb
86
85
  - lib/vagrant-orchestrate/command/init.rb
data/Vagrantfile DELETED
@@ -1,21 +0,0 @@
1
- managed_servers = %w( )
2
-
3
- required_plugins = %w( vagrant-managed-servers )
4
- required_plugins.each do |plugin|
5
- system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin
6
- end
7
- Vagrant.configure("2") do |config|
8
- config.ssh.username = "{{YOUR_SSH_USERNAME}}"
9
- config.ssh.password = "poo"
10
- config.ssh.private_key_path = "par"
11
-
12
- managed_servers.each do |instance|
13
- config.vm.define "managed-#{instance}" do |box|
14
- box.vm.box = "tknerr/managed-server-dummy"
15
- box.vm.box_url = "./dummy.box"
16
- box.vm.provider :managed do |provider|
17
- provider.server = instance
18
- end
19
- end
20
- end
21
- end