facter 1.6.12.rc1 → 1.6.12.rc2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of facter might be problematic. Click here for more details.

data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 1.6.12-rc2
2
+ ===
3
+ 398b111 (Maint) Extract common elements of selinux tests
4
+ c534126 (#10819) Avoid reading from /proc/self/mounts in ruby
5
+ b95ea54 fix yum repo path in yaml file
6
+
1
7
  1.6.12rc1
2
8
  ===
3
9
  3ad05f1 Remove version test from facter
@@ -12,7 +12,7 @@ sign_tar: TRUE
12
12
  final_mocks: 'pl-5-i386 pl-5-x86_64 pl-6-i386 pl-6-x86_64 fedora-15-i386 fedora-15-x86_64 fedora-16-i386 fedora-16-x86_64 fedora-17-i386 fedora-17-x86_64'
13
13
  rc_mocks: 'pl-5-i386-dev pl-5-x86_64-dev pl-6-i386-dev pl-6-x86_64-dev fedora-15-i386-dev fedora-15-x86_64-dev fedora-16-i386-dev fedora-16-x86_64-dev fedora-17-i386-dev fedora-17-x86_64-dev'
14
14
  yum_host: 'burji.puppetlabs.com'
15
- yum_repo_path: '~/repo/'
15
+ yum_repo_path: '/opt/repository/yum/'
16
16
  build_gem: TRUE
17
17
  build_dmg: TRUE
18
18
  apt_host: 'burji.puppetlabs.com'
@@ -28,12 +28,14 @@ if @build_gem == TRUE or @build_gem == 'true' or @build_gem == 'TRUE'
28
28
  s.executables = @gem_executables
29
29
  s.rubyforge_project = @gem_forge_project
30
30
 
31
- @gem_runtime_dependencies.each do |key, value|
32
- s.add_runtime_dependency("#{key}", "#{value}")
31
+ @gem_runtime_dependencies.each do |gem, version|
32
+ s.add_runtime_dependency("#{gem}", "#{version}") unless (version.nil? or version.empty?)
33
+ s.add_runtime_dependency("#{gem}") if (version.nil? or version.empty?)
33
34
  end unless @gem_runtime_dependencies.nil?
34
35
 
35
- @gem_devel_dependencies.each do |key, value|
36
- s.add_devel_dependency("#{key}", "#{value}")
36
+ @gem_devel_dependencies.each do |gem, version|
37
+ s.add_devel_dependency("#{gem}", "#{version}") unless (version.nil? or version.empty?)
38
+ s.add_devel_dependency("#{gem}") if (version.nil? or version.empty?)
37
39
  end unless @gem_devel_dependencies.nil?
38
40
 
39
41
  @gem_rdoc_options.each do |option|
@@ -3,7 +3,7 @@ namespace :package do
3
3
  task :versionbump do
4
4
  old_version = get_version_file_version
5
5
  contents = IO.read(@version_file)
6
- new_version = '"' + get_version.to_s.strip + '"'
6
+ new_version = '"' + @version.to_s.strip + '"'
7
7
  if contents.match("VERSION = #{old_version}")
8
8
  contents.gsub!("VERSION = #{old_version}", "VERSION = #{new_version}")
9
9
  else
@@ -17,7 +17,7 @@ namespace :pl do
17
17
 
18
18
  desc "Ship built gem to rubygems"
19
19
  task :ship_gem do
20
- ship_gem("pkg/#{@name}-#{@version}.gem")
20
+ ship_gem("pkg/#{@name}-#{@gemversion}.gem")
21
21
  end
22
22
 
23
23
  end
@@ -17,11 +17,14 @@ sestatus_cmd = '/usr/sbin/sestatus'
17
17
  def selinux_mount_point
18
18
  path = "/selinux"
19
19
  if FileTest.exists?('/proc/self/mounts')
20
- File.open('/proc/self/mounts') do |f|
21
- f.grep(/selinuxfs/) do |line|
22
- path = line.split[1]
23
- break
24
- end
20
+ # Centos 5 shows an error in which having ruby use File.read to read
21
+ # /proc/self/mounts combined with the puppet agent run with --listen causes
22
+ # a hang. Reading from other parts of /proc does not seem to cause this problem.
23
+ # The work around is to read the file in another process.
24
+ # -- andy Fri Aug 31 2012
25
+ selinux_line = Facter::Util::Resolution.exec('cat /proc/self/mounts').lines.find { |line| line =~ /selinuxfs/ }
26
+ if selinux_line
27
+ path = selinux_line.split[1]
25
28
  end
26
29
  end
27
30
  path
@@ -1,6 +1,6 @@
1
1
  module Facter
2
2
  if not defined? FACTERVERSION then
3
- FACTERVERSION = '1.6.12-rc1'
3
+ FACTERVERSION = '1.6.12-rc2'
4
4
  end
5
5
 
6
6
  def self.version
@@ -3,37 +3,28 @@
3
3
  require 'spec_helper'
4
4
 
5
5
  describe "SELinux facts" do
6
-
7
-
8
- after do
9
- Facter.clear
10
- end
11
-
12
6
  describe "should detect if SELinux is enabled" do
13
- it "and return true with default /selinux" do
7
+ before :each do
14
8
  Facter.fact(:kernel).stubs(:value).returns("Linux")
9
+ end
15
10
 
16
- FileTest.stubs(:exists?).returns false
17
- File.stubs(:read).with("/proc/self/attr/current").returns("notkernel")
11
+ it "and return true with default /selinux" do
12
+ mounts_does_not_exist
18
13
 
19
- FileTest.expects(:exists?).with("/selinux/enforce").returns true
14
+ File.stubs(:read).with("/proc/self/attr/current").returns("notkernel")
20
15
  FileTest.expects(:exists?).with("/proc/self/attr/current").returns true
21
16
  File.expects(:read).with("/proc/self/attr/current").returns("kernel")
22
17
 
18
+ FileTest.expects(:exists?).with("/selinux/enforce").returns true
19
+
23
20
  Facter.fact(:selinux).value.should == "true"
24
21
  end
25
22
 
26
23
  it "and return true with selinuxfs path from /proc" do
27
- Facter.fact(:kernel).stubs(:value).returns("Linux")
28
-
29
- mounts = mock()
30
- lines = [ "selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0" ]
31
- mounts.expects(:grep).multiple_yields(*lines)
32
-
33
- FileTest.expects(:exists?).with("/proc/self/mounts").returns true
34
- File.expects(:open).with("/proc/self/mounts").yields(mounts)
24
+ selinux_root = "/sys/fs/selinux"
25
+ mounts_contains("selinuxfs #{selinux_root} selinuxfs rw,relatime 0 0")
35
26
 
36
- FileTest.expects(:exists?).with("/sys/fs/selinux/enforce").returns true
27
+ FileTest.expects(:exists?).with("#{selinux_root}/enforce").returns true
37
28
 
38
29
  FileTest.expects(:exists?).with("/proc/self/attr/current").returns true
39
30
  File.expects(:read).with("/proc/self/attr/current").returns("kernel")
@@ -42,19 +33,13 @@ describe "SELinux facts" do
42
33
  end
43
34
 
44
35
  it "and return true with multiple selinuxfs mounts from /proc" do
45
- Facter.fact(:kernel).stubs(:value).returns("Linux")
46
-
47
- mounts = mock()
48
- lines = [
49
- "selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0",
50
- "selinuxfs /var/tmp/imgcreate-R2wmE6/install_root/sys/fs/selinux selinuxfs rw,relatime 0 0",
51
- ]
52
- mounts.expects(:grep).multiple_yields(*lines)
53
-
54
- FileTest.expects(:exists?).with("/proc/self/mounts").returns true
55
- File.expects(:open).with("/proc/self/mounts").yields(mounts)
36
+ selinux_root = "/sys/fs/selinux"
37
+ mounts_contains(
38
+ "selinuxfs #{selinux_root} selinuxfs rw,relatime 0 0",
39
+ "selinuxfs /var/tmp/imgcreate-R2wmE6/install_root/sys/fs/selinux selinuxfs rw,relatime 0 0"
40
+ )
56
41
 
57
- FileTest.expects(:exists?).with("/sys/fs/selinux/enforce").returns true
42
+ FileTest.expects(:exists?).with("#{selinux_root}/enforce").returns true
58
43
 
59
44
  FileTest.expects(:exists?).with("/proc/self/attr/current").returns true
60
45
  File.expects(:read).with("/proc/self/attr/current").returns("kernel")
@@ -63,71 +48,73 @@ describe "SELinux facts" do
63
48
  end
64
49
  end
65
50
 
66
- it "should return true if SELinux policy enabled" do
67
- Facter.fact(:selinux).stubs(:value).returns("true")
68
-
69
- FileTest.stubs(:exists?).returns false
70
- File.stubs(:read).with("/selinux/enforce").returns("0")
71
-
72
- FileTest.expects(:exists?).with("/selinux/enforce").returns true
73
- File.expects(:read).with("/selinux/enforce").returns("1")
51
+ describe "when selinux is present" do
52
+ before :each do
53
+ Facter.fact(:selinux).stubs(:value).returns("true")
54
+ end
74
55
 
75
- Facter.fact(:selinux_enforced).value.should == "true"
76
- end
56
+ it "should return true if SELinux policy enabled" do
57
+ mounts_does_not_exist
77
58
 
78
- it "should return an SELinux policy version" do
79
- Facter.fact(:selinux).stubs(:value).returns("true")
80
- FileTest.stubs(:exists?).with("/proc/self/mounts").returns false
81
-
82
- File.expects(:read).with("/selinux/policyvers").returns("1")
83
- FileTest.expects(:exists?).with("/selinux/policyvers").returns true
59
+ FileTest.expects(:exists?).with("/selinux/enforce").returns true
60
+ File.expects(:read).with("/selinux/enforce").returns("1")
84
61
 
85
- Facter.fact(:selinux_policyversion).value.should == "1"
86
- end
62
+ Facter.fact(:selinux_enforced).value.should == "true"
63
+ end
87
64
 
88
- it "it should return 'unknown' SELinux policy version if /selinux/policyvers doesn't exist" do
89
- Facter.fact(:selinux).stubs(:value).returns("true")
90
- FileTest.expects(:exists?).with("/proc/self/mounts").returns false
91
- FileTest.expects(:exists?).with("/selinux/policyvers").returns false
65
+ it "should return an SELinux policy version" do
66
+ mounts_does_not_exist
92
67
 
93
- Facter.fact(:selinux_policyversion).value.should == "unknown"
94
- end
68
+ FileTest.expects(:exists?).with("/selinux/policyvers").returns true
69
+ File.expects(:read).with("/selinux/policyvers").returns("1")
95
70
 
96
- it "should return the SELinux current mode" do
97
- Facter.fact(:selinux).stubs(:value).returns("true")
71
+ Facter.fact(:selinux_policyversion).value.should == "1"
72
+ end
98
73
 
99
- selinux_sestatus = my_fixture_read("selinux_sestatus")
74
+ it "it should return 'unknown' SELinux policy version if /selinux/policyvers doesn't exist" do
75
+ mounts_does_not_exist
100
76
 
101
- Facter::Util::Resolution.stubs(:exec).with('/usr/sbin/sestatus').returns(selinux_sestatus)
77
+ FileTest.expects(:exists?).with("/selinux/policyvers").returns false
102
78
 
103
- Facter.fact(:selinux_current_mode).value.should == "permissive"
104
- end
79
+ Facter.fact(:selinux_policyversion).value.should == "unknown"
80
+ end
105
81
 
106
- it "should return the SELinux mode from the configuration file" do
107
- Facter.fact(:selinux).stubs(:value).returns("true")
82
+ it "should return the SELinux current mode" do
83
+ sestatus_is(my_fixture_read("selinux_sestatus"))
108
84
 
109
- selinux_sestatus = my_fixture_read("selinux_sestatus")
85
+ Facter.fact(:selinux_current_mode).value.should == "permissive"
86
+ end
110
87
 
111
- Facter::Util::Resolution.stubs(:exec).with('/usr/sbin/sestatus').returns(selinux_sestatus)
88
+ it "should return the SELinux mode from the configuration file" do
89
+ sestatus_is(my_fixture_read("selinux_sestatus"))
112
90
 
113
- Facter.fact(:selinux_config_mode).value.should == "permissive"
114
- end
91
+ Facter.fact(:selinux_config_mode).value.should == "permissive"
92
+ end
115
93
 
116
- it "should return the SELinux configuration file policy" do
117
- Facter.fact(:selinux).stubs(:value).returns("true")
94
+ it "should return the SELinux configuration file policy" do
95
+ sestatus_is(my_fixture_read("selinux_sestatus"))
118
96
 
119
- selinux_sestatus = my_fixture_read("selinux_sestatus")
97
+ Facter.fact(:selinux_config_policy).value.should == "targeted"
98
+ end
120
99
 
121
- Facter::Util::Resolution.stubs(:exec).with('/usr/sbin/sestatus').returns(selinux_sestatus)
100
+ it "should ensure legacy selinux_mode facts returns same value as selinux_config_policy fact" do
101
+ Facter.fact(:selinux_config_policy).stubs(:value).returns("targeted")
122
102
 
123
- Facter.fact(:selinux_config_policy).value.should == "targeted"
103
+ Facter.fact(:selinux_mode).value.should == "targeted"
104
+ end
124
105
  end
125
106
 
126
- it "should ensure legacy selinux_mode facts returns same value as selinux_config_policy fact" do
127
- Facter.fact(:selinux).stubs(:value).returns("true")
107
+ def sestatus_is(status)
108
+ Facter::Util::Resolution.stubs(:exec).with('/usr/sbin/sestatus').returns(status)
109
+ end
128
110
 
129
- Facter.fact(:selinux_config_policy).stubs(:value).returns("targeted")
111
+ def mounts_does_not_exist
112
+ FileTest.stubs(:exists?).with("/proc/self/mounts").returns false
113
+ end
130
114
 
131
- Facter.fact(:selinux_mode).value.should == "targeted"
115
+ def mounts_contains(*lines)
116
+ FileTest.expects(:exists?).with("/proc/self/mounts").returns true
117
+ Facter::Util::Resolution.expects(:exec).with("cat /proc/self/mounts").returns(lines.join("\n"))
132
118
  end
119
+
133
120
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facter
3
3
  version: !ruby/object:Gem::Version
4
- hash: -3110484270
4
+ hash: 4099510959
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 1
8
8
  - 6
9
9
  - 12
10
10
  - rc
11
- - 1
12
- version: 1.6.12.rc1
11
+ - 2
12
+ version: 1.6.12.rc2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Puppet Labs
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-08-30 00:00:00 Z
20
+ date: 2012-08-31 00:00:00 Z
21
21
  dependencies: []
22
22
 
23
23
  description: You can prove anything with facts!
@@ -29,268 +29,268 @@ extensions: []
29
29
  extra_rdoc_files: []
30
30
 
31
31
  files:
32
- - README.md
33
32
  - CHANGELOG
34
33
  - CONTRIBUTING.md
35
- - INSTALL
36
- - LICENSE
37
34
  - Gemfile
38
35
  - Gemfile.lock
36
+ - INSTALL
37
+ - LICENSE
39
38
  - Rakefile
39
+ - README.md
40
40
  - install.rb
41
41
  - bin/facter
42
42
  - etc/facter.conf
43
+ - ext/build_defaults.yaml
43
44
  - ext/debian/changelog.erb
45
+ - ext/debian/compat
46
+ - ext/debian/control
47
+ - ext/debian/copyright
44
48
  - ext/debian/docs
45
49
  - ext/debian/lintian-overrides
46
50
  - ext/debian/rules
47
- - ext/debian/compat
48
- - ext/debian/copyright
49
51
  - ext/debian/source/format
50
- - ext/debian/control
51
- - ext/project_data.yaml
52
+ - ext/facter-diff
53
+ - ext/osx/createpackage.sh
54
+ - ext/osx/file_mapping.yaml
55
+ - ext/osx/PackageInfo.plist
56
+ - ext/osx/preflight.erb
57
+ - ext/osx/prototype.plist.erb
52
58
  - ext/packaging/README.md
53
59
  - ext/packaging/tasks/00_utils.rb
54
- - ext/packaging/tasks/apple.rake
55
60
  - ext/packaging/tasks/10_setupvars.rake
61
+ - ext/packaging/tasks/apple.rake
62
+ - ext/packaging/tasks/clean.rake
56
63
  - ext/packaging/tasks/deb.rake
57
- - ext/packaging/tasks/tar.rake
64
+ - ext/packaging/tasks/gem.rake
58
65
  - ext/packaging/tasks/mock.rake
59
- - ext/packaging/tasks/clean.rake
60
- - ext/packaging/tasks/ship.rake
61
- - ext/packaging/tasks/rpm.rake
62
66
  - ext/packaging/tasks/release.rake
67
+ - ext/packaging/tasks/rpm.rake
68
+ - ext/packaging/tasks/ship.rake
63
69
  - ext/packaging/tasks/sign.rake
64
- - ext/packaging/tasks/gem.rake
70
+ - ext/packaging/tasks/tar.rake
71
+ - ext/project_data.yaml
65
72
  - ext/redhat/facter.spec.erb
66
73
  - ext/solaris/pkginfo
67
- - ext/facter-diff
68
- - ext/osx/preflight.erb
69
- - ext/osx/prototype.plist.erb
70
- - ext/osx/file_mapping.yaml
71
- - ext/osx/createpackage.sh
72
- - ext/osx/PackageInfo.plist
73
- - ext/build_defaults.yaml
74
- - lib/facter/interfaces.rb
75
- - lib/facter/ec2.rb
76
- - lib/facter/puppetversion.rb
77
- - lib/facter/arp.rb
78
- - lib/facter/kernelversion.rb
79
74
  - lib/facter/application.rb
80
- - lib/facter/path.rb
81
- - lib/facter/kernel.rb
82
- - lib/facter/lsbrelease.rb
83
- - lib/facter/rubysitedir.rb
75
+ - lib/facter/architecture.rb
76
+ - lib/facter/arp.rb
77
+ - lib/facter/augeasversion.rb
78
+ - lib/facter/Cfkey.rb
79
+ - lib/facter/domain.rb
80
+ - lib/facter/ec2.rb
81
+ - lib/facter/facterversion.rb
82
+ - lib/facter/fqdn.rb
83
+ - lib/facter/hardwareisa.rb
84
+ - lib/facter/hardwaremodel.rb
84
85
  - lib/facter/hostname.rb
85
- - lib/facter/ipaddress6.rb
86
- - lib/facter/uniqueid.rb
87
- - lib/facter/operatingsystemrelease.rb
88
86
  - lib/facter/id.rb
89
- - lib/facter/uptime_hours.rb
90
- - lib/facter/physicalprocessorcount.rb
91
- - lib/facter/version.rb
92
- - lib/facter/fqdn.rb
93
- - lib/facter/uptime.rb
94
- - lib/facter/xendomains.rb
95
- - lib/facter/virtual.rb
96
- - lib/facter/kernelmajversion.rb
87
+ - lib/facter/interfaces.rb
97
88
  - lib/facter/ipaddress.rb
98
- - lib/facter/domain.rb
89
+ - lib/facter/ipaddress6.rb
90
+ - lib/facter/iphostnumber.rb
91
+ - lib/facter/kernel.rb
92
+ - lib/facter/kernelmajversion.rb
99
93
  - lib/facter/kernelrelease.rb
100
- - lib/facter/macaddress.rb
101
- - lib/facter/lsbdistrelease.rb
102
- - lib/facter/network.rb
103
- - lib/facter/Cfkey.rb
94
+ - lib/facter/kernelversion.rb
104
95
  - lib/facter/lsbdistcodename.rb
105
- - lib/facter/lsbdistid.rb
106
96
  - lib/facter/lsbdistdescription.rb
107
- - lib/facter/hardwareisa.rb
108
- - lib/facter/uptime_days.rb
97
+ - lib/facter/lsbdistid.rb
98
+ - lib/facter/lsbdistrelease.rb
99
+ - lib/facter/lsbmajdistrelease.rb
100
+ - lib/facter/lsbrelease.rb
101
+ - lib/facter/macaddress.rb
102
+ - lib/facter/macosx.rb
103
+ - lib/facter/manufacturer.rb
104
+ - lib/facter/memory.rb
105
+ - lib/facter/netmask.rb
106
+ - lib/facter/network.rb
107
+ - lib/facter/operatingsystem.rb
108
+ - lib/facter/operatingsystemrelease.rb
109
+ - lib/facter/osfamily.rb
110
+ - lib/facter/path.rb
111
+ - lib/facter/physicalprocessorcount.rb
112
+ - lib/facter/processor.rb
113
+ - lib/facter/ps.rb
114
+ - lib/facter/puppetversion.rb
115
+ - lib/facter/rubysitedir.rb
116
+ - lib/facter/rubyversion.rb
109
117
  - lib/facter/selinux.rb
110
- - lib/facter/util/fact.rb
111
- - lib/facter/util/registry.rb
112
- - lib/facter/util/ec2.rb
113
- - lib/facter/util/values.rb
114
- - lib/facter/util/monkey_patches.rb
115
- - lib/facter/util/plist.rb
116
- - lib/facter/util/uptime.rb
117
- - lib/facter/util/xendomains.rb
118
- - lib/facter/util/virtual.rb
119
- - lib/facter/util/wmi.rb
120
- - lib/facter/util/macaddress.rb
121
- - lib/facter/util/confine.rb
122
- - lib/facter/util/config.rb
118
+ - lib/facter/ssh.rb
119
+ - lib/facter/timezone.rb
120
+ - lib/facter/uniqueid.rb
121
+ - lib/facter/uptime.rb
122
+ - lib/facter/uptime_days.rb
123
+ - lib/facter/uptime_hours.rb
124
+ - lib/facter/uptime_seconds.rb
123
125
  - lib/facter/util/collection.rb
126
+ - lib/facter/util/config.rb
127
+ - lib/facter/util/confine.rb
128
+ - lib/facter/util/ec2.rb
129
+ - lib/facter/util/fact.rb
130
+ - lib/facter/util/ip.rb
124
131
  - lib/facter/util/loader.rb
132
+ - lib/facter/util/macaddress.rb
133
+ - lib/facter/util/macosx.rb
125
134
  - lib/facter/util/manufacturer.rb
126
- - lib/facter/util/vlans.rb
127
135
  - lib/facter/util/memory.rb
128
- - lib/facter/util/macosx.rb
136
+ - lib/facter/util/monkey_patches.rb
129
137
  - lib/facter/util/netmask.rb
130
- - lib/facter/util/processor.rb
131
- - lib/facter/util/ip.rb
132
- - lib/facter/util/plist/parser.rb
133
138
  - lib/facter/util/plist/generator.rb
139
+ - lib/facter/util/plist/parser.rb
140
+ - lib/facter/util/plist.rb
141
+ - lib/facter/util/processor.rb
142
+ - lib/facter/util/registry.rb
134
143
  - lib/facter/util/resolution.rb
135
- - lib/facter/uptime_seconds.rb
136
- - lib/facter/architecture.rb
137
- - lib/facter/hardwaremodel.rb
138
- - lib/facter/manufacturer.rb
144
+ - lib/facter/util/uptime.rb
145
+ - lib/facter/util/values.rb
146
+ - lib/facter/util/virtual.rb
147
+ - lib/facter/util/vlans.rb
148
+ - lib/facter/util/wmi.rb
149
+ - lib/facter/util/xendomains.rb
150
+ - lib/facter/version.rb
151
+ - lib/facter/virtual.rb
139
152
  - lib/facter/vlans.rb
140
- - lib/facter/ps.rb
141
- - lib/facter/facterversion.rb
142
- - lib/facter/rubyversion.rb
143
- - lib/facter/memory.rb
144
- - lib/facter/timezone.rb
145
- - lib/facter/macosx.rb
146
- - lib/facter/iphostnumber.rb
147
- - lib/facter/operatingsystem.rb
148
- - lib/facter/netmask.rb
149
- - lib/facter/ssh.rb
150
- - lib/facter/processor.rb
151
- - lib/facter/lsbmajdistrelease.rb
152
- - lib/facter/augeasversion.rb
153
- - lib/facter/osfamily.rb
153
+ - lib/facter/xendomains.rb
154
154
  - lib/facter.rb
155
+ - spec/fixtures/cpuinfo/amd64dual
156
+ - spec/fixtures/cpuinfo/amd64quad
157
+ - spec/fixtures/cpuinfo/amd64solo
158
+ - spec/fixtures/cpuinfo/amd64tri
159
+ - spec/fixtures/cpuinfo/bbg3-armel
160
+ - spec/fixtures/cpuinfo/beaglexm-armel
161
+ - spec/fixtures/cpuinfo/panda-armel
162
+ - spec/fixtures/cpuinfo/ppc64
163
+ - spec/fixtures/cpuinfo/sparc
164
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
165
+ - spec/fixtures/ifconfig/centos_5_5
166
+ - spec/fixtures/ifconfig/centos_5_5_eth0
167
+ - spec/fixtures/ifconfig/darwin_10_3_0
168
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
169
+ - spec/fixtures/ifconfig/darwin_10_6_4
170
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
171
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
172
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
173
+ - spec/fixtures/ifconfig/darwin_9_8_0
174
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
175
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
176
+ - spec/fixtures/ifconfig/fedora_10
177
+ - spec/fixtures/ifconfig/fedora_10_eth0
178
+ - spec/fixtures/ifconfig/fedora_13
179
+ - spec/fixtures/ifconfig/fedora_13_eth0
180
+ - spec/fixtures/ifconfig/fedora_8
181
+ - spec/fixtures/ifconfig/fedora_8_eth0
182
+ - spec/fixtures/ifconfig/freebsd_6_0
183
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
184
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
185
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
186
+ - spec/fixtures/ifconfig/open_solaris_10
187
+ - spec/fixtures/ifconfig/open_solaris_b132
188
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
189
+ - spec/fixtures/ifconfig/ubuntu_7_04
190
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
191
+ - spec/fixtures/netsh/windows_netsh_addresses_with_multiple_interfaces
192
+ - spec/fixtures/netstat/centos_5_5
193
+ - spec/fixtures/netstat/darwin_10_3_0
194
+ - spec/fixtures/netstat/darwin_10_6_4
195
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
196
+ - spec/fixtures/netstat/darwin_9_8_0
197
+ - spec/fixtures/netstat/fedora_10
198
+ - spec/fixtures/netstat/open_solaris_10
199
+ - spec/fixtures/netstat/open_solaris_b132
200
+ - spec/fixtures/netstat/ubuntu_7_04
201
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
202
+ - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
155
203
  - spec/fixtures/unit/selinux/selinux_sestatus
156
- - spec/fixtures/unit/util/vlans/linux_vlan_config
157
- - spec/fixtures/unit/util/loader/nosuchfact.rb
158
- - spec/fixtures/unit/util/processor/solaris-sun4u
159
- - spec/fixtures/unit/util/processor/solaris-i86pc
160
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
161
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
162
- - spec/fixtures/unit/util/uptime/who_b_boottime
163
- - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
164
- - spec/fixtures/unit/util/uptime/kstat_boot_time
165
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
166
- - spec/fixtures/unit/util/ip/hpux_netstat_all_interfaces
167
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
204
+ - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
205
+ - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
206
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
207
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
208
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
168
209
  - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
169
- - spec/fixtures/unit/util/ip/hpux_ifconfig_single_interface
170
210
  - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
171
211
  - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
172
- - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
173
- - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
174
212
  - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
213
+ - spec/fixtures/unit/util/ip/hpux_ifconfig_single_interface
214
+ - spec/fixtures/unit/util/ip/hpux_netstat_all_interfaces
215
+ - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
216
+ - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
217
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
218
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
219
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
175
220
  - spec/fixtures/unit/util/ip/windows_netsh_single_interface
176
221
  - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
177
- - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
222
+ - spec/fixtures/unit/util/loader/nosuchfact.rb
178
223
  - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
179
- - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
180
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
181
224
  - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
225
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
226
+ - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
182
227
  - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
228
+ - spec/fixtures/unit/util/processor/solaris-i86pc
229
+ - spec/fixtures/unit/util/processor/solaris-sun4u
230
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
231
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
232
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
233
+ - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
234
+ - spec/fixtures/unit/util/uptime/who_b_boottime
235
+ - spec/fixtures/unit/util/vlans/linux_vlan_config
183
236
  - spec/fixtures/unit/util/xendomains/xendomains
184
- - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
185
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
186
- - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
187
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
188
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
189
- - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
190
- - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
191
- - spec/fixtures/netstat/darwin_10_6_4
192
- - spec/fixtures/netstat/darwin_10_3_0
193
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
194
- - spec/fixtures/netstat/fedora_10
195
- - spec/fixtures/netstat/ubuntu_7_04
196
- - spec/fixtures/netstat/open_solaris_b132
197
- - spec/fixtures/netstat/open_solaris_10
198
- - spec/fixtures/netstat/centos_5_5
199
- - spec/fixtures/netstat/darwin_9_8_0
200
- - spec/fixtures/netsh/windows_netsh_addresses_with_multiple_interfaces
201
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
202
- - spec/fixtures/ifconfig/darwin_10_6_4
203
- - spec/fixtures/ifconfig/darwin_10_3_0
204
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
205
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
206
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
207
- - spec/fixtures/ifconfig/fedora_10
208
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
209
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
210
- - spec/fixtures/ifconfig/fedora_13_eth0
211
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
212
- - spec/fixtures/ifconfig/centos_5_5_eth0
213
- - spec/fixtures/ifconfig/ubuntu_7_04
214
- - spec/fixtures/ifconfig/open_solaris_b132
215
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
216
- - spec/fixtures/ifconfig/linux_ifconfig_venet
217
- - spec/fixtures/ifconfig/fedora_13
218
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
219
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
220
- - spec/fixtures/ifconfig/open_solaris_10
221
- - spec/fixtures/ifconfig/fedora_8_eth0
222
- - spec/fixtures/ifconfig/fedora_8
223
- - spec/fixtures/ifconfig/centos_5_5
224
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
225
- - spec/fixtures/ifconfig/darwin_9_8_0
226
- - spec/fixtures/ifconfig/freebsd_6_0
227
- - spec/fixtures/ifconfig/fedora_10_eth0
228
- - spec/fixtures/cpuinfo/sparc
229
- - spec/fixtures/cpuinfo/beaglexm-armel
230
- - spec/fixtures/cpuinfo/amd64solo
231
- - spec/fixtures/cpuinfo/amd64dual
232
- - spec/fixtures/cpuinfo/bbg3-armel
233
- - spec/fixtures/cpuinfo/amd64tri
234
- - spec/fixtures/cpuinfo/ppc64
235
- - spec/fixtures/cpuinfo/panda-armel
236
- - spec/fixtures/cpuinfo/amd64quad
237
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
238
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
239
237
  - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
240
238
  - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
239
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
240
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
241
+ - spec/integration/facter_spec.rb
242
+ - spec/puppetlabs_spec/files.rb
241
243
  - spec/puppetlabs_spec/fixtures.rb
242
244
  - spec/puppetlabs_spec/matchers.rb
243
- - spec/puppetlabs_spec/files.rb
244
245
  - spec/puppetlabs_spec/verbose.rb
245
- - spec/unit/lsbdistdescription_spec.rb
246
- - spec/unit/operatingsystemrelease_spec.rb
247
- - spec/unit/hardwareisa_spec.rb
248
- - spec/unit/virtual_spec.rb
249
- - spec/unit/ipaddress6_spec.rb
246
+ - spec/puppetlabs_spec_helper.rb
247
+ - spec/shared_contexts/platform.rb
248
+ - spec/spec_helper.rb
249
+ - spec/unit/architecture_spec.rb
250
+ - spec/unit/domain_spec.rb
250
251
  - spec/unit/ec2_spec.rb
251
- - spec/unit/selinux_spec.rb
252
+ - spec/unit/facter_spec.rb
253
+ - spec/unit/hardwareisa_spec.rb
254
+ - spec/unit/hardwaremodel_spec.rb
252
255
  - spec/unit/hostname_spec.rb
253
- - spec/unit/operatingsystem_spec.rb
256
+ - spec/unit/id_spec.rb
257
+ - spec/unit/interfaces_spec.rb
258
+ - spec/unit/ipaddress6_spec.rb
254
259
  - spec/unit/lsbdistcodename_spec.rb
255
- - spec/unit/processor_spec.rb
256
- - spec/unit/uniqueid_spec.rb
257
- - spec/unit/macaddress_spec.rb
258
- - spec/unit/physicalprocessorcount_spec.rb
259
- - spec/unit/domain_spec.rb
260
+ - spec/unit/lsbdistdescription_spec.rb
261
+ - spec/unit/lsbdistid_spec.rb
262
+ - spec/unit/lsbdistrelease_spec.rb
263
+ - spec/unit/lsbmajdistrelease_spec.rb
260
264
  - spec/unit/lsbrelease_spec.rb
261
- - spec/unit/util/manufacturer_spec.rb
262
- - spec/unit/util/confine_spec.rb
263
- - spec/unit/util/xendomains_spec.rb
264
- - spec/unit/util/resolution_spec.rb
265
- - spec/unit/util/virtual_spec.rb
266
- - spec/unit/util/config_spec.rb
265
+ - spec/unit/macaddress_spec.rb
266
+ - spec/unit/memory_spec.rb
267
+ - spec/unit/operatingsystem_spec.rb
268
+ - spec/unit/operatingsystemrelease_spec.rb
269
+ - spec/unit/physicalprocessorcount_spec.rb
270
+ - spec/unit/processor_spec.rb
271
+ - spec/unit/selinux_spec.rb
272
+ - spec/unit/uniqueid_spec.rb
273
+ - spec/unit/uptime_spec.rb
267
274
  - spec/unit/util/collection_spec.rb
275
+ - spec/unit/util/config_spec.rb
276
+ - spec/unit/util/confine_spec.rb
268
277
  - spec/unit/util/ec2_spec.rb
269
- - spec/unit/util/processor_spec.rb
278
+ - spec/unit/util/fact_spec.rb
279
+ - spec/unit/util/ip_spec.rb
270
280
  - spec/unit/util/loader_spec.rb
271
281
  - spec/unit/util/macaddress_spec.rb
282
+ - spec/unit/util/macosx_spec.rb
283
+ - spec/unit/util/manufacturer_spec.rb
284
+ - spec/unit/util/processor_spec.rb
285
+ - spec/unit/util/registry_spec.rb
286
+ - spec/unit/util/resolution_spec.rb
272
287
  - spec/unit/util/uptime_spec.rb
288
+ - spec/unit/util/virtual_spec.rb
273
289
  - spec/unit/util/vlans_spec.rb
274
- - spec/unit/util/ip_spec.rb
275
- - spec/unit/util/registry_spec.rb
276
290
  - spec/unit/util/wmi_spec.rb
277
- - spec/unit/util/fact_spec.rb
278
- - spec/unit/util/macosx_spec.rb
279
- - spec/unit/id_spec.rb
280
- - spec/unit/uptime_spec.rb
281
- - spec/unit/lsbdistid_spec.rb
282
- - spec/unit/memory_spec.rb
283
- - spec/unit/interfaces_spec.rb
284
- - spec/unit/hardwaremodel_spec.rb
285
- - spec/unit/facter_spec.rb
286
- - spec/unit/architecture_spec.rb
287
- - spec/unit/lsbmajdistrelease_spec.rb
288
- - spec/unit/lsbdistrelease_spec.rb
289
- - spec/spec_helper.rb
290
- - spec/shared_contexts/platform.rb
291
+ - spec/unit/util/xendomains_spec.rb
292
+ - spec/unit/virtual_spec.rb
291
293
  - spec/watchr.rb
292
- - spec/puppetlabs_spec_helper.rb
293
- - spec/integration/facter_spec.rb
294
294
  homepage: https://github.com/puppetlabs/facter
295
295
  licenses: []
296
296
 
@@ -322,147 +322,147 @@ required_rubygems_version: !ruby/object:Gem::Requirement
322
322
  requirements: []
323
323
 
324
324
  rubyforge_project:
325
- rubygems_version: 1.8.11
325
+ rubygems_version: 1.8.24
326
326
  signing_key:
327
327
  specification_version: 3
328
328
  summary: Facter, a system inventory tool
329
329
  test_files:
330
+ - spec/fixtures/cpuinfo/amd64dual
331
+ - spec/fixtures/cpuinfo/amd64quad
332
+ - spec/fixtures/cpuinfo/amd64solo
333
+ - spec/fixtures/cpuinfo/amd64tri
334
+ - spec/fixtures/cpuinfo/bbg3-armel
335
+ - spec/fixtures/cpuinfo/beaglexm-armel
336
+ - spec/fixtures/cpuinfo/panda-armel
337
+ - spec/fixtures/cpuinfo/ppc64
338
+ - spec/fixtures/cpuinfo/sparc
339
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
340
+ - spec/fixtures/ifconfig/centos_5_5
341
+ - spec/fixtures/ifconfig/centos_5_5_eth0
342
+ - spec/fixtures/ifconfig/darwin_10_3_0
343
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
344
+ - spec/fixtures/ifconfig/darwin_10_6_4
345
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
346
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
347
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
348
+ - spec/fixtures/ifconfig/darwin_9_8_0
349
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
350
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
351
+ - spec/fixtures/ifconfig/fedora_10
352
+ - spec/fixtures/ifconfig/fedora_10_eth0
353
+ - spec/fixtures/ifconfig/fedora_13
354
+ - spec/fixtures/ifconfig/fedora_13_eth0
355
+ - spec/fixtures/ifconfig/fedora_8
356
+ - spec/fixtures/ifconfig/fedora_8_eth0
357
+ - spec/fixtures/ifconfig/freebsd_6_0
358
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
359
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
360
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
361
+ - spec/fixtures/ifconfig/open_solaris_10
362
+ - spec/fixtures/ifconfig/open_solaris_b132
363
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
364
+ - spec/fixtures/ifconfig/ubuntu_7_04
365
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
366
+ - spec/fixtures/netsh/windows_netsh_addresses_with_multiple_interfaces
367
+ - spec/fixtures/netstat/centos_5_5
368
+ - spec/fixtures/netstat/darwin_10_3_0
369
+ - spec/fixtures/netstat/darwin_10_6_4
370
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
371
+ - spec/fixtures/netstat/darwin_9_8_0
372
+ - spec/fixtures/netstat/fedora_10
373
+ - spec/fixtures/netstat/open_solaris_10
374
+ - spec/fixtures/netstat/open_solaris_b132
375
+ - spec/fixtures/netstat/ubuntu_7_04
376
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
377
+ - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
330
378
  - spec/fixtures/unit/selinux/selinux_sestatus
331
- - spec/fixtures/unit/util/vlans/linux_vlan_config
332
- - spec/fixtures/unit/util/loader/nosuchfact.rb
333
- - spec/fixtures/unit/util/processor/solaris-sun4u
334
- - spec/fixtures/unit/util/processor/solaris-i86pc
335
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
336
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
337
- - spec/fixtures/unit/util/uptime/who_b_boottime
338
- - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
339
- - spec/fixtures/unit/util/uptime/kstat_boot_time
340
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
341
- - spec/fixtures/unit/util/ip/hpux_netstat_all_interfaces
342
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
379
+ - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
380
+ - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
381
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
382
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
383
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
343
384
  - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
344
- - spec/fixtures/unit/util/ip/hpux_ifconfig_single_interface
345
385
  - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
346
386
  - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
347
- - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
348
- - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
349
387
  - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
388
+ - spec/fixtures/unit/util/ip/hpux_ifconfig_single_interface
389
+ - spec/fixtures/unit/util/ip/hpux_netstat_all_interfaces
390
+ - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
391
+ - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
392
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
393
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
394
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
350
395
  - spec/fixtures/unit/util/ip/windows_netsh_single_interface
351
396
  - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
352
- - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
397
+ - spec/fixtures/unit/util/loader/nosuchfact.rb
353
398
  - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
354
- - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
355
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
356
399
  - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
400
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
401
+ - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
357
402
  - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
403
+ - spec/fixtures/unit/util/processor/solaris-i86pc
404
+ - spec/fixtures/unit/util/processor/solaris-sun4u
405
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
406
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
407
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
408
+ - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
409
+ - spec/fixtures/unit/util/uptime/who_b_boottime
410
+ - spec/fixtures/unit/util/vlans/linux_vlan_config
358
411
  - spec/fixtures/unit/util/xendomains/xendomains
359
- - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
360
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
361
- - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
362
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
363
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
364
- - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
365
- - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
366
- - spec/fixtures/netstat/darwin_10_6_4
367
- - spec/fixtures/netstat/darwin_10_3_0
368
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
369
- - spec/fixtures/netstat/fedora_10
370
- - spec/fixtures/netstat/ubuntu_7_04
371
- - spec/fixtures/netstat/open_solaris_b132
372
- - spec/fixtures/netstat/open_solaris_10
373
- - spec/fixtures/netstat/centos_5_5
374
- - spec/fixtures/netstat/darwin_9_8_0
375
- - spec/fixtures/netsh/windows_netsh_addresses_with_multiple_interfaces
376
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
377
- - spec/fixtures/ifconfig/darwin_10_6_4
378
- - spec/fixtures/ifconfig/darwin_10_3_0
379
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
380
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
381
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
382
- - spec/fixtures/ifconfig/fedora_10
383
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
384
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
385
- - spec/fixtures/ifconfig/fedora_13_eth0
386
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
387
- - spec/fixtures/ifconfig/centos_5_5_eth0
388
- - spec/fixtures/ifconfig/ubuntu_7_04
389
- - spec/fixtures/ifconfig/open_solaris_b132
390
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
391
- - spec/fixtures/ifconfig/linux_ifconfig_venet
392
- - spec/fixtures/ifconfig/fedora_13
393
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
394
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
395
- - spec/fixtures/ifconfig/open_solaris_10
396
- - spec/fixtures/ifconfig/fedora_8_eth0
397
- - spec/fixtures/ifconfig/fedora_8
398
- - spec/fixtures/ifconfig/centos_5_5
399
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
400
- - spec/fixtures/ifconfig/darwin_9_8_0
401
- - spec/fixtures/ifconfig/freebsd_6_0
402
- - spec/fixtures/ifconfig/fedora_10_eth0
403
- - spec/fixtures/cpuinfo/sparc
404
- - spec/fixtures/cpuinfo/beaglexm-armel
405
- - spec/fixtures/cpuinfo/amd64solo
406
- - spec/fixtures/cpuinfo/amd64dual
407
- - spec/fixtures/cpuinfo/bbg3-armel
408
- - spec/fixtures/cpuinfo/amd64tri
409
- - spec/fixtures/cpuinfo/ppc64
410
- - spec/fixtures/cpuinfo/panda-armel
411
- - spec/fixtures/cpuinfo/amd64quad
412
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
413
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
414
412
  - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
415
413
  - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
414
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
415
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
416
+ - spec/integration/facter_spec.rb
417
+ - spec/puppetlabs_spec/files.rb
416
418
  - spec/puppetlabs_spec/fixtures.rb
417
419
  - spec/puppetlabs_spec/matchers.rb
418
- - spec/puppetlabs_spec/files.rb
419
420
  - spec/puppetlabs_spec/verbose.rb
420
- - spec/unit/lsbdistdescription_spec.rb
421
- - spec/unit/operatingsystemrelease_spec.rb
422
- - spec/unit/hardwareisa_spec.rb
423
- - spec/unit/virtual_spec.rb
424
- - spec/unit/ipaddress6_spec.rb
421
+ - spec/puppetlabs_spec_helper.rb
422
+ - spec/shared_contexts/platform.rb
423
+ - spec/spec_helper.rb
424
+ - spec/unit/architecture_spec.rb
425
+ - spec/unit/domain_spec.rb
425
426
  - spec/unit/ec2_spec.rb
426
- - spec/unit/selinux_spec.rb
427
+ - spec/unit/facter_spec.rb
428
+ - spec/unit/hardwareisa_spec.rb
429
+ - spec/unit/hardwaremodel_spec.rb
427
430
  - spec/unit/hostname_spec.rb
428
- - spec/unit/operatingsystem_spec.rb
431
+ - spec/unit/id_spec.rb
432
+ - spec/unit/interfaces_spec.rb
433
+ - spec/unit/ipaddress6_spec.rb
429
434
  - spec/unit/lsbdistcodename_spec.rb
430
- - spec/unit/processor_spec.rb
431
- - spec/unit/uniqueid_spec.rb
435
+ - spec/unit/lsbdistdescription_spec.rb
436
+ - spec/unit/lsbdistid_spec.rb
437
+ - spec/unit/lsbdistrelease_spec.rb
438
+ - spec/unit/lsbmajdistrelease_spec.rb
439
+ - spec/unit/lsbrelease_spec.rb
432
440
  - spec/unit/macaddress_spec.rb
441
+ - spec/unit/memory_spec.rb
442
+ - spec/unit/operatingsystem_spec.rb
443
+ - spec/unit/operatingsystemrelease_spec.rb
433
444
  - spec/unit/physicalprocessorcount_spec.rb
434
- - spec/unit/domain_spec.rb
435
- - spec/unit/lsbrelease_spec.rb
436
- - spec/unit/util/manufacturer_spec.rb
437
- - spec/unit/util/confine_spec.rb
438
- - spec/unit/util/xendomains_spec.rb
439
- - spec/unit/util/resolution_spec.rb
440
- - spec/unit/util/virtual_spec.rb
441
- - spec/unit/util/config_spec.rb
445
+ - spec/unit/processor_spec.rb
446
+ - spec/unit/selinux_spec.rb
447
+ - spec/unit/uniqueid_spec.rb
448
+ - spec/unit/uptime_spec.rb
442
449
  - spec/unit/util/collection_spec.rb
450
+ - spec/unit/util/config_spec.rb
451
+ - spec/unit/util/confine_spec.rb
443
452
  - spec/unit/util/ec2_spec.rb
444
- - spec/unit/util/processor_spec.rb
453
+ - spec/unit/util/fact_spec.rb
454
+ - spec/unit/util/ip_spec.rb
445
455
  - spec/unit/util/loader_spec.rb
446
456
  - spec/unit/util/macaddress_spec.rb
457
+ - spec/unit/util/macosx_spec.rb
458
+ - spec/unit/util/manufacturer_spec.rb
459
+ - spec/unit/util/processor_spec.rb
460
+ - spec/unit/util/registry_spec.rb
461
+ - spec/unit/util/resolution_spec.rb
447
462
  - spec/unit/util/uptime_spec.rb
463
+ - spec/unit/util/virtual_spec.rb
448
464
  - spec/unit/util/vlans_spec.rb
449
- - spec/unit/util/ip_spec.rb
450
- - spec/unit/util/registry_spec.rb
451
465
  - spec/unit/util/wmi_spec.rb
452
- - spec/unit/util/fact_spec.rb
453
- - spec/unit/util/macosx_spec.rb
454
- - spec/unit/id_spec.rb
455
- - spec/unit/uptime_spec.rb
456
- - spec/unit/lsbdistid_spec.rb
457
- - spec/unit/memory_spec.rb
458
- - spec/unit/interfaces_spec.rb
459
- - spec/unit/hardwaremodel_spec.rb
460
- - spec/unit/facter_spec.rb
461
- - spec/unit/architecture_spec.rb
462
- - spec/unit/lsbmajdistrelease_spec.rb
463
- - spec/unit/lsbdistrelease_spec.rb
464
- - spec/spec_helper.rb
465
- - spec/shared_contexts/platform.rb
466
+ - spec/unit/util/xendomains_spec.rb
467
+ - spec/unit/virtual_spec.rb
466
468
  - spec/watchr.rb
467
- - spec/puppetlabs_spec_helper.rb
468
- - spec/integration/facter_spec.rb