knife-xenserver 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/knife-xenserver.gemspec +1 -1
- data/lib/chef/knife/xenserver_vm_create.rb +5 -0
- data/lib/knife-xenserver/version.rb +1 -1
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc7bd9dba01efbb499204886f92b471abde49fb0
|
4
|
+
data.tar.gz: 6ba5c27242b88cb06c874fba819ff062f3a9780d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c69341677634006fa00c7d5ce9411e1cf9b472e374f95a5a38180bd089b372bc23bd8617ab94ba87dfd5690ae15e861a38c410090626cc96b0684ae617af5ac
|
7
|
+
data.tar.gz: d5c0da5269c3279a6e37dd82b32693d8166309be2e34aa21771f0e51c33fccc6a211075ea733f1423f43fab5e59266b84c6c18894d1833868bacfa6d35ae4de4
|
data/knife-xenserver.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.add_dependency "terminal-table"
|
20
20
|
s.add_dependency "chef", ">= 0.11"
|
21
|
-
s.add_dependency "fog", ">= 1.13"
|
21
|
+
s.add_dependency "fog", ">= 1.13", "<= 1.18"
|
22
22
|
## Fog 1.3.1 deps. We'll need to remove them
|
23
23
|
# when using fog upstream
|
24
24
|
s.add_dependency('colored')
|
@@ -169,6 +169,11 @@ class Chef
|
|
169
169
|
:long => '--extra-vdis "SR name":size1[,"SR NAME":size2,..]',
|
170
170
|
:description => 'Create and attach additional VDIs (size in MB)'
|
171
171
|
|
172
|
+
option :environment,
|
173
|
+
:short => '-E ENV',
|
174
|
+
:long => '--environment ENV',
|
175
|
+
:description => 'Sets the chef environment to add the vm to'
|
176
|
+
|
172
177
|
def tcp_test_ssh(hostname)
|
173
178
|
tcp_socket = TCPSocket.new(hostname, 22)
|
174
179
|
readable = IO.select([tcp_socket], nil, nil, 5)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-xenserver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergio Rubio
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: terminal-table
|
@@ -46,6 +46,9 @@ dependencies:
|
|
46
46
|
- - '>='
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '1.13'
|
49
|
+
- - <=
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '1.18'
|
49
52
|
type: :runtime
|
50
53
|
prerelease: false
|
51
54
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -53,6 +56,9 @@ dependencies:
|
|
53
56
|
- - '>='
|
54
57
|
- !ruby/object:Gem::Version
|
55
58
|
version: '1.13'
|
59
|
+
- - <=
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.18'
|
56
62
|
- !ruby/object:Gem::Dependency
|
57
63
|
name: colored
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
134
|
version: '0'
|
129
135
|
requirements: []
|
130
136
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.2.2
|
132
138
|
signing_key:
|
133
139
|
specification_version: 4
|
134
140
|
summary: XenServer Support for Chef's Knife Command
|