Skip to content

Releases: simp/rubygem-simp-cli

Release of 5.0.2

01 Aug 19:30
Compare
Choose a tag to compare
* Tue Jul 30 2019 Liz Nemsick <[email protected]> - 5.0.2
  - Flesh out incomplete instructions on how to prevent possible root
    lockout from the SIMP server.
  - Fixed a typo in `simp environment new` built-in help.
  - Fixed errata in `simp environment fix` built-in help.

Release of 5.0.1

12 Jul 18:04
Compare
Choose a tag to compare
* Thu Jul 11 2019 Michael Morrone <[email protected]> - 5.0.1
  - Fixed a bug in which the tftpboot images copied into the rsync space in
    SIMP's secondary environment were not world readable.  This prevented
    clients from PXE booting.

Release for 5.0.0

01 Jul 20:04
Compare
Choose a tag to compare
* Tue Jun 11 2019 Chris Tessmer <[email protected]> - 5.0.0
- Added 'simp environment' command
- Added `simp environment new` subcommand
- Added `simp environment fix` subcommand
- Added `simp puppetfile generate` command
  - `simp puppetfile` command
  - `simp puppetfile generate` sub-command
- Fixed various annoyances that prevented local smoke tests with `bin/simp`
  - Avoid using AIO Puppet with `USE_AIO_PUPPET=no`
  - Load all `simp` commands without `simp config` failing in non-puppetserver
    environments (`simp config` still fails as expected)
- Moved logger to `Simp::Cli::Logging`
- Fixed gem dependency-related warning when `simp` is run on real OSes
  - Updated dependency constraints in gemspec
  - Removed unnecessary ENV wrapper from gemspec
  - Documented changes in README.md

* Fri Jun 07 2019 Liz Nemsick <[email protected]> - 5.0.0
- 'simp' change:
  - Standardized help mechanism to be -h at all levels
    (main, command, subcommand)
  - Added descriptions to top level help command list
- Added 'rsync' and 'git' to the RPM requires list.
- 'simp' change:
  - Fixed bug in which the wrong Facter environment variable was set
- 'simp config' changes:
  - Created a placeholder for where the OmniEnvController from the
    future 'simp environment' command would be used to set up the
    initial SIMP puppet and secondary environments.
  - Mock use of 'simp environment' code to set up the initial SIMP
    puppet and secondary environments.
  - Now require the user to use a new command line option,
    '--force-config', when the user wants to re-configure
    an existing SIMP puppet environment
  - Changed default environment from 'simp' (with corresponding
    'production' link) to 'production'
  - Restricted non-root user to only be able to run in '--dry-run'
    mode.  This was all that the user could actually do, but,
    without enforcement, lead to unexpected failures.
  - Fixed a bug in which the check for Puppet Enterprise was
    incorrect.  This resulted in incorrect puppetserver ports.
  - Reworked questionnaire to allow the user to opt out
    of LDAP all together
  - Removed code that loaded the scenario YAML files
  - Defer most actions until after all information has been
    gathered, instead of running them immediately.
    - When queries are appropriate, ask the user if they want to
      apply the configuration.
    - Group the deferred actions logically, so that the sequence
      of actions makes sense to the user.
  - Improved introductory text and descriptions of a few items
    that have been confusing for users
  - Removed the ability for a non-root user to set the Puppet
    digest algorithm.  This was a bug.
  - In cli::network::interface item, try to recommend an
    interface that has an IPv4 address set.  Also print out the
    list of available interfaces and their corresponding IPv4
    addresses (when set) in the description.
  - In cli::network::hostname item, when `hostname -A` returns
    more than one entry, iterate through all entries to try to
    find one that passes FQDN validation, instead of grabbing
    the first one.
  - Fail when the default, non-interactive value for a data item
    fails validation.
  - Added simp-cli version to the answers file as a YAML entry.
- 'simp bootstrap' changes:
    No longer checks for the 'simp' Puppet and secondary environments (with
    their corresponding 'production' links) and fails if they do not exist.
    Instead, checks for the existence of SIMP Puppet and secondary 'production'
    environments and fails if both are not present.
  - Checks validity of manifests in the 'production' environment,
    not 'simp' environment, as the link that made them
    equivalent is OBE.
  - Fixed a bug in which the check for Puppet Enterprise was
    incorrect.  This would result in Puppet FOSS-specific bootstrap
    operations being executed.
  - Added an additional puppet agent tagged run on the bootstrap port
  - Added more log messages to make bootstrap process more clear

* Wed Apr 03 2019 Jim Anderson <[email protected]> - 5.0.0
- Added message to bootstrap.rb indicating that puppetserver has been
  reconfigured to listen on a specific port. This message will be
  displayed if the port is changed to 8140, or if it remains on 8150.
- Fixed bug in which 'simp config' failed to find the template
  SIMP server host YAML file, puppet.your.domain.yaml, from
  /usr/share simp/environments/simp.  This bug caused subsequent
  'simp config' runs to fail, when the SIMP server hostname had
  changed from the hostname used in the first 'simp config' run.

* Mon Mar 18 2019 Trevor Vaughan <[email protected]> - 5.0.0
- Ensure that a FQDN is used when running `simp config`
- Ensure that a FQDN is set when running `simp bootstrap`
- Fixed a bug where the web-routes.conf file was not being overwritten with a
  pristine copy. This meant that multiple calls to `simp bootstrap` would fail
  due to leftover CA entries in the file. The error provided is not clear and
  has been provided upstream to Puppet, Inc.
- Fixed a typo in an info block that would cause 'simp bootstrap' to fail if it
  had already been successfully run.

Release of 4.4.0

06 Feb 16:36
Compare
Choose a tag to compare
* Tue Jan 15 2019 Liz Nemsick <[email protected]> - 4.4.0
  - Added a `simp bootstrap` option to set the wait time for the
    puppetserver to start during the bootstrap process.

Release of 4.3.2

02 Jan 15:20
4.3.2
Compare
Choose a tag to compare
Fix bad changelog date in RPM spec file

Release of 4.3.1

28 Nov 16:12
Compare
Choose a tag to compare
* Tue Nov 27 2018 Jeanne Greulich <[email protected]> - 4.3.1
  - Added missing dependencies to the rubygem-simp-cli.spec file

Release of 4.3.0

16 Nov 22:11
4.3.0
Compare
Choose a tag to compare
* Tue Oct 12 2018 Chris Tessmer <[email protected]> - 4.3.0
- `simp config` removes the deprecated Puppet setting
`trusted_server_facts`
- Add `:version` to `Simp::Cli::Utils.puppet_info`

* Tue Oct 09 2018 Chris Tessmer <[email protected]> - 4.3.0
- Fixed `simp bootstrap` errors in puppetserver 5+:
  - No longer overwrites `web-routes.conf` (fixes fatal configuration
    error)
  - No longer adds `-XX:MaxPermSize` for Java >= 8 (fixes warnings at
    restart)

* Mon Oct 01 2018 Liz Nemsick <[email protected]> - 4.3.0
- Update 'simp config' to support environment-specific Hiera 5
  configuration provided by SIMP-6.3.0.
  - Assumes a legacy Hiera 3 configuration, when the 'simp'
    environment only contains a 'hieradata' directory.
  - Assumes a Hiera 5 configuration configuration, when the 'simp'
    environment contains both a 'hiera.yaml' file and a 'data/'
    directory.
  - Fails to run otherwise, as neither stock SIMP configuration
    has been found and 'simp config' cannot safely modify
    hieradata.

Release of 4.2.0

18 Jul 19:22
Compare
Choose a tag to compare
* Sun Jul 15 2018 Trevor Vaughan <[email protected]> - 4.2.0
  - Stripped trailing whitespace
  - Adjusted bootstrap to detect PE and avoid operations that are detrimental to
    proper operation
  - Made a few adjustments for overall safety
  - Fixed dependency loading for 'highline/import' by clearing the gem cache

Release of 4.1.0

03 Jul 17:12
Compare
Choose a tag to compare
* Mon Apr 23 2018 Jeanne Greulich <[email protected]> - 4.1.0
  - removed simp_options::selinux references in tests.
  - update setting of grub2 password to use augeausproviders_grub.

* Wed Apr 11 2018 Liz Nemsick <[email protected]> - 4.1.0
  - 'simp config' bug fixes
    - Fixed bug in which '{' and '}' characters in console error messages
      resulted in obscure Ruby parsing failures.
    - Fixed bug in which existing non-local NTP servers configuration
      was not presented to the user as a recommended value for
      simp_options::ntpd::servers.
    - Fixed a bug in simp config in which the grub password could
      be **silently** generated and set when the -f option was used.
      The user would have no way to figuring out the value of the
      grub password in that scenario.
  - 'simp config' enhancements
    - Reworked password entry to act more like traditional Linux password
      changing programs
    - Improved input validation and error handling:
      - Improved password validation. This validation now uses pwscore,
        when available.  cracklib-check is used otherwise.
        **CAUTION**:  Existing passwords may not pass current validation.
      - When interactive operation is permitted, always query the user for
        replacement values for invalid answers provided by file or command
        command line KEY=VALUE input.  Previously, for items that
        'simp config' would normally automatically assign without user
        input, 'simp config' would automatically (and sometimes
        silently), replace the invalid values.  This both hid errors
        and yielded unexpected settings.
      - Verify <password, password hash> pairs provided by file or
        command line KEY=VALUE input are valid.  Previously, a user
        could pre-assign LDAP Bind/Sync passwords that did not match
        their respective password hashes.
      - Log problems with invalid answers provided by file or command
        line KEY=VALUE input when the answer is processed, not when
        it is first read in.  Previously, validation error messages
        were totally disassociated from the values causing the errors.
    - Added an option to disable queries (-D,--disable-queries) whether or
      not an input answers file is being used.  This feature is a
      functioning replacement for the previously removed -ff capability.
    - Deprecated the --non-interactive long name of -f in favor of
      a more accurately-named replacement, --force-defaults.
      --non-interactive will be removed in a future release.
  - 'simp passgen'
    - Fixed bug in which password filenames containing one or more '.'
      characters could not be listed, added, or removed.
    - Added password auto-generation capability to password setting
      operation.
    - Added backup of password salt files, when passwords are backed up.
    - Per security best practices, when a password is updated, now
      removes the salt file corresponding to an old password.
    - Improved password validation. This validation now uses pwscore,
      when available.  cracklib-check is used otherwise.
      **CAUTION**:  Existing passwords may not pass current validation.
  - General updates
    - No longer emit Ruby backtraces for errors for which a backtrace
      provides no additional information.

Release of 4.0.5

27 Mar 21:56
Compare
Choose a tag to compare
* Fri Mar 16 2018 Trevor Vaughan <[email protected]> - 4.0.5
  - Prior to bootstrap, we now ensure that the site.pp and site module
    code is valid so that we don't have confusing delays after waiting for
    multiple failing Puppet runs.
  - Clarified the message when bootstrap is locked
  - Ensured that backtraces are not displayed to the user on known
    bootstrap failure cases

* Mon Mar 12 2018 Liz Nemsick <[email protected]> - 4.0.5
  - Set the ownership and permissions of files generated by simp cli,
    instead of allowing them to be set to those of the root user.
    This is part of the fix to the failure of SIMP to bootstrap on a
    system on which root's umask has already been restricted to 077.

* Thu Feb 08 2018 Liz Nemsick <[email protected]> - 4.0.5
  - Fix bug in which simp config failed to set the GRUB password
    on a CentOS 6 system booted using EFI

* Wed Jan 31 2018 Liz Nemsick <[email protected]> - 4.0.5
  - Clarify confusing svckill::mode description provided by simp config
  - Use modern OS facts in simp config, instead of legacy facts that
    require LSB packages to be installed.