From ead0d6daf6766539895ab945ad6ca9fd925da615 Mon Sep 17 00:00:00 2001 From: Brent Bloxam Date: Wed, 28 Mar 2012 12:05:19 -0400 Subject: Probes/group patched to ignore error output from rpm for OS_OUTPUT --- doc/server/plugins/probes/group.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/server/plugins/probes/group.txt b/doc/server/plugins/probes/group.txt index 5c4d6ecb1..03c13db42 100644 --- a/doc/server/plugins/probes/group.txt +++ b/doc/server/plugins/probes/group.txt @@ -52,7 +52,7 @@ Probe used to dynamically set client groups based on OS/distro. # redhat based if [ -x /bin/rpm ]; then OUTPUT="${OUTPUT}\ngroup:rpm" - OS_GROUP=`/bin/rpm -q --qf "%{NAME}" --whatprovides redhat-release | sed 's/-release.*//' | tr '[A-Z]' '[a-z]'` + OS_GROUP=`/bin/rpm -q --qf "%{NAME}" --whatprovides redhat-release | grep -vi 'freeing read locks for locker' | sed 's/-release.*//' | tr '[A-Z]' '[a-z]'` REDHAT_VERSION=`/bin/rpm -q --qf "%{VERSION}" --whatprovides redhat-release` case "$OS_GROUP" in "centos" | "fedora" | "sl") -- cgit v1.2.3-1-g7c22