rspec-puppet-facts 0.1.5 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +98 -39
  4. data/facts/1.6/oraclelinux-5-i386.facts +66 -0
  5. data/facts/1.6/oraclelinux-5-x86_64.facts +66 -0
  6. data/facts/1.6/oraclelinux-6-i386.facts +59 -0
  7. data/facts/1.6/oraclelinux-6-x86_64.facts +59 -0
  8. data/facts/1.6/oraclelinux-7-i386.facts +50 -0
  9. data/facts/1.6/oraclelinux-7-x86_64.facts +50 -0
  10. data/facts/1.7/oraclelinux-5-i386.facts +82 -0
  11. data/facts/1.7/oraclelinux-5-x86_64.facts +82 -0
  12. data/facts/1.7/oraclelinux-6-i386.facts +77 -0
  13. data/facts/1.7/oraclelinux-6-x86_64.facts +77 -0
  14. data/facts/1.7/oraclelinux-7-i386.facts +75 -0
  15. data/facts/1.7/oraclelinux-7-x86_64.facts +75 -0
  16. data/facts/2.0/oraclelinux-5-i386.facts +81 -0
  17. data/facts/2.0/oraclelinux-5-x86_64.facts +81 -0
  18. data/facts/2.0/oraclelinux-6-i386.facts +76 -0
  19. data/facts/2.0/oraclelinux-6-x86_64.facts +76 -0
  20. data/facts/2.0/oraclelinux-7-i386.facts +74 -0
  21. data/facts/2.0/oraclelinux-7-x86_64.facts +74 -0
  22. data/facts/2.1/oraclelinux-5-i386.facts +82 -0
  23. data/facts/2.1/oraclelinux-5-x86_64.facts +82 -0
  24. data/facts/2.1/oraclelinux-6-i386.facts +77 -0
  25. data/facts/2.1/oraclelinux-6-x86_64.facts +77 -0
  26. data/facts/2.1/oraclelinux-7-i386.facts +78 -0
  27. data/facts/2.1/oraclelinux-7-x86_64.facts +78 -0
  28. data/facts/2.2/oraclelinux-5-i386.facts +87 -0
  29. data/facts/2.2/oraclelinux-5-x86_64.facts +87 -0
  30. data/facts/2.2/oraclelinux-6-i386.facts +81 -0
  31. data/facts/2.2/oraclelinux-6-x86_64.facts +81 -0
  32. data/facts/2.2/oraclelinux-7-i386.facts +82 -0
  33. data/facts/2.2/oraclelinux-7-x86_64.facts +82 -0
  34. data/facts/2.3/oraclelinux-5-i386.facts +88 -0
  35. data/facts/2.3/oraclelinux-5-x86_64.facts +88 -0
  36. data/facts/2.3/oraclelinux-6-i386.facts +82 -0
  37. data/facts/2.3/oraclelinux-6-x86_64.facts +82 -0
  38. data/facts/2.3/oraclelinux-7-i386.facts +83 -0
  39. data/facts/2.3/oraclelinux-7-x86_64.facts +83 -0
  40. data/lib/rspec-puppet-facts.rb +24 -42
  41. data/lib/rspec-puppet-facts/version.rb +1 -1
  42. metadata +38 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa1e67bbd062c1608a590af372e609cdd0f54753
4
- data.tar.gz: dd5e0ac74d4ccac92b3d55fa97ee9ff4df4b1a78
3
+ metadata.gz: 1ab5724b497d46e0aa1b9243975aabb0589515bc
4
+ data.tar.gz: f7c239385e0460795a22a380454386168a150409
5
5
  SHA512:
6
- metadata.gz: 66e1b01143177ae364c34d6dd7e5166fb26358f4ca6b34e0caa9897df7cd43d253ae354f44b35726f1f1ae1d15237c55917502790c38a862dd6ad4364883cbe2
7
- data.tar.gz: 3fcf3c7d5c6cf399f08e7933048ecea71736bc139bd910d56f6ca5b19a621f38183500d93da322140230f57d2ef973257a5dfb607d1a8c8cb7afa6aad3ed8792
6
+ metadata.gz: 02ce7a79d8d01af9cce84cb6e5fafbd81a7c300d39019ebab73a8831584224848e5a539355ad95cab502134f7b17e6077c15f2ac546dab7b6912bc06e1de0543
7
+ data.tar.gz: b26ef3c11e0c9be98b9606fb48fe995b7553828120b91d31518732e16028df9c33eb8dc64e9b3379f1560495653b896b68b6b1ed62f94689017cfb110e21f304
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ##2014-12-15 - Release 0.2.0
2
+ - Add opts hash parameter
3
+ - Tests only with x86_64 by default
4
+
1
5
  ##2014-12-12 - Release 0.1.4
2
6
  - Fix for Ubuntu
3
7
 
data/README.md CHANGED
@@ -3,51 +3,55 @@ rspec-puppet-facts
3
3
 
4
4
  Based on an original idea from [apenney](https://github.com/apenney/puppet_facts/).
5
5
 
6
- Usage
7
- -----
6
+ Simplify your unit tests by looping on every supported Operating System and populating facts.
8
7
 
9
- Add this in your Gemfile:
8
+ Before
9
+ ------
10
10
 
11
11
  ```ruby
12
- gem 'rspec-puppet-facts', :require => false
13
- ```
14
-
15
- Add some `facter` version to test in your .travis.yml
12
+ require 'spec_helper'
16
13
 
17
- ```yaml
18
- ...
19
- matrix:
20
- fast_finish: true
21
- include:
22
- - rvm: 1.8.7
23
- env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
24
- - rvm: 1.8.7
25
- env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
26
- - rvm: 1.9.3
27
- env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.1.0"
28
- - rvm: 1.9.3
29
- env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.2.0"
30
- - rvm: 2.0.0
31
- env: PUPPET_GEM_VERSION="~> 3.0"
32
- allow_failures:
33
- - rvm: 1.8.7
34
- env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
35
- ...
36
- ```
14
+ describe 'myclass' do
37
15
 
38
- Add this is your spec/spec_helper.rb:
16
+ context "on debian-7-x86_64" do
17
+ let(:facts) do
18
+ {
19
+ :osfamily => 'Debian',
20
+ :operatingsystem => 'Debian',
21
+ :operatingsystemmajrelease => '7',
22
+ ...
23
+ }
24
+
25
+ it { should compile.with_all_deps }
26
+ ...
27
+ end
28
+ end
39
29
 
40
- ```ruby
41
- require 'rspec-puppet-facts'
42
- include RspecPuppetFacts
30
+ context "on redhat-6-x86_64" do
31
+ let(:facts) do
32
+ {
33
+ :osfamily => 'RedHat',
34
+ :operatingsystem => 'RedHat',
35
+ :operatingsystemmajrelease => '6',
36
+ ...
37
+ }
38
+
39
+ it { should compile.with_all_deps }
40
+ ...
41
+ end
42
+ end
43
+
44
+ ...
45
+ end
43
46
  ```
44
47
 
45
- Then in your unit tests:
48
+ After
49
+ -----
46
50
 
47
51
  ```ruby
48
52
  require 'spec_helper'
49
53
 
50
- describe 'openldap::server' do
54
+ describe 'myclass' do
51
55
 
52
56
  on_supported_os.each do |os, facts|
53
57
  context "on #{os}" do
@@ -55,35 +59,48 @@ describe 'openldap::server' do
55
59
  facts
56
60
  end
57
61
 
62
+ it { should compile.with_all_deps }
58
63
  ...
64
+ case facts[:osfamily]
65
+ when 'Debian'
66
+ ...
67
+ when 'RedHat'
68
+ ...
69
+ end
59
70
  end
60
71
  end
61
72
  end
62
73
  ```
63
- By default rspec-puppet-facts looks at your `metadata.json` to find supported operating systems, but you can specify for each context which ones you want to use:
74
+
75
+ By default rspec-puppet-facts looks at your `metadata.json` to find supported operating systems and tests only with `x86_64`, but you can specify for each context which ones you want to use:
64
76
 
65
77
  ```ruby
66
78
  require 'spec_helper'
67
79
 
68
- describe 'openldap::server' do
80
+ describe 'myclass' do
69
81
 
70
- on_supported_os(['debian-7-x86_64', 'redhat-6-x86_64']).each do |os, facts|
82
+ on_supported_os({
83
+ :hardwaremodels => ['i386', 'x86_64'],
84
+ :supported_os => ['debian-7', 'redhat-6']
85
+ }).each do |os, facts|
71
86
  context "on #{os}" do
72
87
  let(:facts) do
73
88
  facts
74
89
  end
75
90
 
91
+ it { should compile.with_all_deps }
76
92
  ...
77
93
  end
78
94
  end
79
95
  end
80
96
  ```
81
97
 
82
- Add additional facts:
98
+ Append some facts:
99
+
83
100
  ```ruby
84
101
  require 'spec_helper'
85
102
 
86
- describe 'openldap::server' do
103
+ describe 'myclass' do
87
104
 
88
105
  on_supported_os.each do |os, facts|
89
106
  context "on #{os}" do
@@ -93,11 +110,52 @@ describe 'openldap::server' do
93
110
  })
94
111
  end
95
112
 
113
+ it { should compile.with_all_deps }
96
114
  ...
97
115
  end
98
116
  end
99
117
  end
100
118
  ```
119
+
120
+ Usage
121
+ -----
122
+
123
+ Add this in your Gemfile:
124
+
125
+ ```ruby
126
+ gem 'rspec-puppet-facts', :require => false
127
+ ```
128
+
129
+ Add this is your spec/spec_helper.rb:
130
+
131
+ ```ruby
132
+ require 'rspec-puppet-facts'
133
+ include RspecPuppetFacts
134
+ ```
135
+
136
+ Finaly, Add some `facter` version to test in your .travis.yml
137
+
138
+ ```yaml
139
+ ...
140
+ matrix:
141
+ fast_finish: true
142
+ include:
143
+ - rvm: 1.8.7
144
+ env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
145
+ - rvm: 1.8.7
146
+ env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
147
+ - rvm: 1.9.3
148
+ env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.1.0"
149
+ - rvm: 1.9.3
150
+ env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.2.0"
151
+ - rvm: 2.0.0
152
+ env: PUPPET_GEM_VERSION="~> 3.0"
153
+ allow_failures:
154
+ - rvm: 1.8.7
155
+ env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
156
+ ...
157
+ ```
158
+
101
159
  Add new facts
102
160
  -------------
103
161
 
@@ -113,9 +171,10 @@ Create i386 facts from x86_64's ones
113
171
  ```
114
172
  for file in facts/*/*-x86_64.facts; do cat $file | sed -e 's/x86_64/i386/' -e 's/amd64/i386/' > $(echo $file | sed 's/x86_64/i386/'); done
115
173
  ```
116
- Create RedHat and Scientific facts from CentOS's ones
174
+ Create RedHat, Scientific, OracleLinux facts from CentOS's ones
117
175
 
118
176
  ```
119
177
  for file in facts/*/centos-*.facts; do cat $file | sed -e 's/CentOS/RedHat/' > $(echo $file | sed 's/centos/redhat/'); done
120
178
  for file in facts/*/centos-*.facts; do cat $file | sed -e 's/CentOS/Scientific/' > $(echo $file | sed 's/centos/scientific/'); done
179
+ for file in facts/*/centos-*.facts; do cat $file | sed -e 's/CentOS/OracleLinux/' > $(echo $file | sed 's/centos/oraclelinux/'); done
121
180
  ```
@@ -0,0 +1,66 @@
1
+ architecture => i386
2
+ boardmanufacturer => Oracle Corporation
3
+ boardproductname => VirtualBox
4
+ boardserialnumber => 0
5
+ domain => localdomain
6
+ facterversion => 1.6.18
7
+ fqdn => localhost.localdomain
8
+ gem_version => ~> 1.6.0
9
+ hardwareisa => i386
10
+ hardwaremodel => i386
11
+ hostname => localhost
12
+ id => root
13
+ interfaces => eth0,lo,sit0
14
+ ipaddress => 10.0.2.15
15
+ ipaddress_eth0 => 10.0.2.15
16
+ ipaddress_lo => 127.0.0.1
17
+ is_virtual => true
18
+ kernel => Linux
19
+ kernelmajversion => 2.6
20
+ kernelrelease => 2.6.18-371.el5
21
+ kernelversion => 2.6.18
22
+ lsbdistcodename => Final
23
+ lsbdistdescription => OracleLinux release 5.10 (Final)
24
+ lsbdistid => OracleLinux
25
+ lsbdistrelease => 5.10
26
+ lsbmajdistrelease => 5
27
+ lsbrelease => :core-4.0-i386:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
28
+ macaddress => 08:00:27:19:8C:8D
29
+ macaddress_eth0 => 08:00:27:19:8C:8D
30
+ manufacturer => innotek GmbH
31
+ memoryfree => 394.62 MB
32
+ memorysize => 497.78 MB
33
+ memorytotal => 497.78 MB
34
+ mtu_eth0 => 1500
35
+ mtu_lo => 16436
36
+ mtu_sit0 => 1480
37
+ netmask => 255.255.255.0
38
+ netmask_eth0 => 255.255.255.0
39
+ netmask_lo => 255.0.0.0
40
+ network_eth0 => 10.0.2.0
41
+ network_lo => 127.0.0.0
42
+ operatingsystem => OracleLinux
43
+ operatingsystemrelease => 5.10
44
+ osfamily => RedHat
45
+ path => /home/vagrant/vendor/bundler/ruby/1.8/bin:/usr/kerberos/sbin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/rvm/gems/ruby-1.8.7-p374/bin:/usr/local/rvm/gems/ruby-1.8.7-p374@global/bin:/usr/local/rvm/rubies/ruby-1.8.7-p374/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/rvm/bin:/root/bin:/var/lib/gems/1.8/bin/
46
+ physicalprocessorcount => 1
47
+ processor0 => Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
48
+ processorcount => 1
49
+ productname => VirtualBox
50
+ ps => ps -ef
51
+ rubysitedir => /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8
52
+ rubyversion => 1.8.7
53
+ selinux => false
54
+ serialnumber => 0
55
+ sshdsakey => AAAAB3NzaC1kc3MAAACBAI1EBw8fPqaiLzpwjRh52PEJnQ696PTCROoNIaZ4/T6//MBfj2BNLjybRq5AM9QHuzidaC7rnKg11oIPWp72QGB8V5UU5gKqK9lUbvf2OuUvDPQeKlKKHlX6uLlcZzm7bJRDmAkxynA2JCKCrYmPF1/7YVMbmwYI1JGEWmX+WHsXAAAAFQCThaHpflM6sqGlkaz95C0qGUpD6QAAAIAugv/a0EajQxFbn6sEXDrZOWhV73Vxy2xie9s+neNeJahHd1YPlCj4waTj0L3UltLysV2Ui1rZK7zVSp5iMWa0hpVA7Z52f0g/aag7XL4OyLeqci+R8dUB7+NfbEbMtGyGvVBsA5ohEM40FKCZZ23RzEdNIXIOfun3M4xC1PlHHwAAAIAs6D3R0mSLJlRPUIlCKf0pi+zhrTl56T0JCjKSwX2vR9pW2EOFoD7JO2R7CWpVSKe/qaNSUvebEzEXtdbdUV73yUPpnNnrqtqIgtcW9qzCQ07WRXCVefplSfLfgiW57gVoPUwtrCrgv1Wwl+YcyvJ80TJxmQkm0B+roMyVGygybQ==
56
+ sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAQEAl0Za1Vkqscbuk+8u5ZzFh0xDLxDizYb2BiSOWaBo16Q/rvYyA13OPX11dadRizypGgWD54YzK1j61uS89g37zgEEfiszFdzeZp3Hg6jAMF6KTIG6bWQ1eQhwl+LZPwkeE5GTNe5y/424lzxBZ8Fx0BgcWbgy1Q3CU9EhPIW+evj09oFxmAl0Wmuht+KVBl9FTtQSeao9l5BPPyEB6mmucwgkwafckFrFq8c+bJ44F4mSItOljMsLvxRyAeRYE44kzNDSISyjRD8oVB2iKi/+gUQsPx2UmeapCvMoBKuZD8dU5LBqMst4KtotvUCwLw/x/B/BSEOXZp7LNVWS5abaNQ==
57
+ swapfree => 1023.97 MB
58
+ swapsize => 1023.99 MB
59
+ timezone => PST
60
+ type => Other
61
+ uniqueid => 007f0100
62
+ uptime => 0:04 hours
63
+ uptime_days => 0
64
+ uptime_hours => 0
65
+ uptime_seconds => 250
66
+ virtual => virtualbox
@@ -0,0 +1,66 @@
1
+ architecture => x86_64
2
+ boardmanufacturer => Oracle Corporation
3
+ boardproductname => VirtualBox
4
+ boardserialnumber => 0
5
+ domain => localdomain
6
+ facterversion => 1.6.18
7
+ fqdn => localhost.localdomain
8
+ gem_version => ~> 1.6.0
9
+ hardwareisa => x86_64
10
+ hardwaremodel => x86_64
11
+ hostname => localhost
12
+ id => root
13
+ interfaces => eth0,lo,sit0
14
+ ipaddress => 10.0.2.15
15
+ ipaddress_eth0 => 10.0.2.15
16
+ ipaddress_lo => 127.0.0.1
17
+ is_virtual => true
18
+ kernel => Linux
19
+ kernelmajversion => 2.6
20
+ kernelrelease => 2.6.18-371.el5
21
+ kernelversion => 2.6.18
22
+ lsbdistcodename => Final
23
+ lsbdistdescription => OracleLinux release 5.10 (Final)
24
+ lsbdistid => OracleLinux
25
+ lsbdistrelease => 5.10
26
+ lsbmajdistrelease => 5
27
+ lsbrelease => :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
28
+ macaddress => 08:00:27:19:8C:8D
29
+ macaddress_eth0 => 08:00:27:19:8C:8D
30
+ manufacturer => innotek GmbH
31
+ memoryfree => 394.62 MB
32
+ memorysize => 497.78 MB
33
+ memorytotal => 497.78 MB
34
+ mtu_eth0 => 1500
35
+ mtu_lo => 16436
36
+ mtu_sit0 => 1480
37
+ netmask => 255.255.255.0
38
+ netmask_eth0 => 255.255.255.0
39
+ netmask_lo => 255.0.0.0
40
+ network_eth0 => 10.0.2.0
41
+ network_lo => 127.0.0.0
42
+ operatingsystem => OracleLinux
43
+ operatingsystemrelease => 5.10
44
+ osfamily => RedHat
45
+ path => /home/vagrant/vendor/bundler/ruby/1.8/bin:/usr/kerberos/sbin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/rvm/gems/ruby-1.8.7-p374/bin:/usr/local/rvm/gems/ruby-1.8.7-p374@global/bin:/usr/local/rvm/rubies/ruby-1.8.7-p374/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/rvm/bin:/root/bin:/var/lib/gems/1.8/bin/
46
+ physicalprocessorcount => 1
47
+ processor0 => Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
48
+ processorcount => 1
49
+ productname => VirtualBox
50
+ ps => ps -ef
51
+ rubysitedir => /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8
52
+ rubyversion => 1.8.7
53
+ selinux => false
54
+ serialnumber => 0
55
+ sshdsakey => AAAAB3NzaC1kc3MAAACBAI1EBw8fPqaiLzpwjRh52PEJnQ696PTCROoNIaZ4/T6//MBfj2BNLjybRq5AM9QHuzidaC7rnKg11oIPWp72QGB8V5UU5gKqK9lUbvf2OuUvDPQeKlKKHlX6uLlcZzm7bJRDmAkxynA2JCKCrYmPF1/7YVMbmwYI1JGEWmX+WHsXAAAAFQCThaHpflM6sqGlkaz95C0qGUpD6QAAAIAugv/a0EajQxFbn6sEXDrZOWhV73Vxy2xie9s+neNeJahHd1YPlCj4waTj0L3UltLysV2Ui1rZK7zVSp5iMWa0hpVA7Z52f0g/aag7XL4OyLeqci+R8dUB7+NfbEbMtGyGvVBsA5ohEM40FKCZZ23RzEdNIXIOfun3M4xC1PlHHwAAAIAs6D3R0mSLJlRPUIlCKf0pi+zhrTl56T0JCjKSwX2vR9pW2EOFoD7JO2R7CWpVSKe/qaNSUvebEzEXtdbdUV73yUPpnNnrqtqIgtcW9qzCQ07WRXCVefplSfLfgiW57gVoPUwtrCrgv1Wwl+YcyvJ80TJxmQkm0B+roMyVGygybQ==
56
+ sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAQEAl0Za1Vkqscbuk+8u5ZzFh0xDLxDizYb2BiSOWaBo16Q/rvYyA13OPX11dadRizypGgWD54YzK1j61uS89g37zgEEfiszFdzeZp3Hg6jAMF6KTIG6bWQ1eQhwl+LZPwkeE5GTNe5y/424lzxBZ8Fx0BgcWbgy1Q3CU9EhPIW+evj09oFxmAl0Wmuht+KVBl9FTtQSeao9l5BPPyEB6mmucwgkwafckFrFq8c+bJ44F4mSItOljMsLvxRyAeRYE44kzNDSISyjRD8oVB2iKi/+gUQsPx2UmeapCvMoBKuZD8dU5LBqMst4KtotvUCwLw/x/B/BSEOXZp7LNVWS5abaNQ==
57
+ swapfree => 1023.97 MB
58
+ swapsize => 1023.99 MB
59
+ timezone => PST
60
+ type => Other
61
+ uniqueid => 007f0100
62
+ uptime => 0:04 hours
63
+ uptime_days => 0
64
+ uptime_hours => 0
65
+ uptime_seconds => 250
66
+ virtual => virtualbox
@@ -0,0 +1,59 @@
1
+ architecture => i386
2
+ boardmanufacturer => Oracle Corporation
3
+ boardproductname => VirtualBox
4
+ boardserialnumber => 0
5
+ domain => localdomain
6
+ facterversion => 1.6.18
7
+ fqdn => localhost.localdomain
8
+ gem_version => ~> 1.6.0
9
+ hardwareisa => i386
10
+ hardwaremodel => i386
11
+ hostname => localhost
12
+ id => root
13
+ interfaces => eth0,lo
14
+ ipaddress => 10.0.2.15
15
+ ipaddress_eth0 => 10.0.2.15
16
+ ipaddress_lo => 127.0.0.1
17
+ is_virtual => true
18
+ kernel => Linux
19
+ kernelmajversion => 2.6
20
+ kernelrelease => 2.6.32-431.el6.i386
21
+ kernelversion => 2.6.32
22
+ macaddress => 08:00:27:5E:0A:C7
23
+ macaddress_eth0 => 08:00:27:5E:0A:C7
24
+ manufacturer => innotek GmbH
25
+ memoryfree => 412.53 MB
26
+ memorysize => 490.45 MB
27
+ memorytotal => 490.45 MB
28
+ mtu_eth0 => 1500
29
+ mtu_lo => 16436
30
+ netmask => 255.255.255.0
31
+ netmask_eth0 => 255.255.255.0
32
+ netmask_lo => 255.0.0.0
33
+ network_eth0 => 10.0.2.0
34
+ network_lo => 127.0.0.0
35
+ operatingsystem => OracleLinux
36
+ operatingsystemrelease => 6.5
37
+ osfamily => RedHat
38
+ path => /home/vagrant/vendor/bundler/ruby/1.8/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
39
+ physicalprocessorcount => 1
40
+ processor0 => Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
41
+ processorcount => 1
42
+ productname => VirtualBox
43
+ ps => ps -ef
44
+ rubysitedir => /usr/lib/ruby/site_ruby/1.8
45
+ rubyversion => 1.8.7
46
+ selinux => false
47
+ serialnumber => 0
48
+ sshdsakey => AAAAB3NzaC1kc3MAAACBAPDnLf/P2JHz2E0aUd+E8O8YuybLDdTnujrnLMjVJb6wOFA1R59fcUHATXd1YwCtS1gKG+5Jvw26t9K4zNh3A75jdLXC6kBiQXzcf+92OgL6FWpGYVJ9x+7/KEKiaf80m/Ry5I0W62WLpbJ5kmgep2EWh2fDgxyZ5NeTp4KrARMBAAAAFQDzTZ/s+ij+u9yY6H47os/RFzUQjQAAAIAMdZkfyKX0mjGPLyDO2hFRWZxnYLmGVhojHO5qETkfPXQpSe0hepePH4nJnjfQG4rjcDpqu2BLNtY26ez0QC0iZLRlVTcP7/t10Jd24FCVf/uADo8iOUEDJD+/xx9X3xwX1pwikEPLP/VDZnx1xT5E03m4uY77iqafkgwy7EMdQgAAAIB8wNled5Rz4HtjJdOKAJO2mRwE6BBn8CEbMSyfz9QJqCmdB77k3afozwK4533+T9vDd8HmG0oefonTtQycFkmZAev5+NlnI4SXCr4RHJym8cTzp1JBo2uWFisTwP3dswLQRNJPtH/OkQgDRkCJU+hOGm7X6OcnhUW+SqRDXeOYCA==
49
+ sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAQEAvUmKY8pcuWVoV17WiSyJHHXLwoaA1AUdW9hHA41lTqRJEGDP9jJ6A9RdCZvr7Zu3lsX0HsnLE7O89cw7wrXAWUAGv/iP3stDejI2H+gHF9eLNhEdso+CkPPmXClqyWBYIex0SZh/lMEnfgAPMuUEy5RQ3LFxhLpy7rAwFRiTAyS8OmYMLuE6TUXtUTe5Qprwm3wq56D3KSrFN+K8u0j62cj1sPBz2yEy+8rbH5Xcldcc36N/ip0beNxDX8cjWbsZ+qPM75U1NHbPz2svKl0Jkyb6Nm8eCHhGUiIXT/R0QV98pM2vfjUNo3SqL01bcDNuIGj8FIZE1onzNXgAYJs9HQ==
50
+ swapfree => 991.99 MB
51
+ swapsize => 991.99 MB
52
+ timezone => PST
53
+ type => Other
54
+ uniqueid => 007f0100
55
+ uptime => 0:02 hours
56
+ uptime_days => 0
57
+ uptime_hours => 0
58
+ uptime_seconds => 133
59
+ virtual => virtualbox
@@ -0,0 +1,59 @@
1
+ architecture => x86_64
2
+ boardmanufacturer => Oracle Corporation
3
+ boardproductname => VirtualBox
4
+ boardserialnumber => 0
5
+ domain => localdomain
6
+ facterversion => 1.6.18
7
+ fqdn => localhost.localdomain
8
+ gem_version => ~> 1.6.0
9
+ hardwareisa => x86_64
10
+ hardwaremodel => x86_64
11
+ hostname => localhost
12
+ id => root
13
+ interfaces => eth0,lo
14
+ ipaddress => 10.0.2.15
15
+ ipaddress_eth0 => 10.0.2.15
16
+ ipaddress_lo => 127.0.0.1
17
+ is_virtual => true
18
+ kernel => Linux
19
+ kernelmajversion => 2.6
20
+ kernelrelease => 2.6.32-431.el6.x86_64
21
+ kernelversion => 2.6.32
22
+ macaddress => 08:00:27:5E:0A:C7
23
+ macaddress_eth0 => 08:00:27:5E:0A:C7
24
+ manufacturer => innotek GmbH
25
+ memoryfree => 412.53 MB
26
+ memorysize => 490.45 MB
27
+ memorytotal => 490.45 MB
28
+ mtu_eth0 => 1500
29
+ mtu_lo => 16436
30
+ netmask => 255.255.255.0
31
+ netmask_eth0 => 255.255.255.0
32
+ netmask_lo => 255.0.0.0
33
+ network_eth0 => 10.0.2.0
34
+ network_lo => 127.0.0.0
35
+ operatingsystem => OracleLinux
36
+ operatingsystemrelease => 6.5
37
+ osfamily => RedHat
38
+ path => /home/vagrant/vendor/bundler/ruby/1.8/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
39
+ physicalprocessorcount => 1
40
+ processor0 => Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
41
+ processorcount => 1
42
+ productname => VirtualBox
43
+ ps => ps -ef
44
+ rubysitedir => /usr/lib/ruby/site_ruby/1.8
45
+ rubyversion => 1.8.7
46
+ selinux => false
47
+ serialnumber => 0
48
+ sshdsakey => AAAAB3NzaC1kc3MAAACBAPDnLf/P2JHz2E0aUd+E8O8YuybLDdTnujrnLMjVJb6wOFA1R59fcUHATXd1YwCtS1gKG+5Jvw26t9K4zNh3A75jdLXC6kBiQXzcf+92OgL6FWpGYVJ9x+7/KEKiaf80m/Ry5I0W62WLpbJ5kmgep2EWh2fDgxyZ5NeTp4KrARMBAAAAFQDzTZ/s+ij+u9yY6H47os/RFzUQjQAAAIAMdZkfyKX0mjGPLyDO2hFRWZxnYLmGVhojHO5qETkfPXQpSe0hepePH4nJnjfQG4rjcDpqu2BLNtY26ez0QC0iZLRlVTcP7/t10Jd24FCVf/uADo8iOUEDJD+/xx9X3xwX1pwikEPLP/VDZnx1xT5E03m4uY77iqafkgwy7EMdQgAAAIB8wNled5Rz4HtjJdOKAJO2mRwE6BBn8CEbMSyfz9QJqCmdB77k3afozwK4533+T9vDd8HmG0oefonTtQycFkmZAev5+NlnI4SXCr4RHJym8cTzp1JBo2uWFisTwP3dswLQRNJPtH/OkQgDRkCJU+hOGm7X6OcnhUW+SqRDXeOYCA==
49
+ sshrsakey => AAAAB3NzaC1yc2EAAAABIwAAAQEAvUmKY8pcuWVoV17WiSyJHHXLwoaA1AUdW9hHA41lTqRJEGDP9jJ6A9RdCZvr7Zu3lsX0HsnLE7O89cw7wrXAWUAGv/iP3stDejI2H+gHF9eLNhEdso+CkPPmXClqyWBYIex0SZh/lMEnfgAPMuUEy5RQ3LFxhLpy7rAwFRiTAyS8OmYMLuE6TUXtUTe5Qprwm3wq56D3KSrFN+K8u0j62cj1sPBz2yEy+8rbH5Xcldcc36N/ip0beNxDX8cjWbsZ+qPM75U1NHbPz2svKl0Jkyb6Nm8eCHhGUiIXT/R0QV98pM2vfjUNo3SqL01bcDNuIGj8FIZE1onzNXgAYJs9HQ==
50
+ swapfree => 991.99 MB
51
+ swapsize => 991.99 MB
52
+ timezone => PST
53
+ type => Other
54
+ uniqueid => 007f0100
55
+ uptime => 0:02 hours
56
+ uptime_days => 0
57
+ uptime_hours => 0
58
+ uptime_seconds => 133
59
+ virtual => virtualbox