Forge Home

ejabberd

Installs and configures ejabberd on CentOS

10,645 downloads

9,718 latest version

3.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.5 (latest)
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Sep 18th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'lboynton-ejabberd', '0.0.5'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add lboynton-ejabberd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install lboynton-ejabberd --version 0.0.5

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

lboynton/ejabberd — version 0.0.5 Sep 18th 2014

Puppet Ejabberd Module

Build Status

This is an ejabberd module for installing and configuring ejabberd. It has been tested on CentOS 6 with ejabberd 2.1.13.

Usage

Use the defaults:

include ejabberd

Or to configure:

class { 'ejabberd':
    config_source   => 'puppet:///files/my/ejabberd.cfg',
    package_ensure  => 'installed',
    package_name    => 'ejabberd',
    service_reload  => true,
}

By default, when the config file changes the ACLs will be reloaded by running ejabberdctl load_config. For this to work, the mod_admin_extra module must be installed. To add new hosts, ejabberd must be restarted manually. Alternatively, you can tell the module to restart ejabberd instead of doing a reload by setting service_reload => false.

Defines

ejabberd::contrib::module

Installs a module from the contrib repository. Note that you will also need to add the module to your ejabberd.cfg config file to enable it.

ejabberd::contrib::module { 'mod_rest': }

Providers

ejabberd_user

This provider can be used to create users:

ejabberd_user { 'myusername':
    host        => 'localhost',
    password    => 'mypassword'
}

License

Copyright 2014 Lee Boynton

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Support

Please log tickets and issues on GitHub