add a hint about unsupported os

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remotes/origin/3.0
Nico Schottelius 11 years ago
parent e3464bef1b
commit 23f85118f5
  1. 4
      cdist/conf/type/__locale/man.text
  2. 7
      cdist/conf/type/__locale/manifest

@ -16,7 +16,7 @@ This cdist type allows you to setup locales.
OPTIONAL PARAMETERS
-------------------
state::
'present' or 'absent'
'present' or 'absent', defaults to present
EXAMPLES
@ -43,5 +43,5 @@ SEE ALSO
COPYING
-------
Copyright \(C) 2013 Nico Schottelius. Free use of this software is
Copyright \(C) 2013-2014 Nico Schottelius. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).

@ -1,6 +1,6 @@
#!/bin/sh
#
# 2013 Nico Schottelius (nico-cdist at schottelius.org)
# 2013-2014 Nico Schottelius (nico-cdist at schottelius.org)
#
# This file is part of cdist.
#
@ -29,4 +29,9 @@ case "$os" in
# Debian needs a seperate package
__package locales --state present
;;
*)
echo "Sorry, do not know how to handle os: $os" >&2
echo "Please edit the type ${__type##*/} to fix this." >&2
exit 1
;;
esac

Loading…
Cancel
Save