Puppet Class: geoip::config

Defined in:
manifests/config.pp

Overview

This class implements the configuration stage of this module. It should not be called directly.

Configuration file defined with geoip::config_path will be created using parameter from geoip::config.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/config.pp', line 5

class geoip::config {
  class { "geoip::config::${geoip::config_version}":
    * => $geoip::config,
  }

  $srv = $facts['service_provider']
  case $srv {
    /systemd/: {
      contain geoip::systemd::service
    }
    default: {
      warning("unknown service provider (${srv}).")
    } # default
  }
}