Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

The chef-yum-grafana cookbook has been deprecated

Author provided reason for deprecation:

The chef-yum-grafana cookbook has been deprecated and is no longer being maintained by its authors. Use of the chef-yum-grafana cookbook is no longer recommended.

You may find that the yum-grafana cookbook is a suitable alternative.

RSS

chef-yum-grafana (1) Versions 1.0.0

Installs/Configures chef-yum-grafana

Policyfile
Berkshelf
Knife
cookbook 'chef-yum-grafana', '~> 1.0.0', :supermarket
cookbook 'chef-yum-grafana', '~> 1.0.0'
knife supermarket install chef-yum-grafana
knife supermarket download chef-yum-grafana
README
Dependencies
Changelog
Quality 33%

yum-grafana Cookbook

The yum-grafana cookbook manages the yum repofile for the grafana repository.

Requirements

Platforms

  • RHEL/CentOS and derivatives

Chef

  • Chef 12.5+

Cookbooks

  • yum version 3.2.0 or higher

Attributes

The following attributes are set by default

default['yum']['grafana']['repositoryid'] = 'grafana'
default['yum']['grafana']['gpgkey'] = 'https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana'
default['yum']['grafana']['description'] = 'Grafana RPM Repository'
default['yum']['grafana']['failovermethod'] = 'priority'
default['yum']['grafana']['gpgcheck'] = true
default['yum']['grafana']['enabled'] = true
default['yum']['grafana']['base_url'] = 'https://packagecloud.io/grafana/stable/el/6/$basearch'

Recipes

  • default - Installs the Grafana RPM repository, eg:
  yum_repository 'grafana' do
    base_url 'https://packagecloud.io/grafana/stable/el/6/$basearch'
    description 'Grafana RPM Repository'
    enabled true
    gpgcheck true
  end

Usage Example

To disable the Grafana repository through a Role or Environment definition

default_attributes(
  :yum => {
    :grafana => {
      :enabled => {
        false
       }
     }
   }
 )

More Examples

Point the grafana repository at an internally hosted server.

node.default['yum']['grafana']['enabled'] = true
node.default['yum']['grafana']['mirrorlist'] = nil
node.default['yum']['grafana']['baseurl'] = 'https://internal.example.com/rpm/grafana/'
node.default['yum']['grafana']['sslverify'] = false

include_recipe 'yum-grafana'

License and Author

Copyright 2017, Movile

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.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

yum-grafana CHANGELOG

This file is used to list changes made in each version of the yum-grafana cookbook.

1.0.0

  • Initial public release of yum-grafana

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.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
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.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
            

1.0.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