Skip to content

Releases: simp/pupmod-simp-simplib

Release of 4.3.0

22 Jul 15:16
4d7c0cf
Compare
Choose a tag to compare
* Thu Jun 18 2020 Trevor Vaughan <tvaughan@onyxpoint.com> - 4.3.0-0
  - Added additional helper capabilities
    - simplib::safe_filename() => Replace unsafe characters with safe ones in
      filename strings
    - Simplib::Systemd::ServiceName => Data type for safe service name strings

Release of 4.2.1

09 Jun 19:54
4.2.1
0d08f54
Compare
Choose a tag to compare
* Tue Apr 07 2020 Trevor Vaughan <tvaughan@onyxpoint.com> - 4.2.1-0
  - Fix an issue in the simplib__sshd_config fact that would cause the daemon to
    start on an EL6 system that did not already have it running

Release of 4.2.0

09 Mar 13:05
4.2.0
60a29b4
Compare
Choose a tag to compare
* Fri Mar 06 2020 Trevor Vaughan <tvaughan@onyxpoint.com> - 4.2.0-0
  - Namespace the `simplib__firewalls` fact so that it does not trigger on Windows
    systems
  - Change simp-libkv to simp-simpkv
    - SIMPkv support is still **EXPERIMENTAL**

Release of 4.1.0

26 Feb 18:45
4.1.0
Compare
Choose a tag to compare
* Add EL8 support

Release of 4.0.1

05 Dec 15:18
4.0.1
Compare
Choose a tag to compare
simplib::ip::family_hash changes
  * Allow hostnames in input parameter
  * Properly process 'unknown' entries
  * Do not add brackets to IPv6 addresses

Release of 4.0.0

26 Nov 21:22
4.0.0
Compare
Choose a tag to compare
* Tue Nov 05 2019 Trevor Vaughan <tvaughan@onyxpoint.com> - 4.0.0-0
- Add `simplib::ip::family_hash` function that takes an IP address or Array of
  IP addresses and returns a Hash with the addresses broken down by family with
  additional helpful metadata

* Fri Oct 04 2019 Liz Nemsick <lnemsick.simp@gmail.com> - 4.0.0-0
- Updated `simplib::passgen` to run in legacy mode or in a libkv mode.
  - libkv mode is **EXPERIMENTAL**.
  - When in libkv mode, `simplib:passgen` uses libkv for password persistence.
  - libkv mode is enabled by setting `simplib::passgen::libkv` to `true`
    in hieradata.
  - If you enable libkv mode in a system that already has passwords generated
    via the legacy code, currently, **all passwords will be regenerated**.
  - Added `libkv_options` parameter to `simplib::passgen` for use in libkv mode.
  - Added `gen_timeout_seconds` password option.  Previously this was hardcoded
    to 30 seconds.
  - Enhanced `simplib::passgen` operation when in libkv mode
    - Stores 'complexity' and 'complex_only' setting in the password's libkv
      metadata, so that the password can be regenerated with the same
      characteristics.
    - Regenerates the password if the requested 'complexity' or 'complex_only'
      setting differs from the setting used for the latest persisted password.
    - Stores up to the lastest 10 <password,salt> pairs in the password's libkv
      metadata.
- Added functions to support maintenance of passwords generated by
  `simplib::passgen`.  All functions work in both legacy or libkv mode.
  * `simplib::passgen::gen_password_and_salt`
  * `simplib::passgen::gen_salt`
  * `simplib::passgen::set`
  * `simplib::passgen::get`,
  * `simplib::passgen::list`
  * `simplib::passgen::remove`
- Added simp-libkv as a module dependency.
- Updated `simplib::gen_random_password` to intersperse special characters
  among the alpha-numeric characters, when complexity is 1 or 2 and
  complex_only is false. Previously, this function grouped the all alpha-
  numeric characters together and grouped all special characters together.

* Wed Oct 02 2019 Jeanne Greulich <jeannegreulich@onyxpoint.com> - 4.0.0-0
- Update passgen function to  set permissions on files to user
  running the catalog compile.  This will allow bolt to set perms correctly.

* Mon Sep 23 2019 Trevor Vaughan <tvaughan@onyxpoint.com> - 4.0.0-0
- Added a `simplib__firewalls` fact to list discovered firewall tools.
- Added RHEL 8 support
- Realigned supported OS listing
- Added 'blacklist' functionality to deliberately fail on an OS that's listed
  in the metadata.json but not necessarily supported by all parts of the given
  module.
- Add new, more flexible, functions for delving into the module metadata
  - simplib::module_metadata::os_blacklisted => Determine if the passed
    module metadata indicates that the current OS has been blacklisted
  - simplib::module_metadata::os_supported => Determine if the passed
    module metadata indicates that the current OS is supported
  - simplib::module_metadata::assert => Adds an assertion based on
    whether the OS is supported or blacklisted
  - simplib::caller => A useful function for determining what called a
    function

* Wed Aug 28 2019 Jeanne Greulich <jeanne.greulich@oyxpoint.com> - 4.0.0-0
- Added support for Puppet 6
- Removed the following deprecated Puppet 3 API functions in order to support
  Puppet 6:
  - array_include
  - array_size
  - array_union
  - bracketize
  - generate_reboot_msg
  - get_ports
  - h2n
  - host_is_me
  - inspect
  - ip_is_me
  - ip_to_cron
  - ipaddresses
  - join_mount_opts
  - localuser
  - mapval
  - nets2cidr
  - nets2ddq
  - parse_hosts
  - passgen
  - rand_cron
  - simp_version
  - simplib_deprecation
  - slice_array
  - strip_ports
  - to_integer
  - to_string
  - validate_array_member
  - validate_array_of_hashes
  - validate_between
  - validate_bool_simp
  - validate_deep_hash
  - validate_float
  - validate_macaddress
  - validate_net_list
  - validate_port
  - validate_re_array
  - validate_sysctl_value
  - validate_umask
  - validate_uri_list
- See the SIMP 6.4.0 Changelog for more detailed information on replacements
  for the removed Puppet 3 API functions.

Release of 3.15.3

01 Aug 19:25
Compare
Choose a tag to compare
* Fri Jun 28 2019 Jeanne Greulich <jeanne.greulich@onyxpoint.com> - 3.15.3-0
  - Allow users to disable deprecation warnings using SIMPLIB_NOLOG_DEPRECATIONS
    environment variable

Release of 3.15.2

11 Jun 14:38
Compare
Choose a tag to compare
* Fri May 31 2019 Liz Nemsick <lnemsick.simp@gmail.com> - 3.15.2-0
  - Remove Puppet 4 support, as Puppet has removed the Puppet 4 RPMs from
    their yum repos.

* Tue May 21 2019 Trevor Vaughan <tvaughan@onyxpoint.com> - 3.15.2-0
  - Defer to the inbuilt 'fips_enabled' fact if it exists.

Release of 3.15.1

10 May 20:46
Compare
Choose a tag to compare
* Thu May 09 2019 Jeanne Greulich <jeanne.greulich@onyxpoint.com> - 3.15.1-0
  - Updated simp_version function to use Puppet::Util::Execution.execute
    instead of backtics.  This avoids a GLIBC error triggered by JRuby 9K when
    backtics, system or %x are used.

Release of 3.15.0

02 May 13:47
Compare
Choose a tag to compare
* Fri Apr 12 2019 Michael Morrone <michael.morrone@onyxpoint.com> - 3.15.0-0
  - Added `simplib__sshd_config` fact to check the contents of sshd_config file

* Fri Apr 05 2019 Joseph Sharkey <shark.bruhaha@gmail.com> - 3.15.0-0
  - Re-enable simplib deprecation warnings by default

* Mon Apr 01 2019 Trevor Vaughan <tvaughan@onyxpoint.com> - 3.15.0-0
  - Added a 'simplib_networkmanager' fact to provide useful information about the
    state of NetworkManager components.

* Fri Mar 29 2019 Joseph Sharkey <shark.bruhaha@gmail.com> - 3.15.0-0
  - Fixed a bug in simplib::nets2ddq where it would incorrectly try to
    expand an IPv6 CIDR.  It now passes IPv6 addresses through untouched.
  - Converted bracketize Puppet 3 function to simplib::bracketize Puppet 4
    function and emit a simplib deprecation warning when bracketize is
    called.
  - Added capability for simplib::bracketize to accept a string
    delimited by: comma, space, and/or semi-colon

* Thu Mar 21 2019 Liz Nemsick <lnemsick.simp@gmail.com> - 3.15.0-0
  - Deprecated simplib Puppet 3 functions for which corresponding,
    though not identically behaving, Puppet builtins or stdlib
    functions exist.  The functions will be removed in a future
    release, unless SIMP receives requests from users to convert
    them to namespaced Puppet 4.x functions.
    - array_include() can often be replaced with stdlib member()
    - array_size() can often be replaced with the Puppet builtin length()
    - slice_array() can often be replace with the Puppet builtin slice()
  - Deprecated Puppet 3 functions that are not used by any SIMP
    modules.  The functions will be removed in a future release,
    unless SIMP receives requests from users to convert them to
    namespaced Puppet 4.x functions.
    - array_union
    - generate_reboot_msg
    - get_ports
    - h2n
    - ip_is_me
    - localuser
    - mapval
    - validate_array_of_hashes
    - validate_float
  - Convert a subset of Puppet 3 functions to Puppet 4 and emit a
    simplib deprecation warning when the Puppet 3 versions are called:
    - simplib::simp_version() replaces deprecated simp_version().
    - simplib::host_is_me() replaces deprecated host_is_me().
  - Remove Puppet 3 validate_integer function that conflicts with the
    same-named Puppet 3 function provided by puppetlab-stdlib.
    - Has no impact on uses of `validate_integer` (hence a bug fix not a major
      version change).
    - Eliminates 'Illegal method definition' errors caused by the conflict,
      when using Puppet 6.

* Tue Mar 19 2019 Chris Tessmer <chris.tessmer@onyxpoint.com> - 3.15.0-0
  - Removed simplib's `deep_merge()` 3.x function that conflicts with stdlib's
    fully-equivalent `deep_merge()` function.
    - Has no impact on uses of `deep_merge` (hence a bug fix not a major version
      change).
    - Eliminates 'Illegal method definition' errors caused by the conflict,
      when using Puppet 6.