summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-13 14:14:06 -0500
committerLuke Kanies <luke@madstop.com>2007-10-13 14:14:06 -0500
commit694f98b4d9e7172cec58d407bc5aeae7861e1a06 (patch)
tree18f9ae51bc63da55c928352679a55346365d5bd0 /lib/puppet
parent29feac0cecddc910b74601d0914fa2c83757b10c (diff)
downloadpuppet-694f98b4d9e7172cec58d407bc5aeae7861e1a06.tar.gz
puppet-694f98b4d9e7172cec58d407bc5aeae7861e1a06.tar.xz
puppet-694f98b4d9e7172cec58d407bc5aeae7861e1a06.zip
Fixing failing tests, including making the debian service
provider test work on non-Debian platforms.
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/transportable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/transportable.rb b/lib/puppet/transportable.rb
index 2a600b50e..281ad00d3 100644
--- a/lib/puppet/transportable.rb
+++ b/lib/puppet/transportable.rb
@@ -126,7 +126,7 @@ module Puppet
# Return the type fully capitalized correctly.
def type_capitalized
- type.split("::").collect { |s| s.capitalize }.join("::")
+ type.to_s.split("::").collect { |s| s.capitalize }.join("::")
end
end