cloudstack-cli 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/cloudstack-cli/commands/stack.rb +4 -2
- data/lib/cloudstack-cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bf65435b9f87f2a26dad263cb17283cfbf11c49
|
4
|
+
data.tar.gz: a52d6aa1d060649024e085feddc041031e714487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 578d5a63cbe75133dca255c114e3e65f79eead7038c3f1af3ad61331d8a43272f5407c7339f76789d7c768ad1a3b656310bc750d2cda1d663003db13b0b79d8b
|
7
|
+
data.tar.gz: 5b8f5f98ae5bc7813fd5f9c31eb661cb9a928c52558ff261808cb244c70a18feb49126de20652f69d3a4fa22d68689bade1bd2c89935da3053cc94ad11658768
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -140,7 +140,7 @@ CloudStack CLI does support stack files in YAML or JSON.
|
|
140
140
|
ip: 10.102.1.11
|
141
141
|
```
|
142
142
|
|
143
|
-
*Create the stack of servers from the definition above
|
143
|
+
*Create the stack of servers from the definition above:*
|
144
144
|
|
145
145
|
```bash
|
146
146
|
$ cloudstack-cli stack create my_stackfile.yml
|
@@ -57,7 +57,7 @@ class Stack < CloudstackCli::Base
|
|
57
57
|
jobs = []
|
58
58
|
stack["servers"].each do |instance|
|
59
59
|
string_to_array(instance["name"]).each do |name|
|
60
|
-
if !options[:limit] || options[:limit].include?(name) && port_rules = string_to_array(instance["port_rules"])
|
60
|
+
if (!options[:limit] || options[:limit].include?(name)) && port_rules = string_to_array(instance["port_rules"])
|
61
61
|
server = client.list_virtual_machines(name: name, project_id: project_id).first
|
62
62
|
create_port_rules(server, port_rules, false).each_with_index do |job_id, index|
|
63
63
|
job_name = "Create port forwarding rules (#{port_rules[index]}) for VM #{name}"
|
@@ -90,7 +90,9 @@ class Stack < CloudstackCli::Base
|
|
90
90
|
servers = []
|
91
91
|
stack["servers"].each do |server|
|
92
92
|
string_to_array(server["name"]).each do |name|
|
93
|
-
|
93
|
+
if !options[:limit] || options[:limit].include?(name)
|
94
|
+
servers << name
|
95
|
+
end
|
94
96
|
end
|
95
97
|
end
|
96
98
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudstack-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nik Wolfgramm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|