Skip to content

Commit

Permalink
fix puppet case statement osfamily test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelloc committed Mar 16, 2016
1 parent b01cc9e commit 343b3e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions manifests/params.pp
Expand Up @@ -21,7 +21,7 @@
$base = 'AvamarClient'

case $::osfamily {
RedHat: {
'RedHat': {
$provider = 'rpm'
$type = 'rpm'
case $::lsbmajdistrelease {
Expand Down Expand Up @@ -55,7 +55,7 @@
}
}
}
Suse: {
'Suse': {
$provider = 'rpm'
$type = 'rpm'
case $::lsbmajdistrelease {
Expand Down Expand Up @@ -89,7 +89,7 @@
}
}
}
Solaris: {
'Solaris': {
$provider = 'sun'
$type = 'pkg'
case $::architecture {
Expand All @@ -103,7 +103,7 @@
}
}
}
Debian: {
'Debian': {
$provider = 'dpkg'
$pkg_name = 'avamarclient-debian'
$type = 'deb'
Expand All @@ -118,7 +118,7 @@
}
}
}
Windows: {
'Windows': {
$provider = 'windows'
$type = 'msi'
$pkg_name = "EMC Avamar for Windows"
Expand Down

0 comments on commit 343b3e4

Please sign in to comment.