/seefusion-cookbook

seefusion-cookbook

Primary LanguageRubyApache License 2.0Apache-2.0

SeeFusion Cookbook

Installs and configures SeeFusion for your environment.

Requirements

You should have ColdFusion/Railo (or at least Tomcat if applicable) installed before running this recipe

Attributes

seefusion::default

Key Type Description Default
Cookbook Configuration
['seefusion']['src'] String Location to download SeeFusion from 'https://seefusion.com/SeeFusion5.jar'
['seefusion']['lib_dir'] String Location to download SeeFusion to (autodetect)
['seefusion']['config_dir'] String Location of servlet container config files (autodetect)
SeeFusion Configuration
['seefusion']['config']['enabled'] Boolean Enable SeeFusion? (does not affect UI) true
['seefusion']['config']['listeners'] String Space-delimited list of [ip]:[port] all:8999
['seefusion']['config']['password'] String Password for SeeFusion (blank = no password required)
['seefusion']['config']['name'] String Name for SeeFusion instance Test
['seefusion']['config']['displayRelativeTimes'] Boolean Display relative (instead of absolute) times? false
default['seefusion']['config']['dbType'] = 'sqlserver'
default['seefusion']['config']['maxRequests'] = 20
default['seefusion']['config']['historySize'] = 10
default['seefusion']['config']['slowHistorySize'] = 10
default['seefusion']['config']['slowPageThreshold'] = 1000
default['seefusion']['config']['slowQueryThreshold'] = 100
default['seefusion']['config']['dashboardServers'] = '127.0.0.1'
default['seefusion']['config']['clickableURLs'] = false
default['seefusion']['config']['dbLogQueryExceptions'] = false
default['seefusion']['config']['dbLoggerEnabled'] = false
default['seefusion']['config']['httpPassword'] = ''

Usage

seefusion::default

This will attempt to autodetect the version of ColdFusion, Railo, or just Tomcat installed, then install and configure SeeFusion into that container.

seefusion::tomcat7

  • ['seefusion']['lib_dir'] should point to tomcat's master /lib dir
  • ['seefusion']['config_dir'] should point to the location of server.xml

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x based on develop)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

License: http://www.apache.org/licenses/LICENSE-2.0 Author: Daryl Banttari