Skip to content

Commit

Permalink
Merge pull request voxpupuli#116 from mayflower/debian_osfamily
Browse files Browse the repository at this point in the history
Include repositories for osfamily Debian, not just wheezy
  • Loading branch information
fpletz committed Sep 9, 2015
2 parents 82af447 + 3e1f120 commit cda4699
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,23 @@
$fpm_group = 'www-data'
$package_prefix = 'php5-'
$compiler_packages = 'build-essential'
$manage_repos = $::lsbdistcodename == 'wheezy'
$root_group = 'root'

case $::operatingsystem {
'Debian': {
$manage_repos = $::lsbdistcodenameid == 'wheezy'
}

'Ubuntu': {
$manage_repos = true
}

default: {
$manage_repos = false
}
}
}

'Suse': {
$config_root = '/etc/php5'
$config_root_ini = "${config_root}/conf.d"
Expand Down

0 comments on commit cda4699

Please sign in to comment.