cookbook 'skyline', '~> 0.3.0'
skyline (7) Versions 0.3.0 Follow2
Installs/Configures Skyline
cookbook 'skyline', '~> 0.3.0', :supermarket
knife supermarket install skyline
knife supermarket download skyline
chef-skyline
Description
Installs/configures Skyline.
Requirements
Platforms
- CentOS 6
- Fedora 17, 18, 19
- Red Hat Enterprise Linux 6
- Ubuntu 12.04, 12.10, 13.04
Cookbooks
Third-Party Cookbooks
Attributes
These attributes are under the node['skyline']
namespace.
Attribute | Description | Type | Default |
---|---|---|---|
full_duration | See templates/default/settings.py.erb | Fixnum | 86400 |
full_namespace | See templates/default/settings.py.erb | String | "metrics." |
graphite_host | See templates/default/settings.py.erb | String | http://graphite.example.com |
group | Skyline group | String | node['skyline']['user'] |
log_path | See templates/default/settings.py.erb | String | /var/log/skyline |
mini_duration | See templates/default/settings.py.erb | Fixnum | 3600 |
mini_namespace | See templates/default/settings.py.erb | String | "mini." |
oculus_host | See templates/default/settings.py.erb | String | http://oculus.example.com |
pid_path | See templates/default/settings.py.erb | String | /var/run/skyline |
pip_packages | PIP packages for installation | Array of Strings | See attributes/default.rb |
redis_socket_path | See templates/default/settings.py.erb | String | /tmp/redis.sock |
user | Skyline user | String | skyline |
Analyzer Attributes
These attributes are under the node['skyline']['analyzer']
namespace.
Attribute | Description | Type | Default |
---|---|---|---|
algorithms | See templates/default/settings.py.erb | Array of Strings | See attributes/default.rb |
analyzer_processes | See templates/default/settings.py.erb | Fixnum | 5 |
anomaly_dump | See templates/default/settings.py.erb | String | webapp/static/dump/anomalies.json |
canary_metric | See templates/default/settings.py.erb | String | statsd.numStats |
consensus | See templates/default/settings.py.erb | Fixnum | 5 |
min_tolerable_length | See templates/default/settings.py.erb | Fixnum | 1 |
max_tolerable_boredom | See templates/default/settings.py.erb | Fixnum | 100 |
stale_period | See templates/default/settings.py.erb | Fixnum | 500 |
Horizon Attributes
These attributes are under the node['skyline']['horizon']
namespace.
Attribute | Description | Type | Default |
---|---|---|---|
chunk_size | See templates/default/settings.py.erb | Fixnum | 10 |
horizon_ip | See templates/default/settings.py.erb | String | nil |
max_queue_size | See templates/default/settings.py.erb | Fixnum | 500 |
max_resolution | See templates/default/settings.py.erb | Fixnum | 1000 |
pickle_port | See templates/default/settings.py.erb | Fixnum | 2024 |
roomba_processes | See templates/default/settings.py.erb | Fixnum | 1 |
skip_list | See templates/default/settings.py.erb | Array of Strings | [] |
udp_port | See templates/default/settings.py.erb | Fixnum | 2025 |
worker_processes | See templates/default/settings.py.erb | Fixnum | 2 |
Webapp Attributes
These attributes are under the node['skyline']['webapp']
namespace.
Attribute | Description | Type | Default |
---|---|---|---|
webapp_ip | See templates/default/settings.py.erb | String | 127.0.0.1 |
webapp_port | See templates/default/settings.py.erb | Fixnum | 1500 |
Recipes
-
recipe[skyline]
default installation/configuration of Skyline -
recipe[skyline::init]
symlinks Skyline init scripts and starts/enables services -
recipe[skyline::redis]
configures Redis for Skyline from template -
recipe[skyline::source]
installs Skyline via source
Usage
Skyline Installation
- Add
recipe[skyline]
to your node's run list.
Testing and Development
Here's how you can quickly get testing or developing against the cookbook thanks to Vagrant and Berkshelf.
git clone git://github.com/bflad/chef-skyline.git
cd chef-skyline
vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-omnibus
vagrant up BOX # BOX being centos6, ubuntu1204, ubuntu1210, or ubuntu1304
You can then SSH into the running VM using the vagrant ssh
command.
The VM can easily be stopped and deleted with the vagrant destroy
command. Please see the official Vagrant documentation
for a more in depth explanation of available commands.
Contributing
Please use standard Github issues/pull requests and if possible, in combination with testing on the Vagrant boxes.
License and Authors
See [LICENSE](LICENSE) file for more information.
- Author:: Brian Flad (bflad417@gmail.com)
- Copyright:: 2013 Brian Flad
Dependent cookbooks
git >= 0.0.0 |
python >= 0.0.0 |
redis >= 0.0.0 |
scipy >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.3.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC009: Resource attribute not recognised: skyline/recipes/default.rb:13
FC064: Ensure issues_url is set in metadata: skyline/metadata.rb:1
FC065: Ensure source_url is set in metadata: skyline/metadata.rb:1
FC066: Ensure chef_version is set in metadata: skyline/metadata.rb:1
FC069: Ensure standardized license defined in metadata: skyline/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC009: Resource attribute not recognised: skyline/recipes/default.rb:13
FC064: Ensure issues_url is set in metadata: skyline/metadata.rb:1
FC065: Ensure source_url is set in metadata: skyline/metadata.rb:1
FC066: Ensure chef_version is set in metadata: skyline/metadata.rb:1
FC069: Ensure standardized license defined in metadata: skyline/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: skyline/metadata.rb:1
FC065: Ensure source_url is set in metadata: skyline/metadata.rb:1
FC066: Ensure chef_version is set in metadata: skyline/metadata.rb:1
FC069: Ensure standardized license defined in metadata: skyline/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number