From f0fd3e460812dc7ceb87e2b81de7274d10ef8527 Mon Sep 17 00:00:00 2001
From: Dominique Roux <dominique@roux.li>
Date: Wed, 13 May 2015 12:55:18 +0200
Subject: [PATCH] small bugfixes

---
 cdist/conf/type/__pacman_conf/manifest                     | 2 +-
 cdist/conf/type/__pacman_integrate/files/pacman.conf.cdist | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cdist/conf/type/__pacman_conf/manifest b/cdist/conf/type/__pacman_conf/manifest
index 591218b8..4e48758b 100644
--- a/cdist/conf/type/__pacman_conf/manifest
+++ b/cdist/conf/type/__pacman_conf/manifest
@@ -45,7 +45,7 @@ contains_element() {
     keys="${@:2}"
 
 
-    for key in "${keys}"; do
+    for key in ${keys}; do
         if [ "${key}" == "${target}" ]; then
             MATCH=1
             return 0
diff --git a/cdist/conf/type/__pacman_integrate/files/pacman.conf.cdist b/cdist/conf/type/__pacman_integrate/files/pacman.conf.cdist
index b0d116bc..88e6e623 100644
--- a/cdist/conf/type/__pacman_integrate/files/pacman.conf.cdist
+++ b/cdist/conf/type/__pacman_integrate/files/pacman.conf.cdist
@@ -3,4 +3,4 @@
 #
 Include = /etc/pacman.d/options
 Include = /etc/pacman.d/repo_*
-Include = /etc/plain_file_*
+Include = /etc/pacman.d/plain_file_*