Cdist

From Leo's Notes
Revision as of 04:45, 15 April 2013 by Leo (talk | contribs)
This page was last edited on 15 April 2013, at 04:45.

We need python 3


yum -y install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel
yum -y install make autoconf g++ gcc-c++ libtermcap-devel libgcc-c++ libtool gcc libpng-devel libjpeg-devel libxml1-devel libxml2-devel curl curl-devel libmcrypt libmcrypt-devel libtool-ltdl-devel libxml2.x86_64 libxml2-devel.x86_64 curl-devel.x86_64 openssl-devel

wget http://www.python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2
tar -xjf Python*
cd Python*
./configure --prefix=/opt/python3
make && make install

wget http://leo.home.steamr.com/support/cdist.tar.gz
tar -xzf cdist.tar.gz
mv cdist /opt
cd /opt/cdist
PATH=$PATH:/opt/cdist/bin

# if man pages are needed
  yum install asciidoc
  ./build man
  export MANPATH=$MANPATH:$(pwd -P)/doc/man
# endif


# You're done. just need to edit manifests and that's it.


if you get "fatal: Not a git repository (or any of the parent directories): .git"

- run `git init` on /opt/cdist