#!/bin/sh
set -e
mkdir -p /run/puppet /var/lib/puppet
chown -R puppet:puppet /var/lib/puppet
exec puppet master --no-daemonize