Skip to content

Instantly share code, notes, and snippets.

@pkilambi
Created January 31, 2014 21:46
Show Gist options
  • Save pkilambi/8743910 to your computer and use it in GitHub Desktop.
Save pkilambi/8743910 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /tmp
wget http://openstack-repo.cisco.com/openstack/APT-GPG-KEY-Cisco
cat APT-GPG-KEY-Cisco|apt-key add -
cat > /etc/apt/sources.list.d/cisco-openstack-mirror_havana.list<<EOF
# cisco-openstack-mirror_havana
deb http://openstack-repo.cisco.com/openstack/cisco havana-proposed main
deb-src http://openstack-repo.cisco.com/openstack/cisco havana-proposed main
EOF
apt-get update
apt-get install puppet -y
cd /usr/share/puppet
mkdir modules
cd modules
git clone -b havana https://github.com/pkilambi/puppet-graphite-1 graphite
cd /root
git clone -b coi-development https://github.com/CiscoSystems/puppet_openstack_builder
cd puppet_openstack_builder
export vendor=cisco
export scenario=all_in_one
sed -i '/graphite/d' modules.list
cd install-scripts
sed -i 's/havana main/havana-proposed main/g' cisco.install.sh
cd /root/puppet_openstack_builder/data/hiera_data/vendor
sed -i "s/pocket: ''/pocket: '-proposed'/" cisco_coi_common.yaml
cd /root/puppet_openstack_builder/install-scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment