summaryrefslogtreecommitdiffstats
path: root/lib/facter/macosx.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-06-17 10:59:52 -0500
committerLuke Kanies <luke@madstop.com>2008-06-17 10:59:52 -0500
commitce7b74c6a5094661f2af63dbdf992a12652f7778 (patch)
tree9b6dfa55a434f2e9b017ef007753bcb8d026b127 /lib/facter/macosx.rb
parent2ee5d29548b48a3c81f574c2be84db60f6ff306a (diff)
downloadfacter-ce7b74c6a5094661f2af63dbdf992a12652f7778.tar.gz
facter-ce7b74c6a5094661f2af63dbdf992a12652f7778.tar.xz
facter-ce7b74c6a5094661f2af63dbdf992a12652f7778.zip
Rejustifying all of the whitespace in the facts, yay.
Diffstat (limited to 'lib/facter/macosx.rb')
-rw-r--r--lib/facter/macosx.rb46
1 files changed, 23 insertions, 23 deletions
diff --git a/lib/facter/macosx.rb b/lib/facter/macosx.rb
index 60bd1ad..e7573b0 100644
--- a/lib/facter/macosx.rb
+++ b/lib/facter/macosx.rb
@@ -10,11 +10,11 @@
# as published by the Free Software Foundation (version 2 of the License)
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston MA 02110-1301 USA
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston MA 02110-1301 USA
# Jeff McCune
# There's a lot more information coming out of system_profiler -xml
@@ -25,30 +25,30 @@
require 'facter/util/macosx'
if Facter.value(:kernel) == "Darwin"
- Facter::Macosx.hardware_overview.each do |fact, value|
- Facter.add("sp_#{fact}") do
- confine :kernel => :darwin
- setcode do
- value.to_s
- end
+ Facter::Macosx.hardware_overview.each do |fact, value|
+ Facter.add("sp_#{fact}") do
+ confine :kernel => :darwin
+ setcode do
+ value.to_s
+ end
+ end
end
- end
- Facter::Macosx.os_overview.each do |fact, value|
- Facter.add("sp_#{fact}") do
- confine :kernel => :darwin
- setcode do
- value.to_s
- end
+ Facter::Macosx.os_overview.each do |fact, value|
+ Facter.add("sp_#{fact}") do
+ confine :kernel => :darwin
+ setcode do
+ value.to_s
+ end
+ end
end
- end
- Facter::Macosx.sw_vers.each do |fact, value|
- Facter.add(fact) do
- confine :kernel => :darwin
- setcode do
- value
- end
+ Facter::Macosx.sw_vers.each do |fact, value|
+ Facter.add(fact) do
+ confine :kernel => :darwin
+ setcode do
+ value
+ end
+ end
end
- end
end