Commit graph

5932 commits

Author SHA1 Message Date
Clinton Wolfe
3cce8ba705 Replace attrs with input-files in remaining tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-08 12:40:33 -05:00
Clinton Wolfe
709a5dbdd9 Implement renaming --attrs -> --input-file
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-08 11:38:03 -05:00
Clinton Wolfe
04b26dd417 Add failing functional tests for --attrs -> --input-file
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-08 11:37:38 -05:00
Chef Expeditor
95196838ef
Bump version to 3.7.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-08 15:12:54 +00:00
Clinton Wolfe
c0e462ca5f
Merge pull request #3816 from inspec/cw/add-expeditor-v4-to-v3
Adds a v4 release to the expeditor config
2019-03-08 10:12:35 -05:00
Chef Expeditor
fd59635cc3
Bump version to 3.7.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-08 14:52:03 +00:00
Clinton Wolfe
74e2f72ed5
Merge pull request #3818 from inspec/ja/rewrite-habitat-plugin
Rewrite inspec-habitat plugin
2019-03-08 09:51:46 -05:00
Chef Expeditor
929b46b554
Bump version to 3.7.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-07 19:14:17 +00:00
Clinton Wolfe
2a8e89511a
Merge pull request #3861 from inspec/sp/inspec-init-profile-azure
Add InSpec init profile for Azure.
2019-03-07 14:14:01 -05:00
Clinton Wolfe
f7202c229b Add caching to Inspec::Config
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-06 14:59:06 -05:00
Stuart Paterson
54e7428e75
Set minimal inspec version in line with inspec-zure resource pack guidelines.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-03-04 15:47:39 +00:00
Stuart Paterson
a337ca1d23
Add InSpec init profile folder for Azure.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-03-04 15:33:37 +00:00
Stuart Paterson
dcb141da79
Add InSpec init profile for Azure.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
2019-03-04 15:32:31 +00:00
Lamont Granquist
e16206f1d0 Move all gem installation to Gemfile/bundle install
Do not use omnibus-software gem definitions for installing gems,
and use the Gemfile in the inspec project as the source of truth.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
2019-03-01 17:45:37 -08:00
Chef Expeditor
8cdd7cfe03
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-02 01:12:20 +00:00
Chef Expeditor
94f69c4cfc
Bump version to 3.7.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-02 00:12:07 +00:00
Clinton Wolfe
ba4fdc50a3
Merge pull request #3858 from inspec/cw/override-omnibus-train
Force omnibus to link to train 1.7.4
2019-03-01 19:11:49 -05:00
Clinton Wolfe
6e141a5511 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-01 18:48:35 -05:00
Clinton Wolfe
04bfe5cc4c Force omnibus to link to train 1.7.4
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-03-01 13:25:17 -05:00
Chef Expeditor
988eee728f
Bump version to 3.7.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-03-01 03:35:59 +00:00
Clinton Wolfe
6779e6bc80
Merge pull request #3713 from inspec/cw/cred-set-support-03
Config file formalization and credential sets: part 3, credential sets
2019-02-28 22:35:42 -05:00
Jerry Aldrich
22c20b7989 Add comment explaining -Compress
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-28 12:04:59 -08:00
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
Jerry Aldrich
7168c41c09 Prevent stack trace from being set to the user
This also verifies Habitat setup during create as well

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-28 11:55:59 -08:00
Jerry Aldrich
1ac435bceb Modify output to be a bit better for the user
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-28 10:42:42 -08:00
Jerry Aldrich
af5d6e9285 http resource: Add fallback to #to_s
This prevents a stack trace from being shown to the user if the `http`
resource is used on an unsupported platform.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-28 09:08:49 -05:00
Clinton Wolfe
55ab0ead32 Fix linting on master
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-28 09:07:20 -05:00
Clinton Wolfe
a4018029fb Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-27 15:14:27 -05:00
Mary Jinglewski
222a13d75a Definition list format
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-02-27 15:14:27 -05:00
Clinton Wolfe
c28e48afa2 Docs feedback
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-27 15:14:27 -05:00
Clinton Wolfe
52f6351f84 Adjust regexes for credset name and add tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-27 15:14:27 -05:00
Jerry Aldrich
a1a6497989 Update docs/config.md
Co-Authored-By: clintoncwolfe <clintoncwolfe@gmail.com>
2019-02-27 15:14:27 -05:00
Clinton Wolfe
59de0c3c8a Clarify fallback behavior
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-27 15:14:27 -05:00
Clinton Wolfe
20ffbffb01 Document teh credential sets features and config file format
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-27 15:14:27 -05:00
Clinton Wolfe
7328e82ae6 Implement credential set loading
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-27 15:14:27 -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
Clinton Wolfe
07ee1c3bb5
Merge pull request #3814 from inspec/tas50/kitchen
Update the integration tests to use dokken-images and newer Chef technologies
2019-02-27 14:43:21 -05: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
d8899e0496
Merge pull request #3827 from inspec/jtimberman/http-json-example
add json example from http request
2019-02-27 14:17:03 -05: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
Clinton Wolfe
96b25b828f
Merge pull request #3832 from inspec/cw/attrs-rename-default-attribute
Attribute -> Input Rename: Rename dummy value class
2019-02-25 19:31:42 -05: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
Clinton Wolfe
7ed33f38b8
Merge pull request #3798 from inspec/ja/add-term-ansicolor
Add term-ansicolor to inspec-core gem
2019-02-25 14:14:15 -05:00