Blame SOURCES/sapconf-activate-sap-netwear-tuned-profile.patch

e4ef47
--- a/sapconf	2014-04-17 17:28:04.000000000 +0200
e4ef47
+++ b/sapconf	2014-10-29 11:33:57.555316594 +0100
e4ef47
@@ -16,7 +16,7 @@
e4ef47
 #
e4ef47
 #---------------------------------------------------------------------------
e4ef47
 #
e4ef47
-# requires: tuned with SAP profile
e4ef47
+# requires: tuned-profiles-sap
e4ef47
 #
e4ef47
 # options:
e4ef47
 #   -f <file> : uses the given file instead of /etc/sysconfig/sap (FUTURE USE)
e4ef47
@@ -51,7 +51,7 @@
e4ef47
 # rec_count counts the number of lines of variable array REC[] that contains recommendations to be put at the end of the $LOGFILE
e4ef47
 rec_count=0
e4ef47
 
e4ef47
-TUNED_SAP_PROFILE=sap
e4ef47
+TUNED_SAP_PROFILE=sap-netweaver
e4ef47
 
e4ef47
 #####################################
e4ef47
 #
e4ef47
@@ -89,7 +89,7 @@
e4ef47
 
e4ef47
 # Define required RPMs
e4ef47
 # RPMS contains rpms recommended by SAP Note
e4ef47
-RPMS="@compat-libraries @debugging @directory-client @hardware-monitoring @large-systems @network-file-system-client @perl-runtime @storage-client-multipath @x11 uuidd tuned"
e4ef47
+RPMS="@compat-libraries @debugging @directory-client @hardware-monitoring @large-systems @network-file-system-client @perl-runtime @storage-client-multipath @x11 uuidd tuned-profiles-sap"
e4ef47
 # VIRTRPMS is a variable used by function virtrpms and check_rpms. In virtrpms the rpms that are required by SAP on virtual guests will be set in VIRTRPMS, and installed by check_rpms.  Currently vm-dump-metrics is installed on KVM/RHEV based guests. XEN and VMware are not implemented.
e4ef47
 VIRTRPMS=""
e4ef47
 
e4ef47
@@ -353,7 +353,7 @@
e4ef47
                 fi
e4ef47
 
e4ef47
                 out "Activating tuned '$TUNED_SAP_PROFILE' profile"
e4ef47
-                tuned-adm profile $TUNED_SAP_PROFILE || error "Unable to activate tuned '$TUNED_SAP_RROFILE' profile."  3
e4ef47
+                tuned-adm profile $TUNED_SAP_PROFILE || error "Unable to activate tuned '$TUNED_SAP_PROFILE' profile."  3
e4ef47
         fi # [ $CHECK_ONLY == 0 ]
e4ef47
 fi #[ $ec -eq 0 ]
e4ef47
 }