2. SIMP 6.0.0-RC1

This release is known to work with:

  • RHEL 6.8 x86_64
  • RHEL 7.3 x86_64
  • CentOS 6.8 x86_64
  • CentOS 7.0 1611 x86_64

2.1. Breaking Changes

Warning

This release of SIMP is NOT backwards compatible with previous releases. Direct updates will not work.

At this point, do not expect any of our code moving forward to work with Puppet 3.

Note

This is the first Release Candidate for SIMP 6

We currently believe that everything is feature complete but it may take a small amount of time for the documentation and support scripts to catch up.

If you find any issues, please file bugs!

Note

If you are working to integrate SIMP into Puppet Enterprise, these are the modules that you need to use since they are Puppet 4 compatible.

2.1.1. RPM Installation

If installing from RPM, you will want to take a look at the latest documentation. The most important thing to be aware of is that there is now something called simp-adapter that must be installed with, or before, the simp RPM.

If you are using Puppet Enterprise, you’ll want to use the simp-adapter-pe RPM instead.

2.1.2. Paths

2.1.2.1. Puppet AIO Paths

The system has been updated to use the Puppet AIO paths. Please see the Puppet Location Reference for full details.

2.1.2.2. SIMP Installation Paths

For better integration with r10k and Puppet Code Manager, SIMP now installs all materials in /usr/share/simp by default.

A script simp_rpm_helper has been added to copy the environment and module data into place at /etc/puppetlabs/code if configured to do so.

On the ISO, this configuration is done by default and will be set to auto-update for all future RPM updates. If you wish to disable this behavior, you should edit the options in /etc/simp/adapter_config.yaml.

Note

Anything that is in a Git or Subversion repository in the simp environment will NOT be overwritten by simp_rpm_helper.

2.1.2.3. SIMP Dynamic Content Paths

To ensure that SIMP dynamic content (ssh keys, generated passwords) are not mixed with Git-managed infrastructure, the SIMP dynamic content has been moved to simp_autofiles at the top level of the environment.

This will be moved down into /var/simp/environments for consistency in the final 6.0.0 release.

2.1.2.4. SIMP Rsync Paths

The SIMP Rsync subsystem now fully supports multiple environments. All environment-relevant materials have been moved to /var/simp/environments/simp/rsync. Please copy the contents of that directory if you create another environment.

2.1.2.5. SIMP Partitioning Scheme

SIMP no longer creates a /srv partition on EL 6 or 7. /var has assumed the role of /srv. The root partition size has been increased from 4GB to 10GB.

2.2. Significant Updates

2.2.1. SSH Access is Behind trusted_nets by Default

Previously, SSH was open to all networks by default. This has been changed to the simp_options::trusted_nets parameter, if available. If it is not available, then it defaults to allowing ALL.

2.2.2. SIMP Scenarios and simp_config_settings.yaml

We have changed the way that SIMP includes classes. There is a new top-level variable, set in manifests/site.pp that controls the list of classes to be included. The goal of this change is to ease users with existing infrastructures into using full-bore SIMP.

Essentially, simp_classes.yaml has been replaced by class inclusions under the simp::scenario namespace and simp_def.yaml has been replaced by simp_config_settings.yaml. However, modifications should not be made to simp_config_settings.yaml. Settings from simp_config_settings.yaml should be changed by either running simp config again or be overwritten in default.yaml.

2.2.3. API Changes

Quite a few modules have had changes that make them incompatible with the Legacy SIMP stack.

We’ve attempted to capture those changes here at a high level so that you know where you are going to need to focus to validate your Hiera data, ENC hooks, and parameterized class calls.

2.2.3.1. Global catalysts and simp_options

SIMP Global catalysts now have a consistent naming scheme and are documented in code in the simp_options module. In particular, we have changed not only the value in hiera, but every module parameter that uses this value’s name from client_nets to simp_options::trusted_nets. Other changes were less obtrusive, for example enable_selinux and other variations are now all called simp_options::selinux. Every Catayst is strongly typed and documented in the module.

New catalysts are as follows:

  • simp_options::auditd
  • simp_options::clamav
  • simp_options::dns::search
  • simp_options::dns::servers
  • simp_options::firewall
  • simp_options::haveged
  • simp_options::ipsec
  • simp_options::kerberos
  • simp_options::ldap
  • simp_options::ldap::base_dn
  • simp_options::ldap::bind_dn
  • simp_options::ldap::bind_hash
  • simp_options::ldap::bind_pw
  • simp_options::ldap::master
  • simp_options::ldap::root_dn
  • simp_options::ldap::sync_dn
  • simp_options::ldap::sync_hash
  • simp_options::ldap::sync_pw
  • simp_options::ldap::uri
  • simp_options::logrotate
  • simp_options::ntpd::servers
  • simp_options::openssl::cipher_suite
  • simp_options::pam
  • simp_options::pki
  • simp_options::pki::source
  • simp_options::puppet::ca
  • simp_options::puppet::ca_port
  • simp_options::puppet::server
  • simp_options::puppet::server_distribution
  • simp_options::selinux
  • simp_options::sssd
  • simp_options::stunnel
  • simp_options::syslog
  • simp_options::syslog::failover_log_servers
  • simp_options::syslog::log_servers
  • simp_options::tcpwrappers
  • simp_options::trusted_nets

2.2.3.2. Strong Parameter Typing

All SIMP provided modules should now be strong typed with Puppet Data Types.

2.2.3.3. De-Verbing of Defines

Many of the defined types have been renamed to no longer be ‘verb-oriented’. The iptables module is probably the widest reaching change where the standard ‘ease-of-use’ aliases have been moved under a listen namespace.

For instance, iptables::tcp_stateful_listen is now iptables::listen::tcp_stateful

Additionally, any add_rule defines were changed to just rule. For example, auditd::add_rule was changed to just auditd::rule.

2.2.3.4. Centralized Management of Application x509 PKI Certs

In the past, application specific PKI certificates were copied into the application space. This varied per application and left certs strewn throughout the system. Now, certificates for all SIMP-managed applications are copied from /etc/pki/simp/x509, into a central location, /etc/pki/simp_apps/<application_name>/x509.

The extent to which SIMP manages PKI is governed by two new catalysts, pki and pki::source. Additionally, every SIMP module which uses pki has been modified to use a common set of pki class parameters. A high-level description is given below, using simp_elasticsearch as an example.

# @param pki
#   * If 'simp', include SIMP's pki module and use pki::copy to manage
#     application certs in /etc/pki/simp_apps/simp_elasticsearch/x509
#   * If true, do *not* include SIMP's pki module, but still use pki::copy
#     to manage certs in /etc/pki/simp_apps/simp_elasticsearch/x509
#   * If false, do not include SIMP's pki module and do not use pki::copy
#     to manage certs.  You will need to appropriately assign a subset of:
#     * app_pki_dir
#     * app_pki_key
#     * app_pki_cert
#     * app_pki_ca
#     * app_pki_ca_dir
#
# @param app_pki_external_source
#   * If pki = 'simp' or true, this is the directory from which certs will be
#     copied, via pki::copy.  Defaults to /etc/pki/simp/x509.
#
#   * If pki = false, this variable has no effect.

2.2.3.5. Keydist

Keydist has been relocated to a second module path to facilitate working with r10k. The new modulepath is located at /var/simp/environments/, and the default location of keydist is now /var/simp/environments/simp/site_files/pki_files/files/keydist/

2.2.3.6. Forked modules

Most forked modules (modules that don’t start with ‘simp’) have been updated to latest upstream.

2.2.4. Puppet AIO

The latest version of the Puppet AIO stack has been included, along with an updated Puppet Server and PuppetDB.

2.2.5. simp-extras

The main simp RPM has been split to move the lesser-used portions of the SIMP infrastructure into a simp-extras RPM. This RPM will grow as more of the non-essential portions are identified and isolated.

The goal of this RPM is to keep the SIMP core version churn to a minimum while allowing the ecosystem around the SIMP core to grow and flourish as time progresses.

2.4. RPM Updates

Package Old Version New Version
puppet-agent N/A 1.8.3-1
puppet-client-tools N/A 1.1.0-1
puppetdb 2.3.8-1 4.3.0-1
puppetdb-termini N/A 4.3.0-1
puppetdb-terminus 2.3.8-1 N/A
puppetserver 1.1.1-1 2.7.2-1

2.5. Removed Modules

2.5.1. pupmod-simp-foreman

  • Removed until Foreman works consistently with Puppet 4

2.5.2. pupmod-simp-ganglia

  • Not yet ported to Puppet 4

2.5.3. pupmod-simp-nscd

  • Functionality replaced by sssd

2.5.4. pupmod-simp-openldap

  • Renamed to simp_openldap to pave the way towards using a more up-to-date implementation of the core openldap component module from the community.

2.5.5. pupmod-simp-snmpd

  • Not yet ported to Puppet 4.

2.5.6. pupmod-simp-windowmanager

  • Rewritten and renamed module to pupmod-simp-gnome

2.5.7. pupmod-simp-xwindows

  • Rewritten and renamed to pupmod-simp-gdm

2.6. Fixed Bugs

2.6.1. pupmod-simp-auditd

  • Ensure that all rules are set to always,exit instead of exit,always
  • Changed the default failure mode to printk since several required audit rules, such as chmod and chown would quickly overrun the auditd buffers on common scenarios, such as updating system packages
  • Fixed an issue where the audisp exec was breaking idempotence. Also, now ensure proper restarting of auditd when audispd is updated

2.6.2. pupmod-simp-gdm

  • Fixed the managed service list

2.6.3. pupmod-simp-gnome

  • Several minor bug fixes and package updates

2.6.4. pupmod-simp-pam

  • Fixed the locations for the authconfig tools and made removal of the tools completely optional

2.6.5. pupmod-simp-pupmod

  • Fixed the cron job unlock code so that it actually work as documented
  • Made it more clear to the user how to disable the force-unlock

2.6.6. pupmod-simp-simp

  • Fixed the removal of the auto-update cron job if disabled

2.6.7. pupmod-simp-simpcat

  • To deconflict with the upstream puppetlabs-concat module, the simpcat functions were renamed to be prefaced by simpcat instead of concat.
  • A simple find and replace of concat_fragment and concat_build in legacy code with simpcat_fragment and simpcat_build should suffice
    • Be sure to check for Concat_fragment and Concat_build resource dependencies!

2.6.8. pupmod-simp-simp_openldap

  • Removed acl from the default log levels since it was causing slapd to hang on EL7 systems

2.6.9. pupmod-simp-ssh

  • Fixed a bug in the ssh::server::conf::subsystem parameter where multiple word strings would be truncated to the first word only
  • Updated the UsePrivilegeSeparation option on EL7 to be sandbox
  • Defaulted ssh::server::conf::pam to true
  • Changed default value of allowed remote hosts to ALL to prevent lockouts
    • If simp_options::trusted_nets is set, it will be used instead

2.7. New Features

2.7.1. pupmod-simp-at

  • New module for controlling the at subsystem

2.7.2. pupmod-simp-logstash

  • Added native TLS support and removed the requirement for Stunnel or IPTables redirects

2.7.3. pupmod-simp-iptables

  • Added method to open ports through hiera.

2.7.4. pupmod-simp-pam

  • Generic, custom content can be specified to replace templated content by using the $use_templates parameter.
  • pam::access:rule resources can be added through hiera using the $pam::access::users hash.

2.7.5. pupmod-simp-pupmod

  • Added explicit support for Puppet Enterprise systems
  • Restrict auditing of puppet-related files to the Puppet Server

2.7.6. pupmod-simp-simp

  • Moved the runpuppet code into its own class
  • Added SIMP ‘scenarios’ which are common configurations for SIMP systems
    • simp -> Full SIMP, recommended
    • simp_lite -> SIMP without the scary stuff
    • poss -> Just connect Puppet on the client to the server
  • Updated the GPG keys in the YUM repo lists

2.7.7. pupmod-simp-simplib

  • Removed all manifests and Puppet code from this module. It now only contains functions and custom type aliases.
  • List of modules that were created or forked after removing content from simplib:
    • pupmod-simp-at
    • pupmod-simp-chkrootkit
    • pupmod-simp-useradd
    • pupmod-simp-swap
    • pupmod-simp-cron
    • pupmod-simp-resolv
    • pupmod-simp-issue
    • pupmod-simp-fips
    • puppetlabs-motd
    • trlinkin-nsswitch
    • camptocamp-kmod
    • puppetlabs-motd
    • saz-timezone
  • The rest of the content was added to our profile module, simp-simp

2.7.8. pupmod-simp-simp_rsyslog

  • Added a warning if possible log looping is detected

2.7.9. pupmod-simp-sudo

  • Added method to create user_specification resources through hiera

2.7.10. rubygem-simp_cli

  • Completely updated simp config and simp bootstrap