2.9. SIMP 6.0.0-0¶
Contents
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.9.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.
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.9.1.1. Breaking Changes Since RC1¶
Unfortunately, a few items were identified which necessitated additional breaking changes prior to the final release.
These are specifically enumerated here to make sure that they are not missed.
2.9.1.1.1. simp::yum Refactor¶
The simp::yum class was confusing and, as we attempted to install systems
via yum, we found out just how bad it was.
Fundamentally, most installations of SIMP are going to have their own repos at
some unknown location that they want to use. In ISO installations, which we can
detect, there will be a local repo and we can set the parameters accordingly
via simp config.
All of the old parameters have been removed, and to get back to old functionality, all that has to be done is add the following classes to nodes and adjust previous hiera settings to use the new classes:
---
classes:
- 'simp::yum::repo::local_os_updates'
- 'simp::yum::repo::local_simp'
---
2.9.1.2. 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.9.1.3. Paths¶
2.9.1.3.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.9.1.3.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.9.1.3.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.9.1.3.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.9.1.3.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.9.2. Significant Updates¶
2.9.2.1. Root Login via Console¶
Root is no longer allowed to log into clients or the SIMP server by default.
2.9.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.9.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.9.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 Catalyst is strongly typed and documented
in the module.
New catalysts are as follows:
simp_options::auditdsimp_options::clamavsimp_options::dns::searchsimp_options::dns::serverssimp_options::firewallsimp_options::havegedsimp_options::ipsecsimp_options::kerberossimp_options::ldapsimp_options::ldap::base_dnsimp_options::ldap::bind_dnsimp_options::ldap::bind_hashsimp_options::ldap::bind_pwsimp_options::ldap::mastersimp_options::ldap::root_dnsimp_options::ldap::sync_dnsimp_options::ldap::sync_hashsimp_options::ldap::sync_pwsimp_options::ldap::urisimp_options::logrotatesimp_options::ntpd::serverssimp_options::openssl::cipher_suitesimp_options::pamsimp_options::pkisimp_options::pki::sourcesimp_options::puppet::casimp_options::puppet::ca_portsimp_options::puppet::serversimp_options::puppet::server_distributionsimp_options::selinuxsimp_options::sssdsimp_options::stunnelsimp_options::syslogsimp_options::syslog::failover_log_serverssimp_options::syslog::log_serverssimp_options::tcpwrapperssimp_options::trusted_nets
2.9.2.3.2. Strong Parameter Typing¶
All SIMP provided modules should now be strong typed with Puppet Data Types.
2.9.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.9.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.9.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.9.2.3.6. Forked modules¶
Most forked modules (modules that don’t start with ‘simp’) have been updated to latest upstream.
2.9.2.4. Puppet AIO¶
The latest version of the Puppet AIO stack has been included, along with an updated Puppet Server and PuppetDB.
2.9.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.9.4. RPM Updates¶
Package |
Old Version |
New Version |
|---|---|---|
puppet-agent |
N/A |
1.8.3-1 |
puppet-client-tools |
N/A |
1.1.1-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.9.5. Removed Modules¶
2.9.5.1. pupmod-simp-foreman¶
Removed until Foreman works consistently with Puppet 4
2.9.5.2. pupmod-simp-ganglia¶
Not yet ported to Puppet 4
2.9.5.3. pupmod-simp-nscd¶
Functionality replaced by
sssd
2.9.5.4. pupmod-simp-openldap¶
Renamed to
simp_openldapto pave the way towards using a more up-to-date implementation of the core openldap component module from the community.
2.9.5.5. pupmod-simp-snmpd¶
Not yet ported to Puppet 4.
2.9.5.6. pupmod-simp-windowmanager¶
Rewritten and renamed module to
pupmod-simp-gnome
2.9.5.7. pupmod-simp-xwindows¶
Rewritten and renamed to
pupmod-simp-gdm
2.9.6. Fixed Bugs¶
2.9.6.1. pupmod-simp-auditd¶
Ensure that all rules are set to
always,exitinstead ofexit,alwaysChanged the default failure mode to
printksince several required audit rules, such aschmodandchownwould quickly overrun the auditd buffers on common scenarios, such as updating system packagesFixed an issue where the audisp
execwas breaking idempotence. Also, now ensure proper restarting of auditd when audispd is updated
2.9.6.2. pupmod-simp-gdm¶
Updated the managed service list
2.9.6.3. pupmod-simp-gnome¶
Several minor bug fixes and package updates
2.9.6.4. pupmod-simp-pam¶
Fixed the locations for the authconfig tools and made removal of the tools completely optional
2.9.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.9.6.6. pupmod-simp-simp¶
Fixed the removal of the auto-update cron job if disabled
2.9.6.7. pupmod-simp-simpcat¶
To deconflict with the upstream
puppetlabs-concatmodule, thesimpcatfunctions were renamed to be prefaced bysimpcatinstead ofconcat.A simple find and replace of
concat_fragmentandconcat_buildin legacy code withsimpcat_fragmentandsimpcat_buildshould sufficeBe sure to check for
Concat_fragmentandConcat_buildresource dependencies!
2.9.6.8. pupmod-simp-simp_openldap¶
Removed
aclfrom the default log levels since it was causingslapdto hang on EL7 systems
2.9.6.9. pupmod-simp-ssh¶
Fixed a bug in the
ssh::server::conf::subsystemparameter where multiple word strings would be truncated to the first word onlyUpdated the
UsePrivilegeSeparationoption on EL7 to besandboxDefaulted
ssh::server::conf::pamtotrueChanged default value of allowed remote hosts to
ALLto prevent lockoutsIf
simp_options::trusted_netsis set, it will be used instead
2.9.7. New Features¶
2.9.7.1. pupmod-simp-at¶
New module for controlling the
atsubsystem
2.9.7.2. pupmod-simp-logstash¶
Added native TLS support and removed the requirement for Stunnel or IPTables redirects
2.9.7.3. pupmod-simp-iptables¶
Added method to open ports through hiera.
2.9.7.4. pupmod-simp-pam¶
Generic, custom content can be specified to replace templated content by using the
$use_templatesparameter.pam::access:ruleresources can be added through hiera using the$pam::access::usershash.
2.9.7.5. pupmod-simp-pupmod¶
Added explicit support for Puppet Enterprise systems
Restrict auditing of puppet-related files to the Puppet Server
2.9.7.6. pupmod-simp-simp¶
Moved the
runpuppetcode into its own classAdded 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.9.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.9.7.8. pupmod-simp-simp_rsyslog¶
Added a warning if possible log looping is detected
2.9.7.9. pupmod-simp-sudo¶
Added method to create
user_specificationresources through hiera
2.9.7.10. pupmod-simp-svckill¶
The default service killing behavior has been set to ‘warning’. However,
simp cliwill ask for the setting during config.
2.9.7.11. rubygem-simp_cli¶
Completely updated
simp configandsimp bootstrap.simp passgenwas updated to support environments.
2.9.8. Known Bugs¶
A bug is still allowing root to log into client systems on a console even though
/etc/securettyis present and emptyThe
krb5module may have issues in some cases, validation pendingThe graphical
switch userfunctionality does not work. We are working with the vendor to discover a solution