inspec/lib
Paul Welch d3b90a7c9f Pw/pip windows bug (#2883)
* Add python check for pip resource

When checking pip resources, we should skip resource if python is not
installed or we will fail with an error when trying to parse the path.

* Check pip command on windows

On Windows, if pip has a newer version available, it adds an error
message to stderr. Now checking if both stderr and stdout on windows
have values. If so, assume pip package is installed.

* Clean up powershell query command

- Make it easier to read what the powershell command is doing
- Make it easier to read what the cmd_successful method lokos for

Signed-off-by: Paul Welch <pwelch@chef.io>
2018-03-29 13:01:59 -04:00
..
bundles Mitigate trivial warning output on test (#2872) 2018-03-28 11:22:01 -04:00
fetchers Rubocop: disable GuardClause and ClassLength (#2382) 2017-12-07 20:22:55 +01:00
inspec Bump version to 2.1.20 by Expeditor 2018-03-29 16:53:22 +00:00
matchers Remove deprecations for InSpec 2.0 (#2506) 2018-02-08 11:05:21 +01:00
resource_support Porting over the singular rds resource from the aws-inspec git repo (#2866) 2018-03-28 11:23:44 -04:00
resources Pw/pip windows bug (#2883) 2018-03-29 13:01:59 -04:00
source_readers Bump Rubocop to 0.49.1 (#2323) 2017-11-21 08:49:41 +01:00
utils Mitigate trivial warning output on test (#2872) 2018-03-28 11:22:01 -04:00
inspec.rb Add new "reporter" system (replacement for "formatters"), support multiple reporters per run (#2464) 2018-02-08 10:06:58 +01:00