Project

kriterion

0.0
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
Exposes Puppet's compliance information in a REST API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0

Runtime

~> 2.10
~> 0.16
~> 2.5
~> 2.0
 Project Readme

Kriterion

Installation

Add this line to your application's Gemfile:

gem 'kriterion'

And then execute:

$ bundle

Or install it yourself as:

$ gem install kriterion

Usage

To create an example instance. Build and run the containers:

docker-compose up

Populate them

bundle exec ruby spec/populate_queue.rb http://localhost:8888

View the API: http://localhost:4567/reports

Development

This project requires MongoDB and RestMQ to be up and working. You can run them up manually using the commands below, or run docker-compose up to spin up everything.

To populate the queue with example reports, run bundle exec ruby spec/populate_queue.rb http://localhost:8888

Docker Containers

kriterion_worker

Building: docker build -t kriterion_worker .

Running: docker run -t kriterion_worker

mongo

Building: This comes from DockerHub

Running: docker run -p 27017:27017 mongo

restmq

Building: This comes from DockerHub

Running: docker run --rm -p 6379:6379 -p 8888:8888 pablozaiden/restmq

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/kriterion.

License

The gem is available as open source under the terms of the MIT License.