cookbook 'geolite2', '= 1.0.0'
geolite2 (2) Versions 1.0.0 Follow0
Download GeoLite2 databases
cookbook 'geolite2', '= 1.0.0', :supermarket
knife supermarket install geolite2
knife supermarket download geolite2
geolite2 cookbook
Chef cookbook to download GeoLite2 Free databases from MaxMind.
Resources
geolite2_country_database
Download the latest GeoLite2 Country database
geolite2_country_database 'default'
geolite2_city_database
Download the latest GeoLite2 City database
geolite2_city_database 'default'
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.
[1.0.0] - 2019-04-28
First appearance in public.
Added
- Upload the cookbook to Chef Supermarket.
License Metric
1.0.0 failed this metric
FC066: Ensure chef_version is set in metadata: geolite2/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 failed this metric
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any