diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | bin/debian-dev-setup | 6 | ||||
-rw-r--r-- | kvmxfile | 2 |
3 files changed, 6 insertions, 3 deletions
@@ -6,3 +6,4 @@ tmp /recentchanges /www build-area +puppet/modules diff --git a/bin/debian-dev-setup b/bin/debian-dev-setup index 5e56385..7162b07 100755 --- a/bin/debian-dev-setup +++ b/bin/debian-dev-setup @@ -6,10 +6,12 @@ # Default provisioner if [ -x "/vagrant/puppet/bin/provision" ]; then /vagrant/puppet/bin/provision - /vagrant/puppet/bin/deploy elif [ -x "/home/user/code/debian/puppet/bin/provision" ]; then /home/user/code/debian/puppet/bin/provision - /home/user/code/debian/puppet/bin/deploy +fi + +if [ -x "/etc/puppet/bin/deploy" ]; then + /etc/puppet/bin/deploy fi # Parameter @@ -20,7 +20,7 @@ password="$RANDOM" shared_folders="debian:.:/home/$user/code/debian,distros:/var/data/distros:/var/data/distros" # Folder to sync during provisioning in the format "/host/folder /guest/folder". -provision_rsync="$KVMX_BASE/share/provision/ /usr/local/share/kvmx/provision/" +provision_rsync="puppet /etc/puppet/" # Absolute path for a provision script located inside the guest. provision_command="/usr/local/share/kvmx/provision/development && /home/user/code/$VM/bin/debian-dev-setup" |