This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install the dependencies | |
yum groupinstall -y development tools | |
yum install -y curl-devel expat-devel gettext-devel nss openssl-devel perl-devel tar zlib-devel libxml2 libxml2-devel libxslt libxslt-devel | |
yum clean all | |
# install git 2.10.2 | |
curl https://www.kernel.org/pub/software/scm/git/git-2.10.2.tar.gz | tar xz | |
cd git-2.10.2 | |
make prefix=/usr/local | |
make prefix=/usr/local install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum update -y | |
rpm -Uvh https://yum.puppetlabs.com/puppetlabs-release-pc1-el-6.noarch.rpm | |
yum install puppetserver | |
echo 'export PATH=/opt/puppetlabs/puppet/bin/:$PATH' >> /etc/profile | |
source /etc/profile | |
service puppetserver restart | |
chkconfig puppetserver on | |
/opt/puppetlabs/puppet/bin/gem install r10k | |
cd /etc/puppetlabs/puppet |
NewerOlder