1286b5e535
Bump PORTREVISION. Reviewed by: swills Maintainer timeout.
19 lines
525 B
Ruby
19 lines
525 B
Ruby
--- lib/facter/processor.rb.orig 2013-04-30 19:57:21.000000000 +0400
|
|
+++ lib/facter/processor.rb 2013-04-30 19:58:19.000000000 +0400
|
|
@@ -88,14 +88,14 @@
|
|
end
|
|
|
|
Facter.add("Processor") do
|
|
- confine :kernel => :openbsd
|
|
+ confine :kernel => [ :openbsd, :freebsd ]
|
|
setcode do
|
|
Facter::Util::Resolution.exec("uname -p")
|
|
end
|
|
end
|
|
|
|
Facter.add("ProcessorCount") do
|
|
- confine :kernel => :openbsd
|
|
+ confine :kernel => [ :openbsd, :freebsd ]
|
|
setcode do
|
|
Facter::Util::Resolution.exec("sysctl -n hw.ncpu")
|
|
end
|