cdist/lib/types/file/manifest
Nico Schottelius b81b19d126 begin to create first type: file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-18 21:17:20 +01:00

13 lines
204 B
Bash

#!/bin/sh
case "$__arg_type" in
directory)
if [ "$__arg_mode" ]; then
echo mkdir -m \"$__arg_mode\" \"$__arg_path\"
else
echo mkdir \"$__arg_path\"
fi
;;
esac