summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall-pixelated.sh1
-rw-r--r--provisioning/provision.pp1
2 files changed, 2 insertions, 0 deletions
diff --git a/install-pixelated.sh b/install-pixelated.sh
index 60d955d1..9bdb748b 100755
--- a/install-pixelated.sh
+++ b/install-pixelated.sh
@@ -17,6 +17,7 @@
# test dependencies
+set -e
if [ ! $USERNAME ]
then
diff --git a/provisioning/provision.pp b/provisioning/provision.pp
index dc62ddaf..d86646c2 100644
--- a/provisioning/provision.pp
+++ b/provisioning/provision.pp
@@ -48,6 +48,7 @@ class { 'install_pixelated' :
class install_pixelated {
exec { 'install-pixelated':
+ environment => 'USERNAME=vagrant',
command => '/bin/bash /vagrant/install-pixelated.sh',
cwd => '/vagrant',
user => 'vagrant',