http://simp.readthedocs.io/en/master/getting_started_guide/Installing_SIMP_From_A_Repository.html
Server
This example covers the installation of a SIMP server on an existing CentOS 6 box. The installation of SIMP may overwrite data you have on the box, so be careful and back up all of your data before starting.
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.
Code Block language bash title Repos $ 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
Code Block language bash title Import 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:Code Block language bash title Add the BinTray repo! # 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!
Code Block language bash title Install SIMP $ sudo yum install simp
Set the following variables to repositories of your choosing in /etc/puppet/environments/production/hieradata/default.yaml
Code Block language ruby title 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"
- simp::yum::os_update_url
- Full URL to a YUM repo for Operating System packages
- simp::yum::simp_update_url
- Full URL to a YUM repo for SIMP packages
- simp::yum::os_update_url
- You will also have to re-enable the repos in
/etc/yum.repos.d/CentOS-Base.repo
aftersimp config
.
Client
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:
...
language | bash |
---|---|
title | Client |
...
Here is a link to the moved page on ReadTheDocs