Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. 
  1. 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
    languagebash
    titleRepos
    $ sudo yum install epel-release -y
    $ sudo curl http://people.redhat.com/bkabrda/scl_ruby193.repo > /etc/yum.repos.d/scl_ruby193.repo
  2. Import the SIMP GPGKEY

    Code Block
    languagebash
    titleImport SIMP GPGKEY
    $ curl https://raw.githubusercontent.com/NationalSecurityAgency/SIMP/master/GPGKEYS/RPM-GPG-KEY-SIMP | gpg --import -
  3. Add the SIMP repo by adding a new file in /etc/yum.repos.d/SIMP.repo containing the following:

    Code Block
    languagebash
    titleAdd 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
  4. Install SIMP!

    Code Block
    languagebash
    titleInstall SIMP
    $ sudo yum install simp
  5. Set the following variables to repositories of your choosing in /etc/puppet/environments/production/hieradata/default.yaml

    Code Block
    languageruby
    titledefault.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
  6. You will also have to re-enable the repos in /etc/yum.repos.d/CentOS-Base.repo after simp 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:

...

languagebash
titleClient

...

Here is a link to the moved page on ReadTheDocs
If you have questions, please try the Forum.