omf_rc_shm 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/omf_rc/resource_proxy/shm_node.rb +8 -9
- data/lib/omf_rc_shm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODJlOThlMGNmNTliZGQ2ZDEwMTJlZWU3ODBlOTA0YWViYzE2MWE0OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODJlZTIxZmUzZTZlZWNiOGNhYjM2Y2RiZDliYjNjYzdjYmExNzlmMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGUxMjdkNDA4MDYwNDdmNTM3MTE0OWIxMjM0Mzk3OTg3NWNiNGRlYzNiZjg0
|
10
|
+
NDEwMGM5YzgwMmU4ZTliNzc5NWQyNjdiY2MyODg2ZjJlZmVhNmE1MjQxMmQ2
|
11
|
+
ZjhhZjNlMWI5NGI5MDE0NjQwN2VlMGVlYjFkYWU2ZmM4YzI0M2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YWZmMjA3NzBiM2M4ZmNlN2VlNDdiNDc4YWMzNmY1NWFkNjg0YWE5OWRlNGU4
|
14
|
+
MTkyNzNkZGVlOTM2MjYzMDljMDhhYTlmZTkzZTRkNThlOWQyMWQ1NmMzYTk2
|
15
|
+
N2FlOGI4NjA4MzM2OGNiYzMyMDIyNjdmNDUwNTEwYjQzNGQ3MmM=
|
@@ -15,15 +15,14 @@ module OmfRc::ResourceProxy::ShmNode
|
|
15
15
|
end
|
16
16
|
|
17
17
|
hook :after_initial_configured do |node|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
s_app.configure_state(:scheduled)
|
18
|
+
unless node.request_app_definition_file.nil?
|
19
|
+
OmfRcShm.app.load_definition(node.request_app_definition_file)
|
20
|
+
info "Using app definition from '#{node.request_app_definition_file}'"
|
21
|
+
OmfRcShm.app.definitions.each do |name, app_opts|
|
22
|
+
info "Got definition #{app_opts.inspect}, now schedule it..."
|
23
|
+
opts = app_opts.properties.merge(hrn: name, ruby_path: node.property.ruby_path, parent_id: node.uid)
|
24
|
+
s_app = OmfRc::ResourceFactory.create(:scheduled_application, opts)
|
25
|
+
OmfCommon.el.after(5) { s_app.configure_state(:scheduled) }
|
27
26
|
end
|
28
27
|
end
|
29
28
|
# if required, start the watchdog timer and periodically top it
|
data/lib/omf_rc_shm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omf_rc_shm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NICTA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|