foreman_discovery 9.1.2 → 9.1.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb000c63fe472c766b1cd637130b4b6dea7cf27d
|
|
4
|
+
data.tar.gz: b70080def7555d896edfc19e999d2e64383aadff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c2e52291397fc57b84f0ee16b7a09df77fdbfd3770db786418f5de38ecd7d775ae6153f518312b0c180145829f1617eb31bf2af12efd83819ccf0f5aa340db2
|
|
7
|
+
data.tar.gz: b2e4ddaabbccffa97a80a0949f94aca96a43ca64682ba013eb5bb2edfa1c9dc2d6c89671f1023155053bda7f26d249269dfe135df884dc183c4a47267e1eb42a
|
|
@@ -34,6 +34,7 @@ module Api
|
|
|
34
34
|
param :name, String, :required => true
|
|
35
35
|
param :ip, String, :required => true
|
|
36
36
|
param :mac, String, :required => true
|
|
37
|
+
param :pxe_loader, Operatingsystem.all_loaders, :desc => N_("DHCP filename option (Grub2 or PXELinux by default)")
|
|
37
38
|
end
|
|
38
39
|
end
|
|
39
40
|
|
|
@@ -42,6 +43,7 @@ module Api
|
|
|
42
43
|
|
|
43
44
|
def create
|
|
44
45
|
@discovered_host = Host::Discovered.new(discovered_host_params)
|
|
46
|
+
@discovered_host.suggest_default_pxe_loader if params[:discovered_host] && params[:discovered_host][:pxe_loader].nil?
|
|
45
47
|
process_response @discovered_host.save
|
|
46
48
|
end
|
|
47
49
|
|
|
@@ -74,6 +76,7 @@ module Api
|
|
|
74
76
|
param :progress_report_id, String, :desc => N_("UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks")
|
|
75
77
|
param :capabilities, String
|
|
76
78
|
param :root_pass, String, :desc => N_("required if value is not inherited from host group or default password in settings")
|
|
79
|
+
param :pxe_loader, Operatingsystem.all_loaders, :desc => N_("DHCP filename option (Grub2 or PXELinux by default)")
|
|
77
80
|
end
|
|
78
81
|
|
|
79
82
|
def update
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_discovery
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 9.1.
|
|
4
|
+
version: 9.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- alongoldboim
|
|
@@ -50,7 +50,7 @@ authors:
|
|
|
50
50
|
autorequire:
|
|
51
51
|
bindir: bin
|
|
52
52
|
cert_chain: []
|
|
53
|
-
date: 2017-
|
|
53
|
+
date: 2017-10-04 00:00:00.000000000 Z
|
|
54
54
|
dependencies: []
|
|
55
55
|
description: MaaS Discovery Plugin engine for Foreman
|
|
56
56
|
email: gsutclif@redhat.com
|