Puppet Class: geoip

Defined in:
modules/geoip/manifests/init.pp

Overview

Classes to manage the installation of MaxMind GeoIP libraries and databases

To install the geoip utilities & all of the data you can use

include geoip

Class geoip

Convenience class that installs the MaxMind binaries, library & all data

Parameters:

  • fetch_ipinfo_dbs (Optional[Boolean]) (defaults to: false)


10
11
12
13
14
15
16
17
18
19
# File 'modules/geoip/manifests/init.pp', line 10

class geoip(
    Optional[Boolean] $fetch_ipinfo_dbs = false,
){
  # load the data from the puppetmaster. You need to make sure the puppetmaster
  # includes one or more of the other data classes
    class { 'geoip::data::puppet':
        fetch_ipinfo_dbs => $fetch_ipinfo_dbs,
    }
  include ::geoip::bin
}