Coder Social home page Coder Social logo

neatnerdprime / puppet-prosody Goto Github PK

View Code? Open in Web Editor NEW

This project forked from voxpupuli/puppet-prosody

0.0 0.0 0.0 233 KB

Puppet module for managing the Prosody Jabber/XMPP server

Home Page: https://forge.puppet.com/puppet/prosody

Ruby 38.39% Puppet 25.66% HTML 35.95%

puppet-prosody's Introduction

Prosody

Build Status

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',
        'options => {
          'modules_enabled' => [
            'muc_mam',
            'vcard_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

puppet-prosody's People

Contributors

fpletz avatar bastelfreak avatar mmoll avatar trefzer avatar zilchms avatar andyleejordan avatar smortex avatar ghoneycutt avatar jasperla avatar gfa avatar tobru avatar bluewind avatar amateo avatar cocker-cc avatar towo avatar sudman1 avatar kenyon avatar niklaushofer avatar sammcj avatar dkerwin avatar groxxda avatar lguillaume124 avatar baldurmen avatar kallies avatar maxadamo avatar rstory avatar toerb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.