From 1a4fd4854ca8094dbfb890211cfef1c92b5681bc Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 21 Mar 2011 09:30:42 +0100 Subject: [PATCH] __motd now supports --source as well Signed-off-by: Nico Schottelius --- conf/type/__motd/manifest | 2 +- conf/type/__motd/parameter/optional | 1 + doc/changelog | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 conf/type/__motd/parameter/optional diff --git a/conf/type/__motd/manifest b/conf/type/__motd/manifest index 4716f530..286d1ff3 100755 --- a/conf/type/__motd/manifest +++ b/conf/type/__motd/manifest @@ -26,7 +26,7 @@ else source="$__type/files/motd" fi -os=$(cat $__global/explorer/os) +os=$(cat "$__global/explorer/os") case "$os" in diff --git a/conf/type/__motd/parameter/optional b/conf/type/__motd/parameter/optional new file mode 100644 index 00000000..5a18cd2f --- /dev/null +++ b/conf/type/__motd/parameter/optional @@ -0,0 +1 @@ +source diff --git a/doc/changelog b/doc/changelog index df18aa43..2c2aec57 100644 --- a/doc/changelog +++ b/doc/changelog @@ -1,3 +1,6 @@ +1.3.2: + * Add --source to __motd + 1.3.1: 2011-03-21 * Document cdist-type-build-emulation * Document cdist-type-emulator