Cdist

From Leo's Notes
Revision as of 08:05, 4 December 2012 by Leo (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 4 December 2012, at 08:05.

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

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


  1. 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