sogo

pdk
Install and manage SoGo Groupware

Thor77

thor77

2,494 downloads

510 latest version

5.0 quality score

Version information

  • 1.0.0 (latest)
  • 0.3.0
  • 0.2.0
  • 0.1.0
released Nov 22nd 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
  • Debian
    ,
    Ubuntu
    ,
    CentOS
    ,
    RedHat
    ,
    Scientific

Start using this module

Documentation

thor77/sogo — version 1.0.0 Nov 22nd 2020

puppet-sogo

Build Status Puppet Forge Puppet Forge Downloads

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'               => 'postgresql://sogo@127.0.0.1/sogo/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',
          },
        ],
    }
...
}

Multidomain example

class { 'sogo':
...
    config => {
      'domains' => {
        'example.org' => {
          'SOGoSieveScriptsEnabled' => 'NO',
          'SOGoUserSources' => [
            {
              'type' => 'sql',
              'id' => 'directory',
              'viewURL' => 'postgresql://sogo@127.0.0.1/sogo/sogo_view',
            },
          ],
        },
        'example.net' => {
          'SOGoSieveScriptsEnabled' => 'YES',
          'SOGoUserSources' => [
            {
              'type' => 'sql',
              'id' => 'directory',
              'viewURL' => 'postgresql://sogo@127.0.0.1/sogo/sogo_view',
            },
          ],
        },
      },
    }
...