<commit_before># Google Compute Engine kickstart config for RedHat 7 Enterprise Linux for SAP.
%post --erroronfail
set -x
exec &> /dev/ttyS0
# Install Google RHUI client for SAP.
yum -y install google-rhui-client-rhel7-sap

# Configure SAP HANA packages.
SAP_PKGS="
compat-sap-c++-5
compat-sap-c++-6
compat-sap-c++-7
libtool-ltdl
lvm2
numactl
numactl-libs
nfs-utils
pacemaker
pcs
resource-agents
resource-agents-sap
resource-agents-sap-hana
sapconf
tuned-profiles-sap
tuned-profiles-sap-hana
unar
"

yum install -y ${SAP_PKGS}
# Because RHEL for SAP versions before 7.6 do not have these agents,
# we accept failures.
yum install -y fence-agents-gce resource-agents-gcp || return 0
%end<commit_msg>Fix return statement in RHEL 7 SAP build. (#1321)<commit_after># Google Compute Engine kickstart config for RedHat 7 Enterprise Linux for SAP.
%post --erroronfail
set -x
exec &> /dev/ttyS0
# Install Google RHUI client for SAP.
yum -y install google-rhui-client-rhel7-sap

# Configure SAP HANA packages.
SAP_PKGS="
compat-sap-c++-5
compat-sap-c++-6
compat-sap-c++-7
libtool-ltdl
lvm2
numactl
numactl-libs
nfs-utils
pacemaker
pcs
resource-agents
resource-agents-sap
resource-agents-sap-hana
sapconf
tuned-profiles-sap
tuned-profiles-sap-hana
unar
"

yum install -y ${SAP_PKGS}
# Because RHEL for SAP versions before 7.6 do not have these agents,
# we accept failures.
yum install -y fence-agents-gce resource-agents-gcp || :
%end
{'fraction_non_alphanumeric': 0.1031578947368421, 'fraction_numerical': 0.016842105263157894, 'mean_word_length': 4.301115241635688, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2406535', 'n_tokens_mistral': 574, 'n_tokens_neox': 545, 'n_words': 161}