Install all the required repos: You only need the SCL repo for Ruby 1.9.3 if you are using CentOS 6. CentOS 7 comes with Ruby 2.0.
$ sudo yum install epel-release -y $ sudo curl http://people.redhat.com/bkabrda/scl_ruby193.repo > /etc/yum.repos.d/scl_ruby193.repo |
Import the SIMP GPGKEY
$ curl https://raw.githubusercontent.com/NationalSecurityAgency/SIMP/master/GPGKEYS/RPM-GPG-KEY-SIMP | gpg --import - |
Add the SIMP repo by adding a new file in /etc/yum.repos.d/SIMP.repo
containing the following:
# For EL 7 $ sudo wget https://bintray.com/simp/5.1.0-3/rpm -O /etc/yum.repos.d/bintray-simp-5.1.0-3.repo # For EL6 $ sudo wget https://bintray.com/simp/4.2.0-2/rpm -O /etc/yum.repos.d/bintray-simp-4.2.0-2.repo |
Install SIMP!
$ sudo yum install simp |
Set the following variables to repositories of your choosing in /etc/puppet/environments/production/hieradata/default.yaml
--- "simp::yum::os_update_url": "http://mirror.centos.org/centos/$releasever/os/$basearch/" "simp::yum::simp_update_url": "http://dl.bintray.com/simp/5.1.0-3" |
/etc/yum.repos.d/CentOS-Base.repo
after simp config
.SIMP doesn't have a set way to add SIMP Clients. SIMP is a framework and you can add clients as you would a normal puppet client.
You can also download the runpuppet script from your SIMP server:
$ curl http://puppet.server.fqdn/ks/runpuppet > runpuppet $ chmod +x runpuppet $ ./runpuppet |