fauxhai 3.0.1 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +10 -0
  3. data/CHANGELOG.md +12 -0
  4. data/README.md +8 -11
  5. data/Rakefile +17 -0
  6. data/lib/fauxhai/platforms/aix/6.1.json +3 -2
  7. data/lib/fauxhai/platforms/aix/7.1.json +3 -2
  8. data/lib/fauxhai/platforms/amazon/2012.09.json +4 -2
  9. data/lib/fauxhai/platforms/amazon/2013.09.json +4 -2
  10. data/lib/fauxhai/platforms/amazon/2014.03.json +4 -2
  11. data/lib/fauxhai/platforms/amazon/2014.09.json +4 -2
  12. data/lib/fauxhai/platforms/amazon/2015.03.json +4 -2
  13. data/lib/fauxhai/platforms/amazon/2015.09.json +4 -2
  14. data/lib/fauxhai/platforms/arch/3.10.5-1-ARCH.json +3 -2
  15. data/lib/fauxhai/platforms/centos/5.0.json +4 -2
  16. data/lib/fauxhai/platforms/centos/5.1.json +4 -2
  17. data/lib/fauxhai/platforms/centos/5.10.json +4 -2
  18. data/lib/fauxhai/platforms/centos/5.11.json +4 -2
  19. data/lib/fauxhai/platforms/centos/5.2.json +4 -2
  20. data/lib/fauxhai/platforms/centos/5.3.json +4 -2
  21. data/lib/fauxhai/platforms/centos/5.4.json +4 -2
  22. data/lib/fauxhai/platforms/centos/5.5.json +4 -2
  23. data/lib/fauxhai/platforms/centos/5.6.json +4 -2
  24. data/lib/fauxhai/platforms/centos/5.7.json +4 -2
  25. data/lib/fauxhai/platforms/centos/5.8.json +4 -2
  26. data/lib/fauxhai/platforms/centos/5.9.json +4 -2
  27. data/lib/fauxhai/platforms/centos/6.0.json +4 -2
  28. data/lib/fauxhai/platforms/centos/6.1.json +4 -2
  29. data/lib/fauxhai/platforms/centos/6.2.json +4 -2
  30. data/lib/fauxhai/platforms/centos/6.3.json +4 -2
  31. data/lib/fauxhai/platforms/centos/6.4.json +4 -2
  32. data/lib/fauxhai/platforms/centos/6.5.json +4 -2
  33. data/lib/fauxhai/platforms/centos/6.6.json +4 -2
  34. data/lib/fauxhai/platforms/centos/6.7.json +4 -2
  35. data/lib/fauxhai/platforms/centos/7.0.1406.json +5 -2
  36. data/lib/fauxhai/platforms/centos/7.0.json +5 -2
  37. data/lib/fauxhai/platforms/centos/7.1.1503.json +5 -2
  38. data/lib/fauxhai/platforms/centos/7.2.1511.json +706 -0
  39. data/lib/fauxhai/platforms/debian/6.0.5.json +3 -1
  40. data/lib/fauxhai/platforms/debian/7.0.json +3 -1
  41. data/lib/fauxhai/platforms/debian/7.1.json +3 -1
  42. data/lib/fauxhai/platforms/debian/7.2.json +3 -1
  43. data/lib/fauxhai/platforms/debian/7.4.json +3 -1
  44. data/lib/fauxhai/platforms/debian/7.5.json +3 -1
  45. data/lib/fauxhai/platforms/debian/7.6.json +4 -2
  46. data/lib/fauxhai/platforms/debian/7.7.json +4 -2
  47. data/lib/fauxhai/platforms/debian/7.8.json +4 -2
  48. data/lib/fauxhai/platforms/debian/7.9.json +4 -2
  49. data/lib/fauxhai/platforms/debian/8.0.json +4 -2
  50. data/lib/fauxhai/platforms/debian/8.1.json +4 -2
  51. data/lib/fauxhai/platforms/debian/8.2.json +4 -2
  52. data/lib/fauxhai/platforms/debian/jessie/sid.json +3 -1
  53. data/lib/fauxhai/platforms/debian/stretch/sid.json +4 -2
  54. data/lib/fauxhai/platforms/dragonfly4/4.2-RELEASE.json +3 -2
  55. data/lib/fauxhai/platforms/fedora/18.json +17 -23
  56. data/lib/fauxhai/platforms/fedora/19.json +9 -16
  57. data/lib/fauxhai/platforms/fedora/20.json +9 -16
  58. data/lib/fauxhai/platforms/fedora/21.json +5 -2
  59. data/lib/fauxhai/platforms/fedora/22.json +5 -2
  60. data/lib/fauxhai/platforms/fedora/23.json +759 -0
  61. data/lib/fauxhai/platforms/freebsd/10.0.json +3 -2
  62. data/lib/fauxhai/platforms/freebsd/10.1.json +3 -2
  63. data/lib/fauxhai/platforms/freebsd/10.2.json +3 -2
  64. data/lib/fauxhai/platforms/freebsd/8.4.json +2 -1
  65. data/lib/fauxhai/platforms/freebsd/9.1.json +3 -2
  66. data/lib/fauxhai/platforms/freebsd/9.2.json +3 -2
  67. data/lib/fauxhai/platforms/freebsd/9.3.json +3 -2
  68. data/lib/fauxhai/platforms/gentoo/2.1.json +2 -1
  69. data/lib/fauxhai/platforms/ios_xr/6.0.0.14I.json +3 -2
  70. data/lib/fauxhai/platforms/mac_os_x/10.10.json +3 -2
  71. data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +3 -2
  72. data/lib/fauxhai/platforms/mac_os_x/10.6.8.json +2 -1
  73. data/lib/fauxhai/platforms/mac_os_x/10.7.4.json +2 -1
  74. data/lib/fauxhai/platforms/mac_os_x/10.8.2.json +2 -1
  75. data/lib/fauxhai/platforms/nexus/5.json +3 -2
  76. data/lib/fauxhai/platforms/omnios/151002.json +2 -1
  77. data/lib/fauxhai/platforms/omnios/151006.json +2 -1
  78. data/lib/fauxhai/platforms/omnios/151008.json +2 -1
  79. data/lib/fauxhai/platforms/omnios/151014.json +3 -2
  80. data/lib/fauxhai/platforms/openbsd/5.4.json +2 -1
  81. data/lib/fauxhai/platforms/opensuse/12.3.json +4 -2
  82. data/lib/fauxhai/platforms/opensuse/13.1.json +6 -15
  83. data/lib/fauxhai/platforms/opensuse/13.2.json +4 -2
  84. data/lib/fauxhai/platforms/opensuse/42.1.json +546 -0
  85. data/lib/fauxhai/platforms/oracle/5.10.json +3 -1
  86. data/lib/fauxhai/platforms/oracle/6.5.json +3 -1
  87. data/lib/fauxhai/platforms/oracle/6.6.json +4 -2
  88. data/lib/fauxhai/platforms/oracle/7.0.json +4 -2
  89. data/lib/fauxhai/platforms/oracle/7.1.json +4 -2
  90. data/lib/fauxhai/platforms/redhat/5.10.json +3 -1
  91. data/lib/fauxhai/platforms/redhat/5.6.json +3 -1
  92. data/lib/fauxhai/platforms/redhat/5.7.json +3 -1
  93. data/lib/fauxhai/platforms/redhat/5.8.json +3 -1
  94. data/lib/fauxhai/platforms/redhat/5.9.json +3 -1
  95. data/lib/fauxhai/platforms/redhat/6.0.json +3 -1
  96. data/lib/fauxhai/platforms/redhat/6.1.json +3 -1
  97. data/lib/fauxhai/platforms/redhat/6.2.json +3 -1
  98. data/lib/fauxhai/platforms/redhat/6.3.json +3 -1
  99. data/lib/fauxhai/platforms/redhat/6.4.json +3 -1
  100. data/lib/fauxhai/platforms/redhat/6.5.json +3 -1
  101. data/lib/fauxhai/platforms/redhat/6.6.json +4 -2
  102. data/lib/fauxhai/platforms/redhat/7.0.json +3 -1
  103. data/lib/fauxhai/platforms/redhat/7.1.json +4 -2
  104. data/lib/fauxhai/platforms/slackware/14.1.json +3 -2
  105. data/lib/fauxhai/platforms/smartos/5.11.json +2 -1
  106. data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +2 -1
  107. data/lib/fauxhai/platforms/solaris2/5.10.json +2447 -0
  108. data/lib/fauxhai/platforms/solaris2/5.11.json +2 -1
  109. data/lib/fauxhai/platforms/suse/11.1.json +2 -1
  110. data/lib/fauxhai/platforms/suse/11.2.json +2 -1
  111. data/lib/fauxhai/platforms/suse/11.3.json +2 -1
  112. data/lib/fauxhai/platforms/suse/12.0.json +3 -2
  113. data/lib/fauxhai/platforms/ubuntu/10.04.json +3 -1
  114. data/lib/fauxhai/platforms/ubuntu/12.04.json +4 -2
  115. data/lib/fauxhai/platforms/ubuntu/13.04.json +3 -1
  116. data/lib/fauxhai/platforms/ubuntu/13.10.json +3 -1
  117. data/lib/fauxhai/platforms/ubuntu/14.04.json +4 -2
  118. data/lib/fauxhai/platforms/ubuntu/14.10.json +4 -2
  119. data/lib/fauxhai/platforms/ubuntu/15.04.json +4 -2
  120. data/lib/fauxhai/platforms/ubuntu/15.10.json +4 -2
  121. data/lib/fauxhai/platforms/windows/10.json +3 -2
  122. data/lib/fauxhai/platforms/windows/2003R2.json +3 -2
  123. data/lib/fauxhai/platforms/windows/2008R2.json +3 -2
  124. data/lib/fauxhai/platforms/windows/2012.json +4 -3
  125. data/lib/fauxhai/platforms/windows/2012R2.json +3 -2
  126. data/lib/fauxhai/platforms/windows/8.1.json +3 -2
  127. data/lib/fauxhai/platforms/windows/8.json +3 -2
  128. data/lib/fauxhai/runner.rb +6 -3
  129. data/lib/fauxhai/version.rb +1 -1
  130. metadata +8 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ffb64751d8ad16ee1a25118ffb179d10882d019
4
- data.tar.gz: 9341c5a6f8c4ae80df2a0ff79898b7d14b32b21e
3
+ metadata.gz: 0f8cfa32798da5c0f38d150f3e0c95a546099c63
4
+ data.tar.gz: f634a93dfedd7a058520309680440c7d074d0040
5
5
  SHA512:
6
- metadata.gz: 2bd4ba5e3f28b096b38dc750106f80cdc120b81265868177ee1a539d323604b98246b7306ea9f1d4c0fa01cf3b8577c1719bd6826f07e6d6e873de803e632470
7
- data.tar.gz: a2a0cfa07cc34aa9700360e766607afb034fa6379a394139f9b3e74041ab970c458c69b113f64e1677c330e89c5132ebb64f16154397d93990141234736dd80a
6
+ metadata.gz: 3ac3d581a97c9b0213e3417727c0e7f92e19cb06b2013e00287261d8aee092bbca553f03d3f83c46004d4f483f957b88a037778af1bffb5655596754e8c94ed3
7
+ data.tar.gz: a4683f6931bad98905fb1ed3f03e295c061f7753c991067f7c7f6246c90849fc3fffadc417bf95c9cadb386139953dfc979329c6c84691590aeb3529326a5123
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ cache: bundler
3
+ sudo: false
4
+
5
+ rvm:
6
+ - 2.2.0
7
+
8
+ branches:
9
+ only:
10
+ - master
@@ -1,4 +1,16 @@
1
1
  # Fauxhai Changelog
2
+ ## v3.1.0
3
+ - Added collection of root_group, init_package, and cpu cores to the runner
4
+ - Added root_group to existing Linux systems
5
+ - Added Fedora 23, openSUSE Leap 42.1, and CentOS 7.2.1511
6
+ - Fixed malformed JSON in the Windows 2012 output
7
+ - Updated the runner and existing platform files to represent total memory in kB not MB as the default for Ohai has been changed on Windows / Linux
8
+ - Added cpu cores to all existing platform files
9
+ - Added a Rake task to validate the JSON of all platform files, and enabled Travis to run this task on every PR
10
+
11
+ ## v3.0.1
12
+ - Change dependency for Chef and Ohai to a development dependency. The previous dependency on Chef 12 prevented Fauxhai from working with Chefspec on pre-12 Chef releases.
13
+
2
14
  ## v3.0.0
3
15
  - Regenerated json files for all currently supported versions of Ubuntu, CentOS, FreeBSD, Debian, Fedora, and OpenSUSE. This new data is generated with Ohai output from Ohai 8.7.0 in Chef 12.5.1. This data is more accurate for mocking out current Chef setups, but is changed from the previous Fauxhai 2.3.0 release. If you relied on specific mocked data this may require updating your specs.
4
16
 
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
- Fauxhai
2
- =======
1
+ # Fauxhai
2
+ [![Build Status Master](https://travis-ci.org/customink/fauxhai.svg?branch=master)](https://travis-ci.org/customink/fauxhai)
3
+ [![Gem Version](https://badge.fury.io/rb/fauxhai.svg)](https://badge.fury.io/rb/fauxhai)
4
+
3
5
  Fauxhai is a gem for mocking out [ohai](https://github.com/chef/ohai) data in your chef testing. Fauxhai is community supported, so we need **your help** to populate our dataset. Here's an example for testing my "awesome_cookbook" on Ubuntu:
4
6
 
5
7
  ```ruby
@@ -36,10 +38,8 @@ end
36
38
 
37
39
  Fauxhai supports [ChefSpec](https://github.com/sethvargo/chefspec) and [rspec-chef](https://github.com/calavera/rspec-chef). In order to prevent polluting the README, only ChefSpec examples will be provided. However, there is an extensive README for each testing framework in the [examples](https://github.com/customink/fauxhai/tree/master/examples) directory.
38
40
 
39
- Important Note
40
- --------------
41
+ ## Important Note
41
42
  Fauxhai ships with a command line tool - `fauxhai`. This is **not** the same as Fauxhai.mock. Running `fauxhai` on a machine effectively runs `ohai`, but then sanitizes the data, removing/replacing things like:
42
-
43
43
  - users
44
44
  - ssh keys
45
45
  - usernames in paths
@@ -47,8 +47,7 @@ Fauxhai ships with a command line tool - `fauxhai`. This is **not** the same as
47
47
 
48
48
  `fauxhai` should only be used by developers wishing to submit a new json file.
49
49
 
50
- Usage
51
- -----
50
+ ## Usage
52
51
  Fauxhai provides a bunch of default attributes so that you don't need to mock out your entire infastructure to write a simple test. That being said, not all configurations will suit your needs. Because of that, Fauxhai provides two ways to configure your mocks:
53
52
 
54
53
  ### Overriding
@@ -145,8 +144,7 @@ describe 'awesome_cookbook::default' do
145
144
  end
146
145
  ```
147
146
 
148
- Testing Multiple Versions
149
- -------------------------
147
+ ## Testing Multiple Versions
150
148
  It's a common use case to test multiple version of the same operating system. Here's a simple example to get your started. This is more rspec-related that fauxhai related, but here ya go:
151
149
 
152
150
  ```ruby
@@ -168,6 +166,5 @@ describe 'awesome_cookbook::default' do
168
166
  end
169
167
  ```
170
168
 
171
- Contributing
172
- ------------
169
+ ## Contributing
173
170
  See [CONTRIBUTING.md](https://github.com/customink/fauxhai/blob/master/CONTRIBUTING.md).
data/Rakefile CHANGED
@@ -1,2 +1,19 @@
1
1
  #!/usr/bin/env rake
2
2
  require 'bundler/gem_tasks'
3
+ require 'json'
4
+
5
+ task :default => ['validate:json']
6
+
7
+ namespace :validate do
8
+ desc 'Validate mock platform data is valid JSON'
9
+ task :json do
10
+ Dir.glob('./lib/fauxhai/platforms/**/*.json') do |file|
11
+ begin
12
+ JSON.parse(File.read(file))
13
+ rescue JSON::ParserError => e
14
+ puts "Failed to parse #{file}."
15
+ end
16
+ end
17
+ puts 'JSON files validated'
18
+ end
19
+ end
@@ -669,9 +669,10 @@
669
669
  "uptime_seconds": 2646450,
670
670
  "cpu": {
671
671
  "real": 1,
672
- "total": 1
672
+ "total": 1,
673
+ "cores": 1
673
674
  },
674
675
  "memory": {
675
- "total": "1024MB"
676
+ "total": "1048576kB"
676
677
  }
677
678
  }
@@ -678,9 +678,10 @@
678
678
  "uptime_seconds": 2646450,
679
679
  "cpu": {
680
680
  "real": 1,
681
- "total": 1
681
+ "total": 1,
682
+ "cores": 1
682
683
  },
683
684
  "memory": {
684
- "total": "1024MB"
685
+ "total": "1048576kB"
685
686
  }
686
687
  }
@@ -67,10 +67,11 @@
67
67
  "platform_family": "rhel",
68
68
  "cpu": {
69
69
  "real": 1,
70
- "total": 1
70
+ "total": 1,
71
+ "cores": 1
71
72
  },
72
73
  "memory": {
73
- "total": "524288kB"
74
+ "total": "1048576kB"
74
75
  },
75
76
  "ohai_time": 1352176490.6813455,
76
77
  "dmi": {
@@ -170,6 +171,7 @@
170
171
  ]
171
172
  }
172
173
  },
174
+ "root_group": "root",
173
175
  "languages": {
174
176
  "ruby": {
175
177
  "platform": "x86_64-linux",
@@ -180,6 +180,7 @@
180
180
  ]
181
181
  }
182
182
  },
183
+ "root_group": "root",
183
184
  "languages": {
184
185
  "ruby": {
185
186
  "platform": "x86_64-linux",
@@ -311,9 +312,10 @@
311
312
  "uptime_seconds": 2646450,
312
313
  "cpu": {
313
314
  "real": 1,
314
- "total": 1
315
+ "total": 1,
316
+ "cores": 1
315
317
  },
316
318
  "memory": {
317
- "total": "524288kB"
319
+ "total": "1048576kB"
318
320
  }
319
321
  }
@@ -179,6 +179,7 @@
179
179
  ]
180
180
  }
181
181
  },
182
+ "root_group": "root",
182
183
  "languages": {
183
184
  "ruby": {
184
185
  "platform": "x86_64-linux",
@@ -310,9 +311,10 @@
310
311
  "uptime_seconds": 2646450,
311
312
  "cpu": {
312
313
  "real": 1,
313
- "total": 1
314
+ "total": 1,
315
+ "cores": 1
314
316
  },
315
317
  "memory": {
316
- "total": "524288kB"
318
+ "total": "1048576kB"
317
319
  }
318
320
  }
@@ -249,6 +249,7 @@
249
249
  "dmi": {
250
250
 
251
251
  },
252
+ "root_group": "root",
252
253
  "languages": {
253
254
  "ruby": {
254
255
  "platform": "x86_64-linux",
@@ -381,9 +382,10 @@
381
382
  "uptime_seconds": 2646450,
382
383
  "cpu": {
383
384
  "real": 1,
384
- "total": 1
385
+ "total": 1,
386
+ "cores": 1
385
387
  },
386
388
  "memory": {
387
- "total": "1024MB"
389
+ "total": "1048576kB"
388
390
  }
389
391
  }
@@ -183,6 +183,7 @@
183
183
  },
184
184
  "dmi": {
185
185
  },
186
+ "root_group": "root",
186
187
  "languages": {
187
188
  "ruby": {
188
189
  "platform": "x86_64-linux",
@@ -315,9 +316,10 @@
315
316
  "uptime_seconds": 2646450,
316
317
  "cpu": {
317
318
  "real": 1,
318
- "total": 1
319
+ "total": 1,
320
+ "cores": 1
319
321
  },
320
322
  "memory": {
321
- "total": "1024MB"
323
+ "total": "1048576kB"
322
324
  }
323
325
  }
@@ -192,6 +192,7 @@
192
192
  "command": {
193
193
  "ps": "ps -ef"
194
194
  },
195
+ "root_group": "root",
195
196
  "languages": {
196
197
  "ruby": {
197
198
  "platform": "x86_64-linux",
@@ -324,9 +325,10 @@
324
325
  "uptime_seconds": 2646450,
325
326
  "cpu": {
326
327
  "real": 1,
327
- "total": 1
328
+ "total": 1,
329
+ "cores": 1
328
330
  },
329
331
  "memory": {
330
- "total": "1024MB"
332
+ "total": "1048576kB"
331
333
  }
332
334
  }
@@ -514,9 +514,10 @@
514
514
  "uptime_seconds": 2646450,
515
515
  "cpu": {
516
516
  "real": 1,
517
- "total": 1
517
+ "total": 1,
518
+ "cores": 1
518
519
  },
519
520
  "memory": {
520
- "total": "1024MB"
521
+ "total": "1048576kB"
521
522
  }
522
523
  }
@@ -581,6 +581,7 @@
581
581
  "string_2": "vboxRev_103037"
582
582
  }
583
583
  },
584
+ "root_group": "root",
584
585
  "languages": {
585
586
  "ruby": {
586
587
  "bin_dir": "/usr/local/bin",
@@ -702,9 +703,10 @@
702
703
  "uptime_seconds": 2646450,
703
704
  "cpu": {
704
705
  "real": 1,
705
- "total": 1
706
+ "total": 1,
707
+ "cores": 1
706
708
  },
707
709
  "memory": {
708
- "total": "1024MB"
710
+ "total": "1048576kB"
709
711
  }
710
712
  }
@@ -601,6 +601,7 @@
601
601
  "command": {
602
602
  "ps": "ps -ef"
603
603
  },
604
+ "root_group": "root",
604
605
  "languages": {
605
606
  "ruby": {
606
607
  "bin_dir": "/usr/local/bin",
@@ -722,9 +723,10 @@
722
723
  "uptime_seconds": 2646450,
723
724
  "cpu": {
724
725
  "real": 1,
725
- "total": 1
726
+ "total": 1,
727
+ "cores": 1
726
728
  },
727
729
  "memory": {
728
- "total": "1024MB"
730
+ "total": "1048576kB"
729
731
  }
730
732
  }
@@ -753,6 +753,7 @@
753
753
  }
754
754
  },
755
755
  "ohai_time": 1445898148.381011,
756
+ "root_group": "root",
756
757
  "languages": {
757
758
  "ruby": {
758
759
  "bin_dir": "/usr/local/bin",
@@ -874,9 +875,10 @@
874
875
  "uptime_seconds": 2646450,
875
876
  "cpu": {
876
877
  "real": 1,
877
- "total": 1
878
+ "total": 1,
879
+ "cores": 1
878
880
  },
879
881
  "memory": {
880
- "total": "1024MB"
882
+ "total": "1048576kB"
881
883
  }
882
884
  }
@@ -619,6 +619,7 @@
619
619
  "command": {
620
620
  "ps": "ps -ef"
621
621
  },
622
+ "root_group": "root",
622
623
  "languages": {
623
624
  "ruby": {
624
625
  "bin_dir": "/usr/local/bin",
@@ -740,9 +741,10 @@
740
741
  "uptime_seconds": 2646450,
741
742
  "cpu": {
742
743
  "real": 1,
743
- "total": 1
744
+ "total": 1,
745
+ "cores": 1
744
746
  },
745
747
  "memory": {
746
- "total": "1024MB"
748
+ "total": "1048576kB"
747
749
  }
748
750
  }
@@ -613,6 +613,7 @@
613
613
  }
614
614
  },
615
615
  "ohai_time": 1445899265.6197271,
616
+ "root_group": "root",
616
617
  "languages": {
617
618
  "ruby": {
618
619
  "bin_dir": "/usr/local/bin",
@@ -734,9 +735,10 @@
734
735
  "uptime_seconds": 2646450,
735
736
  "cpu": {
736
737
  "real": 1,
737
- "total": 1
738
+ "total": 1,
739
+ "cores": 1
738
740
  },
739
741
  "memory": {
740
- "total": "1024MB"
742
+ "total": "1048576kB"
741
743
  }
742
744
  }
@@ -641,6 +641,7 @@
641
641
  }
642
642
  },
643
643
  "ohai_time": 1445899367.1808481,
644
+ "root_group": "root",
644
645
  "languages": {
645
646
  "ruby": {
646
647
  "bin_dir": "/usr/local/bin",
@@ -762,9 +763,10 @@
762
763
  "uptime_seconds": 2646450,
763
764
  "cpu": {
764
765
  "real": 1,
765
- "total": 1
766
+ "total": 1,
767
+ "cores": 1
766
768
  },
767
769
  "memory": {
768
- "total": "1024MB"
770
+ "total": "1048576kB"
769
771
  }
770
772
  }
@@ -645,6 +645,7 @@
645
645
  }
646
646
  },
647
647
  "ohai_time": 1445899174.028085,
648
+ "root_group": "root",
648
649
  "languages": {
649
650
  "ruby": {
650
651
  "bin_dir": "/usr/local/bin",
@@ -766,9 +767,10 @@
766
767
  "uptime_seconds": 2646450,
767
768
  "cpu": {
768
769
  "real": 1,
769
- "total": 1
770
+ "total": 1,
771
+ "cores": 1
770
772
  },
771
773
  "memory": {
772
- "total": "1024MB"
774
+ "total": "1048576kB"
773
775
  }
774
776
  }
@@ -661,6 +661,7 @@
661
661
  "ps": "ps -ef"
662
662
  },
663
663
  "ohai_time": 1445899475.239302,
664
+ "root_group": "root",
664
665
  "languages": {
665
666
  "ruby": {
666
667
  "bin_dir": "/usr/local/bin",
@@ -782,9 +783,10 @@
782
783
  "uptime_seconds": 2646450,
783
784
  "cpu": {
784
785
  "real": 1,
785
- "total": 1
786
+ "total": 1,
787
+ "cores": 1
786
788
  },
787
789
  "memory": {
788
- "total": "1024MB"
790
+ "total": "1048576kB"
789
791
  }
790
792
  }