Defined Type: freetds::locales

Defined in:
manifests/locales.pp

Overview

Parameters:

  • date_format (Any) (defaults to: undef)
  • language (Any) (defaults to: undef)
  • charset (Any) (defaults to: undef)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/locales.pp', line 1

define freetds::locales (
  $date_format = undef,
  $language = undef,
  $charset = undef,
) {
  validate_string($date_format)
  validate_string($language)
  validate_string($charset)
  
  
  concat{"${::freetds::params::locales}":
    owner => root,
    group => root,
    mode  => '0644',
  }

  concat::fragment{"freetds_locales_header":
    target => "${::freetds::params::locales}",
    content => "### This file is managed by freetds puppet module. ###\n### Please do not make any Manual Changes! ###\n\n",
    order   => 01,
  }
  
  concat::fragment{"freetds_locales_${name}":
    target => "${::freetds::params::locales}",
    content => template("${module_name}/locales.conf.erb"),
    order   => 10,
  }

  
}