Removing Vagrant-related stuff, as it is unnecessary/shouldn't be in this repo
This commit is contained in:
113
Vagrantfile
vendored
113
Vagrantfile
vendored
@@ -1,113 +0,0 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
# All Vagrant configuration is done here. The most common configuration
|
||||
# options are documented and commented below. For a complete reference,
|
||||
# please see the online documentation at vagrantup.com.
|
||||
|
||||
# Every Vagrant virtual environment requires a box to build off of.
|
||||
config.vm.box = "precise64"
|
||||
config.vm.provision :shell, :path=>"./vagrant/bootstrap.sh"
|
||||
|
||||
|
||||
# The url from where the 'config.vm.box' box will be fetched if it
|
||||
# doesn't already exist on the user's system.
|
||||
# config.vm.box_url = "http://domain.com/path/to/above.box"
|
||||
|
||||
# Create a forwarded port mapping which allows access to a specific port
|
||||
# within the machine from a port on the host machine. In the example below,
|
||||
# accessing "localhost:8080" will access port 80 on the guest machine.
|
||||
# config.vm.network :forwarded_port, guest: 80, host: 8080
|
||||
|
||||
# Create a private network, which allows host-only access to the machine
|
||||
# using a specific IP.
|
||||
# config.vm.network :private_network, ip: "192.168.33.10"
|
||||
|
||||
# Create a public network, which generally matched to bridged network.
|
||||
# Bridged networks make the machine appear as another physical device on
|
||||
# your network.
|
||||
# config.vm.network :public_network
|
||||
|
||||
# Share an additional folder to the guest VM. The first argument is
|
||||
# the path on the host to the actual folder. The second argument is
|
||||
# the path on the guest to mount the folder. And the optional third
|
||||
# argument is a set of non-required options.
|
||||
# config.vm.synced_folder "../data", "/vagrant_data"
|
||||
|
||||
# Provider-specific configuration so you can fine-tune various
|
||||
# backing providers for Vagrant. These expose provider-specific options.
|
||||
# Example for VirtualBox:
|
||||
#
|
||||
# config.vm.provider :virtualbox do |vb|
|
||||
# # Don't boot with headless mode
|
||||
# vb.gui = true
|
||||
#
|
||||
# # Use VBoxManage to customize the VM. For example to change memory:
|
||||
# vb.customize ["modifyvm", :id, "--memory", "1024"]
|
||||
# end
|
||||
#
|
||||
# View the documentation for the provider you're using for more
|
||||
# information on available options.
|
||||
|
||||
# Enable provisioning with Puppet stand alone. Puppet manifests
|
||||
# are contained in a directory path relative to this Vagrantfile.
|
||||
# You will need to create the manifests directory and a manifest in
|
||||
# the file base.pp in the manifests_path directory.
|
||||
#
|
||||
# An example Puppet manifest to provision the message of the day:
|
||||
#
|
||||
# # group { "puppet":
|
||||
# # ensure => "present",
|
||||
# # }
|
||||
# #
|
||||
# # File { owner => 0, group => 0, mode => 0644 }
|
||||
# #
|
||||
# # file { '/etc/motd':
|
||||
# # content => "Welcome to your Vagrant-built virtual machine!
|
||||
# # Managed by Puppet.\n"
|
||||
# # }
|
||||
#
|
||||
# config.vm.provision :puppet do |puppet|
|
||||
# puppet.manifests_path = "manifests"
|
||||
# puppet.manifest_file = "init.pp"
|
||||
# end
|
||||
|
||||
# Enable provisioning with chef solo, specifying a cookbooks path, roles
|
||||
# path, and data_bags path (all relative to this Vagrantfile), and adding
|
||||
# some recipes and/or roles.
|
||||
#
|
||||
# config.vm.provision :chef_solo do |chef|
|
||||
# chef.cookbooks_path = "../my-recipes/cookbooks"
|
||||
# chef.roles_path = "../my-recipes/roles"
|
||||
# chef.data_bags_path = "../my-recipes/data_bags"
|
||||
# chef.add_recipe "mysql"
|
||||
# chef.add_role "web"
|
||||
#
|
||||
# # You may also specify custom JSON attributes:
|
||||
# chef.json = { :mysql_password => "foo" }
|
||||
# end
|
||||
|
||||
# Enable provisioning with chef server, specifying the chef server URL,
|
||||
# and the path to the validation key (relative to this Vagrantfile).
|
||||
#
|
||||
# The Opscode Platform uses HTTPS. Substitute your organization for
|
||||
# ORGNAME in the URL and validation key.
|
||||
#
|
||||
# If you have your own Chef Server, use the appropriate URL, which may be
|
||||
# HTTP instead of HTTPS depending on your configuration. Also change the
|
||||
# validation key to validation.pem.
|
||||
#
|
||||
# config.vm.provision :chef_client do |chef|
|
||||
# chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"
|
||||
# chef.validation_key_path = "ORGNAME-validator.pem"
|
||||
# end
|
||||
#
|
||||
# If you're using the Opscode platform, your validator client is
|
||||
# ORGNAME-validator, replacing ORGNAME with your organization name.
|
||||
#
|
||||
# If you have your own Chef Server, the default validation client name is
|
||||
# chef-validator, unless you changed the configuration.
|
||||
#
|
||||
# chef.validation_client_name = "ORGNAME-validator"
|
||||
end
|
||||
@@ -1,38 +0,0 @@
|
||||
cp /vagrant/sources.list /etc/apt/sources.list
|
||||
|
||||
rm /boot/grub/grub.cfg
|
||||
|
||||
grub-install --boot-directory=/boot /dev/sda
|
||||
grub-setup -d /boot/grub /dev/sda
|
||||
|
||||
touch /etc/apt/apt.conf.d/00force_old_configs
|
||||
sudo cat >> /etc/apt/apt.conf.d/00force_old_configs <<DELIM
|
||||
DPkg::Options { "--force-confdef"; "--force-confold"; }
|
||||
DELIM
|
||||
|
||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
|
||||
apt-key add -
|
||||
|
||||
apt-key advanced --keyserver pgp.net.nz --recv-keys 621846D9
|
||||
|
||||
aptitude update
|
||||
|
||||
# aptitude -y upgrade
|
||||
aptitude install -y mongodb mongodb-server git python-dev libxslt-dev libxml2-dev libffi-dev screen curl libmysqlclient-dev node-less vim
|
||||
aptitude install -y python-pip
|
||||
|
||||
gem install fpm
|
||||
|
||||
|
||||
|
||||
# apt-get upgrade -y
|
||||
dpkg -i /vagrant/python-netaddr_0.7.10_all.deb
|
||||
dpkg -i /vagrant/python-pyparsing_1.5.7_all.deb
|
||||
dpkg -i /vagrant/python-cmd2_0.6.5.1_all.deb
|
||||
dpkg -i /vagrant/python-requests_1.2.3_all.deb
|
||||
|
||||
easy_install -U distribute
|
||||
|
||||
pip install mysql-python
|
||||
|
||||
# sudo /vagrant/devstack/stack.sh
|
||||
@@ -1,20 +0,0 @@
|
||||
ADMIN_PASSWORD=openstack
|
||||
MYSQL_PASSWORD=openstack
|
||||
RABBIT_PASSWORD=openstack
|
||||
SERVICE_PASSWORD=openstack
|
||||
|
||||
# Enable Quantum
|
||||
disable_service n-net
|
||||
enable_service q-svc
|
||||
enable_service q-agt
|
||||
enable_service q-dhcp
|
||||
enable_service q-l3
|
||||
enable_service q-meta
|
||||
enable_service quantum
|
||||
|
||||
# Enable Swift
|
||||
enable_service swift
|
||||
|
||||
# Enable ceilometer!
|
||||
|
||||
enable_service ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api
|
||||
@@ -1,90 +0,0 @@
|
||||
apt-get -y install language-pack-en aptitude
|
||||
|
||||
|
||||
cat > /etc/apt/sources.list <<DELIM
|
||||
deb http://ubuntu.catalyst.net.nz/ubuntu/ precise main restricted
|
||||
deb-src http://ubuntu.catalyst.net.nz/ubuntu/ precise main restricted
|
||||
|
||||
deb http://ubuntu.catalyst.net.nz/ubuntu/ precise-updates main restricted
|
||||
deb-src http://ubuntu.catalyst.net.nz/ubuntu/ precise-updates main restricted
|
||||
|
||||
deb http://ubuntu.catalyst.net.nz/ubuntu/ precise universe
|
||||
deb-src http://ubuntu.catalyst.net.nz/ubuntu/ precise universe
|
||||
deb http://ubuntu.catalyst.net.nz/ubuntu/ precise-updates universe
|
||||
deb-src http://ubuntu.catalyst.net.nz/ubuntu/ precise-updates universe
|
||||
|
||||
deb http://ubuntu.catalyst.net.nz/ubuntu/ precise multiverse
|
||||
deb-src http://ubuntu.catalyst.net.nz/ubuntu/ precise multiverse
|
||||
deb http://ubuntu.catalyst.net.nz/ubuntu/ precise-updates multiverse
|
||||
deb-src http://ubuntu.catalyst.net.nz/ubuntu/ precise-updates multiverse
|
||||
|
||||
deb http://ubuntu.catalyst.net.nz/ubuntu/ precise-backports main restricted universe multiverse
|
||||
deb-src http://ubuntu.catalyst.net.nz/ubuntu/ precise-backports main restricted universe multiverse
|
||||
|
||||
deb http://security.ubuntu.com/ubuntu precise-security main restricted
|
||||
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
|
||||
deb http://security.ubuntu.com/ubuntu precise-security universe
|
||||
deb-src http://security.ubuntu.com/ubuntu precise-security universe
|
||||
deb http://security.ubuntu.com/ubuntu precise-security multiverse
|
||||
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
|
||||
|
||||
deb http://debian.catalyst.net.nz/catalyst stable catalyst
|
||||
deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main
|
||||
|
||||
DELIM
|
||||
|
||||
|
||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
|
||||
sudo apt-key add -
|
||||
|
||||
# apt-key advanced --keyserver pgp.net.nz --recv-keys 621846D9
|
||||
sudo apt-key add - <<DELIM
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: PGP Key Server 0.9.6
|
||||
|
||||
mQGiBEOjrf4RBACLZuL7qc64U74TAcgzy78h+O6HsgGqwUB/FAQ8Mn7DQJpQdqwL
|
||||
Of04rn/pp1e+gzVSllRz2fjqGWyIfm/9MucVMXbToRLfNQa23/zH0RDnF7aZfmtD
|
||||
/kKs6E6OCz+YLz2aWNqSCx9Wr4ebjQWXEggwUnLigNSF2ZouvalACPTjswCgvmMJ
|
||||
zMrWhg1kW+v8eIpq5gHObLkD/jHgyEdmmh5EGwsQhurdEPUoUY4q/EthC2+ItY0P
|
||||
eGK5AHkMLofVVt/9NsSCCh8aMKTL5nZHaK0aGY2fB8zWPsQ6x7O3zTkta5zy1ZL1
|
||||
6YzKnHN7l96RXY3PTMBB9mFD+3kPVzRxm0X/y9Lzz4UUkATAOpuG9Eiy5HYWsoXp
|
||||
QYgFA/4zbm7AV0e5AMjgazdgi5LHayaJPZSsEoDQSeYwvh32IXscu/zedhy82MWM
|
||||
MDxE99TT/UxFNMagzuI+ps3ZYgiRPpx+8lBkz3LIvxGm+M4Wq4LfKilhSvk0/rpD
|
||||
rjvOOa/1x8J1rNuZPW+Q8VIVrTHF9e9mxignbjsyVMYCYflYI7Q9Q2F0YWx5c3Qg
|
||||
RGViaWFuIFJlcG9zaXRvcnkgKFNpZ25p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wgQ0
|
||||
2uVfp22Q9m0UtjaOA9jCLKD817GJybyW7nqQVzm65ZzQ+qbUSnQPcjJJdDlL4k49
|
||||
QsxYJkImUeW9vQMC72xOiAJohyP1xEvboR8IR3ohPjvfw9d8zBRgLvKw4v8z0maC
|
||||
xvMlBQWvAtAXfRL5kVaRQ8EMBRiIugh/JniKrfjlHEdBwqu5BzCCnCjXiE5gRdk8
|
||||
v/BSQ9W2e6Gmi/kL+Y3hTBFgNdGaITlMyOxUVV3QRpPSfJ/zdR5wuohPBBgRAgAP
|
||||
AhsMBQJFnXZIBQkD+/E5AAoJECyk7iliGEbZqbsAoJ/R0IrLIBaDHR2iolXqjNZ7
|
||||
eaEcAJ9OD9sRuW0jFVzpTrGwyevw29zD8Q==
|
||||
=IwIG
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
DELIM
|
||||
curl http://apt.puppetlabs.com/puppetlabs-release-precise.deb > /tmp/puppet.deb
|
||||
sudo dpkg -i /tmp/puppet.deb
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
apt-get install catalyst-keyring
|
||||
apt-get -y update
|
||||
|
||||
sudo apt-get -y upgrade
|
||||
|
||||
apt-get -q -y -o DPkg::Options::=--force-confold install puppet gdebi
|
||||
apt-get -y install language-pack-en # just to confirm
|
||||
Reference in New Issue
Block a user