diff options
| author | Luke Kanies <luke@madstop.com> | 2005-06-29 16:34:47 +0000 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2005-06-29 16:34:47 +0000 |
| commit | 00343e3ea7c5633c6580339b9bbe5ee1fa0bac59 (patch) | |
| tree | c9d3d7fd4ff5a2392c7824d31cfffe80c324e69a /test | |
| parent | 2b2975f06f86058589d5aeff1a4d7f0a72cf5b92 (diff) | |
| download | puppet-00343e3ea7c5633c6580339b9bbe5ee1fa0bac59.tar.gz puppet-00343e3ea7c5633c6580339b9bbe5ee1fa0bac59.tar.xz puppet-00343e3ea7c5633c6580339b9bbe5ee1fa0bac59.zip | |
basic rpm stuff now works
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@317 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
| -rw-r--r-- | test/types/tc_package.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/types/tc_package.rb b/test/types/tc_package.rb index 38669e467..4d53ee1ef 100644 --- a/test/types/tc_package.rb +++ b/test/types/tc_package.rb @@ -18,7 +18,12 @@ class TestPackagingType < Test::Unit::TestCase when "SunOS" type = "sunpkg" when "Linux" - type = "dpkg" + case Facter["distro"].value + when "Debian": type = "dpkg" + when "RedHat": type = "rpm" + else + raise "No default type for " + Facter["distro"].to_s + end else type = :invalid end |
