Cdist

From Leo's Notes
Last edited on 21 July 2019, at 23:06.

cdist is a configuration management system for Linux that depends on Python and SSH.

Installation[edit | edit source]

Content here is old. For updated instructions, see: https://www.cdi.st/cdist-install.html

# 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