cookbook 'chef-yum-grafana', '~> 1.0.0'
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.
chef-yum-grafana (1) Versions 1.0.0 Follow0
Installs/Configures chef-yum-grafana
cookbook 'chef-yum-grafana', '~> 1.0.0', :supermarket
knife supermarket install chef-yum-grafana
knife supermarket download chef-yum-grafana
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
- Author:: Hugo Cisneiros (hugo.cisneiros@movile.com)
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
1.0.0 failed this 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
1.0.0 passed this 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
1.0.0 failed this 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