...
 
Commits (2)
......@@ -120,7 +120,7 @@ Parameters are managing configuration of schleuder-web. See [schleuder-web's con
* `web_hostname`: Hostname of the vhost, serving this schleuder installation. Default: `example.org`. Will be used in emails sent by [schleuder-web](https://0xacab.org/schleuder/schleuder-web).
* `mailer_from`: Sender of the sign-up emails. Default: `noreply@example.org`
* `database_config`A possible hash of an activerecord-based database configuration. Defaults: `{}` -> schleuder-web uses sqlite.
* `ruby_scl`: Which scl version it uses. Default: `ruby23`.
* `ruby_scl`: Which scl version it uses. Default: `ruby24`.
* `use_shorewall`: Whether or not to open up connectivity TO a `schleuder-api-daemon`.
### schleuder::list
......
module Puppet
newtype(:schleuder_list) do
Type.newtype(:schleuder_list) do
@doc = "Manage schleuder lists. This resource type can only create
and remove lists; it cannot currently reconfigure them."
......
# centos dependencies
class schleuder::centos inherits schleuder::base {
require ::scl::ruby23
Package['rh-ruby23-ruby-devel','rh-ruby23-rubygem-bundler'] -> Package['schleuder']
require ::scl::ruby24
Package['rh-ruby24-ruby-devel','rh-ruby24-rubygem-bundler'] -> Package['schleuder']
}
......@@ -7,7 +7,7 @@ class schleuder::web(
$web_hostname = 'example.org',
$mailer_from = 'noreply@example.org',
$database_config = {},
$ruby_scl = 'ruby23',
$ruby_scl = 'ruby24',
$use_shorewall = false,
){
require "::scl::${ruby_scl}"
......