18 lines
373 B
Bash
18 lines
373 B
Bash
#!/bin/bash
|
|
|
|
#install git
|
|
apt-get install -y git
|
|
#install unzip
|
|
apt-get install -y unzip
|
|
|
|
cd /tmp
|
|
git clone https://github.com/midonet/puppet-midonet_openstack.git
|
|
cd puppet-midonet_openstack
|
|
git fetch
|
|
git checkout stable/mitaka
|
|
puppet module build
|
|
puppet module install $(find . | grep .tar.gz) --ignore-dependencies --force
|
|
|
|
#cleanup
|
|
rm -rf /tmp/puppet-midonet_openstack
|