Skip to content

Releases: StackStorm/puppet-st2

v2.5.0

29 Jun 15:16
9f83405
Compare
Choose a tag to compare

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

01 Mar 15:31
a155e00
Compare
Choose a tag to compare

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+ for st2::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

15 Sep 15:59
5690360
Compare
Choose a tag to compare

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

14 Jul 13:13
1be312b
Compare
Choose a tag to compare
  • 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

08 Mar 13:12
b744ee6
Compare
Choose a tag to compare

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

15 Feb 22:57
c7b6856
Compare
Choose a tag to compare

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 system python 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 in st2::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 as gcc. (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 for api, auth and stream 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
    of true, and generates a self-signed certificate. If a users sets this to false
    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 the puppet-nginx module.
    Users can now configure the utilized SSL protocol and ciphers along with client
    max body size directly from the st2 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

17 Feb 15:04
0d4c6c5
Compare
Choose a tag to compare

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

03 Oct 11:35
36bb64b
Compare
Choose a tag to compare

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 mistral connection 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 of librarian-puppet.
    This change requires the Puppetfile using during CI to explicitly call out all dependencies,
    but will result in less maintenance of the Puppetfile 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

13 Feb 17:48
78e2c0c
Compare
Choose a tag to compare

Changes

  • Added new tasks to communicate with the StackStorm CLI. The naming standard and parameters
    are modeled after the st2 CLI command and must be run on the StackStorm node:

    • st2::key_decrypt - Decrypts an encrypted key/value pair
    • st2::key_get - Retrieves the value for a key from the datastore
    • st2::key_load - Loads a list of key/value pairs into the datastore
    • st2::pack_install - Installs a list of packs
    • st2::pack_list - Get a list of installed packs
    • st2::pack_remove - Removes a list of packs
      (Feature)
  • Fixed build for new release of puppet/nginx causing conflict with puppetlabs/stdlib.
    The new version 0.16.0 of puppet/nginx requires puppetlabs/stdlib >= 5.0.0.
    Several other modules we depend on require puppetlabs/stdlib < 5.0.0 causing a conflict.
    To fix this, we've pinned puppet/nginx to 0.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 running gem 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 with actionrunner_workers)
      (Enhancement)
      Contributed by @nmaludy
  • Added the following variables to ::st2:

    • auth_api_url : URL of the StackStorm API for use by the st2auth service.
    • actionrunner_workers: Number of st2actionrunner processes to start.
    • mistral_db_host : Hostname/IP of the Mistral Postgres database
    • mistral_db_name : Database name of the Mistral Postgres databa
    • mistral_db_username : Username for authentication to the Mistral Postgres database
    • mistral_db_password : Password for authentication to the Mistral Postgres database
    • mistral_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 by st2chatops
    • chatops_auth_url : URL of the StackStorm Auth service for use by st2chatops
      (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

18 Dec 00:13
88b07de
Compare
Choose a tag to compare

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 of latest, installed or present (default).
    Existing installations are also upgraded to NodeJS 10 if their ::st2::version
    is set to latest(default) or to a version >= 2.10.0.
    #219 (Enhancement)
    Contributed by @nmaludy

  • Added new parameter to ::st2 class repository that allows configuring a different
    release repository from PackageCloud for Yum/Apt. Available options are:
    - 'stable' (default)
    - 'unstable'
    (Enhancement)
    Contributed by @nmaludy