summaryrefslogtreecommitdiff
path: root/manifests/vhost/php/safe_mode_bin.pp
blob: 4a3574d32925a3394533235d3cb11651c024e18e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
define apache::vhost::php::safe_mode_bin(
  $ensure = 'present',
  $path
){
  $substr=regsubst($name,'^.*\/','','G')
  $real_path = "$path/$substr"
  file{$real_path:
    ensure => $ensure ? {
      'present' => regsubst($name,'^.*@',''),
      default => absent,
    }
  }
}