diff --git a/bin/cdist-config b/bin/cdist-config index 3a57e56e..c4139642 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -158,6 +158,7 @@ __cdist_object_arg() cat "${__cdist_object_base_dir}/${object}/${arg}" } +# Find objects, remove ./ and /MARKER __cdist_object_list() { local basedir="$1"; shift @@ -167,7 +168,7 @@ __cdist_object_list() cd "${basedir}" find . -name "$__cdist_name_object_source" | \ - sed -e "s;$__cdist_name_object_source\$;;" -e 's;^./;;' + sed -e 's;^./;;' -e "s;/$__cdist_name_object_source\$;;" ) } diff --git a/conf/types/__file/manifest b/conf/types/__file/manifest deleted file mode 100755 index 1e465edc..00000000 --- a/conf/types/__file/manifest +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# -# 2011 Nico Schottelius (nico-cdist at schottelius.org) -# -# This file is part of cdist. -# -# cdist is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# cdist is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with cdist. If not, see . -# -# - -# Nothing to do, no dependencies on other types - -exit 0 diff --git a/doc/dev/logs/2011-02-22 b/doc/dev/logs/2011-02-22 new file mode 100644 index 00000000..186b26c4 --- /dev/null +++ b/doc/dev/logs/2011-02-22 @@ -0,0 +1,7 @@ +Inherit / subshell: + +# + +Shell parameters that are set by variable assignment (see the set special built-in) or from the System Interfaces volume of IEEE Std 1003.1-2001 environment inherited by the shell when it begins (see the export special built-in) + +http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_12