Version information
released Oct 14th 2020
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
- Puppet >= 4.10.0 < 7.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'thor77-sogo', '0.3.0'
Learn more about managing modules with a PuppetfileDocumentation
thor77/sogo — version 0.3.0 Oct 14th 2020
puppet-sogo
Module to manage SOGo groupware
Example
$database = 'postgresql://sogo@127.0.0.1/sogo'
class { 'sogo':
# postgresql support
extra_packages => ['sope4.9-gdl1-postgresql'],
config => {
'SOGoProfileURL' => "${database}/sogo_user_profile",
'OCSFolderInfoURL' => "${database}/sogo_folder_info",
'OCSSessionsFolderURL' => "${database}/sogo_sessions_folder",
'SOGoSieveScriptsEnabled' => 'YES',
'SOGoMailCustomFromEnabled' => 'YES',
'SOGoUserSources' => {
'type' => 'sql',
'id' => 'directory',
'viewURL' => "${database}/sogo_view",
'canAuthenticate' => 'YES',
'isAddressBook' => 'YES',
'userPasswordAlgorithm' => 'md5',
},
},
envconfig => {
'PREFORK' => 3,
},
}
Multiple user sources can be defined as an array of hashes
class { 'sogo':
...
config => {
'SOGoUserSources' => [
{
'type' => 'sql',
'id' => 'directory',
'viewURL' => "${database}/sogo_view",
'canAuthenticate' => 'YES',
'isAddressBook' => 'YES',
'userPasswordAlgorithm' => 'md5',
},
{
'type' => 'sql',
'id' => 'addressbook',
'viewURL' => "${database}/sogo_view_addresses",
'canAuthenticate' => 'NO',
'isAddressBook' => 'YES',
},
],
}
...
}
Reference
Table of Contents
Classes
Public Classes
sogo
: SoGo init class
Private Classes
sogo::config
: Manage SoGo configurationsogo::envconfig
: Manage SoGo environment parameterssogo::install
: Manage SoGO installationsogo::service
: Manage SoGo service
Classes
sogo
SoGo init class
Parameters
The following parameters are available in the sogo
class.
package_name
Data type: String
Name of the SOGo package
package_ensure
Data type: String
Ensure for package resource
extra_packages
Data type: Array[String]
Additional packages to install using package_ensure as ensure value
service_name
Data type: String
Name of the SOGo service
service_ensure
Data type: String
Ensure for service resource
config_path
Data type: String
Path to configuration file
envconfig_path
Data type: String
path to environment configuration
config
Data type: Hash
SOGo configuration
envconfig
Data type: Hash
environment configuration
Dependencies
- puppetlabs/stdlib (>= 4.13.1 < 7.0.0)