blob: 7162b07a440a6386ad4ae1e7bec5d30e045c068f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
#
# Setup development environment.
#
# Default provisioner
if [ -x "/vagrant/puppet/bin/provision" ]; then
/vagrant/puppet/bin/provision
elif [ -x "/home/user/code/debian/puppet/bin/provision" ]; then
/home/user/code/debian/puppet/bin/provision
fi
if [ -x "/etc/puppet/bin/deploy" ]; then
/etc/puppet/bin/deploy
fi
# Parameter
PACKAGES="/var/data/distros/debian/packages"
# Required folders
mkdir -p $PACKAGES
|