Class geoip::conf
In: /modules/geoip/manifests/conf.pp
Parent:

Class: geoip::conf

This class configures GeoIP.conf with your credentials provided by MaxMind, in order to have the `geoipupdate` program automatically download and install the latest GeoIP databases.

Parameters

* userid *
UserId provided by MaxMind for your account. Default: none
* licensekey *
LicenseKey provided by MaxMind for your account. Default: none
* productids *
String list of Product Ids geoipupdate should download. Default: 106

Examples

    class { 'geoip::conf':
      userid     => '12345',
      licensekey => 'abcdefghijklmnop',
      productids => '106 133',
    }

Author

Matthias Saou <matthias@saou.eu>

Resources

Resources

File["/etc/GeoIP.conf"]
   owner => "root"
   group => "root"
   mode => "0600"
   content => template("geoip/GeoIP.conf.erb")
   ensure => $ensure

[Validate]