#!/bin/bash
+usage() {
+cat <<EOF
+ $0 [options]
+ --help,-h This help
+ --vps vps_name Name of the vps
+ --password password Password of the vps (only useful in case of no reboot)
+ --reinstall-first Start with reinstalling the vps
+ --host-user user Use another user (default: root)
+ --no-reboot Don't reboot
+ --no-reboot-start Don't reboot to rescue at the beginning
+ --no-reboot-end Don't reboot to normal at the end
+ --git-branch Use another puppet branch (default: master)
+EOF
+}
+
set -e
host_user=root
git_branch="$2"
shift
;;
+ --help|-h)
+ usage
+ exit 0
+ ;;
esac
shift
# GET /order/cart/{cartId}/checkout
# POST /order/cart/{cartId}/checkout
# waiveRetractationPeriod
-
+# Suite à tester :
+# /me/order/{orderId}/availableRegisteredPaymentMean
# /me/paymentMean ? /me/order/{orderId}/debt/pay ?
# Reboot in rescue: