Repository contains Puppet manifests for managing UNICORE services.
Latest versions of Puppet can be installed using Puppet Labs package repository on your RHEL/CentOS version. It is necessary to install puppetlabs-release package first.
-
RHEL/CentOS 7
# rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
-
RHEL/CentOS 6
# rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
-
RHEL/CentOS 5
# rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-5.noarch.rpm
Next, it should be just enough to install puppet package and puppet module vcsrepo (note, that it may be necessary to install also yum system package if missing).
# yum -y install puppet
# puppet module install puppetlabs-vcsrepo
Full puppet installation documentation can be found here.
To setup machine for UNICORE Site it should be enough to run below commands.
# wget --no-check-certificate -O /tmp/init-site.pp https://raw.githubusercontent.com/unicore-life/puppet-manifests/master/manifests/initialization-site.pp
TODO: change wget -> curl
# puppet apply /tmp/init-site.pp
First one downloads initialization manifest and saves it in file /tmp/init-site.pp
.
Second command applies it into the system.
💡 It may be necessary to change RHEL version at the top of initialization script.