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

RSS

geolite2 (4) Versions 2.0.0

Download GeoLite2 databases

Policyfile
Berkshelf
Knife
cookbook 'geolite2', '= 2.0.0', :supermarket
cookbook 'geolite2', '= 2.0.0'
knife supermarket install geolite2
knife supermarket download geolite2
README
Dependencies
Changelog
Quality 17%

geolite2 cookbook

Chef cookbook
license

Chef cookbook to download GeoLite2 Free databases from MaxMind.

Prerequisites

MaxMind account license key is required in order to download GeoLite2 Free databases. Read more here.

Resources

geolite2_country_database

Download the latest GeoLite2 Country database

geolite2_country_database 'default' do
  license_key 'ABCD...'  # MaxMind account license key
end

geolite2_city_database

Download the latest GeoLite2 City database

geolite2_city_database 'default' do
  license_key 'ABCD...'  # MaxMind account license key
end

Helpers

# Get a full path to a GeoLite2 Country database
::ChefCookbook::GeoLite2.country_database(node, 'default')  # /etc/chef-geolite2/country_default/GeoLite2-Country.mmdb

# Get a full path to a GeoLite2 City database
::ChefCookbook::GeoLite2.city_database(node, 'default')  # /etc/chef-geolite2/city_default/GeoLite2-City.mmdb

License

MIT @ Alexander Pyatkin

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.

[2.0.0] - 2020-02-16

Make use of MaxMind account license key so as to download databases.

Added

  • Added license_key attribute to geolite2_city_database and geolite2_country_database resources.

[1.0.0] - 2019-04-28

First appearance in public.

Added

Collaborator Number Metric
            

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

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

2.0.0 failed this metric

FC066: Ensure chef_version is set in metadata: geolite2/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

2.0.0 passed this metric

Testing File Metric
            

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

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