prosody
Version information
This version is compatible with:
- Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x
- Puppet >= 6.1.0 < 8
Start using this module
Add this module to your Puppetfile:
mod 'puppet-prosody', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
Puppet module for the Prosody Jabber/XMPP server.
This module is a fork of rtyler/puppet-prosody because the upstream is dead. A bunch of features were added and bugs were fixed.
If you want to use Prosody in a production environment, this is the Puppet module to use.
Using
Note: This module has currently been tested on CentOS 7, Ubuntu and OpenBSD.
node myserver {
class { 'prosody':
user => 'prosody',
group => 'prosody',
community_modules => ['mod_auth_ldap'],
authentication => 'ldap',
components => {
'conference' => {
'name' => 'conf.example.org',
'type' =>'muc',
},
'bridge' => {
'name' => 'bridge.example.org',
'secret' => 'mysupersecret',
},
'focus' => {
'name' => 'focus.example.org',
'secret' => 'anothersupersecret',
}
},
custom_options => {
'ldap_base' => 'OU="accounts",DC="mydomain",DC="com"',
'ldap_server' => 'ldapserver1:636 ldapserver2:636',
'ldap_rootdn' => 'DN="prosody",OU="accounts",DC="mydomain",DC="com"',
'ldap_password' => hiera(prosody-ldap-password),
'ldap_scope' => 'subtree',
'ldap_tls' => 'true',
},
}
prosody::virtualhost {
'mydomain.com' :
ensure => present,
ssl_key => '/etc/ssl/key/mydomain.com.key',
ssl_cert => '/etc/ssl/crt/mydomain.com.crt',
}
prosody::user { 'foo':
host => 'mydomain.com',
pass => 'itsasecret',
}
}
Support
Please file bugs and enhancement requests in the GitHub issue tracker
Changelog
All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.
v1.0.0 (2021-04-26)
Breaking changes:
- cleanup metadata.json / allow newer dependencies, Drop Puppet 5 support #70 (bastelfreak)
Implemented enhancements:
- Manage prosody upstream package repository #69 (Bluewind)
- Allows to purge unused users #63 (Bluewind)
- Manage disco_items in a virtualhost #62 (gfa)
Fixed bugs:
Closed issues:
- Make a new release #54
Merged pull requests:
- modulesync 3.0.0 & puppet-lint updates #65 (bastelfreak)
- Use rspec-puppet-facts for remaining tests / Add Ubuntu 16,18,20 support #64 (Bluewind)
- When running on Debian, use its service management facilities #59 (mmoll)
- add a components example #57 (baldurmen)
- Initial modulesync #56 (mmoll)
- allow newer puppetlabs-vcsrepo #53 (mmoll)
- Add a type for ha1 authentication method #52 (gfa)
- Add support for advanced logging configuration #51 (gfa)
- Optionally configure prosody to use an already deployed ssl cert and key #50 (gfa)
- Support for deeply nested custom options #49 (towo)
- Use hiera 5 conventions #48 (cocker-cc)
- Use Puppet-4-Datatypes #47 (cocker-cc)
- Fix Tests #46 (cocker-cc)
0.4.0 (2019-04-08)
Merged pull requests:
- enhance custom options to specify arrays and hashes #45 (trefzer)
- some updates #44 (trefzer)
- Allow to pass a hash to custom_options #43 (lGuillaume124)
0.3.2 (2018-06-14)
Closed issues:
Merged pull requests:
- Parse custom_options of profile::virtualhost #42 (amateo)
- Add support to register users #41 (amateo)
0.3.1 (2017-11-20)
Closed issues:
- PRs already merged if wanted #36
Merged pull requests:
0.3.0 (2017-09-11)
Implemented enhancements:
Closed issues:
- Virtualhost specific ssl cert and UNSET keyword #28
- Service sometimes tries to start again instead of reloading #27
Merged pull requests:
- fix module repo source #38 (toerb)
- add custom_options to vhosts #35 (tobru)
- add storage configuration #34 (tobru)
- add modules_disabled parameter #32 (tobru)
- add ssl_key and ssl_cert to global ssl options #31 (tobru)
- update community modules mercurial repo URL #30 (tobru)
- fix unsafe default & improve doco #25 (sammcj)
0.2.1 (2014-10-27)
Closed issues:
- Release new version at puppet-forge #19
0.2.0 (2014-09-15)
Closed issues:
- Prosody Repository #8
Merged pull requests:
- Fix some style nits #18 (jasperla)
- Allow for defining logging sinks, such as syslog (default). #17 (jasperla)
- Allow for disabling luaevent as it may not work everywhere. #16 (jasperla)
- Prosody has an rc.d script on OpenBSD, so it can be enabled like any other service. #15 (jasperla)
- Allow changing the location of the log files #13 (jasperla)
- Allow changing the location of the pidfile. #12 (jasperla)
- Allow setting the user to run prosody as. #11 (jasperla)
- OpenBSD doesn't have conf.d by default, so ensure the directory exists. #10 (jasperla)
0.1.3 (2014-05-02)
0.1.2 (2014-05-01)
0.1.1 (2014-05-01)
0.1.0 (2014-05-01)
Merged pull requests:
- Clean branch that deletes those pesky lines #7 (andschwa)
- Removing openssl package #5 (andschwa)
- Using ensure_packages instead of ensure_resource #4 (andschwa)
- Updating repository URL #3 (andschwa)
- Removing libevent package (bugfix) #2 (andschwa)
- Add ability to create virtualhosts through hiera #1 (andschwa)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs/stdlib (>= 4.25.0 < 8.0.0)
- puppetlabs/vcsrepo (>= 1.0.0 < 5.0.0)