Skip to content

blues-man/crossbar-puppet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Puppet module for Crossbar.io WAMP Router

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published