Puppet Class: sys::tcsh::params

Inherited by:
sys::tcsh
Defined in:
manifests/tcsh/params.pp

Overview

Class: sys::tcsh::params

Platform-dependent parameters for tcsh.



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
31
32
33
34
35
# File 'manifests/tcsh/params.pp', line 5

class sys::tcsh::params {
  case $::osfamily {
    darwin: {
      $package = false
      $path    = '/bin/tcsh'
    }
    openbsd: {
      include sys::openbsd::pkg
      $package = 'tcsh'
      $path    = '/usr/local/bin/tcsh'
      $source  = $sys::openbsd::pkg::source
    }
    solaris: {
      include sys::solaris
      $provider = 'pkg'
      $package  = 'shell/tcsh'
      $path     = '/usr/bin/tcsh'
    }
    redhat: {
      $package = 'tcsh'
      $path    = '/bin/tcsh'
    }
    debian: {
      $package = 'tcsh'
      $path    = '/bin/tcsh'
    }
    default: {
      fail("Don't know how to install bash on ${::osfamily}.\n")
    }
  }
}