Revision d14d6767
Added by Clemens Bergmann about 10 years ago
manifests/install.pp | ||
---|---|---|
}
|
||
|
||
case $foreman::db_type {
|
||
sqlite: {
|
||
'sqlite': {
|
||
case $::operatingsystem {
|
||
Debian,Ubuntu: { $package = 'foreman-sqlite3' }
|
||
default: { $package = 'foreman-sqlite' }
|
||
'Debian','Ubuntu': { $package = 'foreman-sqlite3' }
|
||
default: { $package = 'foreman-sqlite' }
|
||
}
|
||
}
|
||
postgresql: {
|
||
'postgresql': {
|
||
$package = 'foreman-postgresql'
|
||
}
|
||
mysql: {
|
||
'mysql': {
|
||
$package = 'foreman-mysql2'
|
||
}
|
||
}
|
Also available in: Unified diff
more quotes around case statements