#!/bin/sh
if [ -d /etc/puppet ]
then
	/usr/sbin/packagemanager puppetReports
	exit 0
fi

if [ -d /var/lib/bcfg2 ]
then
	/usr/sbin/packagemanager bcfg2Clients
	/usr/sbin/bcfg2-reports -a --fields=bad | /usr/sbin/packagemanager bcfg2Reports
fi
