smart_proxy_discovery_image 1.3.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63fcad0e9bd9c8a39569890351e410f31a18067de5047df0c8fa8417af589fe7
|
4
|
+
data.tar.gz: 6d543be76718df30385823f19e9b9ba6c53ded883974f7a65f9e620ca9d2e9d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8dcb2bedf37a4e212751dbd6183208b03aff8e88dca2bebbccd008e36efa03bbb79ab6daa4ef42eabe2934fdd15e49b58eeee67ccde7197b1a842373b5007d9
|
7
|
+
data.tar.gz: 7d2cb6faa3d9cb6f01e0bb5e6cef224dd7c14ebe2dca84a9783999622c04d78b09592d3caf5c2655cc9d378823c3a2f5a6b2fe141dff70f9493af8318a265ac7
|
@@ -7,8 +7,9 @@ module Proxy::DiscoveryImage
|
|
7
7
|
include Proxy::Util
|
8
8
|
|
9
9
|
put "/reboot" do
|
10
|
-
log_halt(500, "
|
11
|
-
|
10
|
+
log_halt(500, "reboot binary was not found") unless (reboot = which('reboot'))
|
11
|
+
# --force must be used to avoid transitioning back from systemd to initramdisk
|
12
|
+
run_after_response 2, reboot, "-f"
|
12
13
|
content_type :json
|
13
14
|
{ :result => true }.to_json
|
14
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_proxy_discovery_image
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Zapletal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
Smart Proxy plugin providing Image API on discovered nodes. This plugin is only
|
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '0'
|
51
51
|
requirements: []
|
52
|
-
rubygems_version: 3.1.
|
52
|
+
rubygems_version: 3.1.4
|
53
53
|
signing_key:
|
54
54
|
specification_version: 4
|
55
55
|
summary: FDI API for Foreman Smart-Proxy
|