back to notes

CFEngine development environement on CentOS7

  • yum install -y patch git epel-release gdb valgrind
  • yum install -y gcc lmdb-devel openssl-devel libxml2-devel pcre-devel pam-devel libtool bison flex fakeroot libyaml-devel libcurl-devel libacl-devel
  • su vagrant -c "cd && git clone https://github.com/cfengine/core.git && cd core \ && git submodule init && git submodule update && ./autogen.sh --prefix=/opt/rudder --with-workdir=/var/rudder/cfengine-community --enable-debug --enable-static=yes --enable-shared=no --without-postgresql --without-mysql --with-libacl --with-lmdb --with-openssl --with-libcurl --with-libyaml --with-libxml2 \ && make -j7"


last updated october 2020