Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tests with confines. Not working yet.

  • Loading branch information...
commit fe9dcff7cf9d444762b8512497613900795d819b 1 parent 5699542
@cosimo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Facter/physicalprocessorcount.pm
View
2  lib/Facter/physicalprocessorcount.pm
@@ -1,6 +1,6 @@
Facter.add("physicalprocessorcount", sub ($f) {
# TODO kernel fact not available yet
- #$f.confine("kernel", "linux");
+ #$f.confine("kernel" => "Linux");
$f.setcode(block => sub {
Facter::Util::Resolution.exec('grep "physical id" /proc/cpuinfo|cut -d: -f 2|sort -u|wc -l');
});
Please sign in to comment.
Something went wrong with that request. Please try again.