Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

mlafeldt/inspeqtor-cookbook

Repository files navigation

Inspeqtor Cookbook

Note: This cookbook is still in beta. Some of Inspeqtor's features cannot be configured yet.

Installs and configures Inspeqtor.

Requirements

Platform:

  • Ubuntu

Cookbooks:

Attributes

Global configuration:

  • node["inspeqtor"]["cycle_time"] - How often Inspeqtor will capture metrics and verify rules, in seconds.
  • node["inspeqtor"]["deploy_length"] - Maximum length of application deploys, in seconds.
  • node["inspeqtor"]["log_level"] - Set logging level. Must be one of warn, info, debug, or verbose.
  • node["inspeqtor"]["alert_routes"] - List of alert routes. Each route contains the channel type, an optional owner, as well other channel-specific settings. See examples in chef.json.

See attributes/default.rb for default values.

Recipes

inspeqtor::default

Installs and configures Inspeqtor.

Testing

Build Status

The cookbook provides the following Rake tasks for testing:

rake foodcritic                   # Lint Chef cookbooks
rake integration                  # Alias for kitchen:all
rake kitchen:all                  # Run all test instances
rake kitchen:default-ubuntu-1204  # Run default-ubuntu-1204 test instance
rake kitchen:default-ubuntu-1404  # Run default-ubuntu-1404 test instance
rake rubocop                      # Run RuboCop style and lint checks
rake rubocop:auto_correct         # Auto-correct RuboCop offenses
rake test                         # Run all tests

License and Author

Author:: Mathias Lafeldt (mathias.lafeldt@gmail.com)

Copyright:: 2014, Mathias Lafeldt

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributing

We welcome contributed improvements and bug fixes via the usual workflow:

  1. Fork this repository
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new pull request

About

Chef cookbook to install and configure Inspeqtor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published