diff options
author | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-05-30 23:55:33 +0000 |
---|---|---|
committer | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-05-30 23:55:33 +0000 |
commit | 5ae066b59b44b44dfabe527d9a8b5bdead14b938 (patch) | |
tree | d8884eb9e1e9fbbce41b6faac4f07913533abf9d /lib/facter/processor.rb | |
parent | c7cfd0812577df8f678b65093f746d7ae651994c (diff) | |
download | facter-5ae066b59b44b44dfabe527d9a8b5bdead14b938.tar.gz facter-5ae066b59b44b44dfabe527d9a8b5bdead14b938.tar.xz facter-5ae066b59b44b44dfabe527d9a8b5bdead14b938.zip |
Switching "tag" to "confine", because it is a more appropriate term. I will also add "tags", but they will be used for creating fact collections.
git-svn-id: http://reductivelabs.com/svn/facter/trunk@120 1f5c1d6a-bddf-0310-8f58-fc49e503516a
Diffstat (limited to 'lib/facter/processor.rb')
-rw-r--r-- | lib/facter/processor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/facter/processor.rb b/lib/facter/processor.rb index bbb476c..2753806 100644 --- a/lib/facter/processor.rb +++ b/lib/facter/processor.rb @@ -31,13 +31,13 @@ end Facter.add("ProcessorCount") do setcode do - processor_list.length + processor_list.length.to_s end end processor_list.each_with_index do |desc, i| Facter.add("Processor#{i}") do - tag :kernel => "Linux" + confine :kernel => :linux setcode do desc end |