Forge Home

crossbar

Crossbar.io Puppet module

9,892 downloads

7,374 latest version

2.8 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.1.8 (latest)
  • 0.1.7 (deleted)
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1 (deleted)
  • 0.1.0 (deleted)
released May 24th 2016
This version is compatible with:
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'bluesman-crossbar', '0.1.8'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add bluesman-crossbar
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install bluesman-crossbar --version 0.1.8

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

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