diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2014-12-23 18:53:35 -0200 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2014-12-23 18:53:35 -0200 |
commit | 4b6f03bf30d50a5930bb6bf897959acd2335a10b (patch) | |
tree | 771bc408a175f543c579e942c5248cd6c58956f0 | |
parent | 479ebf4df7fa5db78e263dd5a7f16a02aa937a46 (diff) |
Added environment that was missing after translation to puppet
-rwxr-xr-x | install-pixelated.sh | 1 | ||||
-rw-r--r-- | provisioning/provision.pp | 1 |
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', |