Skip to content

Commit

Permalink
Merge pull request choria-io#264 from ripienaar/misc_docs
Browse files Browse the repository at this point in the history
(misc) readme updates
  • Loading branch information
ripienaar authored Apr 24, 2018
2 parents 2b9f0c1 + 96aec53 commit 96a175d
Showing 1 changed file with 48 additions and 5 deletions.
53 changes: 48 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ This is a daemon written in Go that will replace the traditional combination of

It will include at least:

* A vendored `NATS` instance fully managed by `server.cfg` with clustering support
* A vendored `gnatsd` instance fully managed by `server.cfg` with clustering support
* A Federation Broker for the Choria protocol
* An Protocol Adapter framework to rewrite message into other systems. For eg. Discovery messages to NATS Streaming.
* The `mcollectived` replacement that can run old ruby based agents
* Everything using a Go implementation of the Choria Protocol so interop with the Ruby clients and servers are maintained.

This is heavily in progress and not really usable yet for the general public.

# Configuration

This code base represents the current recommended Choria Broker and Federation and will soon also be the recommended Server component. Follow [choria.io](https://choria.io) for the official means of installing and configuring it.

Sample configs are shown, subject to change

Running `choria broker run --config /path/to/broker.cfg` will start the various broker components, you can safely run the Middleware Broker, Federation Broker and Protocol Adapter all in the same process.
Expand Down Expand Up @@ -105,7 +105,10 @@ plugin.choria.adapter.discovery.ingest.workers = 10 # default

## Choria Server

This will eventually replace `mcollectived`, for now all it can do is publish registration data.
This is a replacement `mcollectived`, that can host MCollective agents written in ruby along with a host of other features, notable absense:

* Compound filters do not work at all - those with -S
* Auditing and Authorization for MCollective compatible RPC agents written in Go is not implemented yet

You run it with `choria server run --config server.cfg`

Expand Down Expand Up @@ -202,4 +205,44 @@ providers:
repo: github.com/choria-io/go-choria/mcorpc/ruby
```

When you run `go generate` (done during the building phase for you) this will create the shim you need to compile your agent into the binary.
When you run `go generate` (done during the building phase for you) this will create the shim you need to compile your agent into the binary.

## Packages

RPMs are hosted in the Choria yum repository for el6 and 7 64bit systems, the official choria Puppet module can configure these for you:

```ini
[choria_release]
name=choria_release
baseurl=https://packagecloud.io/choria/release/el/$releasever/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/choria/release/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
```

## Nightly Builds

Nightly RPMs are published for EL7 64bit in the following repo:

```ini
[choria_nightly]
name=choria_nightly
baseurl=https://packagecloud.io/choria/nightly/el/$releasever/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/choria/nightly/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
```

Nightly packages are versioned `0.99.0` with a date portion added: `choria-0.99.0.20180126-1.el7.x86_64.rpm`

## Thanks

<img src="https://packagecloud.io/images/packagecloud-badge.png" width="158">

0 comments on commit 96a175d

Please sign in to comment.