vagrant-ec-sandbox 0.1.0.Preview → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4605433f30104991e97c07b9d76e419dee47e9f1
|
4
|
+
data.tar.gz: 239891f1556fb6052933e5d2e5b73052823de848
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb76f64839332cc5e24f5fe9feffd660e6e7d29fe4254f4f6512788e3ade273ed56a3b18988c120bc7e021064c53c771a15db48a9b06583363828e7b4a0bd365
|
7
|
+
data.tar.gz: e52c01d95480fd62b862ea3c326b83b8ffff9501a34f6cb6b457a5364440743efd03533077474c25ec23e5e113135e5c18df89d0da601b4ed1f95153496643df
|
data/lib/vagrant-ec-sandbox.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
begin
|
2
2
|
require "vagrant"
|
3
3
|
rescue LoadError
|
4
|
-
raise "The
|
4
|
+
raise "The EC Sandbox plugin must be run within Vagrant."
|
5
5
|
end
|
6
6
|
|
7
7
|
|
8
8
|
# This is a sanity check to make sure no one is attempting to install
|
9
9
|
# this into an early Vagrant version.
|
10
10
|
if Vagrant::VERSION < "1.2.0"
|
11
|
-
raise "The Vagrant
|
11
|
+
raise "The Vagrant EC Sandbox plugin is only compatible with Vagrant 1.2+"
|
12
12
|
end
|
13
13
|
|
14
14
|
require 'vagrant-ec-sandbox/version'
|
@@ -74,7 +74,7 @@ module VagrantPlugins
|
|
74
74
|
|
75
75
|
env[:machine].communicate.sh(session, template("wildfly/config_ec.sh", variables),
|
76
76
|
file_name_base: "config_ec.sh") do |type, data|
|
77
|
-
#
|
77
|
+
#puts "#{type}: #{data}"
|
78
78
|
end
|
79
79
|
|
80
80
|
VagrantPlugins::ECSandbox::Util::Sandbox::Wildfly::AddUser.execute(env, admin_name, admin_password,
|
@@ -82,6 +82,7 @@ module VagrantPlugins
|
|
82
82
|
|
83
83
|
env[:ui].detail("Admin user '#{admin_name}' has been created.")
|
84
84
|
env[:ui].success("Wildfly is configured for EC, ready for deploy.")
|
85
|
+
sleep 3
|
85
86
|
|
86
87
|
@app.call(env)
|
87
88
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-ec-sandbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Han Yi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -156,9 +156,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
156
|
version: '0'
|
157
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
158
|
requirements:
|
159
|
-
- - "
|
159
|
+
- - ">="
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version:
|
161
|
+
version: '0'
|
162
162
|
requirements: []
|
163
163
|
rubyforge_project:
|
164
164
|
rubygems_version: 2.2.2
|