#!/bin/sh SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") puppet apply "${SCRIPTPATH}/test.pp"