Puppet Class: xdm::params

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

Overview

Class: xdm::params

Just some params.pp



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

class xdm::params {
  
  $package_ensure = 'present'
  $service_ensure = 'running'
  
  case $::operatingsystem {
    'Ubuntu': {
      case $::operatingsystemmajrelease {
        '14.04': {
          $xdm_package = 'xdm'
          $xdm_config_file = '/etc/X11/xdm/xdm-config'
        }
        
        default: {
          fail("Unsupported platform: ${module_name} currently doesn't support ${::operatingsystem} ${::operatingsystemmajrelease}")
        }
      }
    }
    
    default: {
      fail("Unsupported platform: ${module_name} currently doesn't support ${::operatingsystem}")
    }
  }
}