Add create vm script and foreman config 93/693/5
authorarnaudmorin <arnaud.morin@gmail.com>
Fri, 29 May 2015 13:56:50 +0000 (15:56 +0200)
committerarnaudmorin <arnaud.morin@gmail.com>
Fri, 26 Jun 2015 12:10:20 +0000 (14:10 +0200)
commitbff17c3ed2f7ba8a665a1ff2a0ba89ace4d3a5c9
tree78d34c7cb7dc369fa1b2d0144f3c32cf7a081946
parent5cc4c1455698767349e88022449c0c00d0e61239
Add create vm script and foreman config

Add a script to create a KVM machine and install foreman in it.
This is the beginning of the OpenSteak installation mecanism.
It is very similare as what is done in the Foreman/Quickstack approach
with small differences:
 - Ubuntu as base OS (instead of CentOS)
 - Foreman v1.8 (instead of 1.7.5
 - KVM (libvirt) virtual machine (instead of Vagrant)
 - Only python/bash scripts to manage all the stuff (instead of
   Khaleesi/Ansible/Astaport playbooks)

Change-Id: Ie66b1da4288372927e30163f82f5a0f45e2e73d0
JIRA: BGS-9
Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
40 files changed:
opensteak/ci/build.sh
opensteak/ci/deploy.sh
opensteak/config/common.yaml [new file with mode: 0644]
opensteak/config/infra.yaml [new file with mode: 0644]
opensteak/tools/README.rst [new file with mode: 0644]
opensteak/tools/config.yaml [new file with mode: 0644]
opensteak/tools/create_foreman.py [new file with mode: 0644]
opensteak/tools/files_foreman/id_rsa [new file with mode: 0644]
opensteak/tools/files_foreman/id_rsa.pub [new file with mode: 0644]
opensteak/tools/opensteak/.gitignore [new file with mode: 0644]
opensteak/tools/opensteak/__init__.py [new file with mode: 0644]
opensteak/tools/opensteak/argparser.py [new file with mode: 0644]
opensteak/tools/opensteak/conf.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/.gitignore [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/__init__.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/api.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/architectures.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/compute_resources.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/domains.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/freeip.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/hostgroups.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/hosts.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/item.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/itemHost.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/itemHostsGroup.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/itemOverrideValues.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/itemSmartClassParameter.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/objects.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/operatingsystems.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/puppetClasses.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/smart_proxies.py [new file with mode: 0644]
opensteak/tools/opensteak/foreman_objects/subnets.py [new file with mode: 0644]
opensteak/tools/opensteak/printer.py [new file with mode: 0644]
opensteak/tools/opensteak/templateparser.py [new file with mode: 0644]
opensteak/tools/opensteak/virsh.py [new file with mode: 0644]
opensteak/tools/templates_foreman/install.sh [new file with mode: 0644]
opensteak/tools/templates_foreman/kvm-config [new file with mode: 0644]
opensteak/tools/templates_foreman/meta-data [new file with mode: 0644]
opensteak/tools/templates_foreman/user-data [new file with mode: 0644]