cookbook 'sensu-admin', '~> 0.1.2', :supermarket
sensu-admin (1) Versions 0.1.2 Follow0
installs and configures the sensu-admin web ui
cookbook 'sensu-admin', '~> 0.1.2'
knife supermarket install sensu-admin
knife supermarket download sensu-admin
DESCRIPTION
Installs sensu-admin, a web interface for the Sensu API.
NOTE: sensu-admin has not been updated to support sensu >= 0.14.0; as a result this cookbook has become deprecated and is not likely to recieve updates. You may wish to consider using uchiwa-chef to install uchiwa instead.
TESTING
This cookbook uses test-kitchen. To converge and run tests:
gem install bundler
bundle install
bundle exec kitchen verify
Once converged, you may connect to the test-kitchen VM's IP in your browser and login as admin@example.com with the password 'secret'.
COOKBOOK DEPENDENCIES
- mysql-chef_gem - mysql-chef_gem::default recipe required to satisify mysql2 gem prerequisites
- ruby - only used by Vagrantfile
REQUIREMENTS
SSL configuration
For ease of use with Vagrant, example ssl data is included in the data_bags directory. Please don't use this certificate in a live environment.
RECIPES
sensu-admin::default
Installs sensu-admin rails app running on unicorn, front-ended by an nginx or apache proxy.
sensu-admin::nginx.rb
Install nginx as frontend http server (default)
sensu-admin::apache.rb
Install apache as frontend http server instead of nginx (see attribute below)
sensu-admin::deploy.rb
Deploy sensu admin code from github repo
sensu-admin::unicorn.rb
Setup unicorn configuration and init scripts for sensu-admin
ATTRIBUTES
node.sensu.admin.user
- user to run sensu-admin as, defaults to 'sensu'
node.sensu.admin.group
- ditto above
node.sensu.admin.host
- hostname which nginx is configured to proxy for
node.sensu.admin.http_port
- nginx http port, defaults to '80'
node.sensu.admin.https_port
- nginx https port, defaults to '443'
node.sensu.admin.backend_port
- unicorn port, defaults to '8888'
node.sensu.admin.repo
- repo url for sensu-admin app
node.sensu.admin.release
- specifies revision of sensu-admin to deploy
node.sensu.admin.base_path
- path where sensu-admin will be deployed, defaults to '/opt/sensu/admin'
node.sensu.admin.frontend
- 'nginx', 'apache' or 'none' for user facing http - defaults to 'nginx'. 'none' does not install a frontend which could allow for integration with othe existing frontend proxys.
Dependent cookbooks
mysql-chef_gem >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.2 - update dependencies to reflect changes in upstream mysql cookbook 0.1.0 - initial release
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.2 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.1.2 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: sensu-admin/recipes/default.rb:36
FC064: Ensure issues_url is set in metadata: sensu-admin/metadata.rb:1
FC065: Ensure source_url is set in metadata: sensu-admin/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sensu-admin/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sensu-admin/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Publish Metric
0.1.2 passed this metric
Supported Platforms Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 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.1.2 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.1.2 failed this metric
0.1.2 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.1.2 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: sensu-admin/recipes/default.rb:36
FC064: Ensure issues_url is set in metadata: sensu-admin/metadata.rb:1
FC065: Ensure source_url is set in metadata: sensu-admin/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sensu-admin/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sensu-admin/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Publish Metric
0.1.2 passed this metric
Supported Platforms Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 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.1.2 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.1.2 failed this metric
FC064: Ensure issues_url is set in metadata: sensu-admin/metadata.rb:1
FC065: Ensure source_url is set in metadata: sensu-admin/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sensu-admin/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sensu-admin/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.2 passed this metric
Publish Metric
0.1.2 passed this metric
Supported Platforms Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 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.1.2 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.1.2 passed this metric
0.1.2 passed this metric
Testing File Metric
0.1.2 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.1.2 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.1.2 failed this metric
0.1.2 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