diff --git a/playbook/util/diff-playbook b/playbook/util/diff-playbook
index f2e9c67bae15a55c2bead79d3f4e7cf33ad42040..3469325afe6bf38fb012d2460aa8945f1523cf19 100755
--- a/playbook/util/diff-playbook
+++ b/playbook/util/diff-playbook
@@ -1,3 +1,10 @@
+if [ ! $(which slapcache-download) ] ; then
+  echo "slapcache-download is missing, please install slapcache distribution"
+  exit 1
+fi
+
+set -e
+
 function cleanup {
   rm -fr "$DFILE"
 }