foreman_bootdisk 3.2.1 → 4.0.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67fc0c4eef2ddf1d89a2bcf54e51d512b288c236
|
4
|
+
data.tar.gz: 20961f842f4935e25aa1199ec689cd71cd3d8cac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cf0e620cf0be77b0f9f7d0e31d52b6b2b8b54e01d6beaf3939b347f4ccdd95f65303ef6887de2507e365f4edc44713679b3b7b2d66da1ee1652e76e5f928899
|
7
|
+
data.tar.gz: 768f6c53c58a23765dd4efe51098034e493458da848aff66b362a30a9010e6434c7467afd0b45294bfc0f898fadd1f9e585efdc18e9492809cb2e9f20c786baf
|
data/CHANGES.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
##
|
4
|
-
* fix
|
5
|
-
Ronald van Zantvoort)
|
3
|
+
## v4.0.0
|
4
|
+
* fix controller compatibility with Foreman 1.7
|
6
5
|
|
7
6
|
## v3.2.0
|
8
7
|
* add full host image containing OS bootloader for hosts that fail to
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@ require 'uri'
|
|
2
2
|
|
3
3
|
module ForemanBootdisk
|
4
4
|
class DisksController < ::ApplicationController
|
5
|
-
before_filter :
|
5
|
+
before_filter :find_resource, :only => %w[host full_host]
|
6
6
|
|
7
7
|
def generic
|
8
8
|
begin
|
@@ -45,7 +45,7 @@ module ForemanBootdisk
|
|
45
45
|
|
46
46
|
private
|
47
47
|
|
48
|
-
def
|
48
|
+
def resource_scope(controller = controller_name)
|
49
49
|
Host::Managed.authorized(:view_hosts)
|
50
50
|
end
|
51
51
|
end
|
@@ -105,7 +105,7 @@ class ForemanBootdisk::ISOGenerator
|
|
105
105
|
write_cache = use_cache
|
106
106
|
uri = URI(uri)
|
107
107
|
Net::HTTP.start(uri.host, uri.port) do |http|
|
108
|
-
request = Net::HTTP::Get.new uri
|
108
|
+
request = Net::HTTP::Get.new uri
|
109
109
|
|
110
110
|
http.request request do |response|
|
111
111
|
response.read_body do |chunk|
|
@@ -29,7 +29,7 @@ module ForemanBootdisk
|
|
29
29
|
|
30
30
|
initializer 'foreman_bootdisk.register_plugin', :after=> :finisher_hook do |app|
|
31
31
|
Foreman::Plugin.register :foreman_bootdisk do
|
32
|
-
requires_foreman '>= 1.
|
32
|
+
requires_foreman '>= 1.7'
|
33
33
|
|
34
34
|
security_block :bootdisk do |map|
|
35
35
|
permission :download_bootdisk, {:'foreman_bootdisk/disks' => [:generic, :host, :full_host, :help],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_bootdisk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Cleal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Plugin for Foreman that creates iPXE-based boot disks to provision hosts
|
14
14
|
without the need for PXE infrastructure.
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
101
|
rubyforge_project:
|
102
|
-
rubygems_version: 2.
|
102
|
+
rubygems_version: 2.1.11
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: Create boot disks to provision hosts with Foreman
|