]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/staging/manifests/params.pp
add nanliu/staging to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / staging / manifests / params.pp
1 # OS specific parameters
2 class staging::params {
3   case $::osfamily {
4     default: {
5       $path      = '/opt/staging'
6       $owner     = '0'
7       $group     = '0'
8       $mode      = '0755'
9       $exec_path = '/usr/local/bin:/usr/bin:/bin'
10     }
11     'Solaris': {
12       $path      = '/opt/staging'
13       $owner     = '0'
14       $group     = '0'
15       $mode      = '0755'
16       $exec_path = '/usr/local/bin:/usr/bin:/bin:/usr/sfw/bin'
17     }
18     'windows': {
19       $path      = $::staging_windir
20       $owner     = 'S-1-5-32-544' # Adminstrators
21       $group     = 'S-1-5-18'     # SYSTEM
22       $mode      = '0660'
23       $exec_path = $::path
24     }
25     'FreeBSD': {
26       $path      = '/var/tmp/staging'
27       $owner     = '0'
28       $group     = '0'
29       $mode      = '0755'
30       $exec_path = '/usr/local/bin:/usr/bin:/bin'
31     }
32   }
33 }