command if [[ ! -d "$TM_NEW_FILE" ]]; then mkdir -p "$TM_NEW_FILE/manifests" mkdir -p "$TM_NEW_FILE/files" mkdir -p "$TM_NEW_FILE/templates" TM_YEAR=`date +%Y` \ TM_DATE=`date +%Y-%m-%d` \ TM_USERNAME=`niutil -readprop / /users/\$USER realname` \ perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \ < init.pp > "$TM_NEW_FILE/manifests/init.pp" fi name module uuid 285328A3-F7E4-4D5C-9175-D5EFD947C787