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 +4 -4
- data/README.md +18 -0
- data/lib/vagrant-orchestrate/command/init.rb +1 -0
- data/lib/vagrant-orchestrate/version.rb +1 -1
- data/spec/vagrant-orchestrate/command/init_spec.rb +10 -0
- data/templates/vagrant/Vagrantfile.erb +1 -0
- metadata +2 -3
- data/Vagrantfile +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 508f8e29d2b1e721fe96ea351eb87665f107ecad
|
4
|
+
data.tar.gz: a5d39823e76a8b61a7d021cb02b1912bb9f8b964
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -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.
|
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-
|
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
|