File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -233,6 +233,10 @@ def provision_admin(admin)
233
233
# can result in very sluggish VMs, especially when low on memory
234
234
'increase-SBD-timeout-30s.patch' ,
235
235
236
+ # revert a change to detection mechanism of HAE availability, that
237
+ # breaks when using the DEPS ISO
238
+ 'barclamp-provisioner-hae-check.patch' ,
239
+
236
240
# handy utility for setting up node aliases in Crowbar
237
241
'setup-node-aliases.sh' ,
238
242
Original file line number Diff line number Diff line change
1
+ From 53fad1f305466427bf8d5f71faa2bc845314d28e Mon Sep 17 00:00:00 2001
2
+ From: Dirk Mueller <
[email protected] >
3
+ Date: Wed, 8 Oct 2014 16:46:55 +0200
4
+ Subject: [PATCH] Tighten check for HAE repos
5
+
6
+ Just an empty directory is not enough, there should be
7
+ repomd metadata in there. so check for the availability
8
+ of the metadata.
9
+ ---
10
+ chef/cookbooks/provisioner/libraries/repositories.rb | 2 +-
11
+ 1 file changed, 1 insertion(+), 1 deletion(-)
12
+
13
+ diff --git a/chef/cookbooks/provisioner/libraries/repositories.rb b/chef/cookbooks/provisioner/libraries/repositories.rb
14
+ index 3b1e9ac..64734f5 100644
15
+ --- a/chef/cookbooks/provisioner/libraries/repositories.rb
16
+ +++ b/chef/cookbooks/provisioner/libraries/repositories.rb
17
+ @@ -48,7 +48,7 @@ def inspect_repos(node)
18
+ suse_optional_repos.each do |name|
19
+ repos[name] ||= Mash.new
20
+ next unless repos[name][:url].nil?
21
+ - missing ||= !(File.exists? "#{node[:provisioner][:root]}/repos/#{name}")
22
+ + missing ||= !(File.exists? "#{node[:provisioner][:root]}/repos/#{name}/repodata/repomd.xml")
23
+ end
24
+
25
+ # set an attribute about missing repos so that cookbooks and crowbar
Original file line number Diff line number Diff line change 7
7
patch -d /opt/dell -p1 < barclamp-network-ignore-eth0.patch
8
8
patch -d /opt/dell -p1 < barclamp-provisioner-nfs-export.patch
9
9
patch -d /opt/dell -p1 < barclamp-pacemaker-ignore-target-role-changes.patch
10
+ patch -d /opt/dell -p1 -R < barclamp-provisioner-hae-check.patch
10
11
11
12
# Scrap pointless 45 second tcpdump per interface
12
13
sed -i ' s/45/1/' /opt/dell/chef/cookbooks/ohai/files/default/plugins/crowbar.rb
You can’t perform that action at this time.
0 commit comments