Releases: StackStorm/puppet-st2
v2.5.0
2.5.0 (Jun 29. 2022)
- Move CentOS -> RockyLinux and Python 3.6 -> 3.8. Contributed by @rush-skills
- Added the ability to manage StackStack metrics giving options for the metric driver, host and port number defined in st2.conf. Contributed by @bishopbm1
- Added nginx web route to get basic nginx metrics. Contributed by @asktheaxis
- Fixed issues with RabbitMQ @bishopbm1
- Fixed and updated all tests @bishopbm1
v2.4.0
2.4.0 (Mar 1, 2022)
-
Update RabbitMQ installer to use latest Erlang from RabbitMQ repos. Contributed by @rush-skills
-
Add support for a specific pack version/tag to be installed. Contributed by @rush-skills
-
Add support for k/v to be set with api_key provided as config. Contributed by @rush-skills
-
Add support for packs to be installed with api_key provided as config instead of using username/password to obtain a token". Contributed by @rush-skills
-
Update
policycoreutils-python
package name in CentOS8+ forst2::profile::selinux
. Contributed by @rush-skills -
Add validate_output_schema flag. Contributed by @rush-skills
-
Add a flag for managing epel repos. Contributed by @rush-skills
-
Rework LDAP kwargs to use docstring and look cleaner. Contributed by @rush-skills
-
Add configuration for redis based coordination and remove old style
$::osfamily
references. Contributed by @rush-skills
v2.3.0
2.3.0 (Sep 15, 2021)
-
Remove tests for Ubuntu 18.04 and Python3.6, since it's already default. Contributed by @rush-skills.
-
Drop support for ubuntu 16.04 and add support for ubuntu 20.04. Contributed by @rush-skills
-
Update build docs. Contributed by @rush-skills
-
Change old style fact reference in selinux profile. Contributed by @rush-skills
-
Cleaned up old style
::
references. Contributed by @rush-skills -
Removed travis references after switch to GitHub Actions. Contributed by @rush-skills
-
Removed
files/etc/st2/st2.conf
as the template was no longer used. Contributed by @rush-skills
v2.2.0
- Added the ability to scale out workflowengine, scheduler, rulesengine, and notifier services
so that they run in an active-active configuration
Contributed by @bishopbm1 - Added the Redis configuration for a Coordination backend
Contributed by @bishopbm1 - Added neccessary erlang package required for RHEL 8 rabbitmq
Contributed by @bishopbm1
v2.1.0
2.1.0 (Mar 6, 2021)
Note: This version only supports the 'integrated' LDAP plugin.
- Added the RabbitMQ repo manage flag to the RabbitMQ install because it no longer exists in
EPEL for CentOS/Rhel 8 - Stackstorm 3.4 change the way they process LDAP and moved the pip install into
the requirements file so we do not need to install the extra module. Also updated
the ldap backend config to be consistent with new structure. - Stackstorm 3.4 removed resultstracker so we took that out of the services list and all tests and configs.
Contributed by @bishopbm1
v2.0.0
2.0.0 (Feb 15, 2020)
-
Added new parameter
st2::python_version
that controls the version of python to install.
This was added so that OSes that don't come with Python 3 by default, can install Python 3.
The default is'system'
and the systempython
package will be installed,
whatever version that is for your OS.
To explicitly install Python 3.6 on CentOS 7, pass in'3.6'
.
To install Python 3.6 on Ubuntu 16.04 pass in'python3.6'
. On Ubuntu 16.04 you'll
also need to pass inst2::python_enable_unsafe_repo: true
in order to enable the deadsnakes
PPA (Feature)
Contributed by @nmaludy -
Removed tags for auth system development dependencies (PAM and LDAP) that caused issues
when declaring packages such asgcc
. (Bug Fix)
Contributed by @nmaludy -
Added `Strict-Transport-Security' SSL header (HSTS) and set max-age to 1 year for nginx server
resource. This will force browsers to always use https connections to the server.
Contributed by @paxri01 -
Fixed issue with upgrade mongodb bolt plan to handle passwords with special characters. (Bugfix)
Contributed by @bishopbm -
Drop support for CentOS 6 #304 (Enhancement)
Contributed by @nmaludy -
Drop support for Mistral and PostgreSQL #312 (Enhancement)
Contributed by @nmaludy -
Corrected
logging
setting forapi
,auth
andstream
to point at the
/etc/st2/logging.<service>.gunicorn.conf
logging config files, the current default. (Bugfix)
Contributed by @nmaludy -
Add new parameter
st2::ssl_cert_manage
to allow users to disable this module from
managing the SSL certificate used by nginx. This flag defaults to the old behavior
oftrue
, and generates a self-signed certificate. If a users sets this tofalse
they will need to generate their own certificate and place it in/etc/ssl/st2/st2.crt
and private key in/etc/ssl/st2/st2.key
. There is a future improvement to allow
these paths to be configurable. (Enhancement)
Contributed by @nmaludy -
Add support for using MongoDB
4.0
when installing latest StackStorn (>= 3.3.0
)
#298 (Enhancement)
Contributed by @nmaludy -
Add dependency to
yumrepo_core
to this module that was missed when adding
repo support previously. (Bugfix)
Contributed by @nmaludy -
Change the way we handle the
nginx
config from just copying a config file to
using the native resource types provided by thepuppet-nginx
module.
Users can now configure the utilized SSL protocol and ciphers along with client
max body size directly from thest2
class using the following new parameters:nginx_client_max_body_size
nginx_ssl_ciphers
nginx_ssl_port
nginx_ssl_protocols
Contributed by @nmaludy
-
Added a new plan
st2::upgrade_mongodb
that can be used to upgrade a standalone MongoDB
database between versions. (Feature)
Contributed by @nmaludy -
PDK Sync to 1.18.1 (Enhancement)
Contributed by @nmaludy -
Added support for Puppet 7 (Enhancement)
Contributed by @nmaludy -
Deprecated Puppet 5. Removed Puppet 5 from build matrix (Enhancement)
Contributed by @nmaludy
v1.6.0
1.6.0 (Feb 17, 2020)
-
Updated to new Puppet style guide where the leading
::
in class names is no longer
acceptable. (Bugfix)
Contributed by @nmaludy -
Removed unused
puppet-wget
module dependency. (Enhancement)
Contributed by @nmaludy -
Define upper-bounds for puppet module dependencies. #282 (Enhancement)
Contributed by @nmaludy -
Reorganized README.md to conform to the Puppet module README template
#283 (Enhancement)
Contributed by @nmaludy -
Added support for Ubuntu 18.04 (Feature)
Contributed by @nmaludy -
Dropped support for Ubuntu 14.04 (Enhancement)
Contributed by @nmaludy
v1.5.0
1.5.0 (Oct 2, 2019)
-
Fixed a bug in the
mistral
Postrgres connection string where passwords weren't
being URL encoded / escaped. This could lead to potentially bad URL parsing
when passwords contained certain special characters. To fix this, the
password in the mistralconnection
parameter is now URL encoded / escaped.
(Bugfix)
Contributed by @nmaludy -
Fixed a bug in the
st2_pack
resource so that when authentication fails, the error
message about why it failed is shown to the user.
(Bugfix)
Contributed by @nmaludy -
Fixed a bug in the
st2_pack
resource where usernames and passwords were not being
escaped properly. This only manifested itself with certain special characters.
(Bugfix)
Contributed by @nmaludy -
Modified the build system to utilize
r10k
instead oflibrarian-puppet
.
This change requires thePuppetfile
using during CI to explicitly call out all dependencies,
but will result in less maintenance of thePuppetfile
due to releases of dependent
modules.
(Enhancement)
Contributed by @nmaludy -
Removed Puppet 4 from build matrix. Puppet 4 has been end-of-life since 2018-12-31.
(Enhancement)
Contributed by @nmaludy -
Already installed packs are now recognized by their configured "ref" variable instead of "name"
(Enhancement)
Contributed by @ruriky
v1.4.0
Changes
-
Added new tasks to communicate with the StackStorm CLI. The naming standard and parameters
are modeled after thest2
CLI command and must be run on the StackStorm node:st2::key_decrypt
- Decrypts an encrypted key/value pairst2::key_get
- Retrieves the value for a key from the datastorest2::key_load
- Loads a list of key/value pairs into the datastorest2::pack_install
- Installs a list of packsst2::pack_list
- Get a list of installed packsst2::pack_remove
- Removes a list of packs
(Feature)
-
Fixed build for new release of
puppet/nginx
causing conflict withpuppetlabs/stdlib
.
The new version0.16.0
ofpuppet/nginx
requirespuppetlabs/stdlib >= 5.0.0
.
Several other modules we depend on requirepuppetlabs/stdlib < 5.0.0
causing a conflict.
To fix this, we've pinnedpuppet/nginx
to0.15.0
in the Puppetfiles used
for testing. (Bugfix)
Contributed by @nmaludy -
Removed the dependencies because they're no longer used.
puppet/staging
puppetlabs/gcc
(Enhancement)
Contributed by @nmaludy
-
Puppet 4 is officially deprecated due to it being End of Life on 2018-12-31.
Support will be removed in a future version. (Enhancement)
Contributed by @nmaludy -
Fixed build for Puppet 4. New version of rubygem-update requires Ruby 2.3.0
and Puppet 4 requires 2.1.x. When runninggem update --system
this updated
the gem past the installed ruby version, breaking the build. Instead,
we simply leave the system gems alone during the build.
Contributed by @nmaludy -
Removed the following unused variables from
::st2
:mistral_git_branch
st2web_ssl_cert
st2web_ssl_key
api_url
api_logging_file
flow_url
global_env
workers
(actually implemented below withactionrunner_workers
)
(Enhancement)
Contributed by @nmaludy
-
Added the following variables to
::st2
:auth_api_url
: URL of the StackStorm API for use by thest2auth
service.actionrunner_workers
: Number ofst2actionrunner
processes to start.mistral_db_host
: Hostname/IP of the Mistral Postgres databasemistral_db_name
: Database name of the Mistral Postgres databamistral_db_username
: Username for authentication to the Mistral Postgres databasemistral_db_password
: Password for authentication to the Mistral Postgres databasemistral_db_bind_ips
: String of IPs (csv) that the Mistral Postgres database will accept connections on (default: 127.0.0.1)chatops_api_url
: URL of the StackStorm API service for use byst2chatops
chatops_auth_url
: URL of the StackStorm Auth service for use byst2chatops
(Enhancement)
Contributed by @nmaludy
-
Added documentation for variables in many of the classes. (Enhancement)
Contributed by @nmaludy -
Converted entire module over to Puppet Strings documentation. (Enhancement)
Contributed by @nmaludy -
Added CI check for documentation warnings/errors. (Enhancement)
Contributed by @nmaludy -
Fixed
st2_pack
resouce not escaping username/password arguments, leading to errors
when authenticating with usernames/passwords that contain special characters. (Bugfix)
Contributed by @nmaludy
v1.3.0
Changes
-
Added authentication for RabbitMQ, by default.
The authentication options are available in the::st2
class:rabbitmq_username
: Username for the new RabbitMQ user (default:st2admin
)rabbitmq_password
: Password for the new RabbitMQ user (default:Ch@ngMe
)
When upgrading to this new version, this will force a restart of all StackStorm
and Mistral services as the new password is applied. (Feature)
Contributed by @nmaludy
-
Remove the insecure RabbitMQ default
guest
user on RabbitMQ instances.
Note: this will remove this user on new AND existing instances. (Enhancement)
Contributed by @nmaludy -
Added support for additional RabbitMQ configuration options:
rabbitmq_hostname
: Hostname of the RabbitMQ server (default:127.0.0.1
)rabbitmq_port
: Port to connect to the RabbitMQ server (default:5672
)rabbitmq_bind_ip
: IP address to bind the RabbitMQ server to (default:127.0.0.1
)rabbitmq_vhost
: Virtual Host for the StackStorm content on RabbitMQ (default:/
)
(Feature)
Contributed by @nmaludy
-
Added support for
st2scheduler
service in StackStorm >=2.10.0
.
Two new options were added to::st2
:scheduler_sleep_interval
- How long (in seconds) to sleep between each action scheduler main loop run interval. (default = 0.1)scheduler_gc_interval
- How often (in seconds) to look for zombie execution requests before rescheduling them. (default = 10)scheduler_pool_size
- The size of the pool used by the scheduler for scheduling executions. (default = 10)
#251 (Enhancement)
Contributed by @nmaludy
-
Added a new fact
st2_version
that reports the installed version of StackStorm.
If StackStorm is not installed then the fact will not be present (default behavior of Facter).
Contributed by @nmaludy -
Installs NodeJS 10, by default, when installing StackStorm >=
2.10.0
.
This is now also the default when running a brand new installation with a
::st2::version
oflatest
,installed
orpresent
(default).
Existing installations are also upgraded to NodeJS 10 if their::st2::version
is set tolatest
(default) or to a version >=2.10.0
.
#219 (Enhancement)
Contributed by @nmaludy -
Added new parameter to
::st2
classrepository
that allows configuring a different
release repository from PackageCloud for Yum/Apt. Available options are:
-'stable'
(default)
-'unstable'
(Enhancement)
Contributed by @nmaludy