yum install xorg-x11-server-Xvfb
yum install xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi
# from EPEL; 12.3 has exploits, and this is easier
yum install wkhtmltopdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$repos = <<-REPOS | |
yum-config-manager --add-repo=https://rpms.remirepo.net/enterprise/7/remi/x86_64/ # no typo | |
yum-config-manager --save --setopt=rpms.remirepo.net_enterprise_7_remi_x86_64_.installpkgs=composer | |
yum upgrade -y --skip-broken | |
REPOS | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cookbook Name:: ohai | |
# Plugin:: llpd | |
# | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# <[email protected]> wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return John-B Dewey Jr. | |
# | |
# renovated a bit by [email protected], who also enjoys certain beers. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -uBb /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.33/app/services/katello/pulp/repository/yum.rb\~ /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.33/app/services/katello/pulp/repository/yum.rb | |
--- /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.33/app/services/katello/pulp/repository/yum.rb~ 2021-07-06 05:54:49.000000000 -0700 | |
+++ /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.33/app/services/katello/pulp/repository/yum.rb 2021-09-09 13:08:36.456417249 -0700 | |
@@ -152,7 +152,7 @@ | |
def self.distribution_bootable?(distribution) | |
# Not every distribution from Pulp represents a bootable | |
# repo. Determine based on the files in the repo. | |
- distribution["files"].any? do |file| | |
+ [*distribution["files"]].any? do |file| | |
if file.is_a? Hash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fix up ohai for post-centos EL8 | |
%post | |
sed -i~ ' | |
/clearos/s:when /oracle/:when /rocky/, /oracle/: | |
' \ | |
/opt/chef/embedded/lib/ruby/gems/2.*/gems/ohai-*/lib/ohai/plugins/linux/platform.rb | |
%end | |
# easy once you know where to look |
I hereby claim:
- I am bish0polis on github.
- I am bishopolis (https://keybase.io/bishopolis) on keybase.
- I have a public key ASD6_gbOBVERIHh98u96Ry3KutQzTBKBeFPbB1woYeQH-wo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cust-cookbooks/all-datacenter-attributes/attributes/yum-lock.rb b/cust-cookbooks/all-datacenter-attributes/attributes/y\ | |
um-lock.rb | |
new file mode 100644 | |
index 0000000..30ae81a | |
--- /dev/null | |
+++ b/cust-cookbooks/all-datacenter-attributes/attributes/yum-lock.rb | |
@@ -0,0 +1,25 @@ | |
+# | |
+# Cookbook Name:: all-datacenter-attributes |