Skip to content

Commit

Permalink
change manage_repos behaviour for Debian systems
Browse files Browse the repository at this point in the history
  • Loading branch information
codec committed Sep 9, 2015
1 parent 82af447 commit 3e1f120
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 3e1f120

Please sign in to comment.