Permalink
Browse files

Tests with confines. Not working yet.

  • Loading branch information...
1 parent 5699542 commit fe9dcff7cf9d444762b8512497613900795d819b @cosimo committed Dec 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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');
});

0 comments on commit fe9dcff

Please sign in to comment.