diff options
Diffstat (limited to 'run')
-rwxr-xr-x | run | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -1,26 +0,0 @@ -#!/bin/bash - -# Needed on ubuntu, since this path is not set for root -# Arch installs puppet in /usr/bin/puppet. -export PATH="/opt/puppetlabs/bin/:$PATH" - -osid=$(awk -F= '/^ID=/ { print $2 }' /etc/os-release) - -# This is the WRONG way to do it, but it sholud work for now -case $osid in - ubuntu) - modpath=/etc/puppetlabs/code/environments/production/modules - ;; - arch) - modpath=/etc/puppetlabs/code/modules/ - ;; -esac - -set -x - -sudo env PATH="/opt/puppetlabs/bin/:$PATH" \ - puppet apply \ - --modulepath="$PWD/modules:${modpath}" \ - manifests \ - --verbose \ - "$@" |