documentation pointers

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-11-15 14:02:17 +01:00
parent 7550f4de3e
commit b512a76db9
2 changed files with 36 additions and 30 deletions

View File

@ -0,0 +1,5 @@
* [Latest documentation](man/latest)
* [All versions](man)
[[!tag cdist unix]]

View File

@ -1,3 +1,4 @@
[[!meta title="How to install cdist"]]
[[!toc levels=3]]
## Requirements
@ -7,7 +8,7 @@
This is the machine you use to configure the target hosts.
* /bin/sh: A posix like shell (for instance bash, dash, zsh)
* Python (>= 3.2 required)
* Python >= 3.2
* SSH client
* Asciidoc (for building the manpages)
@ -16,10 +17,14 @@ This is the machine you use to configure the target hosts.
* /bin/sh: A posix like shell (for instance bash, dash, zsh)
* SSH server
## Python Installation
## Requirement Installation: Python >= 3.2
Ensure you have Python 3.2 installed on the machine you use to **deploy to the targets**
(the ***source host***).
Ensure you have at least Python 3.2 or newer installed on
the **source host**.
You can check this by running **python -V**:
% python -V
Python 3.3.0
### Archlinux
@ -32,7 +37,7 @@ You can install it using
See the "From source" section
#### Debian
### Debian
For Debian **wheezy** or newer:
@ -97,9 +102,13 @@ You can choose between Homebrew and Macports, either way works:
port install python32
ln -s /opt/local/bin/python3.2 /opt/local/bin/python3
### Redhat
See the "From source" section
### From Source
For those operating systems not yet support Python 3.2:
For those operating systems not yet supporting Python 3.2:
pyversion=3.2.3
wget http://www.python.org/ftp/python/$pyversion/Python-${pyversion}.tar.bz2
@ -109,43 +118,35 @@ For those operating systems not yet support Python 3.2:
make
sudo make install
This installs python 3.2 to /usr/local/bin. Ensure this directory is in
your PATH environment variable.
This installs python 3.2 to /usr/local/bin.
Ensure this directory is in your PATH environment variable.
## Install cdist
You can clone cdist from git, which gives you the advantage of having
a version control in place for development of your own stuff as well.
You can install cdist either from git or as a python package.
### From git
Cloning cdist from git gives you the advantage of having
a version control in place for development of your own stuff
immediately.
To install cdist, execute the following commands:
git clone git://git.schottelius.org/cdist
cd cdist
export PATH=$PATH:$(pwd -P)/bin
# If you want the manpages
If you want to build and use the manpages, run:
./build man
export MANPATH=$MANPATH:$(pwd -P)/doc/man
#### Available versions in git
### Available versions
There are at least the following branches available:
* Development: master
* 2.0: Current stable branch
* 2.1: Currently experimental - the next stable branch
Old versions:
* 1.7: Bugfixes, cleanups, new type and explorer rename
* 1.6: New types, cleaned up \_\_package* types, internal cleanup
* 1.5: Focus on object orientation instead of global stage orientation
* 1.4: Support for redefiniton of objects (if equal)
* 1.3: Support for local and remote code execution (current stable)
* 1.2: Dependencies supported
* 1.1: \_\_file to \_\_file, \_\_directory, \_\_link migration
* 1.0: First official release
* The active development takes place in the **master** branch
* The current stable version can be found in the **2.0** branch
* The upcoming stable version can be found in the **2.1** branch
Other branches may be available for features or bugfixes, but they
may vanish at any point. To select a specific branch use