vagrant-mos 0.8.44 → 0.8.45
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/lib/vagrant-mos/action/connect_mos.rb +6 -2
- data/lib/vagrant-mos/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e14e5d603d91f8544c6efee0647c38bd803e8832
|
|
4
|
+
data.tar.gz: 58dd2fae7fbcd43df30b66233a96e5f80a00d823
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b8c872593c610e218f58cbe788553af5bf6e2d0bc3acde8a29e1cad1b5b307e7b2283b8e97621d353303da11abb6b9a8a0bc6c30734fed21b3670205261ad88
|
|
7
|
+
data.tar.gz: 1cb6735849e000825a5d97474f7e151362f70f5e9de99bf69592dcb9e0fa1430f70efc57d1b021e077cba4b7639ca0ec067b0c2b130325955607f1d9bbed74cb
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
require "fog"
|
|
2
|
+
|
|
3
|
+
require "log4r"
|
|
2
4
|
require "mos-sdk"
|
|
3
5
|
include MOS
|
|
4
|
-
require "log4r"
|
|
5
6
|
|
|
6
7
|
module VagrantPlugins
|
|
7
8
|
module MOS
|
|
@@ -14,6 +15,9 @@ module VagrantPlugins
|
|
|
14
15
|
@app = app
|
|
15
16
|
@logger = Log4r::Logger.new("vagrant_mos::action::connect_mos")
|
|
16
17
|
end
|
|
18
|
+
#li= Client.new('c9b13af321f247a496f925d70ce001b3','7013bacdb1d44e0a851aa8786f742596','https://192.168.2.33:8883')
|
|
19
|
+
#puts li.get_balance
|
|
20
|
+
|
|
17
21
|
|
|
18
22
|
def call(env)
|
|
19
23
|
# Get the region we're going to booting up in
|
|
@@ -43,7 +47,7 @@ module VagrantPlugins
|
|
|
43
47
|
env[:mos_compute] = Client.new(region_config.access_key_id, region_config.secret_access_key, region_config.secret_access_url)
|
|
44
48
|
#require "mos-sdk"
|
|
45
49
|
#include MOS
|
|
46
|
-
|
|
50
|
+
|
|
47
51
|
# env[:mos_elb] = Fog::MOS::ELB.new(fog_config.except(:provider, :endpoint))
|
|
48
52
|
end
|
|
49
53
|
end
|
data/lib/vagrant-mos/version.rb
CHANGED