Jerry Aldrich
66a343555b
iis_app_pool: Fix PowerShell JSON parsing error
...
This works around a current bug in PowerShell where the output cannot be
parsed as JSON.
The `-Compress` flag does not affect the validity of the data but only
the appearance of the string.
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-28 12:04:59 -08:00
Clinton Wolfe
55ab0ead32
Fix linting on master
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-28 09:07:20 -05:00
Chef Expeditor
354e7bb5e3
Bump version to 3.6.19 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-27 19:43:39 +00:00
Chef Expeditor
36b4025b39
Bump version to 3.6.18 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-27 19:21:40 +00:00
Clinton Wolfe
c23d828ba0
Merge pull request #3833 from chris-rock/chris-rock/postgres
...
detect postgres 10 on centos properly
2019-02-27 14:20:50 -05:00
Chef Expeditor
46a46dcf9a
Bump version to 3.6.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-27 19:17:21 +00:00
Clinton Wolfe
ef18081dfe
Merge branch 'cw/attrs-rename-classes-methods'
...
Accidentally merged cw/attrs-rename-default-attribute into cw/attrs-rename-classes-methods, intended to go to master.
2019-02-26 15:38:20 -05:00
Chef Expeditor
d8b1e72e33
Bump version to 3.6.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-26 19:36:13 +00:00
Clinton Wolfe
3024c60c64
Merge pull request #3834 from skylerto/master
...
inspec compliance: Fix mocked configuration
2019-02-26 14:35:53 -05:00
Christoph Hartmann
afadc896f2
make rubocop happy
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2019-02-26 16:57:48 +01:00
Chef Expeditor
8282c36737
Bump version to 3.6.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-25 23:02:30 +00:00
Clinton Wolfe
ac41a6ae20
Merge pull request #3811 from inspec/cw/attrs-rename-classes-methods
...
Attribute->Input Rename: Rename Classes and Methods
2019-02-25 18:02:11 -05:00
Chef Expeditor
e8b3b30792
Bump version to 3.6.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-25 19:14:35 +00:00
Chef Expeditor
78bbb3f894
Bump version to 3.6.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-25 16:57:19 +00:00
skylerto
51cda478d2
Fix issues with inspec compliance upload
...
Issues with underlying API changes caused a break in the current `inspec compliance upload`
This diff shows the change in API:
3cc2ee63e0...85c815011a (diff-9d107f8e84fe350fa821fed1838dbda8L162)
Implementing the same change in the `inspec-compliance` plugin fixes the
following issue:
```
Traceback (most recent call last):
11: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/inspec-3.6.12/bin/inspec:12:in `<main>'
10: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
9: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
8: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
7: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
6: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/thor-0.20.3/lib/thor.rb:238:in `block in subcommand'
5: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/thor-0.20.3/lib/thor/invocation.rb:115:in `invoke'
4: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
3: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
2: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
1: from /hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/inspec-3.6.12/lib/plugins/inspec-compliance/lib/inspec-compliance/cli.rb:144:in `upload'
/hab/pkgs/chef/inspec/3.6.12/20190221172437/lib/gems/inspec-3.6.12/lib/inspec/backend.rb:45:in `create': undefined method `unpack_train_credentials' for {:target=>"mock://"}:Hash (NoMethodError)
```
Signed-off-by: skylerto <skylerclayne@gmail.com>
2019-02-25 10:24:27 -05:00
Christoph Hartmann
15c03cf8fc
detect postgres 10 on centos properly
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2019-02-25 13:39:17 +01:00
Clinton Wolfe
c9e8716310
Change two more mentions of DEFAULT_ATTRIBUTE
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-22 10:10:50 -05:00
Clinton Wolfe
24e8c0a6dd
Replace DEFAULT_ATTRUBUTE, unit test for it passes
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-22 10:05:31 -05:00
Chef Expeditor
8c37a61494
Bump version to 3.6.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-21 17:24:19 +00:00
Clinton Wolfe
83cdcad135
Fallback to attributes in test code for reporters
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 21:22:51 -05:00
Clinton Wolfe
c28c244f16
Fix a handful of functional tests
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
08ad60796f
Linting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
e5f764c9fc
Search and replace most attribute references in lib/
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
4f361bfc56
Replace most mentions of Attribute (titlecase) in lib and test
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:10 -05:00
Clinton Wolfe
ce99624095
Renamed AttributeRegistry->InputRegistry
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:09 -05:00
Clinton Wolfe
a1982a5f8b
First pass on renaming attribute->input, unit test passes
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 20:41:09 -05:00
Clinton Wolfe
fc7f3a65b4
Add a deprecation grouup for core AWS resources
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 18:02:02 -05:00
Chef Expeditor
46415dfbff
Bump version to 3.6.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-20 22:46:51 +00:00
Stuart Paterson
7ec1803adb
Moved the AWS init profile to the correct location.
...
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-02-20 15:16:11 +00:00
Chef Expeditor
f3f50c1c66
Bump version to 3.6.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-14 21:11:27 +00:00
Chef Expeditor
492a9edde8
Bump version to 3.6.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-14 21:04:40 +00:00
Chef Expeditor
86bb48d10c
Bump version to 3.6.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-14 18:47:55 +00:00
Clinton Wolfe
fc448ed6f1
Rename attribute_registry to input_registry
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 12:37:27 -05:00
Clinton Wolfe
c538eae2df
Rename objects/attribute to objects/input
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 12:37:27 -05:00
Chef Expeditor
8843e93819
Bump version to 3.6.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-13 18:56:39 +00:00
Chef Expeditor
274b176435
Bump version to 3.6.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-12 03:26:36 +00:00
Chef Expeditor
c882fa927b
Bump version to 3.6.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-11 20:27:04 +00:00
Clinton Wolfe
9cc46c8a8a
Add logger to train generic options
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-11 14:24:33 -05:00
Chef Expeditor
9eed984015
Bump version to 3.6.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 22:49:10 +00:00
Clinton Wolfe
a6f289f1b2
Cache reads from STDIN
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-08 14:16:56 -05:00
Chef Expeditor
5c02be2c3d
Bump version to 3.6.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 01:58:50 +00:00
Chef Expeditor
d5dcb46085
Bump version to 3.6.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-07 22:22:21 +00:00
Jerry Aldrich
7134989eba
Respond to @clintoncwolfe's feedback
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-07 11:15:01 -08:00
Jerry Aldrich
a6f74a33b2
Fix Inspec::Config regression in Inspec::Backend
...
With the changes in PR #3750 , `Inspec::Backend.create` needs to support
both being passed a Hash and being passed an Inspec::Config. This adds
a line to convert a passed Hash to an Inspec::Config.
This also adds unit tests for Inspec::Backend because they were missing.
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-07 01:00:05 -08:00
Chef Expeditor
9d7ca85e7d
Bump version to 3.6.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-07 02:53:32 +00:00
Chef Expeditor
eca5f74154
Bump version to 3.6.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-06 22:43:19 +00:00
Clinton Wolfe
05a011f6ff
Merge pull request #3629 from inspec/cw/init-plugin
...
inspec-init plugin: generate inspec plugins
2019-02-06 17:40:59 -05:00
Chef Expeditor
5bed99fe36
Bump version to 3.5.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-06 22:40:26 +00:00
Clinton Wolfe
dd3d3cbd2f
Add deprecation hook for size()
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 14:02:17 -05:00
Clinton Wolfe
02cb799ee6
Rename free to free_kb
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 14:01:04 -05:00