#!/bin/bash

mkdir -p ~/.puppet
RUBYLIB="${PWD}/lib:${PWD}/shared/lib" \
  <%= with_additional_puppet_bin_path %> \
  puppet apply <%= additional_puppet_options %> \
  --confdir=$PWD \
  --modulepath=$PWD/modules:$PWD/shared/modules:$PWD/shared/additional-modules \
  --templatedir=$PWD/shared/templates:$PWD/templates \
  -v $@ \
  manifests/site.pp