GitXplorerGitXplorer
w

provis

public
6 stars
2 forks
3 issues

Commits

List of commits on branch master.
Unverified
c8ada8eed0474a082578706009dec6f9200a0227

Merge: Makefile, README.rst, formulas/users-formula, scripts/bootstrap-salt.sh

wwesturner committed 9 years ago
Unverified
2d1a9c5098d97d2d32a7c317ac002b8f0757f328

BLD,REF: .gitmodules,salt/formulas->formulas/: add git submodules for [tracked] repos

wwesturner committed 9 years ago
Unverified
551507a34521f5f7931275ef24b7b20fe9e4b682

ENH: scripts/git-repo-to-submodule.sh:

wwesturner committed 9 years ago
Unverified
663e44630ea9ebe078b51c3f8edb700447ca4944

Merge pull request #5 from westurner/develop

wwesturner committed 9 years ago
Unverified
89520130e6082423453a7280f041bbc15ce7ce12

DOC: README.rst: linkify source URI

wwesturner committed 9 years ago
Unverified
06bcb98582273dd2b1b966cdb09190b6bf85c418

DOC: README.rst: literal block link attribute syntax

wwesturner committed 9 years ago

README

The README file for this repository.

=============================== README

.. .. image:: https://badge.fury.io/py/provis.png .. :target: http://badge.fury.io/py/provis

.. .. image:: https://travis-ci.org/westurner/provis.png?branch=master .. :target: https://travis-ci.org/westurner/provis

.. .. image:: https://pypip.in/d/provis/badge.png .. :target: https://crate.io/packages/provis?version=latest

| Docs: https://provis.readthedocs.org/en/latest/ | Source: git https://github.com/westurner/provis | Source: git <ssh://git@github.com/westurner/provis>__ | Issues: https://github.com/westurner/provis/issues

Provis

Infrastructure Provisioning Scripts and Configuration Sets

A Python package_ with a few tests, system bootstrap scripts, and a Makefile for building and configuring cloud servers with a number of helpful tools_:

  • Ubuntu Linux
  • Packer (Go)
  • Vagrant (Ruby)
  • Salt (Python)

.. _A Python package: http://provis.readthedocs.org/en/latest/products.html#provis-package .. _tools: http://provis.readthedocs.org/en/latest/tools.html

.. .. include:: goals.rst

.. contents::

Installation

  • Install build requirements_
  • Install the Provis Package_

Install the Provis Package

Clone and install the package from source::

pip install -e ssh://git@github.com/westurner/provis#egg=provis

Or, clone the repository and manually install::

## clone
git clone ssh://git@github.com/westurner/provis
git clone https://github.com/westurner/provis

cd ./provis

## install
python setup.py develop  # creates a provis.egg-link in site-packages
python setup.py install  # copies the binary dist to site-packages

Install Python requirements::

cd ./provis
pip install -r requirements.txt

.. _virtualenv: http://www.virtualenv.org/en/latest/ .. _virtualenvwrapper: http://virtualenvwrapper.readthedocs.org/en/latest/

Install Build Requirements

Ubuntu 12.04 LTS


Install make, build requirements:

   apt-get install make python pip

* Install `make`_::

   apt-get install make

* Install `pip`_::

   apt-get install pip
   pip install --upgrade pip

* Install `virtualenv`_ and `virtualenvwrapper`_ (optional)::

   pip install virtualenv virtualenvwrapper

  Create a `virtualenv`_ with `virtualenvwrapper`_ (optional)::

   mkvirtualenv provis
   workon provis


Usage
=======

Tests
--------
Run the Provis Python package tests with the current environment::


   ## Check localhost
   python runtests.py  # python setup.py test

   ## Check reference set
   python runtests.py tests/provis_tests.py

Run the Provis Python package tests with tox and many environments::

   tox


Makefile
----------
Install ``make`` (if it is not already installed)::

   sudo apt-get install make

List ``Makefile`` command descriptions::

   make help
   make 

::

   #cd ./provis
   ls -al

::

   $EDITOR Makefile


Run ``make`` with the `Makefile`_::


   cd ./provis
   make
   make help
   make setup


License
=========

* Free software: `BSD license <#license>`_

.. include:: ./LICENSE