pec 0.1.3 → 0.1.4
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/.gitignore +1 -1
- data/Gemfile +1 -1
- data/README.md +1 -0
- data/lib/pec/configure/ethernet.rb +1 -3
- data/lib/pec/configure/host.rb +1 -1
- data/lib/pec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d29ffb28f864e94df722cb8da0c152b670446b07
|
|
4
|
+
data.tar.gz: 6fbfda8c8af3a68833f7b30bd34a5a92dfa48cb5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7079d41c4aac4497a19a4c4e6df31080b57a6e0d98e729c883f95b188ad79b318ff31f4e1304a1f4dfae6164f920c913b3a53495696a3337a675d65f859eb56f
|
|
7
|
+
data.tar.gz: 7afb5135a78958e7b513dbc485fa2d6da50abcb885bd7a25951cabc897d50c9f18e73eba5f30af7ea3fa702e3b44df3f83d845ec44538fe1b88464d589903eb6
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
|
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
|
|
|
2
2
|
|
|
3
3
|
# Specify your gem's dependencies in pec.gemspec
|
|
4
4
|
gemspec
|
|
5
|
-
gem 'fog', :git => '
|
|
5
|
+
gem 'fog', :git => 'https://github.com/pyama86/fog.git', :branch => 'support-security-groups'
|
|
6
6
|
gem 'thor'
|
|
7
7
|
gem 'ruby-ip'
|
|
8
8
|
gem 'activesupport'
|
data/README.md
CHANGED
|
@@ -27,9 +27,7 @@ module Pec
|
|
|
27
27
|
case
|
|
28
28
|
when (net["bootproto"] == "static" && net["ip_address"].nil?)
|
|
29
29
|
raise(Pec::Errors::Ethernet, "skip! #{name}: ip_address is required by bootproto static")
|
|
30
|
-
when (
|
|
31
|
-
raise(Pec::Errors::Ethernet, "skip! #{name}: bootproto set the value dhcp or static")
|
|
32
|
-
when (!net["bootproto"] == "static" && !net["bootproto"] == "dhcp")
|
|
30
|
+
when (net["bootproto"] != "static" && net["bootproto"] != "dhcp")
|
|
33
31
|
raise(Pec::Errors::Ethernet, "skip! #{name}: bootproto set the value dhcp or static")
|
|
34
32
|
end
|
|
35
33
|
true
|
data/lib/pec/configure/host.rb
CHANGED
|
@@ -27,7 +27,7 @@ module Pec
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
def check_require_key(config)
|
|
30
|
-
err = %w(image flavor).find {|r| !config[1].key?(r)}
|
|
30
|
+
err = %w(image flavor).find {|r| !config[1].key?(r) || config[1][r].nil? }
|
|
31
31
|
raise(Pec::Errors::Host,"skip! #{config[0]}: #{err} is required!") unless err.nil?
|
|
32
32
|
true
|
|
33
33
|
end
|
data/lib/pec/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kazuhiko yamashita
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-06-
|
|
11
|
+
date: 2015-06-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: openstac vm booter.
|
|
14
14
|
email:
|
|
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
68
68
|
version: '0'
|
|
69
69
|
requirements: []
|
|
70
70
|
rubyforge_project:
|
|
71
|
-
rubygems_version: 2.4.
|
|
71
|
+
rubygems_version: 2.4.6
|
|
72
72
|
signing_key:
|
|
73
73
|
specification_version: 4
|
|
74
74
|
summary: openstack vm booter.
|