# Parameters
BASENAME="`basename $0`"
NODE="$1"
-NODES="$HYDRA_FOLDER/puppet/manifests/nodes.pp"
+NODES="$HYDRA_FOLDER/puppet/manifests/site.pp"
# Check configuration and parameters
if [ -z "$NODE" ]; then
echo "fatal: please configure your domain at $HYDRA_FOLDER/config/domain"
exit 1
elif [ ! -f "$NODES" ]; then
- echo "fatal: nodes.pp not found"
+ echo "fatal: $NODES not found"
exit 1
elif grep -qe "^import \"nodes/$NODE.pp\"$" $NODES &> /dev/null; then
echo "fatal: node $NODE already defined"