Revision d14d6767
Added by Clemens Bergmann about 10 years ago
manifests/plugin/puppetdb.pp | ||
---|---|---|
class foreman::plugin::puppetdb {
|
||
case $::osfamily {
|
||
RedHat: {
|
||
'RedHat': {
|
||
case $::operatingsystem {
|
||
fedora: {
|
||
'fedora': {
|
||
$package = 'rubygem-puppetdb_foreman'
|
||
}
|
||
default: {
|
||
... | ... | |
}
|
||
}
|
||
}
|
||
Debian: {
|
||
'Debian': {
|
||
$package = 'ruby-puppetdb_foreman'
|
||
}
|
||
Linux: {
|
||
'Linux': {
|
||
case $::operatingsystem {
|
||
Amazon: {
|
||
'Amazon': {
|
||
$package = 'ruby193-rubygem-puppetdb_foreman'
|
||
}
|
||
default: {
|
Also available in: Unified diff
more quotes around case statements