rundock 0.2.10 → 0.2.11
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/CHANGELOG.md +6 -0
- data/lib/rundock/node.rb +3 -3
- data/lib/rundock/operation_factory.rb +1 -0
- data/lib/rundock/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: a1c20f68b7352582d6a023f09191b0b5723053c5
|
|
4
|
+
data.tar.gz: bc343ba950dfa57b08a54c114d5b98ac1c24c260
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d491b7147454a26d66ccc92de7d020b86bcc2a24977c149230de511afbf17361a58ee9cfa1c1b851e27c571b8102250a2c33caef53a789c8abf954d73521a1fc
|
|
7
|
+
data.tar.gz: 954dd9a0c274019ea80e424831076b062ee7ee9927c635916f46de986337a77685a5b8762d6e1d5895f98f88b1b215d29bc3ca76dd063b93c76a3ecb4cec768c
|
data/CHANGELOG.md
CHANGED
data/lib/rundock/node.rb
CHANGED
|
@@ -19,18 +19,18 @@ module Rundock
|
|
|
19
19
|
|
|
20
20
|
def complete(scenario)
|
|
21
21
|
@operations.each do |ope|
|
|
22
|
-
ope.attributes[:nodeinfo]
|
|
22
|
+
ope.attributes[:nodeinfo].merge!(scenario.node_info)
|
|
23
23
|
end
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def run
|
|
27
|
-
Logger.debug("run
|
|
27
|
+
Logger.debug("run node: #{@name}")
|
|
28
28
|
if @operations.blank?
|
|
29
29
|
Logger.warn("no operation running: #{@name}")
|
|
30
30
|
return
|
|
31
31
|
end
|
|
32
32
|
@operations.each do |ope|
|
|
33
|
-
Logger.debug("operation
|
|
33
|
+
Logger.debug("run operation: #{ope.class}")
|
|
34
34
|
ope.run(@backend, ope.attributes)
|
|
35
35
|
end
|
|
36
36
|
end
|
|
@@ -12,6 +12,7 @@ module Rundock
|
|
|
12
12
|
|
|
13
13
|
def create(instruction, attributes)
|
|
14
14
|
klass = "Rundock::Operation::#{@type.to_s.to_camel_case}"
|
|
15
|
+
Logger.debug("initialize #{klass} operation")
|
|
15
16
|
raise OperationNotImplementedError unless Rundock::Operation::Base.subclasses.map(&:to_s).include?(klass)
|
|
16
17
|
|
|
17
18
|
obj = nil
|
data/lib/rundock/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rundock
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hiracy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-08-
|
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|