Puppet Class: redmine
- Defined in:
- manifests/init.pp
Summary
Install redmine, running behind apache and passenger and backed by eiter mysql or maria-dbOverview
@param provider
The VCS provider or wget.
When setting the provider to wget, be sure to set download_url
to a valid tar.gz archive.
To use the svn provider you have to provide the full url to the
tag or branch you want to download and unset the version.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'manifests/init.pp', line 71
class redmine (
String $bundle,
String $version = undef,
Stdlib::HTTPUrl $download_url = 'https://github.com/redmine/redmine',
String $database_server = 'localhost',
String $database_user = 'redmine',
String $database_password = 'redmine',
String $production_database = 'redmine',
String $development_database = 'redmine_development',
Optional[Enum['mysql','mysql2','postgresql']] $database_adapter = undef,
Stdlib::Host $smtp_server = 'localhost',
String $smtp_domain = $facts['networking']['domain'],
Stdlib::Port $smtp_port = 25,
Boolean $smtp_authentication = false,
Optional[String] $smtp_username = undef,
Optional[String] $smtp_password = undef,
Boolean $smtp_ssl = false,
String $vhost_aliases = 'redmine',
String $vhost_servername = 'redmine',
Stdlib::Unixpath $webroot = "${apache::docroot}/redmine",
Stdlib::Unixpath $install_dir = '/usr/src/redmine',
Enum['wget','git','svn'] $provider = 'git',
Hash[String, String] $override_options = {},
Hash[String, String] $plugins = {},
Optional[String] $www_subdir = undef,
Boolean $create_vhost = true,
) {
class { 'redmine::params': }
-> class { 'redmine::download': }
-> class { 'redmine::config': }
-> class { 'redmine::install': }
-> class { 'redmine::database': }
-> class { 'redmine::rake': }
}
|