[]
(https://travis-ci.org/echoes-tech/puppet-wt)
[
]
(https://flattr.com/submit/auto?user_id=echoes&url=https://forge.puppetlabs.com/echoes/wt&title=Puppet%20module%20to%20manage%20Wt&description=This%20module%20installs%20and%20configures%20Wt.%20It%20allows%20you%20to%20enable%20HTTP%20Dashboard%20an%20to%20add%20check%20from%20a%20file.&lang=en_GB&category=software "Puppet module to manage Wt installation and configuration")
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with wt
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
- Contributors
Puppet module to manage Wt installation and configuration.
This module installs and configures Wt.
If you do not want use the packaged version of Wt ($use_package = false
), you have to be sure to have the following dependencies installed:
- boost::thread
- boost::random
- boost::regex
- boost::signals
- boost::system
- boost::filesystem
- boost::datetime
To Be Completed with Boost Module
include 'wt'
ToDo
- wt: Main class, includes all other classes.
- wt::params: Sets parameter defaults per operating system.
- wt::install: Handles the packages.
- wt::config: Handles the configuration file.
The following parameters are available in the ::wt
class:
Specifies the custom properties you can add to Wt config file. Valid options: hash. Default value: undef
Read more: http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#config_general
Tells Puppet where to find the Wt libraries if you do not want to use the package from your OS. Valid options: string. Default value: undef
Tells Puppet what Wt log directory to create. Valid options: path. Default value: '/var/log/wt'
Tells Puppet what Wt log file to create. Valid options: string. Default value: 'wthttp.log'
Specifies the log configuration for the Wt server. Valid options: string. Default value: "* -debug"
Read more: http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WLogger.html
Tells Puppet whether the Wt package should be installed, and what version. Valid options: 'present', 'latest', or a specific version number. Default value: 'present'
Tells Puppet what Wt package to manage. Valid options: string. Default value: 'wt'
Tells Puppet whether OS package must be used. Valid option: boolean. Default value : true
- wt::service: Sets a service to be launched with a Wt server.
The following parameters are available in the ::wt::service
define:
Specifies the path of the binary that will be launched. Valid options: path. Default value: undef
Specifies the certificate file to be used to launch the Wt server in https mode. Valid options: path. Default value: undef
Specifies the http port of the Wt server. Valid options: integer >= 1. Default value: 80
Tells Puppet whether the Wt server must be start with https mode. Valid options: boolean. Default value: false
Specifies the https port of the Wt server. Valid options: integer >= 1. Default value: 443
Tells Puppet what Wt log directory to create. Valid options: path. Default value: '/var/log/wt'
Tells Puppet what Wt log file to create. Valid options: string. Default value: 'access.log'
Specifies the private key file to be used to launch the Wt server in https mode. Valid options: path. Default value: undef
Tells Puppet whether the Wt service should be running. Valid options: 'running' or 'stopped'. Default value: 'running'
Tells Puppet whether to manage the Wt service. Valid options: 'true' or 'false'. Default value: 'true'
Tells Puppet what Wt service to manage. Valid options: string. Default value: 'wt'
Debian family OSes is officially supported. Tested and built on Debian.
##Development
Echoes Technologies modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great.
The list of contributors can be found at: https://github.com/echoes-tech/puppet-wt/graphs/contributors