summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-07-14 17:12:46 +0000
committerLuke Kanies <luke@madstop.com>2005-07-14 17:12:46 +0000
commit88071eb02e6afd7f2c03a230d215cf88833df2f2 (patch)
treed138edb483a9c3f7f25b8136da01859e977f4580
parentca8701025b319eabf102e518220c95f8f18dcc84 (diff)
downloadpuppet-88071eb02e6afd7f2c03a230d215cf88833df2f2.tar.gz
puppet-88071eb02e6afd7f2c03a230d215cf88833df2f2.tar.xz
puppet-88071eb02e6afd7f2c03a230d215cf88833df2f2.zip
making rpm the default package manager for all linuxes, with exceptions allowed
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@387 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--test/types/tc_package.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/types/tc_package.rb b/test/types/tc_package.rb
index 4d53ee1ef..b84bb4140 100644
--- a/test/types/tc_package.rb
+++ b/test/types/tc_package.rb
@@ -22,7 +22,9 @@ class TestPackagingType < Test::Unit::TestCase
when "Debian": type = "dpkg"
when "RedHat": type = "rpm"
else
- raise "No default type for " + Facter["distro"].to_s
+ #raise "No default type for " + Facter["distro"].to_s
+ Puppet.warning "Defaulting to 'rpm' for packaging"
+ type = "rpm"
end
else
type = :invalid