ibm:dreport: move IBM specific dump plugins to repository

1) IBM specific plugins from the IBM specific dump recipe will
be moved to ibm.d/plugins.d folder in the repository.

2) IBM specific dump recipe will install the IBM specific dump
plugins from the repository.

4) Recipe changes will be made similar to
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/52752/6/
meta-openpower/recipes-phosphor/dump/phosphor-debug-collector_%2525.bbappend
to copy plugins from repository to /usr/share during install

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I7f4d092d4678cee1c2831b024523057c2fc3474f
diff --git a/tools/dreport.d/ibm.d/plugins.d/pels b/tools/dreport.d/ibm.d/plugins.d/pels
new file mode 100644
index 0000000..fd531f1
--- /dev/null
+++ b/tools/dreport.d/ibm.d/plugins.d/pels
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+# config: 23 20
+#
+# 23 = User dump(2), elog dump(3)
+# 20 = priority
+
+# @brief: Collect the PEL files
+
+# shellcheck disable=SC1091
+. "$DREPORT_INCLUDE"/functions
+
+dir="/var/lib/phosphor-logging/extensions/pels/logs"
+desc="PEL Files"
+if [ -d $dir ]; then
+    add_copy_file "$dir" "$desc"
+fi