Note: This cookbook is still in beta. Some of Inspeqtor's features cannot be configured yet.
Installs and configures Inspeqtor.
- Ubuntu
node["inspeqtor"]["use_packagecloud_repo"]
- If true, install Inspeqtor from packagecloud repository.
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 ofwarn
,info
,debug
, orverbose
.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.
Installs and configures Inspeqtor.
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
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.
We welcome contributed improvements and bug fixes via the usual workflow:
- Fork this repository
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new pull request