summaryrefslogtreecommitdiffstats
path: root/lib/facter/macosx.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facter/macosx.rb')
-rw-r--r--lib/facter/macosx.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/facter/macosx.rb b/lib/facter/macosx.rb
index aec454a..60bd1ad 100644
--- a/lib/facter/macosx.rb
+++ b/lib/facter/macosx.rb
@@ -29,7 +29,7 @@ if Facter.value(:kernel) == "Darwin"
Facter.add("sp_#{fact}") do
confine :kernel => :darwin
setcode do
- value
+ value.to_s
end
end
end
@@ -38,7 +38,7 @@ if Facter.value(:kernel) == "Darwin"
Facter.add("sp_#{fact}") do
confine :kernel => :darwin
setcode do
- value
+ value.to_s
end
end
end