foreman_bootdisk 2.0.5 → 2.0.6

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: e51cb397e2135c07a5e7d3964e190cefe4852e04
4
- data.tar.gz: db451601c84e35db1492de7a5246fd4f8143c920
3
+ metadata.gz: 51d62a4894cbc39941a17ecb467122663f3653ea
4
+ data.tar.gz: 232a552fd61594f811f7c389d94ca1665f90e48e
5
5
  SHA512:
6
- metadata.gz: 7c750aeff74a5fb650288c67f540227ccaa765ef0544402fdf912de87fb9123fae5a547bf542a53171b25a1b68cb38692a070732fc6106cd2a4dea3b6c71d5dc
7
- data.tar.gz: 72b036286e3d93af852e05fc2c5c56430037ecb50b15cba5b6d44ddfcf5274cf09cda537d19093305e1c68426fd7722396c24435423cd1ada301c48100cab631
6
+ metadata.gz: 047d8c45159aba84ce216c22c1ce504afc18b233f3cea0c4cd817a2afd209a0adf26c478a6a96b704abdacce69c7e38f1adaa56370eec25cc3cedf1fa5db35af
7
+ data.tar.gz: c223344799a3a3b89ca16fabf94c919a3add08a143cb4ac638ed2bce66e6de00d898921a233d0ff34f5842eb35631fd138906e672ce40ee7d4cabcc90df583a7
data/CHANGES.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.0.6
4
+ * fix deletion of non-bootdisk config templates
5
+
3
6
  ## v2.0.5
4
7
  * safemode compatibility under Foreman 1.5
5
8
 
@@ -12,8 +12,12 @@ module Bootdisk::ConfigTemplateExt
12
12
 
13
13
  def bootdisk_destroy?
14
14
  return true if ARGV.find { |a| a.start_with? "db:migrate" }
15
- bootdisk_add_error if BOOTDISK_TMPLS.include?(name)
16
- false
15
+ if BOOTDISK_TMPLS.include?(name)
16
+ bootdisk_add_error
17
+ false
18
+ else
19
+ true
20
+ end
17
21
  end
18
22
 
19
23
  def bootdisk_readonly
@@ -1,3 +1,3 @@
1
1
  module Bootdisk
2
- VERSION = '2.0.5'
2
+ VERSION = '2.0.6'
3
3
  end
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: 2.0.5
4
+ version: 2.0.6
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-05-02 00:00:00.000000000 Z
11
+ date: 2014-05-16 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.