Release for 5.0.0
* Tue Jun 11 2019 Chris Tessmer <chris.tessmer@onyxpoint.com> - 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 <lnemsick.simp@gmail.com> - 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 <thesemicolons@protonmail.com> - 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 <tvaughan@onyxpoint.com> - 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.