Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thor77/puppet-sogo
Puppet module to manage SOGo
https://github.com/thor77/puppet-sogo
hacktoberfest puppet sogo
Last synced: about 7 hours ago
JSON representation
Puppet module to manage SOGo
- Host: GitHub
- URL: https://github.com/thor77/puppet-sogo
- Owner: Thor77
- Created: 2020-02-14T12:13:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-22T12:23:29.000Z (almost 4 years ago)
- Last Synced: 2024-10-13T15:42:10.134Z (26 days ago)
- Topics: hacktoberfest, puppet, sogo
- Language: Ruby
- Homepage: https://forge.puppet.com/thor77/sogo/
- Size: 47.9 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# puppet-sogo
[![Build Status](https://travis-ci.com/Thor77/puppet-sogo.svg?branch=master)](https://travis-ci.com/Thor77/puppet-sogo)
[![Puppet Forge](https://img.shields.io/puppetforge/v/thor77/sogo.svg)](https://forge.puppetlabs.com/thor77/sogo)
[![Puppet Forge Downloads](https://img.shields.io/puppetforge/dt/thor77/sogo.svg)](https://forge.puppetlabs.com/thor77/sogo)Module to manage [SOGo groupware](https://sogo.nu/)
## Example
```puppet
$database = 'postgresql://[email protected]/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' => 'postgresql://[email protected]/sogo/sogo_view',
'canAuthenticate' => 'YES',
'isAddressBook' => 'YES',
'userPasswordAlgorithm' => 'md5',
},
],
},
envconfig => {
'PREFORK' => 3,
},
}
```Multiple user sources can be defined as an array of hashes
```puppet
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',
},
],
}
...
}
```Multidomain example
```puppet
class { 'sogo':
...
config => {
'domains' => {
'example.org' => {
'SOGoSieveScriptsEnabled' => 'NO',
'SOGoUserSources' => [
{
'type' => 'sql',
'id' => 'directory',
'viewURL' => 'postgresql://[email protected]/sogo/sogo_view',
},
],
},
'example.net' => {
'SOGoSieveScriptsEnabled' => 'YES',
'SOGoUserSources' => [
{
'type' => 'sql',
'id' => 'directory',
'viewURL' => 'postgresql://[email protected]/sogo/sogo_view',
},
],
},
},
}
...```