crossbar

Crossbar.io Puppet module

Natale Vinto

bluesman

8,510 downloads

6,343 latest version

2.8 quality score

Version information

  • 0.1.8 (latest)
  • 0.1.7
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released May 24th 2016
This version is compatible with:
  • RedHat
    ,
    CentOS
    ,
    Ubuntu

Start using this module

Documentation

bluesman/crossbar — version 0.1.8 May 24th 2016

Crossbar Puppet module

Table of Contents

  1. Description
  2. Setup - The basics of getting started with crossbar
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

This module ships a fresh Crossbar.io WAMP Router on your systems

A Systemd service is provided to manage crossbar application, and also Upstart support for Ubuntu 14.04 compatibility

Setup

Setup requirements

  • CentOS 7
  • RHEL 7
  • Ubuntu 14.04 LTS
  • Ubuntu 16.04 LTS

Beginning with crossbar

By default Crossbar is installed for crossbar system user with debug level set to 'none'

include ::crossbar

Usage

You can assign your own Crossbar system user passing it to the class constructor, with your preferred log level:

class { 'crossbar': 
    user      => 'centos',
    log_level => 'debug'
}

You can also provide your custom config.json with your preferred options for Crossbar (port, tls, etc):

class { 'crossbar': 
    config_json  => "file:///tmp/config.json",
}
class { 'crossbar': 
    config_json  => "puppet://modules/foo/config.json",
}

Crossbar service by default is enabled and running, but you can control it as you wish:

class { 'crossbar': 
    service_enable  => false,
    service_status  => stopped
}

Manage then crossbar as systemd daemon

systemctl start|status|restart|stop crossbar

Manage crossbar with upstart

service crossbar start|status|restart|stop

Reference

http://crossbar.io/docs/Installation-on-CentOS/

http://crossbar.io/docs/Installation-on-Ubuntu/

Limitations

This module depends on Crossbar.io packages releases.

Development

https://github.com/blues-man/crossbar-puppet