Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >=4.7.0 <7.0.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'codingfuture-cfwebapp', '1.3.2'
Learn more about managing modules with a PuppetfileDocumentation
cfwebapp
Description
Module with web application "recipes" on top of cfweb module.
Apps supported
- Alerta
- Grafana (Docker)
- Kibana (Docker)
- Metabase (Docker)
- Redmine
- Wiki.js
Alerta
Alerta Server API and Web UI are installed from GitHub (by default) with FutoIn CID and run through uWSGI.
- Type:
cfwebapp::alerta
- URL: alerta.io
- General
cfweb::site
shortcuts$server_name = $title
$ifaces = ['local']
$auto_cert = {}
$shared_cert = []
$robots_noindex = true
$site_params = {}
- othercfweb::site
params
futoin
app shortcuts:$memory_weight = 100
$memory_min = 192
$memory_max = undef
$api_deploy_type = 'vcstag'
$api_deploy_tool = 'git'
$api_deploy_url = 'https://github.com/alerta/alerta.git'
$api_deploy_match = 'v5*'
$web_deploy_type = 'vcstag'
$web_deploy_tool = 'git'
$web_deploy_url = 'https://github.com/alerta/angular-alerta-webui.git'
$web_deploy_match = 'v5*'
- Alerta-specific:
$app_dbaccess
- PostgreSQL access, by default cfmonitor/alerta.$smtp = {}
- localhost by default$secret_key = undef
- auto-generated by default$plugins = []
- list of plugins to load$admin_users = ["admin@${::facts['domain']}"]
- admin user list$email_domains = [$::facts['domain']]
- allowed domains for registration$cors_origins = [$server_name]
- CORS domains (add Alerta Web UI)$plugins = []
- list of plugins to load$api_tune = {}
- fine overrides$web_tune = {}
- fine overrides
Grafana (Docker)
Note: Grafana listens to loopback by default in case of accident misconfiguration.
- Type:
cfwebapp::docker::grafana
- URL: grafana.com
- General
cfweb::site
shortcuts$server_name = $title
$ifaces = ['local']
$auto_cert = {}
$shared_cert = []
$robots_noindex = true
$site_params = {}
- othercfweb::site
params
docker
app shortcuts:$memory_weight = 100
$memory_min = 512
$memory_max = 512
- Grafana-specific:
$image
image => 'monitoringartist/grafana-xxl'
image_tag => 'latest'
$target_port = 3000
- port in target
Kibana (Docker)
Note: Kibana listens to loopback by default in case of accident misconfiguration.
- Type:
cfwebapp::docker::kibana
- URL: www.elastic.co
- General
cfweb::site
shortcuts$server_name = $title
$ifaces = ['local']
$auto_cert = {}
$shared_cert = []
$robots_noindex = true
$site_params = {}
- othercfweb::site
params
docker
app shortcuts:$memory_weight = 100
$memory_min = 512
$memory_max = 512
- Kibana-specific:
$app_dbaccess = { cluster => 'logsink' }
- define cfdb::access to cflogsink cluster$kibana_tune = {}
- custom overrides forkibana.yml
$image
image => 'docker.elastic.co/kibana/kibana-oss'
image_tag => '6.7.1'
$target_port = 5601
- port in target
Metabase (Docker)
Setups Metabase. Extra connections need to be manually entered in configuration based on .env data.
- Type:
cfwebapp::docker::metabase
- URL: metabase.com
- General
cfweb::site
shortcuts$server_name = $title
$ifaces = ['local']
$auto_cert = {}
$shared_cert = []
$robots_noindex = true
$site_params = {}
- othercfweb::site
params
docker
app shortcuts:$memory_weight = 100
$memory_min = 512
$memory_max = 512
- Metabase-specific:
$app_dbaccess
- define cfdb::access to primary database$image
image => 'metabase/metabase'
image_tag => 'latest'
Redmine
Full Redmine deployment. By default SVN tags are used.
IMAP IDLE-based polling supported. Good for low incoming email count.
- Type:
cfwebapp::redmine
- URL: www.redmine.org
- General
cfweb::site
shortcuts$server_name = $title
$auto_cert = {}
$shared_cert = []
$robots_noindex = true
$site_params = {}
- othercfweb::site
params
futoin
app shortcuts:$memory_weight = 100
$memory_min = 404
$memory_max = undef
- Redmine-specific
$app_dbaccess
- DB access definition$deploy_type = 'vcstag'
$deploy_tool = 'svn'
$deploy_url = 'http://svn.redmine.org/redmine'
$deploy_match = '3.4.*'
$ruby_ver = '2.3'
$rake_secret = undef
- auto-gen by default- '$smtp' - SMTP configuration
- '$imap' - IMAP configuration
$plugins
- hash of name => params to install. Default:- 'redmine_telegram_common' for 'redmine_2fa'
- 'redmine_2fa'
- 'redmine_issue_checklist'
Example:
cfweb::global::sites:
redmine:
type: 'cfwebapp::redmine'
server_name: redmine.example.com
app_dbaccess:
cluster: mysrv
role: redmine
memory_max: 512
smtp:
host: smtp.gmail.com
port: 587
start_tls: true
user: 'user@gmail.com'
password: pass
reply_to: 'noreply@gmail.com'
imap:
host: imap.gmail.com
port: 993
user: 'user@gmail.com'
password: pass
ssl: true
Wiki.js
- Type:
cfwebapp::wikijs
- URL: Wiki.js
- General
cfweb::site
shortcuts$server_name = $title
$auto_cert = {}
$shared_cert = []
$robots_noindex = true
$site_params = {}
- othercfweb::site
params
futoin
app shortcuts:$memory_weight = 100
$memory_min = 350
$memory_max = 400
- App-specific
$app_dbaccess
- DB access definition$deploy_type = 'vcstag'
$deploy_tool = 'git'
$deploy_url = '...'
$deploy_match = 'v1*'
$session_secret = undef
- auto-gen by default$tune = {}
- override configuration
Technical Support
- Example configuration
- Free & Commercial support: support@codingfuture.net
Setup
Up to date installation instructions are available in Puppet Forge: https://forge.puppet.com/codingfuture/cfwebapp
Please use librarian-puppet or cfpuppetserver module to deal with dependencies.
There is a known r10k issue RK-3 which prevents automatic dependencies of dependencies installation.
1.3.2 (2019-11-13)
- FIXED: to make Redmine plugins_assets writable
- NEW: fw_ports support for cfwebapp::redmine
- NEW: redmine plugins support without wrapping folder
- NEW: Metabase support via Docker
- NEW: local patch based on Redmine #32109
- NEW: Redmine custom theme installation support
1.3.1 (2019-06-17)
- NEW: Wiki.js deployment support
- NEW: Kibana in Docker support
- NEW: Grafana in Docker support
1.3.0 (2019-04-14)
- CHANGED: upgraded to Redmine 4.x, disabled plugins by default
1.2.0 (2018-12-09)
- CHANGED: updated for Ubuntu 18.04 Bionic support
1.1.1 (2018-10-24)
- FIXED: workaround for Puppet 5.5.x string interpolation bug
1.1.0 (2018-04-29)
- FIXED: missing module hiera.yaml
- NEW: alerta.io support
0.12.2 (2018-03-24)
- NEW: Elastic Kibana support
0.12.1 (2018-03-10)
- NEW: redmine $memory_min support
0.12.0 (2018-02-09)
- NEW: version bump of cf* series
0.11.1 (2017-11-07)
- CHANGED: increase Redmien minMemory to 256M
0.11.0
Initial release for Alpha-testing
Dependencies
- puppetlabs-stdlib (>= 5.2.0 <6.0.0)
- codingfuture-cfnetwork (>= 1.3.0 <2.0.0)
- codingfuture-cfsystem (>= 1.3.0 <2.0.0)
- codingfuture-cfweb (>= 1.3.0 <2.0.0)
- puppet-wget (>= 2.0.1 < 3.0.0)
CodingFuture Infrastructure Automation Project cfweb: All-in-one setup of web and application servers Copyright 2016-2019 (c) Andrey Galkin Contacts: * support@codingfuture.net * andvgal@gmail.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.