Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ fixtures:
python: "puppet/python"
inifile: "puppetlabs/inifile"
mongodb: "puppet/mongodb"
postgresql: "puppetlabs/postgresql"
rabbitmq: "puppet/rabbitmq"
facter: "ghoneycutt/facter"
selinux: "puppet/selinux"
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

- 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)
Expand Down
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CI_REPO_BRANCH ?= master
all: .DEFAULT

.PHONY: clean
clean: clean-ci-repo clean-pyc clean-kitchen clean-puppet-librarian clean-bundler clean-pkg
clean: clean-ci-repo clean-pyc clean-kitchen clean-puppet-librarian clean-bundler clean-pkg clean-rspec

# Clone the ci-repo into the ci/ directory
.PHONY: clone-ci-repo
Expand Down Expand Up @@ -79,6 +79,14 @@ clean-pkg:
@echo
rm -rf ${ROOT_DIR}/pkg

# Clean bundler build files
.PHONY: clean-rspec
clean-rspec:
@echo
@echo "== clean-rspec ======================================"
@echo
rm -rf ${ROOT_DIR}/spec/fixtures/modules

# list all makefile targets
.PHONY: list
list:
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,18 @@ $res = run_task('st2::key_get', $stackstorm_target,
* Puppet 5
* Puppet 6

#### :warning: End-of-Support Notice - Mistral

Support for Mistral has been dropped as of StackStorm `3.3.0`.

As of version `1.8` this module no longer supports Mistral (and subsequently PostgreSQL)
Neither Mistral nor Postgresql will be installed or managed by this module.

#### :warning: End-of-Support Notice - CentOS 6

Support for CentOS 6 has been dropped as of StackStorm `3.3.0`.

As of version `1.8` this module no longer supports CentOS 6 to coordinate with these changes.
As of version `1.8` this module no longer supports CentOS 6, so changes will not be tested against this platform.

#### :warning: Deprecation Notice - Puppet 4

Expand Down
225 changes: 1 addition & 224 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@
* [`st2::profile::client`](#st2profileclient): Profile to install, configure and manage all client libraries for st2
* [`st2::profile::facter`](#st2profilefacter): Setup custom fact locations
* [`st2::profile::fullinstall`](#st2profilefullinstall): This class performs a full default install of StackStorm and all its components on a single node.
* [`st2::profile::mistral`](#st2profilemistral): This class installs OpenStack Mistral, a workflow engine that integrates with StackStorm.
* [`st2::profile::mongodb`](#st2profilemongodb): StackStorm compatable installation of MongoDB and dependencies.
* [`st2::profile::nginx`](#st2profilenginx): StackStorm compatible installation of nginx and dependencies.
* [`st2::profile::nodejs`](#st2profilenodejs): st2 compatable installation of NodeJS and dependencies for use with StackStorm.
* [`st2::profile::postgresql`](#st2profilepostgresql): st2 compatable installation of PostgreSQL and dependencies for use with StackStorm and Mistral.
* [`st2::profile::python`](#st2profilepython): StackStorm compatable installation of Python and dependencies.
* [`st2::profile::rabbitmq`](#st2profilerabbitmq): StackStorm compatable installation of RabbitMQ and dependencies.
* [`st2::profile::selinux`](#st2profileselinux): Configure SELinux so that StackStorm services run properly
Expand Down Expand Up @@ -111,7 +109,7 @@ class { 'st2':
}
```

##### Different passwords for each database (MongoDB, RabbitMQ, Postgres)
##### Different passwords for each database (MongoDB, RabbitMQ)

```puppet
class { 'st2':
Expand All @@ -124,9 +122,6 @@ class { 'st2':
# RabbitMQ user for StackStorm
rabbitmq_username => 'st2',
rabbitmq_password => '@!fsdf0#45',
# Postrgres user for Mistral
mistral_db_username => 'stackstorm',
mistral_db_password => 'FSDfcds#45w',
}
```

Expand Down Expand Up @@ -367,56 +362,6 @@ Url to the StackStorm Exchange index file. (default undef)

Default value: `undef`

##### `mistral_db_host`

Data type: `Any`

Hostname/IP of the Mistral Postgres database

Default value: $::st2::params::hostname

##### `mistral_db_name`

Data type: `Any`

Database name of the Mistral Postgres database

Default value: $::st2::params::mistral_db_name

##### `mistral_db_username`

Data type: `Any`

Username for authentication to the Mistral Postgres database

Default value: $::st2::params::mistral_db_username

##### `mistral_db_password`

Data type: `Any`

Password for authentication to the Mistral Postgres database

Default value: $::st2::params::admin_password

##### `mistral_db_bind_ips`

Data type: `Any`

String of IPs (csv) that the Mistral Postgres database
will accept connections on (default: 127.0.0.1)

Default value: $::st2::params::mistral_db_bind_ips

##### `mistral_manage`

Data type: `Any`

If this module should manage the Mistral install and services (st2mistral and postgres).
(default: true if Ubuntu <= 16.04 or CentOS <= 7, false otherwise)

Default value: $st2::params::mistral_manage

##### `syslog`

Data type: `Any`
Expand Down Expand Up @@ -1847,8 +1792,6 @@ Components:
* MongoDB
* NodeJS
* nginx
* PostgreSQL (required by Mistral)
* Mistral

#### Examples

Expand All @@ -1869,131 +1812,6 @@ class { 'st2':
include st2::profile::fullinstall
```

### st2::profile::mistral

This class installs OpenStack Mistral, a workflow engine that integrates with StackStorm.

#### Examples

##### Basic Usage

```puppet
include st2::profile::mistral
```

##### External database

```puppet
class { 'st2::profile::mistral':
db_host => 'postgres.domain.tld',
db_username => 'mistral',
db_password => 'xyz123',
}
```

##### External RabbitMQ

```puppet
class { 'st2::profile::mistral':
rabbitmq_hostname => 'rabbitmq.domain.tld',
rabbitmq_username => 'mistral',
rabbitmq_password => 'xyz123',
}
```

#### Parameters

The following parameters are available in the `st2::profile::mistral` class.

##### `version`

Data type: `Any`

Version of the st2mistral package to install

Default value: $::st2::version

##### `db_host`

Data type: `Any`

Server hosting Mistral Postgres DB

Default value: $::st2::mistral_db_host

##### `db_name`

Data type: `Any`

Name of the Mistral Postgres database

Default value: $::st2::mistral_db_name

##### `db_username`

Data type: `Any`

Mistral user for authenticating with PostgreSQL

Default value: $::st2::mistral_db_username

##### `db_password`

Data type: `Any`

Mistral password for authenticating with PostgreSQL

Default value: $::st2::mistral_db_password

##### `manage`

Data type: `Any`

If this module should manage the st2mistral install and service
(default: true if Ubuntu <= 16.04 or CentOS <= 7, false otherwise)

Default value: $::st2::mistral_manage

##### `rabbitmq_username`

Data type: `Any`

Username for authenticating with RabbitMQ

Default value: $::st2::rabbitmq_username

##### `rabbitmq_password`

Data type: `Any`

Password for authenticating with RabbitMQ

Default value: $::st2::rabbitmq_password

##### `rabbitmq_hostname`

Data type: `Any`

Hostname/IP of the RabbitMQ server

Default value: $::st2::rabbitmq_hostname

##### `rabbitmq_port`

Data type: `Any`

Port for connecting to RabbitMQ

Default value: $::st2::rabbitmq_port

##### `rabbitmq_vhost`

Data type: `Any`

RabbitMQ virtual host for Mistral

Default value: $::st2::rabbitmq_vhost

### st2::profile::mongodb

StackStorm compatable installation of MongoDB and dependencies.
Expand Down Expand Up @@ -2152,47 +1970,6 @@ Version of NodeJS to install. If not provided it will be auto-calcuated based on

Default value: $::st2::nodejs_version

### st2::profile::postgresql

st2 compatable installation of PostgreSQL and dependencies for use with StackStorm and Mistral.

#### Examples

##### Basic usage

```puppet
include st2::profile::postgresql
```

##### Customizing parameters

```puppet
class { 'st2::profile::postgresql':
db_bind_ips => '0.0.0.0',
}
```

#### Parameters

The following parameters are available in the `st2::profile::postgresql` class.

##### `bind_ips`

Data type: `Any`

String of IPs (csv) that the Postgres database will accept connections on.

Default value: $::st2::mistral_db_bind_ips

##### `manage`

Data type: `Any`

If this module should manage the postgres install and service
(default: true if Ubuntu <= 16.04 or CentOS <= 7, false otherwise)

Default value: $::st2::mistral_manage

### st2::profile::python

StackStorm compatable installation of Python and dependencies.
Expand Down
Loading