onceover 3.17.2 → 3.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.gitattributes +2 -0
  3. data/.github/workflows/tests.yaml +40 -0
  4. data/.rubocop.yml +20 -2
  5. data/Gemfile +0 -13
  6. data/README.md +201 -110
  7. data/Rakefile +8 -5
  8. data/factsets/CentOS-8.3.2011-64.json +485 -0
  9. data/factsets/Debian-10.4-64.json +476 -0
  10. data/factsets/Debian-8.11-64.json +480 -0
  11. data/factsets/Debian-9.12-64.json +476 -0
  12. data/factsets/Ubuntu-20.04-64.json +504 -0
  13. data/factsets/Windows_Server-2008r2-64.json +184 -183
  14. data/factsets/Windows_Server-2012r2-64.json +165 -164
  15. data/factsets/windows-10-64.json +104 -103
  16. data/features/cache.feature +1 -1
  17. data/features/step_definitions/cache.rb +4 -4
  18. data/features/step_definitions/common.rb +38 -10
  19. data/features/step_definitions/init.rb +2 -2
  20. data/features/windows.feature +5 -0
  21. data/features/zzz_run.feature +22 -3
  22. data/lib/onceover/controlrepo.rb +10 -4
  23. data/lib/onceover/deploy.rb +3 -1
  24. data/lib/onceover/group.rb +3 -1
  25. data/lib/onceover/rspec/formatters.rb +6 -1
  26. data/lib/onceover/runner.rb +7 -6
  27. data/lib/onceover/test.rb +3 -2
  28. data/lib/onceover/testconfig.rb +28 -5
  29. data/onceover.gemspec +5 -2
  30. data/spec/fixtures/controlrepos/basic/manifests_alternate/site.pp +2 -0
  31. data/spec/fixtures/controlrepos/caching/Puppetfile +17 -17
  32. data/spec/fixtures/controlrepos/caching/manifests/site.pp +1 -0
  33. data/spec/fixtures/controlrepos/custom_puppetfile/Puppetfile.custom +3 -0
  34. data/spec/fixtures/controlrepos/custom_puppetfile/environment.conf +7 -0
  35. data/spec/fixtures/controlrepos/windows/Puppetfile +6 -1
  36. data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/choco.pp +9 -0
  37. data/templates/test_spec.rb.erb +1 -1
  38. metadata +75 -18
  39. data/.travis.yml +0 -19
  40. data/appveyor.yml +0 -38
@@ -1,183 +1,184 @@
1
- {
2
- "name": "server2008r2a.pdx.puppetlabs.demo",
3
- "values": {
4
- "agent_specified_environment": "production",
5
- "aio_agent_build": "1.2.2",
6
- "aio_agent_version": "1.2.2",
7
- "architecture": "x64",
8
- "common_appdata": "C:\\ProgramData",
9
- "concat_basedir": "C:/ProgramData/PuppetLabs/puppet/cache/concat",
10
- "custom_auth_conf": "false",
11
- "datacenter": "portland",
12
- "dhcp_servers": {
13
- "Local Area Connection": "10.0.2.2"
14
- },
15
- "dmi": {
16
- "manufacturer": "innotek GmbH",
17
- "product": {
18
- "name": "VirtualBox",
19
- "serial_number": "0"
20
- }
21
- },
22
- "domain": "pdx.puppetlabs.demo",
23
- "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
24
- "facterversion": "3.0.2",
25
- "fqdn": "server2008r2a.pdx.puppetlabs.demo",
26
- "hardwareisa": "x64",
27
- "hardwaremodel": "x86_64",
28
- "hostname": "server2008r2a",
29
- "id": "SERVER2008R2A\\vagrant",
30
- "identity": {
31
- "user": "SERVER2008R2A\\vagrant"
32
- },
33
- "iis_version": "Get-ItemProperty : Cannot find path 'HKLM:\\SOFTWARE\\Microsoft\\InetStp\\' because it does not exist.\nAt line:1 char:18\n+ (Get-ItemProperty <<<< HKLM:\\SOFTWARE\\Microsoft\\InetStp\\ -Name VersionString).VersionString.SubString(8,3)\n + CategoryInfo : ObjectNotFound: (HKLM:\\SOFTWARE\\Microsoft\\InetStp\\:String) [Get-ItemProperty], ItemNotFo \n undException\n + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand\n \nYou cannot call a method on a null-valued expression.\nAt line:1 char:97\n+ (Get-ItemProperty HKLM:\\SOFTWARE\\Microsoft\\InetStp\\ -Name VersionString).VersionString.SubString <<<< (8,3)\n + CategoryInfo : InvalidOperation: (SubString:String) [], RuntimeException\n + FullyQualifiedErrorId : InvokeMethodOnNull\n \n",
34
- "interfaces": "Local Area Connection 2,Local Area Connection",
35
- "ipaddress": "10.20.1.101",
36
- "ipaddress6": "fe80::2c34:c353:1aaa:a872%13",
37
- "ipaddress6_Local Area Connection": "fe80::50f8:86eb:f103:75b%12",
38
- "ipaddress6_Local Area Connection 2": "fe80::2c34:c353:1aaa:a872%13",
39
- "ipaddress_Local Area Connection": "10.0.2.15",
40
- "ipaddress_Local Area Connection 2": "10.20.1.101",
41
- "is_admin": true,
42
- "is_pe": false,
43
- "is_virtual": true,
44
- "kernel": "windows",
45
- "kernelmajversion": "6.1",
46
- "kernelrelease": "6.1.7600",
47
- "kernelversion": "6.1.7600",
48
- "macaddress": "08:00:27:7B:C7:40",
49
- "macaddress_Local Area Connection": "08:00:27:AB:52:FB",
50
- "macaddress_Local Area Connection 2": "08:00:27:7B:C7:40",
51
- "manufacturer": "innotek GmbH",
52
- "memory": {
53
- "system": {
54
- "available": "448.14 MiB",
55
- "available_bytes": 469909504,
56
- "capacity": "56.22%",
57
- "total": "1023.55 MiB",
58
- "total_bytes": 1073274880,
59
- "used": "575.41 MiB",
60
- "used_bytes": 603365376
61
- }
62
- },
63
- "memoryfree": "448.14 MiB",
64
- "memoryfree_mb": 448.140625,
65
- "memorysize": "1023.55 MiB",
66
- "memorysize_mb": 1023.5546875,
67
- "mtu_Local Area Connection": 1500,
68
- "mtu_Local Area Connection 2": 1500,
69
- "mysql_server_id": 8583088,
70
- "netmask": "255.255.255.0",
71
- "netmask6": "ffff:ffff:ffff:ffff::",
72
- "netmask6_Local Area Connection": "ffff:ffff:ffff:ffff::",
73
- "netmask6_Local Area Connection 2": "ffff:ffff:ffff:ffff::",
74
- "netmask_Local Area Connection": "255.255.255.0",
75
- "netmask_Local Area Connection 2": "255.255.255.0",
76
- "network": "10.20.1.0",
77
- "network6": "fe80::%13",
78
- "network6_Local Area Connection": "fe80::%12",
79
- "network6_Local Area Connection 2": "fe80::%13",
80
- "network_Local Area Connection": "10.0.2.0",
81
- "network_Local Area Connection 2": "10.20.1.0",
82
- "networking": {
83
- "domain": "pdx.puppetlabs.demo",
84
- "fqdn": "server2008r2a.pdx.puppetlabs.demo",
85
- "hostname": "server2008r2a",
86
- "interfaces": {
87
- "Local Area Connection": {
88
- "dhcp": "10.0.2.2",
89
- "ip": "10.0.2.15",
90
- "ip6": "fe80::50f8:86eb:f103:75b%12",
91
- "mac": "08:00:27:AB:52:FB",
92
- "mtu": 1500,
93
- "netmask": "255.255.255.0",
94
- "netmask6": "ffff:ffff:ffff:ffff::",
95
- "network": "10.0.2.0",
96
- "network6": "fe80::%12"
97
- },
98
- "Local Area Connection 2": {
99
- "ip": "10.20.1.101",
100
- "ip6": "fe80::2c34:c353:1aaa:a872%13",
101
- "mac": "08:00:27:7B:C7:40",
102
- "mtu": 1500,
103
- "netmask": "255.255.255.0",
104
- "netmask6": "ffff:ffff:ffff:ffff::",
105
- "network": "10.20.1.0",
106
- "network6": "fe80::%13"
107
- }
108
- },
109
- "ip": "10.20.1.101",
110
- "ip6": "fe80::2c34:c353:1aaa:a872%13",
111
- "mac": "08:00:27:7B:C7:40",
112
- "mtu": 1500,
113
- "netmask": "255.255.255.0",
114
- "netmask6": "ffff:ffff:ffff:ffff::",
115
- "network": "10.20.1.0",
116
- "network6": "fe80::%13"
117
- },
118
- "operatingsystem": "windows",
119
- "operatingsystemmajrelease": "2008 R2",
120
- "operatingsystemrelease": "2008 R2",
121
- "os": {
122
- "architecture": "x64",
123
- "family": "windows",
124
- "hardware": "x86_64",
125
- "name": "windows",
126
- "release": {
127
- "full": "2008 R2",
128
- "major": "2008 R2"
129
- },
130
- "windows": {
131
- "system32": "C:\\Windows\\system32"
132
- }
133
- },
134
- "osfamily": "windows",
135
- "path": "C:/Program Files/Puppet Labs/Puppet/facter/bin;C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\ProgramData\\chocolatey\\bin;",
136
- "pe_concat_basedir": "C:/ProgramData/PuppetLabs/puppet/cache/pe_concat",
137
- "physicalprocessorcount": 1,
138
- "platform_symlink_writable": false,
139
- "processor0": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
140
- "processorcount": 1,
141
- "processors": {
142
- "count": 1,
143
- "isa": "x64",
144
- "models": [
145
- "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz"
146
- ],
147
- "physicalcount": 1
148
- },
149
- "productname": "VirtualBox",
150
- "puppet_files_dir_present": false,
151
- "puppet_vardir": "C:/ProgramData/PuppetLabs/puppet/cache",
152
- "puppetversion": "4.2.1",
153
- "ruby": {
154
- "platform": "x64-mingw32",
155
- "sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
156
- "version": "2.1.6"
157
- },
158
- "rubyplatform": "x64-mingw32",
159
- "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
160
- "rubyversion": "2.1.6",
161
- "serialnumber": "0",
162
- "staging_http_get": "powershell",
163
- "staging_windir": "C:\\ProgramData\\staging",
164
- "system32": "C:\\Windows\\system32",
165
- "system_uptime": {
166
- "days": 0,
167
- "hours": 0,
168
- "seconds": 266,
169
- "uptime": "0:04 hours"
170
- },
171
- "timezone": "Pacific Daylight Time",
172
- "uptime": "0:04 hours",
173
- "uptime_days": 0,
174
- "uptime_hours": 0,
175
- "uptime_seconds": 266,
176
- "virtual": "virtualbox",
177
- "clientcert": "server2008r2a.pdx.puppetlabs.demo",
178
- "clientversion": "4.2.1",
179
- "clientnoop": false
180
- },
181
- "timestamp": "2015-09-27T23:37:41.296750000-07:00",
182
- "expiration": "2015-09-28T00:07:41.296750000-07:00"
183
- }
1
+ {
2
+ "name": "server2008r2a.pdx.puppetlabs.demo",
3
+ "values": {
4
+ "agent_specified_environment": "production",
5
+ "aio_agent_build": "1.2.2",
6
+ "aio_agent_version": "1.2.2",
7
+ "architecture": "x64",
8
+ "common_appdata": "C:\\ProgramData",
9
+ "concat_basedir": "C:/ProgramData/PuppetLabs/puppet/cache/concat",
10
+ "custom_auth_conf": "false",
11
+ "datacenter": "portland",
12
+ "dhcp_servers": {
13
+ "Local Area Connection": "10.0.2.2"
14
+ },
15
+ "dmi": {
16
+ "manufacturer": "innotek GmbH",
17
+ "product": {
18
+ "name": "VirtualBox",
19
+ "serial_number": "0"
20
+ }
21
+ },
22
+ "domain": "pdx.puppetlabs.demo",
23
+ "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
24
+ "facterversion": "3.0.2",
25
+ "fqdn": "server2008r2a.pdx.puppetlabs.demo",
26
+ "hardwareisa": "x64",
27
+ "hardwaremodel": "x86_64",
28
+ "hostname": "server2008r2a",
29
+ "id": "SERVER2008R2A\\vagrant",
30
+ "identity": {
31
+ "user": "SERVER2008R2A\\vagrant"
32
+ },
33
+ "iis_version": "Get-ItemProperty : Cannot find path 'HKLM:\\SOFTWARE\\Microsoft\\InetStp\\' because it does not exist.\nAt line:1 char:18\n+ (Get-ItemProperty <<<< HKLM:\\SOFTWARE\\Microsoft\\InetStp\\ -Name VersionString).VersionString.SubString(8,3)\n + CategoryInfo : ObjectNotFound: (HKLM:\\SOFTWARE\\Microsoft\\InetStp\\:String) [Get-ItemProperty], ItemNotFo \n undException\n + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand\n \nYou cannot call a method on a null-valued expression.\nAt line:1 char:97\n+ (Get-ItemProperty HKLM:\\SOFTWARE\\Microsoft\\InetStp\\ -Name VersionString).VersionString.SubString <<<< (8,3)\n + CategoryInfo : InvalidOperation: (SubString:String) [], RuntimeException\n + FullyQualifiedErrorId : InvokeMethodOnNull\n \n",
34
+ "interfaces": "Local Area Connection 2,Local Area Connection",
35
+ "ipaddress": "10.20.1.101",
36
+ "ipaddress6": "fe80::2c34:c353:1aaa:a872%13",
37
+ "ipaddress6_Local Area Connection": "fe80::50f8:86eb:f103:75b%12",
38
+ "ipaddress6_Local Area Connection 2": "fe80::2c34:c353:1aaa:a872%13",
39
+ "ipaddress_Local Area Connection": "10.0.2.15",
40
+ "ipaddress_Local Area Connection 2": "10.20.1.101",
41
+ "is_admin": true,
42
+ "is_pe": false,
43
+ "is_virtual": true,
44
+ "kernel": "windows",
45
+ "kernelmajversion": "6.1",
46
+ "kernelrelease": "6.1.7600",
47
+ "kernelversion": "6.1.7600",
48
+ "macaddress": "08:00:27:7B:C7:40",
49
+ "macaddress_Local Area Connection": "08:00:27:AB:52:FB",
50
+ "macaddress_Local Area Connection 2": "08:00:27:7B:C7:40",
51
+ "manufacturer": "innotek GmbH",
52
+ "memory": {
53
+ "system": {
54
+ "available": "448.14 MiB",
55
+ "available_bytes": 469909504,
56
+ "capacity": "56.22%",
57
+ "total": "1023.55 MiB",
58
+ "total_bytes": 1073274880,
59
+ "used": "575.41 MiB",
60
+ "used_bytes": 603365376
61
+ }
62
+ },
63
+ "memoryfree": "448.14 MiB",
64
+ "memoryfree_mb": 448.140625,
65
+ "memorysize": "1023.55 MiB",
66
+ "memorysize_mb": 1023.5546875,
67
+ "mtu_Local Area Connection": 1500,
68
+ "mtu_Local Area Connection 2": 1500,
69
+ "mysql_server_id": 8583088,
70
+ "netmask": "255.255.255.0",
71
+ "netmask6": "ffff:ffff:ffff:ffff::",
72
+ "netmask6_Local Area Connection": "ffff:ffff:ffff:ffff::",
73
+ "netmask6_Local Area Connection 2": "ffff:ffff:ffff:ffff::",
74
+ "netmask_Local Area Connection": "255.255.255.0",
75
+ "netmask_Local Area Connection 2": "255.255.255.0",
76
+ "network": "10.20.1.0",
77
+ "network6": "fe80::%13",
78
+ "network6_Local Area Connection": "fe80::%12",
79
+ "network6_Local Area Connection 2": "fe80::%13",
80
+ "network_Local Area Connection": "10.0.2.0",
81
+ "network_Local Area Connection 2": "10.20.1.0",
82
+ "networking": {
83
+ "domain": "pdx.puppetlabs.demo",
84
+ "fqdn": "server2008r2a.pdx.puppetlabs.demo",
85
+ "hostname": "server2008r2a",
86
+ "interfaces": {
87
+ "Local Area Connection": {
88
+ "dhcp": "10.0.2.2",
89
+ "ip": "10.0.2.15",
90
+ "ip6": "fe80::50f8:86eb:f103:75b%12",
91
+ "mac": "08:00:27:AB:52:FB",
92
+ "mtu": 1500,
93
+ "netmask": "255.255.255.0",
94
+ "netmask6": "ffff:ffff:ffff:ffff::",
95
+ "network": "10.0.2.0",
96
+ "network6": "fe80::%12"
97
+ },
98
+ "Local Area Connection 2": {
99
+ "ip": "10.20.1.101",
100
+ "ip6": "fe80::2c34:c353:1aaa:a872%13",
101
+ "mac": "08:00:27:7B:C7:40",
102
+ "mtu": 1500,
103
+ "netmask": "255.255.255.0",
104
+ "netmask6": "ffff:ffff:ffff:ffff::",
105
+ "network": "10.20.1.0",
106
+ "network6": "fe80::%13"
107
+ }
108
+ },
109
+ "ip": "10.20.1.101",
110
+ "ip6": "fe80::2c34:c353:1aaa:a872%13",
111
+ "mac": "08:00:27:7B:C7:40",
112
+ "mtu": 1500,
113
+ "netmask": "255.255.255.0",
114
+ "netmask6": "ffff:ffff:ffff:ffff::",
115
+ "network": "10.20.1.0",
116
+ "network6": "fe80::%13"
117
+ },
118
+ "operatingsystem": "windows",
119
+ "operatingsystemmajrelease": "2008 R2",
120
+ "operatingsystemrelease": "2008 R2",
121
+ "os": {
122
+ "architecture": "x64",
123
+ "family": "windows",
124
+ "hardware": "x86_64",
125
+ "name": "windows",
126
+ "release": {
127
+ "full": "2008 R2",
128
+ "major": "2008 R2"
129
+ },
130
+ "windows": {
131
+ "system32": "C:\\Windows\\system32"
132
+ }
133
+ },
134
+ "osfamily": "windows",
135
+ "path": "C:/Program Files/Puppet Labs/Puppet/facter/bin;C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\ProgramData\\chocolatey\\bin;",
136
+ "pe_concat_basedir": "C:/ProgramData/PuppetLabs/puppet/cache/pe_concat",
137
+ "physicalprocessorcount": 1,
138
+ "platform_symlink_writable": false,
139
+ "processor0": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
140
+ "processorcount": 1,
141
+ "processors": {
142
+ "count": 1,
143
+ "isa": "x64",
144
+ "models": [
145
+ "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz"
146
+ ],
147
+ "physicalcount": 1
148
+ },
149
+ "productname": "VirtualBox",
150
+ "puppet_files_dir_present": false,
151
+ "puppet_vardir": "C:/ProgramData/PuppetLabs/puppet/cache",
152
+ "puppetversion": "4.2.1",
153
+ "ruby": {
154
+ "platform": "x64-mingw32",
155
+ "sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
156
+ "version": "2.1.6"
157
+ },
158
+ "rubyplatform": "x64-mingw32",
159
+ "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
160
+ "rubyversion": "2.1.6",
161
+ "serialnumber": "0",
162
+ "staging_http_get": "powershell",
163
+ "staging_windir": "C:\\ProgramData\\staging",
164
+ "system32": "C:\\Windows\\system32",
165
+ "choco_install_path": "C:\\ProgramData\\chocolatey",
166
+ "system_uptime": {
167
+ "days": 0,
168
+ "hours": 0,
169
+ "seconds": 266,
170
+ "uptime": "0:04 hours"
171
+ },
172
+ "timezone": "Pacific Daylight Time",
173
+ "uptime": "0:04 hours",
174
+ "uptime_days": 0,
175
+ "uptime_hours": 0,
176
+ "uptime_seconds": 266,
177
+ "virtual": "virtualbox",
178
+ "clientcert": "server2008r2a.pdx.puppetlabs.demo",
179
+ "clientversion": "4.2.1",
180
+ "clientnoop": false
181
+ },
182
+ "timestamp": "2015-09-27T23:37:41.296750000-07:00",
183
+ "expiration": "2015-09-28T00:07:41.296750000-07:00"
184
+ }
@@ -1,164 +1,165 @@
1
- {
2
- "name": "win-e5k8tm30719",
3
- "values": {
4
- "agent_specified_environment": "production",
5
- "architecture": "x64",
6
- "dhcp_servers": {
7
- "Ethernet": "10.0.2.2",
8
- "system": "10.0.2.2"
9
- },
10
- "dmi": {
11
- "manufacturer": "innotek GmbH",
12
- "product": {
13
- "name": "VirtualBox",
14
- "serial_number": "0"
15
- }
16
- },
17
- "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
18
- "facterversion": "3.1.1",
19
- "fqdn": "WIN-E5K8TM30719",
20
- "hardwareisa": "x64",
21
- "hardwaremodel": "x86_64",
22
- "hostname": "WIN-E5K8TM30719",
23
- "id": "WIN-E5K8TM30719\\vagrant",
24
- "identity": {
25
- "user": "WIN-E5K8TM30719\\vagrant"
26
- },
27
- "interfaces": "Ethernet",
28
- "ipaddress": "10.0.2.15",
29
- "ipaddress6": "fe80::a180:36e0:3a6e:1005%12",
30
- "ipaddress6_Ethernet": "fe80::a180:36e0:3a6e:1005%12",
31
- "ipaddress_Ethernet": "10.0.2.15",
32
- "is_virtual": true,
33
- "kernel": "windows",
34
- "kernelmajversion": "6.3",
35
- "kernelrelease": "6.3.9600",
36
- "kernelversion": "6.3.9600",
37
- "macaddress": "08:00:27:81:38:FA",
38
- "macaddress_Ethernet": "08:00:27:81:38:FA",
39
- "manufacturer": "innotek GmbH",
40
- "memory": {
41
- "system": {
42
- "available": "1.42 GiB",
43
- "available_bytes": 1521610752,
44
- "capacity": "29.13%",
45
- "total": "2.00 GiB",
46
- "total_bytes": 2147012608,
47
- "used": "596.43 MiB",
48
- "used_bytes": 625401856
49
- }
50
- },
51
- "memoryfree": "1.42 GiB",
52
- "memoryfree_mb": 1451.12109375,
53
- "memorysize": "2.00 GiB",
54
- "memorysize_mb": 2047.55078125,
55
- "mtu_Ethernet": 1500,
56
- "netmask": "255.255.255.0",
57
- "netmask6": "ffff:ffff:ffff:ffff::",
58
- "netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
59
- "netmask_Ethernet": "255.255.255.0",
60
- "network": "10.0.2.0",
61
- "network6": "fe80::%12",
62
- "network6_Ethernet": "fe80::%12",
63
- "network_Ethernet": "10.0.2.0",
64
- "networking": {
65
- "dhcp": "10.0.2.2",
66
- "fqdn": "WIN-E5K8TM30719",
67
- "hostname": "WIN-E5K8TM30719",
68
- "interfaces": {
69
- "Ethernet": {
70
- "bindings": [
71
- {
72
- "address": "10.0.2.15",
73
- "netmask": "255.255.255.0",
74
- "network": "10.0.2.0"
75
- }
76
- ],
77
- "bindings6": [
78
- {
79
- "address": "fe80::a180:36e0:3a6e:1005%12",
80
- "netmask": "ffff:ffff:ffff:ffff::",
81
- "network": "fe80::%12"
82
- }
83
- ],
84
- "dhcp": "10.0.2.2",
85
- "ip": "10.0.2.15",
86
- "ip6": "fe80::a180:36e0:3a6e:1005%12",
87
- "mac": "08:00:27:81:38:FA",
88
- "mtu": 1500,
89
- "netmask": "255.255.255.0",
90
- "netmask6": "ffff:ffff:ffff:ffff::",
91
- "network": "10.0.2.0",
92
- "network6": "fe80::%12"
93
- }
94
- },
95
- "ip": "10.0.2.15",
96
- "ip6": "fe80::a180:36e0:3a6e:1005%12",
97
- "mac": "08:00:27:81:38:FA",
98
- "mtu": 1500,
99
- "netmask": "255.255.255.0",
100
- "netmask6": "ffff:ffff:ffff:ffff::",
101
- "network": "10.0.2.0",
102
- "network6": "fe80::%12",
103
- "primary": "Ethernet"
104
- },
105
- "operatingsystem": "windows",
106
- "operatingsystemmajrelease": "2012 R2",
107
- "operatingsystemrelease": "2012 R2",
108
- "os": {
109
- "architecture": "x64",
110
- "family": "windows",
111
- "hardware": "x86_64",
112
- "name": "windows",
113
- "release": {
114
- "full": "2012 R2",
115
- "major": "2012 R2"
116
- },
117
- "windows": {
118
- "system32": "C:\\Windows\\system32"
119
- }
120
- },
121
- "osfamily": "windows",
122
- "path": "C:/Program Files/Puppet Labs/Puppet/facter/bin;C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\Git\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin",
123
- "physicalprocessorcount": 1,
124
- "processor0": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
125
- "processorcount": 1,
126
- "processors": {
127
- "count": 1,
128
- "isa": "x64",
129
- "models": [
130
- "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz"
131
- ],
132
- "physicalcount": 1
133
- },
134
- "productname": "VirtualBox",
135
- "puppetversion": "4.2.3",
136
- "ruby": {
137
- "platform": "x64-mingw32",
138
- "sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
139
- "version": "2.1.7"
140
- },
141
- "rubyplatform": "x64-mingw32",
142
- "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
143
- "rubyversion": "2.1.7",
144
- "serialnumber": "0",
145
- "system32": "C:\\Windows\\system32",
146
- "system_uptime": {
147
- "days": 0,
148
- "hours": 0,
149
- "seconds": 287,
150
- "uptime": "0:04 hours"
151
- },
152
- "timezone": "Coordinated Universal Time",
153
- "uptime": "0:04 hours",
154
- "uptime_days": 0,
155
- "uptime_hours": 0,
156
- "uptime_seconds": 287,
157
- "virtual": "virtualbox",
158
- "clientcert": "win-e5k8tm30719",
159
- "clientversion": "4.2.3",
160
- "clientnoop": false
161
- },
162
- "timestamp": "2015-11-19T01:47:05.215450000+00:00",
163
- "expiration": "2015-11-19T02:17:05.215450000+00:00"
164
- }
1
+ {
2
+ "name": "win-e5k8tm30719",
3
+ "values": {
4
+ "agent_specified_environment": "production",
5
+ "architecture": "x64",
6
+ "dhcp_servers": {
7
+ "Ethernet": "10.0.2.2",
8
+ "system": "10.0.2.2"
9
+ },
10
+ "dmi": {
11
+ "manufacturer": "innotek GmbH",
12
+ "product": {
13
+ "name": "VirtualBox",
14
+ "serial_number": "0"
15
+ }
16
+ },
17
+ "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
18
+ "facterversion": "3.1.1",
19
+ "fqdn": "WIN-E5K8TM30719",
20
+ "hardwareisa": "x64",
21
+ "hardwaremodel": "x86_64",
22
+ "hostname": "WIN-E5K8TM30719",
23
+ "id": "WIN-E5K8TM30719\\vagrant",
24
+ "identity": {
25
+ "user": "WIN-E5K8TM30719\\vagrant"
26
+ },
27
+ "interfaces": "Ethernet",
28
+ "ipaddress": "10.0.2.15",
29
+ "ipaddress6": "fe80::a180:36e0:3a6e:1005%12",
30
+ "ipaddress6_Ethernet": "fe80::a180:36e0:3a6e:1005%12",
31
+ "ipaddress_Ethernet": "10.0.2.15",
32
+ "is_virtual": true,
33
+ "kernel": "windows",
34
+ "kernelmajversion": "6.3",
35
+ "kernelrelease": "6.3.9600",
36
+ "kernelversion": "6.3.9600",
37
+ "macaddress": "08:00:27:81:38:FA",
38
+ "macaddress_Ethernet": "08:00:27:81:38:FA",
39
+ "manufacturer": "innotek GmbH",
40
+ "memory": {
41
+ "system": {
42
+ "available": "1.42 GiB",
43
+ "available_bytes": 1521610752,
44
+ "capacity": "29.13%",
45
+ "total": "2.00 GiB",
46
+ "total_bytes": 2147012608,
47
+ "used": "596.43 MiB",
48
+ "used_bytes": 625401856
49
+ }
50
+ },
51
+ "memoryfree": "1.42 GiB",
52
+ "memoryfree_mb": 1451.12109375,
53
+ "memorysize": "2.00 GiB",
54
+ "memorysize_mb": 2047.55078125,
55
+ "mtu_Ethernet": 1500,
56
+ "netmask": "255.255.255.0",
57
+ "netmask6": "ffff:ffff:ffff:ffff::",
58
+ "netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
59
+ "netmask_Ethernet": "255.255.255.0",
60
+ "network": "10.0.2.0",
61
+ "network6": "fe80::%12",
62
+ "network6_Ethernet": "fe80::%12",
63
+ "network_Ethernet": "10.0.2.0",
64
+ "networking": {
65
+ "dhcp": "10.0.2.2",
66
+ "fqdn": "WIN-E5K8TM30719",
67
+ "hostname": "WIN-E5K8TM30719",
68
+ "interfaces": {
69
+ "Ethernet": {
70
+ "bindings": [
71
+ {
72
+ "address": "10.0.2.15",
73
+ "netmask": "255.255.255.0",
74
+ "network": "10.0.2.0"
75
+ }
76
+ ],
77
+ "bindings6": [
78
+ {
79
+ "address": "fe80::a180:36e0:3a6e:1005%12",
80
+ "netmask": "ffff:ffff:ffff:ffff::",
81
+ "network": "fe80::%12"
82
+ }
83
+ ],
84
+ "dhcp": "10.0.2.2",
85
+ "ip": "10.0.2.15",
86
+ "ip6": "fe80::a180:36e0:3a6e:1005%12",
87
+ "mac": "08:00:27:81:38:FA",
88
+ "mtu": 1500,
89
+ "netmask": "255.255.255.0",
90
+ "netmask6": "ffff:ffff:ffff:ffff::",
91
+ "network": "10.0.2.0",
92
+ "network6": "fe80::%12"
93
+ }
94
+ },
95
+ "ip": "10.0.2.15",
96
+ "ip6": "fe80::a180:36e0:3a6e:1005%12",
97
+ "mac": "08:00:27:81:38:FA",
98
+ "mtu": 1500,
99
+ "netmask": "255.255.255.0",
100
+ "netmask6": "ffff:ffff:ffff:ffff::",
101
+ "network": "10.0.2.0",
102
+ "network6": "fe80::%12",
103
+ "primary": "Ethernet"
104
+ },
105
+ "operatingsystem": "windows",
106
+ "operatingsystemmajrelease": "2012 R2",
107
+ "operatingsystemrelease": "2012 R2",
108
+ "os": {
109
+ "architecture": "x64",
110
+ "family": "windows",
111
+ "hardware": "x86_64",
112
+ "name": "windows",
113
+ "release": {
114
+ "full": "2012 R2",
115
+ "major": "2012 R2"
116
+ },
117
+ "windows": {
118
+ "system32": "C:\\Windows\\system32"
119
+ }
120
+ },
121
+ "osfamily": "windows",
122
+ "path": "C:/Program Files/Puppet Labs/Puppet/facter/bin;C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\Git\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin",
123
+ "physicalprocessorcount": 1,
124
+ "processor0": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
125
+ "processorcount": 1,
126
+ "processors": {
127
+ "count": 1,
128
+ "isa": "x64",
129
+ "models": [
130
+ "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz"
131
+ ],
132
+ "physicalcount": 1
133
+ },
134
+ "productname": "VirtualBox",
135
+ "puppetversion": "4.2.3",
136
+ "ruby": {
137
+ "platform": "x64-mingw32",
138
+ "sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
139
+ "version": "2.1.7"
140
+ },
141
+ "rubyplatform": "x64-mingw32",
142
+ "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
143
+ "rubyversion": "2.1.7",
144
+ "serialnumber": "0",
145
+ "system32": "C:\\Windows\\system32",
146
+ "choco_install_path": "C:\\ProgramData\\chocolatey",
147
+ "system_uptime": {
148
+ "days": 0,
149
+ "hours": 0,
150
+ "seconds": 287,
151
+ "uptime": "0:04 hours"
152
+ },
153
+ "timezone": "Coordinated Universal Time",
154
+ "uptime": "0:04 hours",
155
+ "uptime_days": 0,
156
+ "uptime_hours": 0,
157
+ "uptime_seconds": 287,
158
+ "virtual": "virtualbox",
159
+ "clientcert": "win-e5k8tm30719",
160
+ "clientversion": "4.2.3",
161
+ "clientnoop": false
162
+ },
163
+ "timestamp": "2015-11-19T01:47:05.215450000+00:00",
164
+ "expiration": "2015-11-19T02:17:05.215450000+00:00"
165
+ }