Version information
This version is compatible with:
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'gnubilafrance-redmine', '0.0.5'
Learn more about managing modules with a PuppetfileDocumentation
Puppet module: redmine
This is a Puppet module for redmine It provides only package installation and file configuration.
Based on Example42 layouts by Alessandro Franceschi / Lab42
Official site: http://gnubila.fr
Official git repository: http://github.com/gnubila-france/puppet-redmine
Released under the terms of MIT License.
USAGE - Basic management
-
Install redmine with default settings
class { 'redmine': }
-
Install a specific version of redmine package
class { 'redmine': version => '1.0.1', }
-
Remove redmine resources
class { 'redmine': absent => true }
-
Enable auditing without without making changes on existing redmine configuration files
class { 'redmine': audit_only => true }
-
Module dry-run: Do not make any change on all the resources provided by the module
class { 'redmine': noops => true }
USAGE - Overrides and Customizations
-
Use custom sources for main config file
class { 'redmine': source => [
"puppet:///modules/site/redmine/redmine.conf-${hostname}" , "puppet:///modules/site/redmine/redmine.conf" ], }
-
Use custom source directory for the whole configuration dir
class { 'redmine': source_dir => 'puppet:///modules/site/redmine/conf/', source_dir_purge => false, # Set to true to purge any existing file not present in $source_dir }
-
Use custom template for main config file. Note that template and source arguments are alternative.
class { 'redmine': template => 'site/redmine/redmine.conf.erb', }
-
Automatically include a custom subclass
class { 'redmine': my_class => 'site::my_redmine', }
TESTING
Dependencies
- example42/puppi (>= 2.3.0)
- alup/rbenv (>= 1.2.0)
- puppetlabs/stdlib (>= 4.9.0)
- puppetlabs/mysql (>= 3.6.1)
- puppetlabs/apache (>= 1.6.0)
- puppetlabs/vcsrepo (>= 1.1.0)
The MIT License (MIT) Copyright (c) 2014 gnúbila France Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.