Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
fix ctf#6: RedHat based systems are not recognized
Browse files Browse the repository at this point in the history
  • Loading branch information
dionysius committed Jun 4, 2014
1 parent b02b838 commit 3c97c58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
# automatically.
$package_file_suffix = $::osfamily ? {
'Debian' => "${::architecture}.deb",
'/(RedHat|Suse)/' => "${::architecture}.rpm",
/(RedHat|Suse)/ => "${::architecture}.rpm",
default => fail("Unsupported operating system: ${::operatingsystem}."),
}
$package_file_provider = $::osfamily ? {
'Debian' => 'dpkg',
'/(RedHat|Suse)/' => 'rpm',
/(RedHat|Suse)/ => 'rpm',
default => fail("Unsupported operating system: ${::operatingsystem}."),
}
}

0 comments on commit 3c97c58

Please sign in to comment.