Puppet Class: mrepo::params

Inherited by:
mrepo
Defined in:
manifests/params.pp

Overview

This class provides default options for mrepo that can be overridden as well as validating overridden parameters.

Author

Adrien Thebo <adrien@puppetlabs.com>

Copyright 2011 Puppet Labs unless otherwise noted



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'manifests/params.pp', line 12

class mrepo::params {
  $src_root            = '/var/mrepo'
  $www_root            = '/var/www/mrepo'
  $www_servername      = 'mrepo'
  $www_ip              = $facts['networking']['ip']
  $www_ip_based        = false
  $user                = 'apache'
  $group               = 'apache'
  $source              = 'package'
  $ensure_src          = 'latest'
  $selinux             = undef
  $rhn                 = false
  $rhn_config          = false
  $rhn_username        = undef
  $rhn_password        = undef
  $rhnget_cleanup      = undef
  $rhnget_download_all = undef
  $genid_command       = '/usr/bin/gensystemid'
  $mailto              = undef
  $mailfrom            = undef
  $smtpserver          = undef
  $git_proto           = 'git'
  $descriptions        = {}
  $http_proxy          = undef
  $https_proxy         = undef
  $priority            = 10
  $port                = 80
  $createrepo_options  = undef
  $selinux_context     = 'system_u:object_r:httpd_sys_content_t'
  $service_enable      = true
  $service_manage      = false
}